InitialEmissionDistributor.vy #
vyper:
0.2.10
Events #
CommitOwnership
owner
: address, notIndexed
ApplyOwnership
owner
: address, notIndexed
Claim
account
: address, notIndexedamount
: uint256, notIndexed
Methods #
ABI #
[
{
"name": "CommitOwnership",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": false
}
],
"anonymous": false,
"type": "event"
},
{
"name": "ApplyOwnership",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": false
}
],
"anonymous": false,
"type": "event"
},
{
"name": "Claim",
"inputs": [
{
"name": "account",
"type": "address",
"indexed": false
},
{
"name": "amount",
"type": "uint256",
"indexed": false
}
],
"anonymous": false,
"type": "event"
},
{
"stateMutability": "nonpayable",
"type": "constructor",
"inputs": [
{
"name": "_farmToken",
"type": "address"
},
{
"name": "_gasTokenCheckList",
"type": "address"
}
],
"outputs": []
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "setBalances",
"inputs": [
{
"name": "_accounts",
"type": "address[100]"
},
{
"name": "_amounts",
"type": "uint256[100]"
}
],
"outputs": []
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "setBalances",
"inputs": [
{
"name": "_accounts",
"type": "address[100]"
},
{
"name": "_amounts",
"type": "uint256[100]"
},
{
"name": "_gasToken",
"type": "address"
}
],
"outputs": []
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "startClaiming",
"inputs": [],
"outputs": [],
"gas": 37105
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "claim",
"inputs": [],
"outputs": []
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "claim",
"inputs": [
{
"name": "_account",
"type": "address"
}
],
"outputs": []
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "claim",
"inputs": [
{
"name": "_account",
"type": "address"
},
{
"name": "_gasToken",
"type": "address"
}
],
"outputs": []
},
{
"stateMutability": "view",
"type": "function",
"name": "claimableTokens",
"inputs": [
{
"name": "_account",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"gas": 4733
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "emergencyWithdraw",
"inputs": [],
"outputs": [],
"gas": 3541
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "transferOwnership",
"inputs": [
{
"name": "_futureOwner",
"type": "address"
}
],
"outputs": [],
"gas": 37771
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "applyOwnership",
"inputs": [],
"outputs": [],
"gas": 38627
},
{
"stateMutability": "view",
"type": "function",
"name": "farmToken",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"gas": 1298
},
{
"stateMutability": "view",
"type": "function",
"name": "gasTokenCheckList",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"gas": 1328
},
{
"stateMutability": "view",
"type": "function",
"name": "balances",
"inputs": [
{
"name": "arg0",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"gas": 1573
},
{
"stateMutability": "view",
"type": "function",
"name": "totalMinted",
"inputs": [
{
"name": "arg0",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"gas": 1603
},
{
"stateMutability": "view",
"type": "function",
"name": "startClaimingTimestamp",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"gas": 1418
},
{
"stateMutability": "view",
"type": "function",
"name": "owner",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"gas": 1448
},
{
"stateMutability": "view",
"type": "function",
"name": "futureOwner",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"gas": 1478
}
]
Byte code #
0x6040610c84610140396020610c8460c03960c05160a01c1561002057600080fd5b60206020610c840160c03960c05160a01c1561003b57600080fd5b6000610160511415151561008e576308c379a06101805260206101a052601c6101c0527f676173546f6b656e436865636b4c697374206973206e6f7420736574000000006101e0526101c050606461019cfd5b600061014051141515156100e1576308c379a06101805260206101a05260146101c0527f6661726d546f6b656e206973206e6f74207365740000000000000000000000006101e0526101c050606461019cfd5b610140516000556101605160015533600555610c6c56600436101561000d576109e4565b600035601c52600051341561002157600080fd5b63dda0fdb08114156100385760006101405261006b565b637aae48a3811415610066576119043560a01c1561005557600080fd5b60206119046101403760005061006b565b610221565b6000610120525b610120516004013560a01c1561008757600080fd5b6020610120510161012052610c806101205110156100a457610072565b600554331415156100f4576308c379a061016052602061018052600a6101a0527f6f776e6572206f6e6c79000000000000000000000000000000000000000000006101c0526101a050606461017cfd5b5a610160526004546101805260045415151561014f576308c379a06101a05260206101c05260186101e0527f636c61696d696e6720616c726561647920737461727465640000000000000000610200526101e05060646101bcfd5b6101a060006064818352015b60046101a0516064811061016e57600080fd5b6020020135151561017e576101ce565b610c846101a0516064811061019257600080fd5b6020020135600260046101a051606481106101ac57600080fd5b602002013560e05260c052604060c020555b815160010180835281141561015b575b5050610140516101605161018051610140516101a052336101c052610160516101e052606461020052610200516101e0516101c0516101a051600658016109ea565b610180526101605261014052600050005b63ff32fad18114156102d2576005543314151561027d576308c379a061014052602061016052600a610180527f6f776e6572206f6e6c79000000000000000000000000000000000000000000006101a05261018050606461015cfd5b6004541515156102cc576308c379a0610140526020610160526018610180527f636c61696d696e6720616c7265616479207374617274656400000000000000006101a05261018050606461015cfd5b42600455005b634e71d92d8114156102ee573361014052600061016052610369565b631e83409a8114156103205760006101605260043560a01c1561031057600080fd5b6020600461014037600050610369565b6321c0b3428114156103645760043560a01c1561033c57600080fd5b602060046101403760243560a01c1561035457600080fd5b6020602461016037600050610369565b6105a3565b5a610180526004546101a05260006101a0511115156103c7576308c379a06101c05260206101e0526017610200527f636c61696d696e67206973206e6f742073746172746564000000000000000000610220526102005060646101dcfd5b6000546101c05260036101405160e05260c052604060c020546101e05242600454808210156103f557600080fd5b80820390509050610200526301e13380610200511115610419576301e13380610200525b6102005160026101405160e05260c052604060c02054808202821582848304141761044357600080fd5b809050905090506301e13380808204905090506101e0518082101561046757600080fd5b80820390509050610220526101e0516102205181818301101561048957600080fd5b8082019050905060036101405160e05260c052604060c0205560206102e0604463a9059cbb610240526101405161026052610220516102805261025c60006101c0515af16104d657600080fd5b601f3d116104e357600080fd5b6000506102e0516104f357600080fd5b610140516102405261022051610260527f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d46040610240a16101405161016051610180516101a0516101c0516101e05161020051610220516101605161028052336102a052610180516102c05260646102e0526102e0516102c0516102a05161028051600658016109ea565b61022052610200526101e0526101c0526101a052610180526101605261014052600050005b6384d2422681141561067a5760043560a01c156105bf57600080fd5b600454610140526101405115156105db57600060005260206000f35b42600454808210156105ec57600080fd5b80820390509050610160526301e13380610160511115610610576301e13380610160525b61016051600260043560e05260c052604060c02054808202821582848304141761063957600080fd5b809050905090506301e1338080820490509050600360043560e05260c052604060c020548082101561066a57600080fd5b8082039050905060005260206000f35b63db2e21bc81141561076f576005546101405261014051331415156106de576308c379a061016052602061018052600a6101a0527f6f776e6572206f6e6c79000000000000000000000000000000000000000000006101c0526101a050606461017cfd5b6000546101605260206102c0604463a9059cbb610220526101405161024052602061020060246370a0823161018052306101a05261019c610160515afa61072457600080fd5b601f3d1161073157600080fd5b600050610200516102605261023c6000610160515af161075057600080fd5b601f3d1161075d57600080fd5b6000506102c05161076d57600080fd5b005b63f2fde38b8114156108115760043560a01c1561078b57600080fd5b600554331415156107db576308c379a061014052602061016052600a610180527f6f776e6572206f6e6c79000000000000000000000000000000000000000000006101a05261018050606461015cfd5b600435600655600435610140527f2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e96020610140a1005b63011902078114156108ff576005543314151561086d576308c379a061014052602061016052600a610180527f6f776e6572206f6e6c79000000000000000000000000000000000000000000006101a05261018050606461015cfd5b60065461014052600061014051141515156108c7576308c379a061016052602061018052600d6101a0527f6f776e6572206e6f7420736574000000000000000000000000000000000000006101c0526101a050606461017cfd5b6101405160055561014051610160527febee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a11891056020610160a1005b63c2442f938114156109175760005460005260206000f35b63382807d481141561092f5760015460005260206000f35b6327e235e38114156109655760043560a01c1561094b57600080fd5b600260043560e05260c052604060c0205460005260206000f35b623d479081141561099a5760043560a01c1561098057600080fd5b600360043560e05260c052604060c0205460005260206000f35b63983589108114156109b25760045460005260206000f35b638da5cb5b8114156109ca5760055460005260206000f35b63b9e9d1aa8114156109e25760065460005260206000f35b505b60006000fd5b6101c0526101405261016052610180526101a052610140511515610a0e576101c051565b6020610260602463c2bc2efc6101e05261014051610200526101fc6001545afa610a3757600080fd5b601f3d11610a4457600080fd5b600050610260511515610a96576308c379a06102805260206102a05260156102c0527f756e737570706f727465642067617320746f6b656e00000000000000000000006102e0526102c050606461029cfd5b61520861018051818183011015610aac57600080fd5b808201905090505a80821015610ac157600080fd5b8082039050905060106101a0518082028215828483041417610ae257600080fd5b80905090509050818183011015610af857600080fd5b808201905090506101e05260206102a0604463079d229f6102005261016051610220526101e05161374a818183011015610b3157600080fd5b8082019050905061a0aa808204905090506102405261021c6000610140515af1610b5a57600080fd5b601f3d11610b6757600080fd5b6000506102a0506101c051565b6100f8610c6c036100f86000396100f8610c6c036000f3