proposal-47/test/abi/airdrop.abi.json

367 lines
6.9 KiB
JSON

[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "streamId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "remainingBalance",
"type": "uint256"
}
],
"name": "CancelStream",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "startTime",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "stopTime",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "recipientsAmount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "firstStreamId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "lastStreamId",
"type": "uint256"
}
],
"name": "CreateAirdrop",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "streamId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "deposit",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "initialLockedBalance",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "startTime",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "stopTime",
"type": "uint256"
}
],
"name": "CreateStream",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "streamId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "WithdrawFromStream",
"type": "event"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "streamId",
"type": "uint256"
},
{
"internalType": "address",
"name": "who",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "balance",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "firstStreamId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "lastStreamId",
"type": "uint256"
}
],
"name": "cancelAirdrop",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "streamId",
"type": "uint256"
}
],
"name": "cancelStream",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "startTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "stopTime",
"type": "uint256"
},
{
"internalType": "address",
"name": "recipientStorage",
"type": "address"
}
],
"name": "createAirdrop",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "streamId",
"type": "uint256"
}
],
"name": "deltaOf",
"outputs": [
{
"internalType": "uint256",
"name": "delta",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "streamId",
"type": "uint256"
}
],
"name": "getStream",
"outputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "deposit",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "startTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "stopTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "remainingBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "ratePerSecond",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "nextStreamId",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "torn",
"outputs": [
{
"internalType": "contract IERC20",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "tornadoGovernance",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "streamId",
"type": "uint256"
}
],
"name": "withdrawFromStream",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "withdrawFunds",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]