[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "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": "address", "name": "owner", "type": "address" } ], "name": "OwnableInvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "OwnableUnauthorizedAccount", "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": "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": [ { "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": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "openTrade", "outputs": [], "stateMutability": "nonpayable", "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": "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": "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" } ]
60c0604052600c60809081526bc3904f4720434c415353494360a01b60a05260089061002b90826107f5565b50604080518082019091526004815263444f474360e01b602082015260099061005490826107f5565b506100616012600a6109aa565b6100709064222b93e2006109bf565b600a5534801561007e575f80fd5b50336008805461008d90610772565b80601f01602080910402602001604051908101604052809291908181526020018280546100b990610772565b80156101045780601f106100db57610100808354040283529160200191610104565b820191905f5260205f20905b8154815290600101906020018083116100e757829003601f168201915b50505050506009805461011690610772565b80601f016020809104026020016040519081016040528092919081815260200182805461014290610772565b801561018d5780601f106101645761010080835404028352916020019161018d565b820191905f5260205f20905b81548152906001019060200180831161017057829003601f168201915b505050505081600390816101a191906107f5565b5060046101ae82826107f5565b5050506001600160a01b0381166101df57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101e8816103c2565b50600b80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801561024b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061026f91906109d6565b6001600160a01b031663c9c6539630600b5f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102f291906109d6565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801561033c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061036091906109d6565b600c80546001600160a01b0319166001600160a01b0392909216919091179055335f81815260066020526040808220805460ff1990811660019081179092553084529190922080549091169091179055600a546103bd9190610413565b610a0f565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661043c5760405163ec442f0560e01b81525f60048201526024016101d6565b6104475f838361044b565b5050565b325f9081526006602052604090205460ff16156104725761046d838383610638565b505050565b600c54600160a01b900460ff166104ba5760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b60448201526064016101d6565b600c546001600160a01b0383811691161480156104e057506001600160a01b0383163014155b15610570576001600160a01b0383165f908152600760205260409020543a11801561052157506001600160a01b0383165f9081526007602052604090205415155b156105705760405162461bcd60e51b815260206004820152602c60248201525f8051602061153883398151915260448201526b040e8e4c2dce6cccae440e8f60a31b60648201526084016101d6565b600c546001600160a01b0383811691161480159061059c5750600c546001600160a01b03848116911614155b15610631576001600160a01b0383165f908152600760205260409020543a1180156105dd57506001600160a01b0383165f9081526007602052604090205415155b156106315760405162461bcd60e51b815260206004820152603160248201525f80516020611538833981519152604482015270040e8e4c2dce6cccae440cce4deda40e8f607b1b60648201526084016101d6565b61046d8383835b6001600160a01b038316610662578060025f82825461065791906109fc565b909155506106d29050565b6001600160a01b0383165f90815260208190526040902054818110156106b45760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016101d6565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166106ee5760028054829003905561070c565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161075191815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061078657607f821691505b6020821081036107a457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561046d57805f5260205f20601f840160051c810160208510156107cf5750805b601f840160051c820191505b818110156107ee575f81556001016107db565b5050505050565b81516001600160401b0381111561080e5761080e61075e565b6108228161081c8454610772565b846107aa565b602080601f831160018114610855575f841561083e5750858301515b5f19600386901b1c1916600185901b1785556108ac565b5f85815260208120601f198616915b8281101561088357888601518255948401946001909101908401610864565b50858210156108a057878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561090257815f19048211156108e8576108e86108b4565b808516156108f557918102915b93841c93908002906108cd565b509250929050565b5f82610918575060016109a4565b8161092457505f6109a4565b816001811461093a576002811461094457610960565b60019150506109a4565b60ff841115610955576109556108b4565b50506001821b6109a4565b5060208310610133831016604e8410600b8410161715610983575081810a6109a4565b61098d83836108c8565b805f19048211156109a0576109a06108b4565b0290505b92915050565b5f6109b860ff84168361090a565b9392505050565b80820281158282048414176109a4576109a46108b4565b5f602082840312156109e6575f80fd5b81516001600160a01b03811681146109b8575f80fd5b808201808211156109a4576109a46108b4565b610b1c80610a1c5f395ff3fe608060405234801561000f575f80fd5b50600436106100cb575f3560e01c8063715018a611610088578063a9059cbb11610063578063a9059cbb14610199578063dd62ed3e146101ac578063f2fde38b146101e4578063fb201b1d146101f7575f80fd5b8063715018a61461016c5780638da5cb5b1461017657806395d89b4114610191575f80fd5b806306fdde03146100cf578063095ea7b3146100ed57806318160ddd1461011057806323b872dd14610122578063313ce5671461013557806370a0823114610144575b5f80fd5b6100d76101ff565b6040516100e4919061098d565b60405180910390f35b6101006100fb3660046109dd565b61028f565b60405190151581526020016100e4565b6002545b6040519081526020016100e4565b610100610130366004610a05565b6102d7565b604051601281526020016100e4565b610114610152366004610a3e565b6001600160a01b03165f9081526020819052604090205490565b610174610315565b005b6005546040516001600160a01b0390911681526020016100e4565b6100d7610328565b6101006101a73660046109dd565b610337565b6101146101ba366004610a5e565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101746101f2366004610a3e565b610344565b610174610386565b60606008805461020e90610a8f565b80601f016020809104026020016040519081016040528092919081815260200182805461023a90610a8f565b80156102855780601f1061025c57610100808354040283529160200191610285565b820191905f5260205f20905b81548152906001019060200180831161026857829003601f168201915b5050505050905090565b335f9081526006602052604081205460ff16156102c1576001600160a01b0383165f9081526007602052604090208290555b6102cb83836103eb565b50600190505b92915050565b335f9081526006602052604081205460ff16156102fe576102f98484846103f8565b61030b565b61030984848461051e565b505b5060019392505050565b61031d610541565b6103265f61056e565b565b60606009805461020e90610a8f565b5f3361030b8185856105bf565b61034c610541565b6001600160a01b03811661037a57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6103838161056e565b50565b61038e610541565b73cb031a7078d0faf1d5b86be3703cd356e16ca9145f5260066020527feb305db95e6fd0564f99caf55015bbfdae70df4a311b8a8b92b09fc0444ab159805460ff19166001179055600c805460ff60a01b1916600160a01b179055565b5f3361030b818585610621565b6001600160a01b038316610422578060025f8282546104179190610ac7565b909155506104929050565b6001600160a01b0383165f90815260208190526040902054818110156104745760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610371565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166104ae576002805482900390556104cc565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161051191815260200190565b60405180910390a3505050565b5f3361052b85828561062e565b6105368585856105bf565b506001949350505050565b6005546001600160a01b031633146103265760405163118cdaa760e01b8152336004820152602401610371565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0383166105e857604051634b637e8f60e11b81525f6004820152602401610371565b6001600160a01b0382166106115760405163ec442f0560e01b81525f6004820152602401610371565b61061c8383836106a9565b505050565b61061c83838360016108bb565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146106a3578181101561069557604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610371565b6106a384848484035f6108bb565b50505050565b325f9081526006602052604090205460ff16156106cb5761061c8383836103f8565b600c54600160a01b900460ff166107135760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b6044820152606401610371565b600c546001600160a01b03838116911614801561073957506001600160a01b0383163014155b156107dc576001600160a01b0383165f908152600760205260409020543a11801561077a57506001600160a01b0383165f9081526007602052604090205415155b156107dc5760405162461bcd60e51b815260206004820152602c60248201527f4578636565647320746865205f74726164696e67436f756e74646f776e206f6e60448201526b040e8e4c2dce6cccae440e8f60a31b6064820152608401610371565b600c546001600160a01b038381169116148015906108085750600c546001600160a01b03848116911614155b156108b0576001600160a01b0383165f908152600760205260409020543a11801561084957506001600160a01b0383165f9081526007602052604090205415155b156108b05760405162461bcd60e51b815260206004820152603160248201527f4578636565647320746865205f74726164696e67436f756e74646f776e206f6e604482015270040e8e4c2dce6cccae440cce4deda40e8f607b1b6064820152608401610371565b61061c8383836103f8565b6001600160a01b0384166108e45760405163e602df0560e01b81525f6004820152602401610371565b6001600160a01b03831661090d57604051634a1406b160e11b81525f6004820152602401610371565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156106a357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161097f91815260200190565b60405180910390a350505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146109d8575f80fd5b919050565b5f80604083850312156109ee575f80fd5b6109f7836109c2565b946020939093013593505050565b5f805f60608486031215610a17575f80fd5b610a20846109c2565b9250610a2e602085016109c2565b9150604084013590509250925092565b5f60208284031215610a4e575f80fd5b610a57826109c2565b9392505050565b5f8060408385031215610a6f575f80fd5b610a78836109c2565b9150610a86602084016109c2565b90509250929050565b600181811c90821680610aa357607f821691505b602082108103610ac157634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102d157634e487b7160e01b5f52601160045260245ffdfea26469706673582212206415f90ee75955aedd539f7f3e449a0bc2ba270a231ed7ada9437347e897094b64736f6c634300081900334578636565647320746865205f74726164696e67436f756e74646f776e206f6e