mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
446 lines
10 KiB
JSON
446 lines
10 KiB
JSON
|
[
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "token",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "address",
|
||
|
"name": "cToken",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"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": "address",
|
||
|
"name": "token",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "address",
|
||
|
"name": "cToken",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"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": true,
|
||
|
"internalType": "address",
|
||
|
"name": "token",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "address",
|
||
|
"name": "cToken",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "tokenAmt",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "cTokenAmt",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "getId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "setId",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogDepositCToken",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "borrower",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "tokenToPay",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "tokenInReturn",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"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": "LogLiquidate",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "token",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "address",
|
||
|
"name": "cToken",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"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": "address",
|
||
|
"name": "borrower",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "token",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "address",
|
||
|
"name": "cToken",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"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": "LogPaybackBehalf",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "token",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "address",
|
||
|
"name": "cToken",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"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": true,
|
||
|
"internalType": "address",
|
||
|
"name": "token",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "address",
|
||
|
"name": "cToken",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "cTokenAmt",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "getId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "setId",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogWithdrawCToken",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{ "internalType": "address", "name": "token", "type": "address" },
|
||
|
{ "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": [],
|
||
|
"name": "connectorID",
|
||
|
"outputs": [
|
||
|
{ "internalType": "uint256", "name": "_type", "type": "uint256" },
|
||
|
{ "internalType": "uint256", "name": "_id", "type": "uint256" }
|
||
|
],
|
||
|
"stateMutability": "pure",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{ "internalType": "address", "name": "token", "type": "address" },
|
||
|
{ "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": "address", "name": "token", "type": "address" },
|
||
|
{ "internalType": "uint256", "name": "amt", "type": "uint256" },
|
||
|
{ "internalType": "uint256", "name": "getId", "type": "uint256" },
|
||
|
{ "internalType": "uint256", "name": "setId", "type": "uint256" }
|
||
|
],
|
||
|
"name": "depositCToken",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "payable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{ "internalType": "address", "name": "borrower", "type": "address" },
|
||
|
{ "internalType": "address", "name": "tokenToPay", "type": "address" },
|
||
|
{ "internalType": "address", "name": "tokenInReturn", "type": "address" },
|
||
|
{ "internalType": "uint256", "name": "amt", "type": "uint256" },
|
||
|
{ "internalType": "uint256", "name": "getId", "type": "uint256" },
|
||
|
{ "internalType": "uint256", "name": "setId", "type": "uint256" }
|
||
|
],
|
||
|
"name": "liquidate",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "payable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "name",
|
||
|
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{ "internalType": "address", "name": "token", "type": "address" },
|
||
|
{ "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": "address", "name": "borrower", "type": "address" },
|
||
|
{ "internalType": "address", "name": "token", "type": "address" },
|
||
|
{ "internalType": "uint256", "name": "amt", "type": "uint256" },
|
||
|
{ "internalType": "uint256", "name": "getId", "type": "uint256" },
|
||
|
{ "internalType": "uint256", "name": "setId", "type": "uint256" }
|
||
|
],
|
||
|
"name": "paybackBehalf",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "payable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{ "internalType": "address", "name": "token", "type": "address" },
|
||
|
{ "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": "address", "name": "token", "type": "address" },
|
||
|
{ "internalType": "uint256", "name": "cTokenAmt", "type": "uint256" },
|
||
|
{ "internalType": "uint256", "name": "getId", "type": "uint256" },
|
||
|
{ "internalType": "uint256", "name": "setId", "type": "uint256" }
|
||
|
],
|
||
|
"name": "withdrawCToken",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "payable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "setId",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "ClaimComp",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "payable",
|
||
|
"type": "function"
|
||
|
}
|
||
|
]
|