mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
484 lines
11 KiB
JSON
484 lines
11 KiB
JSON
[
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "uint256",
|
|
"name": "vault",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "bytes32",
|
|
"name": "ilk",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "tokenAmt",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "getId",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "setId",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "LogBorrow",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "uint256",
|
|
"name": "vault",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "bytes32",
|
|
"name": "ilk",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "LogClose",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "uint256",
|
|
"name": "vault",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "bytes32",
|
|
"name": "ilk",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "tokenAmt",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "getId",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "setId",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "LogDeposit",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "tokenAmt",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "getId",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "setId",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "LogDepositDai",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "uint256",
|
|
"name": "vault",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "bytes32",
|
|
"name": "ilk",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "tokenAmt",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "getId",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "setId",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "LogExitDai",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "uint256",
|
|
"name": "vault",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "bytes32",
|
|
"name": "ilk",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "LogOpen",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "uint256",
|
|
"name": "vault",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "bytes32",
|
|
"name": "ilk",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "tokenAmt",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "getId",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "setId",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "LogPayback",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "uint256",
|
|
"name": "vault",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "bytes32",
|
|
"name": "ilk",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "address",
|
|
"name": "newOwner",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "LogTransfer",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "uint256",
|
|
"name": "vault",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "bytes32",
|
|
"name": "ilk",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "tokenAmt",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "getId",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "setId",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "LogWithdraw",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "tokenAmt",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "getId",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "setId",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "LogWithdrawDai",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "uint256",
|
|
"name": "vault",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "bytes32",
|
|
"name": "ilk",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "tokenAmt",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "getId",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "setId",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "LogWithdrawLiquidated",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "uint256", "name": "vault", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "amt", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "getId", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "setId", "type": "uint256" }
|
|
],
|
|
"name": "borrow",
|
|
"outputs": [],
|
|
"stateMutability": "payable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "uint256", "name": "vault", "type": "uint256" }
|
|
],
|
|
"name": "close",
|
|
"outputs": [],
|
|
"stateMutability": "payable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "connectorID",
|
|
"outputs": [
|
|
{ "internalType": "uint256", "name": "_type", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "_id", "type": "uint256" }
|
|
],
|
|
"stateMutability": "pure",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "uint256", "name": "vault", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "amt", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "getId", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "setId", "type": "uint256" }
|
|
],
|
|
"name": "deposit",
|
|
"outputs": [],
|
|
"stateMutability": "payable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "uint256", "name": "vault", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "depositAmt", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "borrowAmt", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "getIdDeposit", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "getIdBorrow", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "setIdDeposit", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "setIdBorrow", "type": "uint256" }
|
|
],
|
|
"name": "depositAndBorrow",
|
|
"outputs": [],
|
|
"stateMutability": "payable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "uint256", "name": "amt", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "getId", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "setId", "type": "uint256" }
|
|
],
|
|
"name": "depositDai",
|
|
"outputs": [],
|
|
"stateMutability": "payable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "uint256", "name": "vault", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "amt", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "getId", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "setId", "type": "uint256" }
|
|
],
|
|
"name": "exitDai",
|
|
"outputs": [],
|
|
"stateMutability": "payable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "name",
|
|
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "string", "name": "colType", "type": "string" }
|
|
],
|
|
"name": "open",
|
|
"outputs": [
|
|
{ "internalType": "uint256", "name": "vault", "type": "uint256" }
|
|
],
|
|
"stateMutability": "payable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "uint256", "name": "vault", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "amt", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "getId", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "setId", "type": "uint256" }
|
|
],
|
|
"name": "payback",
|
|
"outputs": [],
|
|
"stateMutability": "payable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "uint256", "name": "vault", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "amt", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "getId", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "setId", "type": "uint256" }
|
|
],
|
|
"name": "withdraw",
|
|
"outputs": [],
|
|
"stateMutability": "payable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "uint256", "name": "amt", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "getId", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "setId", "type": "uint256" }
|
|
],
|
|
"name": "withdrawDai",
|
|
"outputs": [],
|
|
"stateMutability": "payable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "uint256", "name": "vault", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "amt", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "getId", "type": "uint256" },
|
|
{ "internalType": "uint256", "name": "setId", "type": "uint256" }
|
|
],
|
|
"name": "withdrawLiquidated",
|
|
"outputs": [],
|
|
"stateMutability": "payable",
|
|
"type": "function"
|
|
}
|
|
]
|