mirror of
https://github.com/Instadapp/fla-fees-subgraph.git
synced 2024-07-29 21:57:15 +00:00
269 lines
6.3 KiB
JSON
269 lines
6.3 KiB
JSON
|
[
|
||
|
{
|
||
|
"inputs": [
|
||
|
{ "internalType": "address", "name": "daiJoin_", "type": "address" },
|
||
|
{ "internalType": "address", "name": "vow_", "type": "address" }
|
||
|
],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "constructor"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "usr",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "Deny",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "bytes32",
|
||
|
"name": "what",
|
||
|
"type": "bytes32"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "data",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "File",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "receiver",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "address",
|
||
|
"name": "token",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "fee",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "FlashLoan",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "usr",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "Rely",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "receiver",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "fee",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "VatDaiFlashLoan",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "CALLBACK_SUCCESS",
|
||
|
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "CALLBACK_SUCCESS_VAT_DAI",
|
||
|
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "accrue",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "convert",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "dai",
|
||
|
"outputs": [
|
||
|
{ "internalType": "contract DaiLike", "name": "", "type": "address" }
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "daiJoin",
|
||
|
"outputs": [
|
||
|
{ "internalType": "contract DaiJoinLike", "name": "", "type": "address" }
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [{ "internalType": "address", "name": "usr", "type": "address" }],
|
||
|
"name": "deny",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{ "internalType": "bytes32", "name": "what", "type": "bytes32" },
|
||
|
{ "internalType": "uint256", "name": "data", "type": "uint256" }
|
||
|
],
|
||
|
"name": "file",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{ "internalType": "address", "name": "token", "type": "address" },
|
||
|
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
||
|
],
|
||
|
"name": "flashFee",
|
||
|
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IERC3156FlashBorrower",
|
||
|
"name": "receiver",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{ "internalType": "address", "name": "token", "type": "address" },
|
||
|
{ "internalType": "uint256", "name": "amount", "type": "uint256" },
|
||
|
{ "internalType": "bytes", "name": "data", "type": "bytes" }
|
||
|
],
|
||
|
"name": "flashLoan",
|
||
|
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "max",
|
||
|
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{ "internalType": "address", "name": "token", "type": "address" }
|
||
|
],
|
||
|
"name": "maxFlashLoan",
|
||
|
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [{ "internalType": "address", "name": "usr", "type": "address" }],
|
||
|
"name": "rely",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "toll",
|
||
|
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "vat",
|
||
|
"outputs": [
|
||
|
{ "internalType": "contract VatLike_4", "name": "", "type": "address" }
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IVatDaiFlashBorrower",
|
||
|
"name": "receiver",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{ "internalType": "uint256", "name": "amount", "type": "uint256" },
|
||
|
{ "internalType": "bytes", "name": "data", "type": "bytes" }
|
||
|
],
|
||
|
"name": "vatDaiFlashLoan",
|
||
|
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "vow",
|
||
|
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
||
|
"name": "wards",
|
||
|
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
}
|
||
|
]
|