[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "Snapshot", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "snapshotId", "type": "uint256" } ], "name": "balanceOfAt", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" } ], "name": "decreaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" } ], "name": "increaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "recover", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "snapshot", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "snapshotId", "type": "uint256" } ], "name": "totalSupplyAt", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b506040805180820182526006808252654c534841524560d01b602080840182905284518086019095529184529083015290600362000050838262000402565b5060046200005f828262000402565b5050506200007c62000076620000aa60201b60201c565b620000ae565b620000a4336200008f6012600a620005e3565b6200009e9062011170620005fb565b62000100565b6200065f565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200015b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b6200016960008383620001d4565b80600260008282546200017d91906200061d565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b620001ec838383620001f160201b6200065d1760201c565b505050565b62000209838383620001ec60201b6200067c1760201c565b6001600160a01b0383166200022d57620002238262000258565b620001ec62000290565b6001600160a01b0382166200024757620002238362000258565b620002528362000258565b620001ec825b6001600160a01b038116600090815260056020908152604080832091839052909120546200028d9190620002a2565b620002a2565b50565b620002a060066200028760025490565b565b6000620002ae620002f1565b905080620002bc846200030f565b1015620001ec578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b60006200030a60086200035a60201b620006aa1760201c565b905090565b805460009081036200032357506000919050565b81548290620003359060019062000633565b8154811062000348576200034862000649565b90600052602060002001549050919050565b5490565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200038957607f821691505b602082108103620003aa57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001ec57600081815260208120601f850160051c81016020861015620003d95750805b601f850160051c820191505b81811015620003fa57828155600101620003e5565b505050505050565b81516001600160401b038111156200041e576200041e6200035e565b62000436816200042f845462000374565b84620003b0565b602080601f8311600181146200046e5760008415620004555750858301515b600019600386901b1c1916600185901b178555620003fa565b600085815260208120601f198616915b828110156200049f578886015182559484019460019091019084016200047e565b5085821015620004be5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000525578160001904821115620005095762000509620004ce565b808516156200051757918102915b93841c9390800290620004e9565b509250929050565b6000826200053e57506001620005dd565b816200054d57506000620005dd565b8160018114620005665760028114620005715762000591565b6001915050620005dd565b60ff841115620005855762000585620004ce565b50506001821b620005dd565b5060208310610133831016604e8410600b8410161715620005b6575081810a620005dd565b620005c28383620004e4565b8060001904821115620005d957620005d9620004ce565b0290505b92915050565b6000620005f460ff8416836200052d565b9392505050565b6000816000190483118215151615620006185762000618620004ce565b500290565b80820180821115620005dd57620005dd620004ce565b81810381811115620005dd57620005dd620004ce565b634e487b7160e01b600052603260045260246000fd5b611006806200066f6000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063715018a6116100a2578063981b24d011610071578063981b24d014610227578063a457c2d71461023a578063a9059cbb1461024d578063dd62ed3e14610260578063f2fde38b1461027357600080fd5b8063715018a6146101f45780638da5cb5b146101fc57806395d89b41146102175780639711715a1461021f57600080fd5b806323b872dd116100e957806323b872dd14610183578063313ce5671461019657806339509351146101a55780634ee2cd7e146101b857806370a08231146101cb57600080fd5b806306fdde031461011b578063095ea7b3146101395780630cd865ec1461015c57806318160ddd14610171575b600080fd5b610123610286565b6040516101309190610db5565b60405180910390f35b61014c610147366004610e1a565b610318565b6040519015158152602001610130565b61016f61016a366004610e44565b610332565b005b6002545b604051908152602001610130565b61014c610191366004610e5f565b61042e565b60405160128152602001610130565b61014c6101b3366004610e1a565b610452565b6101756101c6366004610e1a565b610474565b6101756101d9366004610e44565b6001600160a01b031660009081526020819052604090205490565b61016f6104cd565b6009546040516001600160a01b039091168152602001610130565b6101236104e1565b61016f6104f0565b610175610235366004610e9b565b610503565b61014c610248366004610e1a565b61052e565b61014c61025b366004610e1a565b6105ae565b61017561026e366004610eb4565b6105bc565b61016f610281366004610e44565b6105e7565b60606003805461029590610ee7565b80601f01602080910402602001604051908101604052809291908181526020018280546102c190610ee7565b801561030e5780601f106102e35761010080835404028352916020019161030e565b820191906000526020600020905b8154815290600101906020018083116102f157829003601f168201915b5050505050905090565b6000336103268185856106ae565b60019150505b92915050565b806001600160a01b031663a9059cbb6103536009546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015610397573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103bb9190610f21565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610406573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042a9190610f3a565b5050565b60003361043c8582856107d2565b61044785858561084c565b506001949350505050565b60003361032681858561046583836105bc565b61046f9190610f72565b6106ae565b6001600160a01b03821660009081526005602052604081208190819061049b9085906109fb565b91509150816104c2576001600160a01b0385166000908152602081905260409020546104c4565b805b95945050505050565b6104d5610af1565b6104df6000610b4b565b565b60606004805461029590610ee7565b6104f8610af1565b610500610b9d565b50565b60008060006105138460066109fb565b915091508161052457600254610526565b805b949350505050565b6000338161053c82866105bc565b9050838110156105a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61044782868684036106ae565b60003361032681858561084c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6105ef610af1565b6001600160a01b0381166106545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610598565b61050081610b4b565b6001600160a01b0383166106815761067482610bf7565b61067c610c29565b505050565b6001600160a01b0382166106985761067483610bf7565b6106a183610bf7565b61067c82610bf7565b5490565b6001600160a01b0383166107105760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610598565b6001600160a01b0382166107715760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610598565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006107de84846105bc565b9050600019811461084657818110156108395760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610598565b61084684848484036106ae565b50505050565b6001600160a01b0383166108b05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610598565b6001600160a01b0382166109125760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610598565b61091d838383610c37565b6001600160a01b038316600090815260208190526040902054818110156109955760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610598565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610846565b60008060008411610a475760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b6044820152606401610598565b610a4f610c42565b841115610a9e5760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e742069640000006044820152606401610598565b6000610aaa8486610c52565b84549091508103610ac2576000809250925050610aea565b6001846001018281548110610ad957610ad9610f85565b906000526020600020015492509250505b9250929050565b6009546001600160a01b031633146104df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610598565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610bad600880546001019055565b6000610bb7610c42565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb6781604051610bea91815260200190565b60405180910390a1919050565b6001600160a01b038116600090815260056020908152604080832091839052909120546105009190610cff565b610cff565b6104df6006610c2460025490565b61067c83838361065d565b6000610c4d60085490565b905090565b81546000908103610c655750600061032c565b82546000905b80821015610cb2576000610c7f8383610d49565b60008781526020902090915085908201541115610c9e57809150610cac565b610ca9816001610f72565b92505b50610c6b565b600082118015610cde575083610cdb86610ccd600186610f9b565b600091825260209091200190565b54145b15610cf757610cee600183610f9b565b9250505061032c565b50905061032c565b6000610d09610c42565b905080610d1584610d6b565b101561067c578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b6000610d586002848418610fae565b610d6490848416610f72565b9392505050565b80546000908103610d7e57506000919050565b81548290610d8e90600190610f9b565b81548110610d9e57610d9e610f85565b90600052602060002001549050919050565b919050565b600060208083528351808285015260005b81811015610de257858101830151858201604001528201610dc6565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610db057600080fd5b60008060408385031215610e2d57600080fd5b610e3683610e03565b946020939093013593505050565b600060208284031215610e5657600080fd5b610d6482610e03565b600080600060608486031215610e7457600080fd5b610e7d84610e03565b9250610e8b60208501610e03565b9150604084013590509250925092565b600060208284031215610ead57600080fd5b5035919050565b60008060408385031215610ec757600080fd5b610ed083610e03565b9150610ede60208401610e03565b90509250929050565b600181811c90821680610efb57607f821691505b602082108103610f1b57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610f3357600080fd5b5051919050565b600060208284031215610f4c57600080fd5b81518015158114610d6457600080fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561032c5761032c610f5c565b634e487b7160e01b600052603260045260246000fd5b8181038181111561032c5761032c610f5c565b600082610fcb57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212207eeb8bee96c70c37c012aeccd9da40c7bdc4a05f69d4ae118973b0335f8e673e64736f6c63430008100033