[ { "inputs": [ { "internalType": "address", "name": "initialOwner", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "ECDSAInvalidSignature", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "length", "type": "uint256" } ], "name": "ECDSAInvalidSignatureLength", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "ECDSAInvalidSignatureS", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientAllowance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientBalance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "approver", "type": "address" } ], "name": "ERC20InvalidApprover", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ERC20InvalidReceiver", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "ERC20InvalidSender", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" } ], "name": "ERC20InvalidSpender", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "ERC2612ExpiredSignature", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "signer", "type": "address" }, { "internalType": "address", "name": "owner", "type": "address" } ], "name": "ERC2612InvalidSigner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "currentNonce", "type": "uint256" } ], "name": "InvalidAccountNonce", "type": "error" }, { "inputs": [], "name": "InvalidShortString", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "OwnableInvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "OwnableUnauthorizedAccount", "type": "error" }, { "inputs": [ { "internalType": "string", "name": "str", "type": "string" } ], "name": "StringTooLong", "type": "error" }, { "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": "newCoordinator", "type": "address" } ], "name": "CoordinatorSet", "type": "event" }, { "anonymous": false, "inputs": [], "name": "EIP712DomainChanged", "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": "newTraderWallet", "type": "address" } ], "name": "TraderWalletSet", "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": "DOMAIN_SEPARATOR", "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": "value", "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": "uint256", "name": "value", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "burnFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "coordinator", "outputs": [ { "internalType": "contract Coordinator", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "eip712Domain", "outputs": [ { "internalType": "bytes1", "name": "fields", "type": "bytes1" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "version", "type": "string" }, { "internalType": "uint256", "name": "chainId", "type": "uint256" }, { "internalType": "address", "name": "verifyingContract", "type": "address" }, { "internalType": "bytes32", "name": "salt", "type": "bytes32" }, { "internalType": "uint256[]", "name": "extensions", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "nonces", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "permit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address payable", "name": "coordinatorAddress", "type": "address" } ], "name": "setCoordinator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_traderWallet", "type": "address" } ], "name": "setTraderWallet", "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": [], "name": "traderWallet", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "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": "value", "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" } ]
6101606040523480156200001257600080fd5b5060405162001bc438038062001bc4833981016040819052620000359162000424565b806040518060400160405280600781526020016626bcaa37b5b2b760c91b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600781526020016674657374696e6760c81b815250604051806040016040528060038152602001624d544b60e81b8152508160039081620000be9190620004fb565b506004620000cd8282620004fb565b50620000df91508390506005620001e5565b61012052620000f0816006620001e5565b61014052815160208084019190912060e052815190820120610100524660a0526200017e60e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c052506001600160a01b038116620001b857604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620001c3816200021e565b50620001de816d04ee2d6d415b85acef810000000062000270565b506200065e565b60006020835110156200020557620001fd83620002ae565b905062000218565b81620002128482620004fb565b5060ff90505b92915050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200029c5760405163ec442f0560e01b815260006004820152602401620001af565b620002aa60008383620002f1565b5050565b600080829050601f81511115620002dc578260405163305a27a960e01b8152600401620001af9190620005c7565b8051620002e98262000617565b179392505050565b6001600160a01b038316620003205780600260008282546200031491906200063c565b90915550620003949050565b6001600160a01b03831660009081526020819052604090205481811015620003755760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620001af565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620003b257600280548290039055620003d1565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200041791815260200190565b60405180910390a3505050565b6000602082840312156200043757600080fd5b81516001600160a01b03811681146200044f57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200048157607f821691505b602082108103620004a257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004f657600081815260208120601f850160051c81016020861015620004d15750805b601f850160051c820191505b81811015620004f257828155600101620004dd565b5050505b505050565b81516001600160401b0381111562000517576200051762000456565b6200052f816200052884546200046c565b84620004a8565b602080601f8311600181146200056757600084156200054e5750858301515b600019600386901b1c1916600185901b178555620004f2565b600085815260208120601f198616915b82811015620005985788860151825594840194600190910190840162000577565b5085821015620005b75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620005f657858101830151858201604001528201620005d8565b506000604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620004a25760001960209190910360031b1b16919050565b808201808211156200021857634e487b7160e01b600052601160045260246000fd5b60805160a05160c05160e05161010051610120516101405161150b620006b96000396000610c0201526000610bd501526000610ac801526000610aa0015260006109fb01526000610a2501526000610a4f015261150b6000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80637ecebe00116100b8578063a597d9411161007c578063a597d941146102a2578063a9059cbb146102b5578063d505accf146102c8578063dd62ed3e146102db578063f2753d8014610314578063f2fde38b1461032757600080fd5b80637ecebe001461024857806384b0196e1461025b5780638da5cb5b146102765780638ea981171461028757806395d89b411461029a57600080fd5b8063313ce5671161010a578063313ce567146101d85780633644e515146101e757806342966c68146101ef57806370a0823114610204578063715018a61461022d57806379cc67901461023557600080fd5b806306fdde0314610147578063095ea7b3146101655780630a0090971461018857806318160ddd146101b357806323b872dd146101c5575b600080fd5b61014f61033a565b60405161015c91906111bd565b60405180910390f35b6101786101733660046111ec565b6103cc565b604051901515815260200161015c565b600a5461019b906001600160a01b031681565b6040516001600160a01b03909116815260200161015c565b6002545b60405190815260200161015c565b6101786101d3366004611218565b6103e6565b6040516012815260200161015c565b6101b761040a565b6102026101fd366004611259565b610419565b005b6101b7610212366004611272565b6001600160a01b031660009081526020819052604090205490565b610202610426565b6102026102433660046111ec565b61043a565b6101b7610256366004611272565b610453565b610263610471565b60405161015c979695949392919061128f565b6008546001600160a01b031661019b565b610202610295366004611272565b6104b7565b61014f610509565b6102026102b0366004611272565b610518565b6101786102c33660046111ec565b61056a565b6102026102d6366004611325565b610578565b6101b76102e936600461139c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60095461019b906001600160a01b031681565b610202610335366004611272565b6106b7565b606060038054610349906113d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610375906113d5565b80156103c25780601f10610397576101008083540402835291602001916103c2565b820191906000526020600020905b8154815290600101906020018083116103a557829003601f168201915b5050505050905090565b6000336103da8185856106f2565b60019150505b92915050565b6000336103f4858285610704565b6103ff858585610782565b506001949350505050565b60006104146109ee565b905090565b6104233382610b19565b50565b61042e610b4f565b6104386000610b7c565b565b610445823383610704565b61044f8282610b19565b5050565b6001600160a01b0381166000908152600760205260408120546103e0565b600060608060008060006060610485610bce565b61048d610bfb565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6104bf610b4f565b600a80546001600160a01b0319166001600160a01b0383169081179091556040517fd1a6a14209a385a964d036e404cb5cfb71f4000cdb03c9366292430787261be690600090a250565b606060048054610349906113d5565b610520610b4f565b600980546001600160a01b0319166001600160a01b0383169081179091556040517fd06ad115f25696d16f5672d567cc61c4295512b4943623bf6d65a631e5ce8bb490600090a250565b6000336103da818585610782565b834211156105a15760405163313c898160e11b8152600481018590526024015b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886105ee8c6001600160a01b0316600090815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061064982610c28565b9050600061065982878787610c55565b9050896001600160a01b0316816001600160a01b0316146106a0576040516325c0072360e11b81526001600160a01b0380831660048301528b166024820152604401610598565b6106ab8a8a8a6106f2565b50505050505050505050565b6106bf610b4f565b6001600160a01b0381166106e957604051631e4fbdf760e01b815260006004820152602401610598565b61042381610b7c565b6106ff8383836001610c83565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461077c578181101561076d57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610598565b61077c84848484036000610c83565b50505050565b600a546001600160a01b038481169116148015906107ae5750600a546001600160a01b03838116911614155b1561086957600a546040805163573db68b60e11b815290516000926001600160a01b03169163ae7b6d169160048083019260209291908290030181865afa1580156107fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610821919061140f565b905060006064610831838561143e565b61083b9190611455565b905060006108498285611477565b6009549091506108649087906001600160a01b031684610d58565b925050505b610874838383610d58565b600a546001600160a01b038481169116146106ff57600a546001600160a01b031660008181526020818152604080832054815163e2f4560560e01b8152915190949263e2f4560592600480820193918290030181865afa1580156108dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610900919061140f565b905080821180156109835750600a60009054906101000a90046001600160a01b03166001600160a01b031663aaa83a026040518163ffffffff1660e01b8152600401602060405180830381865afa15801561095f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610983919061148a565b156109e757600a5460405163324a6d4160e01b8152600481018490526001600160a01b039091169063324a6d4190602401600060405180830381600087803b1580156109ce57600080fd5b505af11580156109e2573d6000803e3d6000fd5b505050505b5050505050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610a4757507f000000000000000000000000000000000000000000000000000000000000000046145b15610a7157507f000000000000000000000000000000000000000000000000000000000000000090565b610414604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6001600160a01b038216610b4357604051634b637e8f60e11b815260006004820152602401610598565b61044f82600083610db3565b6008546001600160a01b031633146104385760405163118cdaa760e01b8152336004820152602401610598565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60606104147f00000000000000000000000000000000000000000000000000000000000000006005610edd565b60606104147f00000000000000000000000000000000000000000000000000000000000000006006610edd565b60006103e0610c356109ee565b8360405161190160f01b8152600281019290925260228201526042902090565b600080600080610c6788888888610f88565b925092509250610c778282611057565b50909695505050505050565b6001600160a01b038416610cad5760405163e602df0560e01b815260006004820152602401610598565b6001600160a01b038316610cd757604051634a1406b160e11b815260006004820152602401610598565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561077c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d4a91815260200190565b60405180910390a350505050565b6001600160a01b038316610d8257604051634b637e8f60e11b815260006004820152602401610598565b6001600160a01b038216610dac5760405163ec442f0560e01b815260006004820152602401610598565b6106ff8383835b6001600160a01b038316610dde578060026000828254610dd391906114ac565b90915550610e509050565b6001600160a01b03831660009081526020819052604090205481811015610e315760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610598565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610e6c57600280548290039055610e8b565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610ed091815260200190565b60405180910390a3505050565b606060ff8314610ef757610ef083611110565b90506103e0565b818054610f03906113d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2f906113d5565b8015610f7c5780601f10610f5157610100808354040283529160200191610f7c565b820191906000526020600020905b815481529060010190602001808311610f5f57829003601f168201915b505050505090506103e0565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610fc3575060009150600390508261104d565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611017573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166110435750600092506001915082905061104d565b9250600091508190505b9450945094915050565b600082600381111561106b5761106b6114bf565b03611074575050565b6001826003811115611088576110886114bf565b036110a65760405163f645eedf60e01b815260040160405180910390fd5b60028260038111156110ba576110ba6114bf565b036110db5760405163fce698f760e01b815260048101829052602401610598565b60038260038111156110ef576110ef6114bf565b0361044f576040516335e2f38360e21b815260048101829052602401610598565b6060600061111d8361114f565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600060ff8216601f8111156103e057604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b8181101561119d57602081850181015186830182015201611181565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006111d06020830184611177565b9392505050565b6001600160a01b038116811461042357600080fd5b600080604083850312156111ff57600080fd5b823561120a816111d7565b946020939093013593505050565b60008060006060848603121561122d57600080fd5b8335611238816111d7565b92506020840135611248816111d7565b929592945050506040919091013590565b60006020828403121561126b57600080fd5b5035919050565b60006020828403121561128457600080fd5b81356111d0816111d7565b60ff60f81b881681526000602060e0818401526112af60e084018a611177565b83810360408501526112c1818a611177565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015611313578351835292840192918401916001016112f7565b50909c9b505050505050505050505050565b600080600080600080600060e0888a03121561134057600080fd5b873561134b816111d7565b9650602088013561135b816111d7565b95506040880135945060608801359350608088013560ff8116811461137f57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156113af57600080fd5b82356113ba816111d7565b915060208301356113ca816111d7565b809150509250929050565b600181811c908216806113e957607f821691505b60208210810361140957634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561142157600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176103e0576103e0611428565b60008261147257634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156103e0576103e0611428565b60006020828403121561149c57600080fd5b815180151581146111d057600080fd5b808201808211156103e0576103e0611428565b634e487b7160e01b600052602160045260246000fdfea26469706673582212207eaf22380a87dc5b3f741272cfb25388c6582494f8a8c2b67d30754f965f817564736f6c634300081400330000000000000000000000000618a0b2b9da61ddb3c61bc84b595effb1a1eebd