Address Details
contract
token
0x46c9757C5497c5B1f2eb73aE79b6B67D119B0B58
- Token
- impactMarket (PACT)
- Creator
- 0x5a3a98–051f52 at 0xf1e8ab–b339a6
- Balance
- 2.002 CELO ( )
- Locked CELO Balance
- 0.00 CELO
- Voting CELO Balance
- 0.00 CELO
- Pending Unlocked Gold
- 0.00 CELO
- Tokens
-
Fetching tokens...
- Transactions
- 72,594 Transactions
- Transfers
- 22 Transfers
- Gas Used
- 5,041,518,182
- Last Balance Update
- 27615778
Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- PACTToken
- Optimization enabled
- true
- Compiler version
- v0.8.4+commit.c7e474f2
- Optimization runs
- 200
- EVM Version
- istanbul
- Verified at
- 2022-01-05T14:39:56.038461Z
contracts/token/PACTToken.sol
//SPDX-License-Identifier: Apache-2.0 pragma solidity 0.8.4; import "@ubeswap/governance/contracts/voting/TransferrableVotingToken.sol"; contract PACTToken is TransferrableVotingToken { /// @notice The maximum supply of PACT Tokens. uint96 public constant MAX_SUPPLY = 10_000_000_000e18; /** * @notice Construct a new PACT Token * Note: this contract doesn't specify an initial minter, so there is no way new * tokens can get created. * @param _initialOwner The initial account to grant all the tokens */ constructor(address _initialOwner) TransferrableVotingToken("impactMarket", "PACT", 18, MAX_SUPPLY, _initialOwner) {} }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_initialOwner","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"DelegateChanged","inputs":[{"type":"address","name":"delegator","internalType":"address","indexed":true},{"type":"address","name":"fromDelegate","internalType":"address","indexed":true},{"type":"address","name":"toDelegate","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"DelegateVotesChanged","inputs":[{"type":"address","name":"delegate","internalType":"address","indexed":true},{"type":"uint256","name":"previousBalance","internalType":"uint256","indexed":false},{"type":"uint256","name":"newBalance","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DELEGATION_TYPEHASH","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DOMAIN_TYPEHASH","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint96","name":"","internalType":"uint96"}],"name":"MAX_SUPPLY","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"PERMIT_TYPEHASH","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"rawAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"_account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint32","name":"fromBlock","internalType":"uint32"},{"type":"uint96","name":"votes","internalType":"uint96"}],"name":"checkpoints","inputs":[{"type":"address","name":"","internalType":"address"},{"type":"uint32","name":"","internalType":"uint32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"delegate","inputs":[{"type":"address","name":"delegatee","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"delegateBySig","inputs":[{"type":"address","name":"delegatee","internalType":"address"},{"type":"uint256","name":"nonce","internalType":"uint256"},{"type":"uint256","name":"expiry","internalType":"uint256"},{"type":"uint8","name":"v","internalType":"uint8"},{"type":"bytes32","name":"r","internalType":"bytes32"},{"type":"bytes32","name":"s","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"delegates","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint96","name":"","internalType":"uint96"}],"name":"getCurrentVotes","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint96","name":"","internalType":"uint96"}],"name":"getPriorVotes","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"blockNumber","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"nonces","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint32","name":"","internalType":"uint32"}],"name":"numCheckpoints","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"permit","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"rawAmount","internalType":"uint256"},{"type":"uint256","name":"deadline","internalType":"uint256"},{"type":"uint8","name":"v","internalType":"uint8"},{"type":"bytes32","name":"r","internalType":"bytes32"},{"type":"bytes32","name":"s","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint96","name":"","internalType":"uint96"}],"name":"totalVotingPower","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"dst","internalType":"address"},{"type":"uint256","name":"rawAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"src","internalType":"address"},{"type":"address","name":"dst","internalType":"address"},{"type":"uint256","name":"rawAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint96","name":"","internalType":"uint96"}],"name":"votingPower","inputs":[{"type":"address","name":"account","internalType":"address"}]}]
Contract Creation Code
0x60a06040523480156200001157600080fd5b5060405162002a1738038062002a178339810160408190526200003491620007f9565b6040518060400160405280600c81526020016b1a5b5c1858dd13585c9ad95d60a21b81525060405180604001604052806004815260200163141050d560e21b81525060126b204fce5e3e2502611000000084848484828060009080519060200190620000a292919062000753565b50508151620000b990600790602085019062000753565b5060f81b7fff000000000000000000000000000000000000000000000000000000000000001660805250620000f190508183620000fd565b5050505050506200096d565b6001600160a01b0382166200017f5760405162461bcd60e51b815260206004820152603860248201527f566f74696e67506f7765723a3a5f6d696e74566f7465733a2063616e6e6f742060448201527f6d696e7420746f20746865207a65726f2061646472657373000000000000000060648201526084015b60405180910390fd5b6001600160a01b03821660009081526002602090815260409182902054825160608101909352602e808452620001cd936001600160601b0390921692859291906200293a90830139620002bb565b6001600160a01b03831660009081526002602090815260409182902080546001600160601b0319166001600160601b03948516179055600154825160608101909352602f8084526200023194919091169285929091906200296890830139620002bb565b600180546001600160601b0319166001600160601b0392831617905560405190821681526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36001600160a01b03808316600090815260036020526040812054620002b79216836200030d565b5050565b600080620002ca8486620008aa565b9050846001600160601b0316816001600160601b031610158390620003045760405162461bcd60e51b815260040162000176919062000829565b50949350505050565b816001600160a01b0316836001600160a01b0316141580156200033957506000816001600160601b0316115b15620004d5576001600160a01b038316156200040a576001600160a01b03831660009081526005602052604081205463ffffffff1690816200037d576000620003cc565b6001600160a01b038516600090815260046020526040812090620003a3600185620008cf565b63ffffffff16815260208101919091526040016000205464010000000090046001600160601b03165b90506000620003f68285604051806060016040528060278152602001620029f060279139620004da565b9050620004068684848462000529565b5050505b6001600160a01b03821615620004d5576001600160a01b03821660009081526005602052604081205463ffffffff1690816200044857600062000497565b6001600160a01b0384166000908152600460205260408120906200046e600185620008cf565b63ffffffff16815260208101919091526040016000205464010000000090046001600160601b03165b90506000620004c182856040518060600160405280602681526020016200299760269139620002bb565b9050620004d18584848462000529565b5050505b505050565b6000836001600160601b0316836001600160601b031611158290620005145760405162461bcd60e51b815260040162000176919062000829565b50620005218385620008f7565b949350505050565b60006200055043604051806060016040528060338152602001620029bd6033913962000720565b905060008463ffffffff16118015620005ad57506001600160a01b038516600090815260046020526040812063ffffffff83169162000591600188620008cf565b63ffffffff908116825260208201929092526040016000205416145b1562000620576001600160a01b03851660009081526004602052604081208391620005da600188620008cf565b63ffffffff168152602081019190915260400160002080546001600160601b039290921664010000000002600160201b600160801b0319909216919091179055620006cb565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600482528681208b8616825290915294909420925183549451909116640100000000026001600160801b03199094169116179190911790556200069a8460016200087f565b6001600160a01b0386166000908152600560205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b60008164010000000084106200074b5760405162461bcd60e51b815260040162000176919062000829565b509192915050565b82805462000761906200091a565b90600052602060002090601f016020900481019282620007855760008555620007d0565b82601f10620007a057805160ff1916838001178555620007d0565b82800160010185558215620007d0579182015b82811115620007d0578251825591602001919060010190620007b3565b50620007de929150620007e2565b5090565b5b80821115620007de5760008155600101620007e3565b6000602082840312156200080b578081fd5b81516001600160a01b038116811462000822578182fd5b9392505050565b6000602080835283518082850152825b81811015620008575785810183015185820160400152820162000839565b81811115620008695783604083870101525b50601f01601f1916929092016040019392505050565b600063ffffffff808316818516808303821115620008a157620008a162000957565b01949350505050565b60006001600160601b03828116848216808303821115620008a157620008a162000957565b600063ffffffff83811690831681811015620008ef57620008ef62000957565b039392505050565b60006001600160601b0383811690831681811015620008ef57620008ef62000957565b600181811c908216806200092f57607f821691505b602082108114156200095157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60805160f81c611fae6200098c600039600061021c0152611fae6000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063c07473f61161007c578063c07473f6146103a6578063c3cda520146103b4578063d505accf146103c7578063dd62ed3e146103da578063e7a324dc1461041c578063f1127ed81461044357600080fd5b806370a0823114610313578063782d6fe1146103455780637ecebe001461035857806395d89b4114610378578063a9059cbb14610380578063b4b5ea571461039357600080fd5b8063313ce56711610115578063313ce5671461021557806332cb6b0c14610246578063587cde1e146102715780635c19a95c146102b2578063671b3793146102c75780636fcfff45146102d857600080fd5b806306fdde031461015d578063095ea7b31461017b57806318160ddd1461019e57806320606b70146101b457806323b872dd146101db57806330adf81f146101ee575b600080fd5b6101656104aa565b6040516101729190611c6f565b60405180910390f35b61018e610189366004611b16565b6104b9565b6040519015158152602001610172565b6101a661057a565b604051908152602001610172565b6101a67f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b61018e6101e9366004611a72565b61059c565b6101a67f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610172565b6102596b204fce5e3e2502611000000081565b6040516001600160601b039091168152602001610172565b61029a61027f366004611a26565b6003602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610172565b6102c56102c0366004611a26565b610774565b005b6001546001600160601b0316610259565b6102fe6102e6366004611a26565b60056020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610172565b6101a6610321366004611a26565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b610259610353366004611b16565b610781565b6101a6610366366004611a26565b60066020526000908152604090205481565b610165610a07565b61018e61038e366004611b16565b610a99565b6102596103a1366004611a26565b610b60565b610259610321366004611a26565b6102c56103c2366004611b3f565b610bde565b6102c56103d5366004611aad565b610eb1565b6101a66103e8366004611a40565b6001600160a01b0391821660009081526008602090815260408083209390941682529190915220546001600160601b031690565b6101a67fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b610486610451366004611b96565b600460209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6040805163ffffffff90931683526001600160601b03909116602083015201610172565b60606104b4611282565b905090565b6000806000198314156104d457506001600160601b036104f9565b6104f683604051806060016040528060248152602001611f2660249139611291565b90505b3360008181526008602090815260408083206001600160a01b0389168085529083529281902080546001600160601b0319166001600160601b03871690811790915590519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a360019150505b92915050565b600061058e6001546001600160601b031690565b6001600160601b0316905090565b60006001600160a01b0383163014156106315760405162461bcd60e51b815260206004820152604660248201527f5472616e736665727261626c65566f74696e67546f6b656e3a3a7472616e736660448201527f657246726f6d3a2063616e6e6f742073656e6420746f6b656e7320746f20636f6064820152651b9d1c9858dd60d21b608482015260a4015b60405180910390fd5b6001600160a01b03841660009081526008602090815260408083203380855290835281842054825160608101909352602480845291946001600160601b03909116939092610687928892611f2690830139611291565b9050866001600160a01b0316836001600160a01b0316141580156106b457506001600160601b0382811614155b1561075c5760006106de83836040518060600160405280603c8152602001611ded603c91396112c0565b6001600160a01b038981166000818152600860209081526040808320948a168084529482529182902080546001600160601b0319166001600160601b0387169081179091559151918252939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b61076787878361130a565b5060019695505050505050565b61077e338261155b565b50565b60004382106107e15760405162461bcd60e51b815260206004820152602660248201527f556e693a3a6765745072696f72566f7465733a206e6f742079657420646574656044820152651c9b5a5b995960d21b6064820152608401610628565b6001600160a01b03831660009081526005602052604090205463ffffffff168061080f576000915050610574565b6001600160a01b03841660009081526004602052604081208491610834600185611d3b565b63ffffffff908116825260208201929092526040016000205416116108a7576001600160a01b038416600090815260046020526040812090610877600184611d3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b031691506105749050565b6001600160a01b038416600090815260046020908152604080832083805290915290205463ffffffff168310156108e2576000915050610574565b6000806108f0600184611d3b565b90505b8163ffffffff168163ffffffff1611156109c257600060026109158484611d3b565b61091f9190611d0c565b6109299083611d3b565b6001600160a01b038816600090815260046020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b031691810191909152919250871415610996576020015194506105749350505050565b805163ffffffff168711156109ad578193506109bb565b6109b8600183611d3b565b92505b50506108f3565b506001600160a01b038516600090815260046020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b606060078054610a1690611d80565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4290611d80565b8015610a8f5780601f10610a6457610100808354040283529160200191610a8f565b820191906000526020600020905b815481529060010190602001808311610a7257829003601f168201915b5050505050905090565b60006001600160a01b038316301415610b255760405162461bcd60e51b815260206004820152604260248201527f5472616e736665727261626c65566f74696e67546f6b656e3a3a7472616e736660448201527f65723a2063616e6e6f742073656e6420746f6b656e7320746f20636f6e74726160648201526118dd60f21b608482015260a401610628565b6000610b4983604051806060016040528060258152602001611f0160259139611291565b9050610b5633858361130a565b5060019392505050565b6001600160a01b03811660009081526005602052604081205463ffffffff1680610b8b576000610bd7565b6001600160a01b038316600090815260046020526040812090610baf600184611d3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666000604051610c109190611bd4565b6040518091039020610c1f4690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610d4b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610dbc5760405162461bcd60e51b815260206004820152602560248201527f556e693a3a64656c656761746542795369673a20696e76616c6964207369676e604482015264617475726560d81b6064820152608401610628565b6001600160a01b0381166000908152600660205260408120805491610de083611dbb565b919050558914610e3c5760405162461bcd60e51b815260206004820152602160248201527f556e693a3a64656c656761746542795369673a20696e76616c6964206e6f6e636044820152606560f81b6064820152608401610628565b87421115610e9a5760405162461bcd60e51b815260206004820152602560248201527f556e693a3a64656c656761746542795369673a207369676e61747572652065786044820152641c1a5c995960da1b6064820152608401610628565b610ea4818b61155b565b505050505b505050505050565b6000600019861415610ecb57506001600160601b03610ef0565b610eed86604051806060016040528060238152602001611e5e60239139611291565b90505b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610f1b6104aa565b80519060200120610f294690565b604080516020810194909452830191909152606082015230608082015260a00160408051601f1981840301815291815281516020928301206001600160a01b038c166000908152600690935290822080549193507f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918c918c918c9186610faf83611dbb565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810188905260e0016040516020818303038152906040528051906020012090506000828260405160200161102e92919061190160f01b81526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff8b169284019290925260608301899052608083018890529092509060019060a0016020604051602081039080840390855afa158015611099573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166110fc5760405162461bcd60e51b815260206004820152601e60248201527f556e693a3a7065726d69743a20696e76616c6964207369676e617475726500006044820152606401610628565b8b6001600160a01b0316816001600160a01b03161461115d5760405162461bcd60e51b815260206004820152601960248201527f556e693a3a7065726d69743a20756e617574686f72697a6564000000000000006044820152606401610628565b884211156111ad5760405162461bcd60e51b815260206004820152601e60248201527f556e693a3a7065726d69743a207369676e6174757265206578706972656400006044820152606401610628565b84600860008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258760405161126c91906001600160601b0391909116815260200190565b60405180910390a3505050505050505050505050565b606060008054610a1690611d80565b600081600160601b84106112b85760405162461bcd60e51b81526004016106289190611c6f565b509192915050565b6000836001600160601b0316836001600160601b0316111582906112f75760405162461bcd60e51b81526004016106289190611c6f565b506113028385611d60565b949350505050565b6001600160a01b0383166113865760405162461bcd60e51b815260206004820152603b60248201527f556e693a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160448201527f6e736665722066726f6d20746865207a65726f206164647265737300000000006064820152608401610628565b6001600160a01b0382166114025760405162461bcd60e51b815260206004820152603960248201527f556e693a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160448201527f6e7366657220746f20746865207a65726f2061646472657373000000000000006064820152608401610628565b6001600160a01b03831660009081526002602090815260409182902054825160608101909352603580845261144d936001600160601b039092169285929190611e29908301396112c0565b6001600160a01b03848116600090815260026020908152604080832080546001600160601b0319166001600160601b0396871617905592861682529082902054825160608101909352602f8084526114b59491909116928592909190611f4a908301396115e5565b6001600160a01b0383811660008181526002602090815260409182902080546001600160601b0319166001600160601b03968716179055905193851684529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36001600160a01b0380841660009081526003602052604080822054858416835291205461155692918216911683611632565b505050565b6001600160a01b03808316600081815260036020818152604080842080546002845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46115df828483611632565b50505050565b6000806115f28486611cea565b9050846001600160601b0316816001600160601b0316101583906116295760405162461bcd60e51b81526004016106289190611c6f565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561165d57506000816001600160601b0316115b15611556576001600160a01b03831615611722576001600160a01b03831660009081526005602052604081205463ffffffff16908161169d5760006116e9565b6001600160a01b0385166000908152600460205260408120906116c1600185611d3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b905060006117108285604051806060016040528060278152602001611eda602791396112c0565b905061171e868484846117da565b5050505b6001600160a01b03821615611556576001600160a01b03821660009081526005602052604081205463ffffffff16908161175d5760006117a9565b6001600160a01b038416600090815260046020526040812090611781600185611d3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b905060006117d08285604051806060016040528060268152602001611e81602691396115e5565b9050610ea9858484845b60006117fe43604051806060016040528060338152602001611ea7603391396119d2565b905060008463ffffffff1611801561185857506001600160a01b038516600090815260046020526040812063ffffffff83169161183c600188611d3b565b63ffffffff908116825260208201929092526040016000205416145b156118cc576001600160a01b03851660009081526004602052604081208391611882600188611d3b565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b026fffffffffffffffffffffffff000000001990921691909117905561197d565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600482528681208b8616825290915294909420925183549451909116600160201b026fffffffffffffffffffffffffffffffff1990941691161791909117905561194c846001611cc2565b6001600160a01b0386166000908152600560205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b600081600160201b84106112b85760405162461bcd60e51b81526004016106289190611c6f565b80356001600160a01b0381168114611a1057600080fd5b919050565b803560ff81168114611a1057600080fd5b600060208284031215611a37578081fd5b610bd7826119f9565b60008060408385031215611a52578081fd5b611a5b836119f9565b9150611a69602084016119f9565b90509250929050565b600080600060608486031215611a86578081fd5b611a8f846119f9565b9250611a9d602085016119f9565b9150604084013590509250925092565b600080600080600080600060e0888a031215611ac7578283fd5b611ad0886119f9565b9650611ade602089016119f9565b95506040880135945060608801359350611afa60808901611a15565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611b28578182fd5b611b31836119f9565b946020939093013593505050565b60008060008060008060c08789031215611b57578182fd5b611b60876119f9565b95506020870135945060408701359350611b7c60608801611a15565b92506080870135915060a087013590509295509295509295565b60008060408385031215611ba8578182fd5b611bb1836119f9565b9150602083013563ffffffff81168114611bc9578182fd5b809150509250929050565b600080835482600182811c915080831680611bf057607f831692505b6020808410821415611c1057634e487b7160e01b87526022600452602487fd5b818015611c245760018114611c3557611c61565b60ff19861689528489019650611c61565b60008a815260209020885b86811015611c595781548b820152908501908301611c40565b505084890196505b509498975050505050505050565b6000602080835283518082850152825b81811015611c9b57858101830151858201604001528201611c7f565b81811115611cac5783604083870101525b50601f01601f1916929092016040019392505050565b600063ffffffff808316818516808303821115611ce157611ce1611dd6565b01949350505050565b60006001600160601b03808316818516808303821115611ce157611ce1611dd6565b600063ffffffff80841680611d2f57634e487b7160e01b83526012600452602483fd5b92169190910492915050565b600063ffffffff83811690831681811015611d5857611d58611dd6565b039392505050565b60006001600160601b0383811690831681811015611d5857611d58611dd6565b600181811c90821680611d9457607f821691505b60208210811415611db557634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611dcf57611dcf611dd6565b5060010190565b634e487b7160e01b600052601160045260246000fdfe556e693a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365556e693a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365556e693a3a7065726d69743a20616d6f756e7420657863656564732039362062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773556e693a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773556e693a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473556e693a3a617070726f76653a20616d6f756e7420657863656564732039362062697473556e693a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773a2646970667358221220bb4b0aa17dce6540cbd8337da34e286af0474ea0031e9b689089570961f91aa964736f6c63430008040033566f74696e67506f7765723a3a5f6d696e74566f7465733a206d696e7420616d6f756e74206f766572666c6f7773566f74696e67506f7765723a3a5f6d696e74566f7465733a20746f74616c20737570706c79206f766572666c6f7773556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773556e693a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f77730000000000000000000000005a3a98ce8009bfa94a27524a8548c15b2c051f52
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063c07473f61161007c578063c07473f6146103a6578063c3cda520146103b4578063d505accf146103c7578063dd62ed3e146103da578063e7a324dc1461041c578063f1127ed81461044357600080fd5b806370a0823114610313578063782d6fe1146103455780637ecebe001461035857806395d89b4114610378578063a9059cbb14610380578063b4b5ea571461039357600080fd5b8063313ce56711610115578063313ce5671461021557806332cb6b0c14610246578063587cde1e146102715780635c19a95c146102b2578063671b3793146102c75780636fcfff45146102d857600080fd5b806306fdde031461015d578063095ea7b31461017b57806318160ddd1461019e57806320606b70146101b457806323b872dd146101db57806330adf81f146101ee575b600080fd5b6101656104aa565b6040516101729190611c6f565b60405180910390f35b61018e610189366004611b16565b6104b9565b6040519015158152602001610172565b6101a661057a565b604051908152602001610172565b6101a67f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b61018e6101e9366004611a72565b61059c565b6101a67f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000012168152602001610172565b6102596b204fce5e3e2502611000000081565b6040516001600160601b039091168152602001610172565b61029a61027f366004611a26565b6003602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610172565b6102c56102c0366004611a26565b610774565b005b6001546001600160601b0316610259565b6102fe6102e6366004611a26565b60056020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610172565b6101a6610321366004611a26565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b610259610353366004611b16565b610781565b6101a6610366366004611a26565b60066020526000908152604090205481565b610165610a07565b61018e61038e366004611b16565b610a99565b6102596103a1366004611a26565b610b60565b610259610321366004611a26565b6102c56103c2366004611b3f565b610bde565b6102c56103d5366004611aad565b610eb1565b6101a66103e8366004611a40565b6001600160a01b0391821660009081526008602090815260408083209390941682529190915220546001600160601b031690565b6101a67fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b610486610451366004611b96565b600460209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6040805163ffffffff90931683526001600160601b03909116602083015201610172565b60606104b4611282565b905090565b6000806000198314156104d457506001600160601b036104f9565b6104f683604051806060016040528060248152602001611f2660249139611291565b90505b3360008181526008602090815260408083206001600160a01b0389168085529083529281902080546001600160601b0319166001600160601b03871690811790915590519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a360019150505b92915050565b600061058e6001546001600160601b031690565b6001600160601b0316905090565b60006001600160a01b0383163014156106315760405162461bcd60e51b815260206004820152604660248201527f5472616e736665727261626c65566f74696e67546f6b656e3a3a7472616e736660448201527f657246726f6d3a2063616e6e6f742073656e6420746f6b656e7320746f20636f6064820152651b9d1c9858dd60d21b608482015260a4015b60405180910390fd5b6001600160a01b03841660009081526008602090815260408083203380855290835281842054825160608101909352602480845291946001600160601b03909116939092610687928892611f2690830139611291565b9050866001600160a01b0316836001600160a01b0316141580156106b457506001600160601b0382811614155b1561075c5760006106de83836040518060600160405280603c8152602001611ded603c91396112c0565b6001600160a01b038981166000818152600860209081526040808320948a168084529482529182902080546001600160601b0319166001600160601b0387169081179091559151918252939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b61076787878361130a565b5060019695505050505050565b61077e338261155b565b50565b60004382106107e15760405162461bcd60e51b815260206004820152602660248201527f556e693a3a6765745072696f72566f7465733a206e6f742079657420646574656044820152651c9b5a5b995960d21b6064820152608401610628565b6001600160a01b03831660009081526005602052604090205463ffffffff168061080f576000915050610574565b6001600160a01b03841660009081526004602052604081208491610834600185611d3b565b63ffffffff908116825260208201929092526040016000205416116108a7576001600160a01b038416600090815260046020526040812090610877600184611d3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b031691506105749050565b6001600160a01b038416600090815260046020908152604080832083805290915290205463ffffffff168310156108e2576000915050610574565b6000806108f0600184611d3b565b90505b8163ffffffff168163ffffffff1611156109c257600060026109158484611d3b565b61091f9190611d0c565b6109299083611d3b565b6001600160a01b038816600090815260046020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b031691810191909152919250871415610996576020015194506105749350505050565b805163ffffffff168711156109ad578193506109bb565b6109b8600183611d3b565b92505b50506108f3565b506001600160a01b038516600090815260046020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b606060078054610a1690611d80565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4290611d80565b8015610a8f5780601f10610a6457610100808354040283529160200191610a8f565b820191906000526020600020905b815481529060010190602001808311610a7257829003601f168201915b5050505050905090565b60006001600160a01b038316301415610b255760405162461bcd60e51b815260206004820152604260248201527f5472616e736665727261626c65566f74696e67546f6b656e3a3a7472616e736660448201527f65723a2063616e6e6f742073656e6420746f6b656e7320746f20636f6e74726160648201526118dd60f21b608482015260a401610628565b6000610b4983604051806060016040528060258152602001611f0160259139611291565b9050610b5633858361130a565b5060019392505050565b6001600160a01b03811660009081526005602052604081205463ffffffff1680610b8b576000610bd7565b6001600160a01b038316600090815260046020526040812090610baf600184611d3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666000604051610c109190611bd4565b6040518091039020610c1f4690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610d4b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610dbc5760405162461bcd60e51b815260206004820152602560248201527f556e693a3a64656c656761746542795369673a20696e76616c6964207369676e604482015264617475726560d81b6064820152608401610628565b6001600160a01b0381166000908152600660205260408120805491610de083611dbb565b919050558914610e3c5760405162461bcd60e51b815260206004820152602160248201527f556e693a3a64656c656761746542795369673a20696e76616c6964206e6f6e636044820152606560f81b6064820152608401610628565b87421115610e9a5760405162461bcd60e51b815260206004820152602560248201527f556e693a3a64656c656761746542795369673a207369676e61747572652065786044820152641c1a5c995960da1b6064820152608401610628565b610ea4818b61155b565b505050505b505050505050565b6000600019861415610ecb57506001600160601b03610ef0565b610eed86604051806060016040528060238152602001611e5e60239139611291565b90505b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610f1b6104aa565b80519060200120610f294690565b604080516020810194909452830191909152606082015230608082015260a00160408051601f1981840301815291815281516020928301206001600160a01b038c166000908152600690935290822080549193507f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918c918c918c9186610faf83611dbb565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810188905260e0016040516020818303038152906040528051906020012090506000828260405160200161102e92919061190160f01b81526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff8b169284019290925260608301899052608083018890529092509060019060a0016020604051602081039080840390855afa158015611099573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166110fc5760405162461bcd60e51b815260206004820152601e60248201527f556e693a3a7065726d69743a20696e76616c6964207369676e617475726500006044820152606401610628565b8b6001600160a01b0316816001600160a01b03161461115d5760405162461bcd60e51b815260206004820152601960248201527f556e693a3a7065726d69743a20756e617574686f72697a6564000000000000006044820152606401610628565b884211156111ad5760405162461bcd60e51b815260206004820152601e60248201527f556e693a3a7065726d69743a207369676e6174757265206578706972656400006044820152606401610628565b84600860008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258760405161126c91906001600160601b0391909116815260200190565b60405180910390a3505050505050505050505050565b606060008054610a1690611d80565b600081600160601b84106112b85760405162461bcd60e51b81526004016106289190611c6f565b509192915050565b6000836001600160601b0316836001600160601b0316111582906112f75760405162461bcd60e51b81526004016106289190611c6f565b506113028385611d60565b949350505050565b6001600160a01b0383166113865760405162461bcd60e51b815260206004820152603b60248201527f556e693a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160448201527f6e736665722066726f6d20746865207a65726f206164647265737300000000006064820152608401610628565b6001600160a01b0382166114025760405162461bcd60e51b815260206004820152603960248201527f556e693a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160448201527f6e7366657220746f20746865207a65726f2061646472657373000000000000006064820152608401610628565b6001600160a01b03831660009081526002602090815260409182902054825160608101909352603580845261144d936001600160601b039092169285929190611e29908301396112c0565b6001600160a01b03848116600090815260026020908152604080832080546001600160601b0319166001600160601b0396871617905592861682529082902054825160608101909352602f8084526114b59491909116928592909190611f4a908301396115e5565b6001600160a01b0383811660008181526002602090815260409182902080546001600160601b0319166001600160601b03968716179055905193851684529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36001600160a01b0380841660009081526003602052604080822054858416835291205461155692918216911683611632565b505050565b6001600160a01b03808316600081815260036020818152604080842080546002845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46115df828483611632565b50505050565b6000806115f28486611cea565b9050846001600160601b0316816001600160601b0316101583906116295760405162461bcd60e51b81526004016106289190611c6f565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561165d57506000816001600160601b0316115b15611556576001600160a01b03831615611722576001600160a01b03831660009081526005602052604081205463ffffffff16908161169d5760006116e9565b6001600160a01b0385166000908152600460205260408120906116c1600185611d3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b905060006117108285604051806060016040528060278152602001611eda602791396112c0565b905061171e868484846117da565b5050505b6001600160a01b03821615611556576001600160a01b03821660009081526005602052604081205463ffffffff16908161175d5760006117a9565b6001600160a01b038416600090815260046020526040812090611781600185611d3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b905060006117d08285604051806060016040528060268152602001611e81602691396115e5565b9050610ea9858484845b60006117fe43604051806060016040528060338152602001611ea7603391396119d2565b905060008463ffffffff1611801561185857506001600160a01b038516600090815260046020526040812063ffffffff83169161183c600188611d3b565b63ffffffff908116825260208201929092526040016000205416145b156118cc576001600160a01b03851660009081526004602052604081208391611882600188611d3b565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b026fffffffffffffffffffffffff000000001990921691909117905561197d565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600482528681208b8616825290915294909420925183549451909116600160201b026fffffffffffffffffffffffffffffffff1990941691161791909117905561194c846001611cc2565b6001600160a01b0386166000908152600560205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b600081600160201b84106112b85760405162461bcd60e51b81526004016106289190611c6f565b80356001600160a01b0381168114611a1057600080fd5b919050565b803560ff81168114611a1057600080fd5b600060208284031215611a37578081fd5b610bd7826119f9565b60008060408385031215611a52578081fd5b611a5b836119f9565b9150611a69602084016119f9565b90509250929050565b600080600060608486031215611a86578081fd5b611a8f846119f9565b9250611a9d602085016119f9565b9150604084013590509250925092565b600080600080600080600060e0888a031215611ac7578283fd5b611ad0886119f9565b9650611ade602089016119f9565b95506040880135945060608801359350611afa60808901611a15565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611b28578182fd5b611b31836119f9565b946020939093013593505050565b60008060008060008060c08789031215611b57578182fd5b611b60876119f9565b95506020870135945060408701359350611b7c60608801611a15565b92506080870135915060a087013590509295509295509295565b60008060408385031215611ba8578182fd5b611bb1836119f9565b9150602083013563ffffffff81168114611bc9578182fd5b809150509250929050565b600080835482600182811c915080831680611bf057607f831692505b6020808410821415611c1057634e487b7160e01b87526022600452602487fd5b818015611c245760018114611c3557611c61565b60ff19861689528489019650611c61565b60008a815260209020885b86811015611c595781548b820152908501908301611c40565b505084890196505b509498975050505050505050565b6000602080835283518082850152825b81811015611c9b57858101830151858201604001528201611c7f565b81811115611cac5783604083870101525b50601f01601f1916929092016040019392505050565b600063ffffffff808316818516808303821115611ce157611ce1611dd6565b01949350505050565b60006001600160601b03808316818516808303821115611ce157611ce1611dd6565b600063ffffffff80841680611d2f57634e487b7160e01b83526012600452602483fd5b92169190910492915050565b600063ffffffff83811690831681811015611d5857611d58611dd6565b039392505050565b60006001600160601b0383811690831681811015611d5857611d58611dd6565b600181811c90821680611d9457607f821691505b60208210811415611db557634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611dcf57611dcf611dd6565b5060010190565b634e487b7160e01b600052601160045260246000fdfe556e693a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365556e693a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365556e693a3a7065726d69743a20616d6f756e7420657863656564732039362062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773556e693a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773556e693a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473556e693a3a617070726f76653a20616d6f756e7420657863656564732039362062697473556e693a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773a2646970667358221220bb4b0aa17dce6540cbd8337da34e286af0474ea0031e9b689089570961f91aa964736f6c63430008040033