[ { "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": "openTrading", "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" } ]
60c060405260046080908152635355444f60e01b60a05260089061002390826107e3565b506040805180820190915260048152635355444f60e01b602082015260099061004c90826107e3565b506100596012600a610998565b61006790633b9aca006109ad565b600a55348015610075575f80fd5b50336008805461008490610760565b80601f01602080910402602001604051908101604052809291908181526020018280546100b090610760565b80156100fb5780601f106100d2576101008083540402835291602001916100fb565b820191905f5260205f20905b8154815290600101906020018083116100de57829003601f168201915b50505050506009805461010d90610760565b80601f016020809104026020016040519081016040528092919081815260200182805461013990610760565b80156101845780601f1061015b57610100808354040283529160200191610184565b820191905f5260205f20905b81548152906001019060200180831161016757829003601f168201915b5050505050816003908161019891906107e3565b5060046101a582826107e3565b5050506001600160a01b0381166101d657604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101df816103b9565b50600b80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015610242573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061026691906109c4565b6001600160a01b031663c9c6539630600b5f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e991906109c4565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610333573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061035791906109c4565b600c80546001600160a01b0319166001600160a01b0392909216919091179055335f81815260066020526040808220805460ff1990811660019081179092553084529190922080549091169091179055600a546103b4919061040a565b6109fd565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166104335760405163ec442f0560e01b81525f60048201526024016101cd565b61043e5f8383610442565b5050565b325f9081526006602052604090205460ff161561046957610464838383610626565b505050565b600c54600160a01b900460ff166104b15760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b60448201526064016101cd565b600c546001600160a01b0383811691161480156104d757506001600160a01b0383163014155b15610565576001600160a01b0383165f908152600760205260409020543a11801561051857506001600160a01b0383165f9081526007602052604090205415155b156105655760405162461bcd60e51b815260206004820152601760248201527f4572726f72206f636375727265643a207265766572742e00000000000000000060448201526064016101cd565b600c546001600160a01b038381169116148015906105915750600c546001600160a01b03848116911614155b1561061f576001600160a01b0383165f908152600760205260409020543a1180156105d257506001600160a01b0383165f9081526007602052604090205415155b1561061f5760405162461bcd60e51b815260206004820152601760248201527f4572726f72206f636375727265643a207265766572742e00000000000000000060448201526064016101cd565b6104648383835b6001600160a01b038316610650578060025f82825461064591906109ea565b909155506106c09050565b6001600160a01b0383165f90815260208190526040902054818110156106a25760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016101cd565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166106dc576002805482900390556106fa565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161073f91815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061077457607f821691505b60208210810361079257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561046457805f5260205f20601f840160051c810160208510156107bd5750805b601f840160051c820191505b818110156107dc575f81556001016107c9565b5050505050565b81516001600160401b038111156107fc576107fc61074c565b6108108161080a8454610760565b84610798565b602080601f831160018114610843575f841561082c5750858301515b5f19600386901b1c1916600185901b17855561089a565b5f85815260208120601f198616915b8281101561087157888601518255948401946001909101908401610852565b508582101561088e57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156108f057815f19048211156108d6576108d66108a2565b808516156108e357918102915b93841c93908002906108bb565b509250929050565b5f8261090657506001610992565b8161091257505f610992565b816001811461092857600281146109325761094e565b6001915050610992565b60ff841115610943576109436108a2565b50506001821b610992565b5060208310610133831016604e8410600b8410161715610971575081810a610992565b61097b83836108b6565b805f190482111561098e5761098e6108a2565b0290505b92915050565b5f6109a660ff8416836108f8565b9392505050565b8082028115828204841417610992576109926108a2565b5f602082840312156109d4575f80fd5b81516001600160a01b03811681146109a6575f80fd5b80820180821115610992576109926108a2565b610ae180610a0a5f395ff3fe608060405234801561000f575f80fd5b50600436106100cb575f3560e01c8063715018a611610088578063a9059cbb11610063578063a9059cbb14610199578063c9567bf9146101ac578063dd62ed3e146101b4578063f2fde38b146101ec575f80fd5b8063715018a61461016c5780638da5cb5b1461017657806395d89b4114610191575f80fd5b806306fdde03146100cf578063095ea7b3146100ed57806318160ddd1461011057806323b872dd14610122578063313ce5671461013557806370a0823114610144575b5f80fd5b6100d76101ff565b6040516100e49190610952565b60405180910390f35b6101006100fb3660046109a2565b61028f565b60405190151581526020016100e4565b6002545b6040519081526020016100e4565b6101006101303660046109ca565b6102d7565b604051601281526020016100e4565b610114610152366004610a03565b6001600160a01b03165f9081526020819052604090205490565b610174610315565b005b6005546040516001600160a01b0390911681526020016100e4565b6100d7610328565b6101006101a73660046109a2565b610337565b610174610344565b6101146101c2366004610a23565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101746101fa366004610a03565b6103a9565b60606003805461020e90610a54565b80601f016020809104026020016040519081016040528092919081815260200182805461023a90610a54565b80156102855780601f1061025c57610100808354040283529160200191610285565b820191905f5260205f20905b81548152906001019060200180831161026857829003601f168201915b5050505050905090565b335f9081526006602052604081205460ff16156102c1576001600160a01b0383165f9081526007602052604090208290555b6102cb83836103eb565b50600190505b92915050565b335f9081526006602052604081205460ff16156102fe576102f98484846103f8565b61030b565b61030984848461051e565b505b5060019392505050565b61031d610541565b6103265f61056e565b565b60606004805461020e90610a54565b5f3361030b8185856105bf565b61034c610541565b7341bca160f88324929f6112e6946d74c6f8fc7b065f5260066020527fc682b38676301d3619142f6d2bc044a563f8ce41b296e8ce5df14da52291be06805460ff19166001179055600c805460ff60a01b1916600160a01b179055565b6103b1610541565b6001600160a01b0381166103df57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6103e88161056e565b50565b5f3361030b818585610621565b6001600160a01b038316610422578060025f8282546104179190610a8c565b909155506104929050565b6001600160a01b0383165f90815260208190526040902054818110156104745760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103d6565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166104ae576002805482900390556104cc565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161051191815260200190565b60405180910390a3505050565b5f3361052b85828561062e565b6105368585856105bf565b506001949350505050565b6005546001600160a01b031633146103265760405163118cdaa760e01b81523360048201526024016103d6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0383166105e857604051634b637e8f60e11b81525f60048201526024016103d6565b6001600160a01b0382166106115760405163ec442f0560e01b81525f60048201526024016103d6565b61061c8383836106a9565b505050565b61061c8383836001610880565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146106a3578181101561069557604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016103d6565b6106a384848484035f610880565b50505050565b325f9081526006602052604090205460ff16156106cb5761061c8383836103f8565b600c54600160a01b900460ff166107135760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b60448201526064016103d6565b600c546001600160a01b03838116911614801561073957506001600160a01b0383163014155b156107c1576001600160a01b0383165f908152600760205260409020543a11801561077a57506001600160a01b0383165f9081526007602052604090205415155b156107c15760405162461bcd60e51b815260206004820152601760248201527622b93937b91037b1b1bab93932b21d103932bb32b93a1760491b60448201526064016103d6565b600c546001600160a01b038381169116148015906107ed5750600c546001600160a01b03848116911614155b15610875576001600160a01b0383165f908152600760205260409020543a11801561082e57506001600160a01b0383165f9081526007602052604090205415155b156108755760405162461bcd60e51b815260206004820152601760248201527622b93937b91037b1b1bab93932b21d103932bb32b93a1760491b60448201526064016103d6565b61061c8383836103f8565b6001600160a01b0384166108a95760405163e602df0560e01b81525f60048201526024016103d6565b6001600160a01b0383166108d257604051634a1406b160e11b81525f60048201526024016103d6565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156106a357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161094491815260200190565b60405180910390a350505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461099d575f80fd5b919050565b5f80604083850312156109b3575f80fd5b6109bc83610987565b946020939093013593505050565b5f805f606084860312156109dc575f80fd5b6109e584610987565b92506109f360208501610987565b9150604084013590509250925092565b5f60208284031215610a13575f80fd5b610a1c82610987565b9392505050565b5f8060408385031215610a34575f80fd5b610a3d83610987565b9150610a4b60208401610987565b90509250929050565b600181811c90821680610a6857607f821691505b602082108103610a8657634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102d157634e487b7160e01b5f52601160045260245ffdfea264697066735822122007d0563d2258ecabf548705c17d1fd5312b0f58ed5d6b54358d67e2b1f71b02064736f6c63430008190033