[ { "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": "delegator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "fromDelegate", "type": "address" }, { "indexed": true, "internalType": "address", "name": "toDelegate", "type": "address" } ], "name": "DelegateChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "delegate", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "previousBalance", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newBalance", "type": "uint256" } ], "name": "DelegateVotesChanged", "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": 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": [], "name": "DELEGATION_TYPEHASH", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DOMAIN_TYPEHASH", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "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": "", "type": "address" }, { "internalType": "uint32", "name": "", "type": "uint32" } ], "name": "checkpoints", "outputs": [ { "internalType": "uint32", "name": "fromBlock", "type": "uint32" }, { "internalType": "uint256", "name": "votes", "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": "delegatee", "type": "address" } ], "name": "delegate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "delegatee", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "uint256", "name": "expiry", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "delegateBySig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "delegator", "type": "address" } ], "name": "delegates", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "getCurrentVotes", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getOwner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "blockNumber", "type": "uint256" } ], "name": "getPriorVotes", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "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": [ { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "mint", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "nonces", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "numCheckpoints", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "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": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "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" } ]
60806040523480156200001157600080fd5b50604051806040016040528060078152602001664d6178696d757360c81b815250604051806040016040528060048152602001634d41584960e01b815250600062000061620000ec60201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000c0906004906020850190620000f0565b508051620000d6906005906020840190620000f0565b50506006805460ff19166012179055506200018c565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200013357805160ff191683800117855562000163565b8280016001018555821562000163579182015b828111156200016357825182559160200191906001019062000146565b506200017192915062000175565b5090565b5b8082111562000171576000815560010162000176565b611b40806200019c6000396000f3fe608060405234801561001057600080fd5b50600436106101595760003560e01c8063782d6fe1116100c9578063782d6fe1146103c05780637ecebe00146103ec578063893d20e8146104125780638da5cb5b1461041a57806395d89b4114610422578063a0712d681461042a578063a457c2d714610447578063a9059cbb14610473578063b4b5ea571461049f578063c3cda520146104c5578063dd62ed3e1461050c578063e7a324dc1461053a578063f1127ed814610542578063f2fde38b1461059457610159565b806306fdde031461015e578063095ea7b3146101db57806318160ddd1461021b57806320606b701461023557806323b872dd1461023d578063313ce56714610273578063395093511461029157806340c10f19146102bd578063587cde1e146102eb5780635c19a95c1461032d5780636fcfff451461035357806370a0823114610392578063715018a6146103b8575b600080fd5b6101666105ba565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101a0578181015183820152602001610188565b50505050905090810190601f1680156101cd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610207600480360360408110156101f157600080fd5b506001600160a01b038135169060200135610650565b604080519115158252519081900360200190f35b61022361066e565b60408051918252519081900360200190f35b610223610674565b6102076004803603606081101561025357600080fd5b506001600160a01b03813581169160208101359091169060400135610698565b61027b61071f565b6040805160ff9092168252519081900360200190f35b610207600480360360408110156102a757600080fd5b506001600160a01b038135169060200135610728565b6102e9600480360360408110156102d357600080fd5b506001600160a01b038135169060200135610776565b005b6103116004803603602081101561030157600080fd5b50356001600160a01b0316610801565b604080516001600160a01b039092168252519081900360200190f35b6102e96004803603602081101561034357600080fd5b50356001600160a01b031661081f565b6103796004803603602081101561036957600080fd5b50356001600160a01b031661082c565b6040805163ffffffff9092168252519081900360200190f35b610223600480360360208110156103a857600080fd5b50356001600160a01b0316610844565b6102e961085f565b610223600480360360408110156103d657600080fd5b506001600160a01b038135169060200135610901565b6102236004803603602081101561040257600080fd5b50356001600160a01b0316610b09565b610311610b1b565b610311610b2a565b610166610b39565b6102076004803603602081101561044057600080fd5b5035610b9a565b6102076004803603604081101561045d57600080fd5b506001600160a01b038135169060200135610c0d565b6102076004803603604081101561048957600080fd5b506001600160a01b038135169060200135610c75565b610223600480360360208110156104b557600080fd5b50356001600160a01b0316610c89565b6102e9600480360360c08110156104db57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135610ced565b6102236004803603604081101561052257600080fd5b506001600160a01b0381358116916020013516610f60565b610223610f8b565b6105746004803603604081101561055857600080fd5b5080356001600160a01b0316906020013563ffffffff16610faf565b6040805163ffffffff909316835260208301919091528051918290030190f35b6102e9600480360360208110156105aa57600080fd5b50356001600160a01b0316610fdc565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106465780601f1061061b57610100808354040283529160200191610646565b820191906000526020600020905b81548152906001019060200180831161062957829003601f168201915b5050505050905090565b600061066461065d61103d565b8484611041565b5060015b92915050565b60035490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b60006106a584848461112d565b610715846106b161103d565b61071085604051806060016040528060288152602001611a55602891396001600160a01b038a166000908152600260205260408120906106ef61103d565b6001600160a01b03168152602081019190915260400160002054919061127f565b611041565b5060019392505050565b60065460ff1690565b600061066461073561103d565b84610710856002600061074661103d565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611316565b61077e61103d565b6000546001600160a01b039081169116146107ce576040805162461bcd60e51b81526020600482018190526024820152600080516020611a7d833981519152604482015290519081900360640190fd5b6107d8828261136e565b6001600160a01b038083166000908152600760205260408120546107fd921683611454565b5050565b6001600160a01b039081166000908152600760205260409020541690565b6108293382611596565b50565b60096020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526001602052604090205490565b61086761103d565b6000546001600160a01b039081169116146108b7576040805162461bcd60e51b81526020600482018190526024820152600080516020611a7d833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60004382106109415760405162461bcd60e51b815260040180806020018281038252602a815260200180611a02602a913960400191505060405180910390fd5b6001600160a01b03831660009081526009602052604090205463ffffffff168061096f576000915050610668565b6001600160a01b038416600090815260086020908152604080832063ffffffff6000198601811685529252909120541683106109de576001600160a01b03841660009081526008602090815260408083206000199490940163ffffffff16835292905220600101549050610668565b6001600160a01b038416600090815260086020908152604080832083805290915290205463ffffffff16831015610a19576000915050610668565b600060001982015b8163ffffffff168163ffffffff161115610ad257600282820363ffffffff16048103610a4b6118d4565b506001600160a01b038716600090815260086020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610aad576020015194506106689350505050565b805163ffffffff16871115610ac457819350610acb565b6001820392505b5050610a21565b506001600160a01b038516600090815260086020908152604080832063ffffffff9094168352929052206001015491505092915050565b600a6020526000908152604090205481565b6000610b25610b2a565b905090565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106465780601f1061061b57610100808354040283529160200191610646565b6000610ba461103d565b6000546001600160a01b03908116911614610bf4576040805162461bcd60e51b81526020600482018190526024820152600080516020611a7d833981519152604482015290519081900360640190fd5b610c05610bff61103d565b8361136e565b506001919050565b6000610664610c1a61103d565b8461071085604051806060016040528060258152602001611ae66025913960026000610c4461103d565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061127f565b6000610664610c8261103d565b848461112d565b6001600160a01b03811660009081526009602052604081205463ffffffff1680610cb4576000610ce6565b6001600160a01b038316600090815260086020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610d186105ba565b80519060200120610d2761162b565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa158015610e5a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610eac5760405162461bcd60e51b81526004018080602001828103825260298152602001806119b36029913960400191505060405180910390fd5b6001600160a01b0381166000908152600a602052604090208054600181019091558914610f0a5760405162461bcd60e51b81526004018080602001828103825260258152602001806119576025913960400191505060405180910390fd5b87421115610f495760405162461bcd60e51b8152600401808060200182810382526029815260200180611a2c6029913960400191505060405180910390fd5b610f53818b611596565b505050505b505050505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b60086020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b610fe461103d565b6000546001600160a01b03908116911614611034576040805162461bcd60e51b81526020600482018190526024820152600080516020611a7d833981519152604482015290519081900360640190fd5b6108298161162f565b3390565b6001600160a01b0383166110865760405162461bcd60e51b8152600401808060200182810382526024815260200180611ac26024913960400191505060405180910390fd5b6001600160a01b0382166110cb5760405162461bcd60e51b81526004018080602001828103825260228152602001806119356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166111725760405162461bcd60e51b8152600401808060200182810382526025815260200180611a9d6025913960400191505060405180910390fd5b6001600160a01b0382166111b75760405162461bcd60e51b81526004018080602001828103825260238152602001806118ec6023913960400191505060405180910390fd5b6111f4816040518060600160405280602681526020016119dc602691396001600160a01b038616600090815260016020526040902054919061127f565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546112239082611316565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561130e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156112d35781810151838201526020016112bb565b50505050905090810190601f1680156113005780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610ce6576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b6001600160a01b0382166113c9576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6003546113d69082611316565b6003556001600160a01b0382166000908152600160205260409020546113fc9082611316565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b816001600160a01b0316836001600160a01b0316141580156114765750600081115b15611591576001600160a01b03831615611508576001600160a01b03831660009081526009602052604081205463ffffffff1690816114b65760006114e8565b6001600160a01b038516600090815260086020908152604080832063ffffffff60001987011684529091529020600101545b905060006114f682856116cf565b905061150486848484611711565b5050505b6001600160a01b03821615611591576001600160a01b03821660009081526009602052604081205463ffffffff169081611543576000611575565b6001600160a01b038416600090815260086020908152604080832063ffffffff60001987011684529091529020600101545b905060006115838285611316565b9050610f5885848484611711565b505050565b6001600160a01b03808316600090815260076020526040812054909116906115bd84610844565b6001600160a01b0385811660008181526007602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611625828483611454565b50505050565b4690565b6001600160a01b0381166116745760405162461bcd60e51b815260040180806020018281038252602681526020018061190f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610ce683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061127f565b60006117354360405180606001604052806037815260200161197c60379139611876565b905060008463ffffffff1611801561177e57506001600160a01b038516600090815260086020908152604080832063ffffffff6000198901811685529252909120548282169116145b156117bb576001600160a01b038516600090815260086020908152604080832063ffffffff6000198901168452909152902060010182905561182c565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600884528681208b8616825284528681209551865490861663ffffffff19918216178755925160019687015590815260099092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b60008164010000000084106118cc5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156112d35781810151838201526020016112bb565b509192915050565b60408051808201909152600080825260208201529056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573734d4158494d55533a3a64656c656761746542795369673a20696e76616c6964206e6f6e63654d4158494d55533a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974734d4158494d55533a3a64656c656761746542795369673a20696e76616c6964207369676e617475726545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d4158494d55533a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e65644d4158494d55533a3a64656c656761746542795369673a207369676e6174757265206578706972656445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212201d01d6c1438b7d45b16619f8d574a78dc479aeab1511eb4d89a7729868ee39fb64736f6c634300060c0033