[ { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "payable": false, "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": "amount", "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": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "constant": true, "inputs": [], "name": "DELEGATION_TYPEHASH", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "DOMAIN_TYPEHASH", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "rawAmount", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint32", "name": "", "type": "uint32" } ], "name": "checkpoints", "outputs": [ { "internalType": "uint32", "name": "fromBlock", "type": "uint32" }, { "internalType": "uint96", "name": "votes", "type": "uint96" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "delegatee", "type": "address" } ], "name": "delegate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "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": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "delegates", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "getCurrentVotes", "outputs": [ { "internalType": "uint96", "name": "", "type": "uint96" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "blockNumber", "type": "uint256" } ], "name": "getPriorVotes", "outputs": [ { "internalType": "uint96", "name": "", "type": "uint96" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "nonces", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "numCheckpoints", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "rawAmount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "rawAmount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b5060405162001bcb38038062001bcb8339810160408190526200003491620000bc565b6001600160a01b03811660008181526001602052604080822080546001600160601b0319166a0771d2fa45345aa900000090811790915590517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916200009a91620000f6565b60405180910390a35062000135565b8051620000b6816200011b565b92915050565b600060208284031215620000cf57600080fd5b6000620000dd8484620000a9565b949350505050565b620000f08162000118565b82525050565b60208101620000b68284620000e5565b60006001600160a01b038216620000b6565b90565b620001268162000106565b81146200013257600080fd5b50565b611a8680620001456000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b4b5ea5711610071578063b4b5ea571461025f578063c3cda52014610272578063dd62ed3e14610285578063e7a324dc14610298578063f1127ed8146102a057610121565b806370a08231146101fe578063782d6fe1146102115780637ecebe001461023157806395d89b4114610244578063a9059cbb1461024c57610121565b806323b872dd116100f457806323b872dd14610181578063313ce56714610194578063587cde1e146101a95780635c19a95c146101c95780636fcfff45146101de57610121565b806306fdde0314610126578063095ea7b31461014457806318160ddd1461016457806320606b7014610179575b600080fd5b61012e6102c1565b60405161013b9190611737565b60405180910390f35b610157610152366004611200565b6102e2565b60405161013b919061168d565b61016c61039f565b60405161013b919061169b565b61016c6103ae565b61015761018f3660046111b3565b6103c5565b61019c61050a565b60405161013b91906117d1565b6101bc6101b7366004611153565b61050f565b60405161013b919061167f565b6101dc6101d7366004611153565b61052a565b005b6101f16101ec366004611153565b610537565b60405161013b91906117a8565b61016c61020c366004611153565b61054f565b61022461021f366004611200565b610573565b60405161013b91906117ed565b61016c61023f366004611153565b61078a565b61012e61079c565b61015761025a366004611200565b6107bd565b61022461026d366004611153565b6107f9565b6101dc610280366004611230565b610869565b61016c610293366004611179565b610a50565b61016c610a82565b6102b36102ae3660046112b7565b610a8e565b60405161013b9291906117b6565b60405180604001604052806005815260200164437265616d60d81b81525081565b6000806000198314156102f8575060001961031d565b61031a8360405180606001604052806025815260200161190960259139610ac3565b90505b336000818152602081815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061038b9085906117df565b60405180910390a360019150505b92915050565b6a0771d2fa45345aa900000081565b6040516103ba90611669565b604051809103902081565b6001600160a01b0383166000908152602081815260408083203380855290835281842054825160608101909352602580845291936001600160601b0390911692859261041b928892919061190990830139610ac3565b9050866001600160a01b0316836001600160a01b03161415801561044857506001600160601b0382811614155b156104f057600061047283836040518060600160405280603d81526020016119e0603d9139610af2565b6001600160a01b03898116600081815260208181526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104e69085906117df565b60405180910390a3505b6104fb878783610b31565b600193505050505b9392505050565b601281565b6002602052600090815260409020546001600160a01b031681565b6105343382610cdc565b50565b60046020526000908152604090205463ffffffff1681565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b600043821061059d5760405162461bcd60e51b815260040161059490611768565b60405180910390fd5b6001600160a01b03831660009081526004602052604090205463ffffffff16806105cb576000915050610399565b6001600160a01b038416600090815260036020908152604080832063ffffffff600019860181168552925290912054168310610647576001600160a01b03841660009081526003602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b03169050610399565b6001600160a01b038416600090815260036020908152604080832083805290915290205463ffffffff16831015610682576000915050610399565b600060001982015b8163ffffffff168163ffffffff16111561074557600282820363ffffffff160481036106b4611110565b506001600160a01b038716600090815260036020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b03169181019190915290871415610720576020015194506103999350505050565b805163ffffffff168711156107375781935061073e565b6001820392505b505061068a565b506001600160a01b038516600090815260036020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60056020526000908152604090205481565b60405180604001604052806005815260200164435245414d60d81b81525081565b6000806107e28360405180606001604052806026815260200161192e60269139610ac3565b90506107ef338583610b31565b5060019392505050565b6001600160a01b03811660009081526004602052604081205463ffffffff1680610824576000610503565b6001600160a01b0383166000908152600360209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03169392505050565b600060405161087790611669565b604080519182900382208282019091526005825264437265616d60d81b6020909201919091527f40e45d329815e79a55e43916f11f7a0112a31146f63a4fcaea413df0567a0bb26108c6610d66565b306040516020016108da94939291906116e7565b604051602081830303815290604052805190602001209050600060405161090090611674565b60405190819003812061091b918a908a908a906020016116a9565b60405160208183030381529060405280519060200120905060008282604051602001610948929190611638565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610985949392919061171c565b6020604051602081039080840390855afa1580156109a7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166109da5760405162461bcd60e51b815260040161059490611748565b6001600160a01b03811660009081526005602052604090208054600181019091558914610a195760405162461bcd60e51b815260040161059490611778565b87421115610a395760405162461bcd60e51b815260040161059490611758565b610a43818b610cdc565b505050505b505050505050565b6001600160a01b039182166000908152602081815260408083209390941682529190915220546001600160601b031690565b6040516103ba90611674565b600360209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b600081600160601b8410610aea5760405162461bcd60e51b81526004016105949190611737565b509192915050565b6000836001600160601b0316836001600160601b031611158290610b295760405162461bcd60e51b81526004016105949190611737565b505050900390565b6001600160a01b038316610b575760405162461bcd60e51b815260040161059490611798565b6001600160a01b038216610b7d5760405162461bcd60e51b815260040161059490611788565b6001600160a01b038316600090815260016020908152604091829020548251606081019093526036808452610bc8936001600160601b0390921692859291906118d390830139610af2565b6001600160a01b03848116600090815260016020908152604080832080546001600160601b0319166001600160601b03968716179055928616825290829020548251606081019093526030808452610c3094919091169285929091906119b090830139610d6a565b6001600160a01b038381166000818152600160205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c9d9085906117df565b60405180910390a36001600160a01b03808416600090815260026020526040808220548584168352912054610cd792918216911683610da6565b505050565b6001600160a01b03808316600081815260026020818152604080842080546001845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610d60828483610da6565b50505050565b4690565b6000838301826001600160601b038087169083161015610d9d5760405162461bcd60e51b81526004016105949190611737565b50949350505050565b816001600160a01b0316836001600160a01b031614158015610dd157506000816001600160601b0316115b15610cd7576001600160a01b03831615610e89576001600160a01b03831660009081526004602052604081205463ffffffff169081610e11576000610e50565b6001600160a01b0385166000908152600360209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b90506000610e77828560405180606001604052806028815260200161198860289139610af2565b9050610e8586848484610f34565b5050505b6001600160a01b03821615610cd7576001600160a01b03821660009081526004602052604081205463ffffffff169081610ec4576000610f03565b6001600160a01b0384166000908152600360209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b90506000610f2a8285604051806060016040528060278152602001611a1d60279139610d6a565b9050610a48858484845b6000610f5843604051806060016040528060348152602001611954603491396110e9565b905060008463ffffffff16118015610fa157506001600160a01b038516600090815260036020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611000576001600160a01b0385166000908152600360209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b0385160217905561109f565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600383528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600490935292909220805460018801909316929091169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72484846040516110da9291906117fb565b60405180910390a25050505050565b600081600160201b8410610aea5760405162461bcd60e51b81526004016105949190611737565b604080518082019091526000808252602082015290565b8035610399816118a3565b8035610399816118b7565b8035610399816118c0565b8035610399816118c9565b60006020828403121561116557600080fd5b60006111718484611127565b949350505050565b6000806040838503121561118c57600080fd5b60006111988585611127565b92505060206111a985828601611127565b9150509250929050565b6000806000606084860312156111c857600080fd5b60006111d48686611127565b93505060206111e586828701611127565b92505060406111f686828701611132565b9150509250925092565b6000806040838503121561121357600080fd5b600061121f8585611127565b92505060206111a985828601611132565b60008060008060008060c0878903121561124957600080fd5b60006112558989611127565b965050602061126689828a01611132565b955050604061127789828a01611132565b945050606061128889828a01611148565b935050608061129989828a01611132565b92505060a06112aa89828a01611132565b9150509295509295509295565b600080604083850312156112ca57600080fd5b60006112d68585611127565b92505060206111a98582860161113d565b6112f081611828565b82525050565b6112f081611833565b6112f081611838565b6112f061131482611838565b611838565b600061132482611816565b61132e818561181a565b935061133e81856020860161186d565b61134781611899565b9093019392505050565b600061135e60268361181a565b7f436f6d703a3a64656c656761746542795369673a20696e76616c6964207369678152656e617475726560d01b602082015260400192915050565b60006113a660268361181a565b7f436f6d703a3a64656c656761746542795369673a207369676e617475726520658152651e1c1a5c995960d21b602082015260400192915050565b60006113ee600283611823565b61190160f01b815260020192915050565b600061140c60278361181a565b7f436f6d703a3a6765745072696f72566f7465733a206e6f742079657420646574815266195c9b5a5b995960ca1b602082015260400192915050565b600061145560228361181a565b7f436f6d703a3a64656c656761746542795369673a20696e76616c6964206e6f6e815261636560f01b602082015260400192915050565b6000611499603a8361181a565b7f436f6d703a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747281527f616e7366657220746f20746865207a65726f2061646472657373000000000000602082015260400192915050565b60006114f8604383611823565b7f454950373132446f6d61696e28737472696e67206e616d652c75696e7432353681527f20636861696e49642c6164647265737320766572696679696e67436f6e74726160208201526263742960e81b604082015260430192915050565b6000611563603c8361181a565b7f436f6d703a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747281527f616e736665722066726f6d20746865207a65726f206164647265737300000000602082015260400192915050565b60006115c2603a83611823565b7f44656c65676174696f6e28616464726573732064656c6567617465652c75696e81527f74323536206e6f6e63652c75696e7432353620657870697279290000000000006020820152603a0192915050565b6112f081611847565b6112f081611850565b6112f081611862565b6112f081611856565b6000611643826113e1565b915061164f8285611308565b60208201915061165f8284611308565b5060200192915050565b6000610399826114eb565b6000610399826115b5565b6020810161039982846112e7565b6020810161039982846112f6565b6020810161039982846112ff565b608081016116b782876112ff565b6116c460208301866112e7565b6116d160408301856112ff565b6116de60608301846112ff565b95945050505050565b608081016116f582876112ff565b61170260208301866112ff565b61170f60408301856112ff565b6116de60608301846112e7565b6080810161172a82876112ff565b6116c4602083018661161d565b602080825281016105038184611319565b6020808252810161039981611351565b6020808252810161039981611399565b60208082528101610399816113ff565b6020808252810161039981611448565b602080825281016103998161148c565b6020808252810161039981611556565b602081016103998284611614565b604081016117c48285611614565b610503602083018461162f565b60208101610399828461161d565b602081016103998284611626565b60208101610399828461162f565b604081016118098285611626565b6105036020830184611626565b5190565b90815260200190565b919050565b60006103998261183b565b151590565b90565b6001600160a01b031690565b63ffffffff1690565b60ff1690565b6001600160601b031690565b600061039982611856565b60005b83811015611888578181015183820152602001611870565b83811115610d605750506000910152565b601f01601f191690565b6118ac81611828565b811461053457600080fd5b6118ac81611838565b6118ac81611847565b6118ac8161185056fe436f6d703a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365436f6d703a3a617070726f76653a20616d6f756e7420657863656564732039362062697473436f6d703a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473436f6d703a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473436f6d703a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773436f6d703a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773436f6d703a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365436f6d703a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773a365627a7a7231582055de07ce6369f007713cdb724fd0b4c7bb5af3ec46f8eb61b5f4e4a0dd7f01d76c6578706572696d656e74616cf564736f6c63430005110040000000000000000000000000197939c1ca20c2b506d6811d8b6cdb3394471074