Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 19 from a total of 19 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Create | 21915050 | 4 days ago | IN | 0 ETH | 0.00071464 | ||||
Create | 21904734 | 5 days ago | IN | 0 ETH | 0.0011417 | ||||
Create | 21882216 | 8 days ago | IN | 0 ETH | 0.00120071 | ||||
Create | 21878525 | 9 days ago | IN | 0 ETH | 0.00063058 | ||||
Create | 21812039 | 18 days ago | IN | 0 ETH | 0.0013638 | ||||
Create | 21783968 | 22 days ago | IN | 0 ETH | 0.00132078 | ||||
Create | 21734175 | 29 days ago | IN | 0 ETH | 0.00004811 | ||||
Create | 21519085 | 59 days ago | IN | 0 ETH | 0.00487758 | ||||
Create | 21466704 | 66 days ago | IN | 0 ETH | 0.01177161 | ||||
Create | 21079312 | 120 days ago | IN | 0 ETH | 0.02365227 | ||||
Create | 21074218 | 121 days ago | IN | 0 ETH | 0.00822292 | ||||
Create | 21074096 | 121 days ago | IN | 0 ETH | 0.00762191 | ||||
Create | 21072975 | 121 days ago | IN | 0 ETH | 0.01100942 | ||||
Create | 21062215 | 123 days ago | IN | 0 ETH | 0.00457881 | ||||
Create | 21056093 | 123 days ago | IN | 0 ETH | 0.00656627 | ||||
Create | 21050360 | 124 days ago | IN | 0 ETH | 0.00592936 | ||||
Create | 21037294 | 126 days ago | IN | 0 ETH | 0.0116199 | ||||
Create | 21015484 | 129 days ago | IN | 0 ETH | 0.00785614 | ||||
Create | 20995570 | 132 days ago | IN | 0 ETH | 0.00783692 |
Latest 18 internal transactions
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
21915050 | 4 days ago | Contract Creation | 0 ETH | |||
21904734 | 5 days ago | Contract Creation | 0 ETH | |||
21882216 | 8 days ago | Contract Creation | 0 ETH | |||
21878525 | 9 days ago | Contract Creation | 0 ETH | |||
21812039 | 18 days ago | Contract Creation | 0 ETH | |||
21783968 | 22 days ago | Contract Creation | 0 ETH | |||
21519085 | 59 days ago | Contract Creation | 0 ETH | |||
21466704 | 66 days ago | Contract Creation | 0 ETH | |||
21079312 | 120 days ago | Contract Creation | 0 ETH | |||
21074218 | 121 days ago | Contract Creation | 0 ETH | |||
21074096 | 121 days ago | Contract Creation | 0 ETH | |||
21072975 | 121 days ago | Contract Creation | 0 ETH | |||
21062215 | 123 days ago | Contract Creation | 0 ETH | |||
21056093 | 123 days ago | Contract Creation | 0 ETH | |||
21050360 | 124 days ago | Contract Creation | 0 ETH | |||
21037294 | 126 days ago | Contract Creation | 0 ETH | |||
21015484 | 129 days ago | Contract Creation | 0 ETH | |||
20995570 | 132 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
VoteDelegateFactory
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-FileCopyrightText: © 2021 Dai Foundation <www.daifoundation.org> // SPDX-License-Identifier: AGPL-3.0-or-later // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <https://www.gnu.org/licenses/>. pragma solidity ^0.8.21; import {VoteDelegate} from "src/VoteDelegate.sol"; contract VoteDelegateFactory { // --- storage variables --- mapping(address usr => address voteDelegate) public delegates; mapping(address voteDelegate => uint256 created) public created; // --- immutables --- address immutable public chief; address immutable public polling; // --- events --- event CreateVoteDelegate(address indexed usr, address indexed voteDelegate); // --- constructor --- constructor(address _chief, address _polling) { chief = _chief; polling = _polling; } function isDelegate(address usr) public view returns (bool ok) { ok = delegates[usr] != address(0); } function create() external returns (address voteDelegate) { require(!isDelegate(msg.sender), "VoteDelegateFactory/sender-is-already-delegate"); voteDelegate = address(new VoteDelegate(chief, polling, msg.sender)); delegates[msg.sender] = voteDelegate; created[voteDelegate] = 1; emit CreateVoteDelegate(msg.sender, voteDelegate); } }
// SPDX-FileCopyrightText: © 2021 Dai Foundation <www.daifoundation.org> // SPDX-License-Identifier: AGPL-3.0-or-later // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <https://www.gnu.org/licenses/>. pragma solidity ^0.8.21; interface GemLike { function approve(address, uint256) external; function transfer(address, uint256) external; function transferFrom(address, address, uint256) external; } interface ChiefLike { function GOV() external view returns (GemLike); function IOU() external view returns (GemLike); function lock(uint256) external; function free(uint256) external; function vote(address[] calldata) external returns (bytes32); function vote(bytes32) external; } interface PollingLike { function vote(uint256, uint256) external; function vote(uint256[] calldata, uint256[] calldata) external; } contract VoteDelegate { // --- storage variables --- mapping(address => uint256) public stake; uint256 public hatchTrigger; // --- immutables --- address immutable public delegate; GemLike immutable public gov; ChiefLike immutable public chief; PollingLike immutable public polling; // --- constants --- uint256 public constant HATCH_SIZE = 5; uint256 public constant HATCH_COOLDOWN = 20; // --- events --- event Lock(address indexed usr, uint256 wad); event Free(address indexed usr, uint256 wad); event ReserveHatch(); // --- constructor --- constructor(address chief_, address polling_, address delegate_) { chief = ChiefLike(chief_); polling = PollingLike(polling_); delegate = delegate_; gov = ChiefLike(chief_).GOV(); gov.approve(chief_, type(uint256).max); ChiefLike(chief_).IOU().approve(chief_, type(uint256).max); } // --- modifiers --- modifier delegate_auth() { require(msg.sender == delegate, "VoteDelegate/sender-not-delegate"); _; } // --- gov owner functions function lock(uint256 wad) external { require(block.number == hatchTrigger || block.number > hatchTrigger + HATCH_SIZE, "VoteDelegate/no-lock-during-hatch"); gov.transferFrom(msg.sender, address(this), wad); chief.lock(wad); stake[msg.sender] += wad; emit Lock(msg.sender, wad); } function free(uint256 wad) external { require(stake[msg.sender] >= wad, "VoteDelegate/insufficient-stake"); unchecked { stake[msg.sender] -= wad; } chief.free(wad); gov.transfer(msg.sender, wad); emit Free(msg.sender, wad); } function reserveHatch() external { require(block.number >= hatchTrigger + HATCH_SIZE + HATCH_COOLDOWN, "VoteDelegate/cooldown-not-finished"); hatchTrigger = block.number; emit ReserveHatch(); } // --- delegate executive voting functions function vote(address[] memory yays) external delegate_auth returns (bytes32 result) { result = chief.vote(yays); } function vote(bytes32 slate) external delegate_auth { chief.vote(slate); } // --- delegate poll voting functions function votePoll(uint256 pollId, uint256 optionId) external delegate_auth { polling.vote(pollId, optionId); } function votePoll(uint256[] calldata pollIds, uint256[] calldata optionIds) external delegate_auth { polling.vote(pollIds, optionIds); } }
{ "remappings": [ "dss-interfaces/=lib/dss-test/lib/dss-interfaces/src/", "dss-test/=lib/dss-test/src/", "forge-std/=lib/dss-test/lib/forge-std/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "viaIR": false, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_chief","type":"address"},{"internalType":"address","name":"_polling","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"usr","type":"address"},{"indexed":true,"internalType":"address","name":"voteDelegate","type":"address"}],"name":"CreateVoteDelegate","type":"event"},{"inputs":[],"name":"chief","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"create","outputs":[{"internalType":"address","name":"voteDelegate","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"voteDelegate","type":"address"}],"name":"created","outputs":[{"internalType":"uint256","name":"created","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"usr","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"voteDelegate","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"usr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"ok","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"polling","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c060405234801561001057600080fd5b5060405161146d38038061146d83398101604081905261002f91610062565b6001600160a01b039182166080521660a052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a0516113a66100c76000396000818160af015261021301526000818161014d01526101f201526113a66000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063077796271461006757806354717496146100aa578063587cde1e146100e9578063d42efd8314610112578063efc81a8c14610140578063ffd864d314610148575b600080fd5b6100956100753660046102f1565b6001600160a01b0390811660009081526020819052604090205416151590565b60405190151581526020015b60405180910390f35b6100d17f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a1565b6100d16100f73660046102f1565b6000602081905290815260409020546001600160a01b031681565b6101326101203660046102f1565b60016020526000908152604090205481565b6040519081526020016100a1565b6100d161016f565b6100d17f000000000000000000000000000000000000000000000000000000000000000081565b336000908152602081905260408120546001600160a01b0316156101f05760405162461bcd60e51b815260206004820152602e60248201527f566f746544656c6567617465466163746f72792f73656e6465722d69732d616c60448201526d72656164792d64656c656761746560901b606482015260840160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000003360405161023f906102e4565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f08015801561027b573d6000803e3d6000fd5b503360008181526020818152604080832080546001600160a01b0319166001600160a01b0387169081179091558084526001928390528184209290925551939450927f2187b96b95fffefab01016c852705bc8ec76d1ea17dd5bffef25fd71366336449190a390565b61104f8061032283390190565b60006020828403121561030357600080fd5b81356001600160a01b038116811461031a57600080fd5b939250505056fe6101006040523480156200001257600080fd5b506040516200104f3803806200104f83398101604081905262000035916200020c565b6001600160a01b0380841660c081905283821660e0529082166080526040805163180cb47f60e01b8152905163180cb47f916004808201926020929091908290030181865afa1580156200008d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000b3919062000260565b6001600160a01b0390811660a081905260405163095ea7b360e01b8152918516600483015260001960248301529063095ea7b390604401600060405180830381600087803b1580156200010557600080fd5b505af11580156200011a573d6000803e3d6000fd5b50505050826001600160a01b031663046c472f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200015d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000183919062000260565b60405163095ea7b360e01b81526001600160a01b0385811660048301526000196024830152919091169063095ea7b390604401600060405180830381600087803b158015620001d157600080fd5b505af1158015620001e6573d6000803e3d6000fd5b5050505050505062000287565b6001600160a01b03811681146200020957600080fd5b50565b6000806000606084860312156200022257600080fd5b83516200022f81620001f3565b60208501519093506200024281620001f3565b60408501519092506200025581620001f3565b809150509250925092565b6000602082840312156200027357600080fd5b81516200028081620001f3565b9392505050565b60805160a05160c05160e051610d3a6200031560003960008181610186015281816102de0152610623015260008181610254015281816103af015281816104a901528181610798015261095a0152600081816101140152818161051f01526107200152600081816101d9015281816102810152818161035c015281816105c901526109060152610d3a6000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063b72455da11610097578063dd46706411610066578063dd46706414610221578063e95f35e714610234578063ed0813291461023c578063ffd864d31461024f57600080fd5b8063b72455da146101cc578063c89e4361146101d4578063d8ccd0f3146101fb578063dcb0578d1461020e57600080fd5b806354717496116100d35780635471749614610181578063682baa3a146101a8578063a56f5e7e146101b0578063a69beaba146101b957600080fd5b806311fa447b146100fa57806312d43a511461010f5780632647620414610153575b600080fd5b61010d610108366004610a24565b610276565b005b6101367f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b610173610161366004610aac565b60006020819052908152604090205481565b60405190815260200161014a565b6101367f000000000000000000000000000000000000000000000000000000000000000081565b610173601481565b61017360015481565b61010d6101c7366004610ace565b610351565b610173600581565b6101367f000000000000000000000000000000000000000000000000000000000000000081565b61010d610209366004610ace565b610416565b61010d61021c366004610ae7565b6105be565b61010d61022f366004610ace565b61068b565b61010d610855565b61017361024a366004610b1f565b6108f9565b6101367f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146102c75760405162461bcd60e51b81526004016102be90610be4565b60405180910390fd5b604051638733ece760e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690638733ece790610319908790879087908790600401610c4b565b600060405180830381600087803b15801561033357600080fd5b505af1158015610347573d6000803e3d6000fd5b5050505050505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103995760405162461bcd60e51b81526004016102be90610be4565b60405163534df55d60e11b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a69beaba90602401600060405180830381600087803b1580156103fb57600080fd5b505af115801561040f573d6000803e3d6000fd5b5050505050565b336000908152602081905260409020548111156104755760405162461bcd60e51b815260206004820152601f60248201527f566f746544656c65676174652f696e73756666696369656e742d7374616b650060448201526064016102be565b3360009081526020819052604090819020805483900390555163d8ccd0f360e01b8152600481018290526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d8ccd0f390602401600060405180830381600087803b1580156104ed57600080fd5b505af1158015610501573d6000803e3d6000fd5b505060405163a9059cbb60e01b8152336004820152602481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316925063a9059cbb9150604401600060405180830381600087803b15801561056d57600080fd5b505af1158015610581573d6000803e3d6000fd5b50506040518381523392507fce6c5af8fd109993cb40da4d5dc9e4dd8e61bc2e48f1e3901472141e4f56f29391506020015b60405180910390a250565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106065760405162461bcd60e51b81526004016102be90610be4565b60405163b384abef60e01b815260048101839052602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b384abef90604401600060405180830381600087803b15801561066f57600080fd5b505af1158015610683573d6000803e3d6000fd5b505050505050565b6001544314806106a8575060056001546106a59190610c7d565b43115b6106fe5760405162461bcd60e51b815260206004820152602160248201527f566f746544656c65676174652f6e6f2d6c6f636b2d647572696e672d686174636044820152600d60fb1b60648201526084016102be565b6040516323b872dd60e01b8152336004820152306024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd90606401600060405180830381600087803b15801561076c57600080fd5b505af1158015610780573d6000803e3d6000fd5b50506040516337519c1960e21b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316925063dd4670649150602401600060405180830381600087803b1580156107e657600080fd5b505af11580156107fa573d6000803e3d6000fd5b5050336000908152602081905260408120805485945090925061081e908490610c7d565b909155505060405181815233907f625fed9875dada8643f2418b838ae0bc78d9a148a18eee4ee1979ff0f3f5d427906020016105b3565b601460056001546108669190610c7d565b6108709190610c7d565b4310156108ca5760405162461bcd60e51b815260206004820152602260248201527f566f746544656c65676174652f636f6f6c646f776e2d6e6f742d66696e697368604482015261195960f21b60648201526084016102be565b436001556040517f7b79dde9c728c8bb19d8d73a7006bc26975e1d75af05ad4a5ff8992508475b2590600090a1565b6000336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146109435760405162461bcd60e51b81526004016102be90610be4565b60405163ed08132960e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ed0813299061098f908590600401610c9e565b6020604051808303816000875af11580156109ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d29190610ceb565b92915050565b60008083601f8401126109ea57600080fd5b50813567ffffffffffffffff811115610a0257600080fd5b6020830191508360208260051b8501011115610a1d57600080fd5b9250929050565b60008060008060408587031215610a3a57600080fd5b843567ffffffffffffffff80821115610a5257600080fd5b610a5e888389016109d8565b90965094506020870135915080821115610a7757600080fd5b50610a84878288016109d8565b95989497509550505050565b80356001600160a01b0381168114610aa757600080fd5b919050565b600060208284031215610abe57600080fd5b610ac782610a90565b9392505050565b600060208284031215610ae057600080fd5b5035919050565b60008060408385031215610afa57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610b3257600080fd5b823567ffffffffffffffff80821115610b4a57600080fd5b818501915085601f830112610b5e57600080fd5b813581811115610b7057610b70610b09565b8060051b604051601f19603f83011681018181108582111715610b9557610b95610b09565b604052918252848201925083810185019188831115610bb357600080fd5b938501935b82851015610bd857610bc985610a90565b84529385019392850192610bb8565b98975050505050505050565b6020808252818101527f566f746544656c65676174652f73656e6465722d6e6f742d64656c6567617465604082015260600190565b81835260006001600160fb1b03831115610c3257600080fd5b8260051b80836020870137939093016020019392505050565b604081526000610c5f604083018688610c19565b8281036020840152610c72818587610c19565b979650505050505050565b808201808211156109d257634e487b7160e01b600052601160045260246000fd5b6020808252825182820181905260009190848201906040850190845b81811015610cdf5783516001600160a01b031683529284019291840191600101610cba565b50909695505050505050565b600060208284031215610cfd57600080fd5b505191905056fea26469706673582212205efdead906cfac541ae9fab5fbf2f98a90b270787c9a5d9e74b0ef3c8f0eab9764736f6c63430008150033a2646970667358221220bea7d0ed00ca5532cb5fd5ba32e1dbc98a64de7b9d52722bdcaa7c469b7451a064736f6c634300081500330000000000000000000000000a3f6849f78076aefadf113f5bed87720274ddc0000000000000000000000000d3a9fe267852281a1e6307a1c37cdfd76d39b133
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100625760003560e01c8063077796271461006757806354717496146100aa578063587cde1e146100e9578063d42efd8314610112578063efc81a8c14610140578063ffd864d314610148575b600080fd5b6100956100753660046102f1565b6001600160a01b0390811660009081526020819052604090205416151590565b60405190151581526020015b60405180910390f35b6100d17f000000000000000000000000d3a9fe267852281a1e6307a1c37cdfd76d39b13381565b6040516001600160a01b0390911681526020016100a1565b6100d16100f73660046102f1565b6000602081905290815260409020546001600160a01b031681565b6101326101203660046102f1565b60016020526000908152604090205481565b6040519081526020016100a1565b6100d161016f565b6100d17f0000000000000000000000000a3f6849f78076aefadf113f5bed87720274ddc081565b336000908152602081905260408120546001600160a01b0316156101f05760405162461bcd60e51b815260206004820152602e60248201527f566f746544656c6567617465466163746f72792f73656e6465722d69732d616c60448201526d72656164792d64656c656761746560901b606482015260840160405180910390fd5b7f0000000000000000000000000a3f6849f78076aefadf113f5bed87720274ddc07f000000000000000000000000d3a9fe267852281a1e6307a1c37cdfd76d39b1333360405161023f906102e4565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f08015801561027b573d6000803e3d6000fd5b503360008181526020818152604080832080546001600160a01b0319166001600160a01b0387169081179091558084526001928390528184209290925551939450927f2187b96b95fffefab01016c852705bc8ec76d1ea17dd5bffef25fd71366336449190a390565b61104f8061032283390190565b60006020828403121561030357600080fd5b81356001600160a01b038116811461031a57600080fd5b939250505056fe6101006040523480156200001257600080fd5b506040516200104f3803806200104f83398101604081905262000035916200020c565b6001600160a01b0380841660c081905283821660e0529082166080526040805163180cb47f60e01b8152905163180cb47f916004808201926020929091908290030181865afa1580156200008d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000b3919062000260565b6001600160a01b0390811660a081905260405163095ea7b360e01b8152918516600483015260001960248301529063095ea7b390604401600060405180830381600087803b1580156200010557600080fd5b505af11580156200011a573d6000803e3d6000fd5b50505050826001600160a01b031663046c472f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200015d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000183919062000260565b60405163095ea7b360e01b81526001600160a01b0385811660048301526000196024830152919091169063095ea7b390604401600060405180830381600087803b158015620001d157600080fd5b505af1158015620001e6573d6000803e3d6000fd5b5050505050505062000287565b6001600160a01b03811681146200020957600080fd5b50565b6000806000606084860312156200022257600080fd5b83516200022f81620001f3565b60208501519093506200024281620001f3565b60408501519092506200025581620001f3565b809150509250925092565b6000602082840312156200027357600080fd5b81516200028081620001f3565b9392505050565b60805160a05160c05160e051610d3a6200031560003960008181610186015281816102de0152610623015260008181610254015281816103af015281816104a901528181610798015261095a0152600081816101140152818161051f01526107200152600081816101d9015281816102810152818161035c015281816105c901526109060152610d3a6000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063b72455da11610097578063dd46706411610066578063dd46706414610221578063e95f35e714610234578063ed0813291461023c578063ffd864d31461024f57600080fd5b8063b72455da146101cc578063c89e4361146101d4578063d8ccd0f3146101fb578063dcb0578d1461020e57600080fd5b806354717496116100d35780635471749614610181578063682baa3a146101a8578063a56f5e7e146101b0578063a69beaba146101b957600080fd5b806311fa447b146100fa57806312d43a511461010f5780632647620414610153575b600080fd5b61010d610108366004610a24565b610276565b005b6101367f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b610173610161366004610aac565b60006020819052908152604090205481565b60405190815260200161014a565b6101367f000000000000000000000000000000000000000000000000000000000000000081565b610173601481565b61017360015481565b61010d6101c7366004610ace565b610351565b610173600581565b6101367f000000000000000000000000000000000000000000000000000000000000000081565b61010d610209366004610ace565b610416565b61010d61021c366004610ae7565b6105be565b61010d61022f366004610ace565b61068b565b61010d610855565b61017361024a366004610b1f565b6108f9565b6101367f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146102c75760405162461bcd60e51b81526004016102be90610be4565b60405180910390fd5b604051638733ece760e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690638733ece790610319908790879087908790600401610c4b565b600060405180830381600087803b15801561033357600080fd5b505af1158015610347573d6000803e3d6000fd5b5050505050505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103995760405162461bcd60e51b81526004016102be90610be4565b60405163534df55d60e11b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a69beaba90602401600060405180830381600087803b1580156103fb57600080fd5b505af115801561040f573d6000803e3d6000fd5b5050505050565b336000908152602081905260409020548111156104755760405162461bcd60e51b815260206004820152601f60248201527f566f746544656c65676174652f696e73756666696369656e742d7374616b650060448201526064016102be565b3360009081526020819052604090819020805483900390555163d8ccd0f360e01b8152600481018290526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d8ccd0f390602401600060405180830381600087803b1580156104ed57600080fd5b505af1158015610501573d6000803e3d6000fd5b505060405163a9059cbb60e01b8152336004820152602481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316925063a9059cbb9150604401600060405180830381600087803b15801561056d57600080fd5b505af1158015610581573d6000803e3d6000fd5b50506040518381523392507fce6c5af8fd109993cb40da4d5dc9e4dd8e61bc2e48f1e3901472141e4f56f29391506020015b60405180910390a250565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106065760405162461bcd60e51b81526004016102be90610be4565b60405163b384abef60e01b815260048101839052602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b384abef90604401600060405180830381600087803b15801561066f57600080fd5b505af1158015610683573d6000803e3d6000fd5b505050505050565b6001544314806106a8575060056001546106a59190610c7d565b43115b6106fe5760405162461bcd60e51b815260206004820152602160248201527f566f746544656c65676174652f6e6f2d6c6f636b2d647572696e672d686174636044820152600d60fb1b60648201526084016102be565b6040516323b872dd60e01b8152336004820152306024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd90606401600060405180830381600087803b15801561076c57600080fd5b505af1158015610780573d6000803e3d6000fd5b50506040516337519c1960e21b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316925063dd4670649150602401600060405180830381600087803b1580156107e657600080fd5b505af11580156107fa573d6000803e3d6000fd5b5050336000908152602081905260408120805485945090925061081e908490610c7d565b909155505060405181815233907f625fed9875dada8643f2418b838ae0bc78d9a148a18eee4ee1979ff0f3f5d427906020016105b3565b601460056001546108669190610c7d565b6108709190610c7d565b4310156108ca5760405162461bcd60e51b815260206004820152602260248201527f566f746544656c65676174652f636f6f6c646f776e2d6e6f742d66696e697368604482015261195960f21b60648201526084016102be565b436001556040517f7b79dde9c728c8bb19d8d73a7006bc26975e1d75af05ad4a5ff8992508475b2590600090a1565b6000336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146109435760405162461bcd60e51b81526004016102be90610be4565b60405163ed08132960e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ed0813299061098f908590600401610c9e565b6020604051808303816000875af11580156109ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d29190610ceb565b92915050565b60008083601f8401126109ea57600080fd5b50813567ffffffffffffffff811115610a0257600080fd5b6020830191508360208260051b8501011115610a1d57600080fd5b9250929050565b60008060008060408587031215610a3a57600080fd5b843567ffffffffffffffff80821115610a5257600080fd5b610a5e888389016109d8565b90965094506020870135915080821115610a7757600080fd5b50610a84878288016109d8565b95989497509550505050565b80356001600160a01b0381168114610aa757600080fd5b919050565b600060208284031215610abe57600080fd5b610ac782610a90565b9392505050565b600060208284031215610ae057600080fd5b5035919050565b60008060408385031215610afa57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610b3257600080fd5b823567ffffffffffffffff80821115610b4a57600080fd5b818501915085601f830112610b5e57600080fd5b813581811115610b7057610b70610b09565b8060051b604051601f19603f83011681018181108582111715610b9557610b95610b09565b604052918252848201925083810185019188831115610bb357600080fd5b938501935b82851015610bd857610bc985610a90565b84529385019392850192610bb8565b98975050505050505050565b6020808252818101527f566f746544656c65676174652f73656e6465722d6e6f742d64656c6567617465604082015260600190565b81835260006001600160fb1b03831115610c3257600080fd5b8260051b80836020870137939093016020019392505050565b604081526000610c5f604083018688610c19565b8281036020840152610c72818587610c19565b979650505050505050565b808201808211156109d257634e487b7160e01b600052601160045260246000fd5b6020808252825182820181905260009190848201906040850190845b81811015610cdf5783516001600160a01b031683529284019291840191600101610cba565b50909695505050505050565b600060208284031215610cfd57600080fd5b505191905056fea26469706673582212205efdead906cfac541ae9fab5fbf2f98a90b270787c9a5d9e74b0ef3c8f0eab9764736f6c63430008150033a2646970667358221220bea7d0ed00ca5532cb5fd5ba32e1dbc98a64de7b9d52722bdcaa7c469b7451a064736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000a3f6849f78076aefadf113f5bed87720274ddc0000000000000000000000000d3a9fe267852281a1e6307a1c37cdfd76d39b133
-----Decoded View---------------
Arg [0] : _chief (address): 0x0a3f6849f78076aefaDf113F5BED87720274dDC0
Arg [1] : _polling (address): 0xD3A9FE267852281a1e6307a1C37CDfD76d39b133
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000a3f6849f78076aefadf113f5bed87720274ddc0
Arg [1] : 000000000000000000000000d3a9fe267852281a1e6307a1c37cdfd76d39b133
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.