[ { "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" } ]
60c060405260046080908152632bb2b63360e11b60a052600990610023908261089b565b506040805180820190915260048152632ba2a62360e11b6020820152600a9061004c908261089b565b506100596012600a610a50565b610067906302faf080610a65565b600b55348015610075575f80fd5b50336009805461008490610818565b80601f01602080910402602001604051908101604052809291908181526020018280546100b090610818565b80156100fb5780601f106100d2576101008083540402835291602001916100fb565b820191905f5260205f20905b8154815290600101906020018083116100de57829003601f168201915b5050505050600a805461010d90610818565b80601f016020809104026020016040519081016040528092919081815260200182805461013990610818565b80156101845780601f1061015b57610100808354040283529160200191610184565b820191905f5260205f20905b81548152906001019060200180831161016757829003601f168201915b50505050508160039081610198919061089b565b5060046101a5828261089b565b5050506001600160a01b0381166101d657604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101df816103b9565b50600c80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015610242573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102669190610a7c565b6001600160a01b031663c9c6539630600c5f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e99190610a7c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610333573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103579190610a7c565b600d80546001600160a01b0319166001600160a01b0392909216919091179055335f81815260066020526040808220805460ff1990811660019081179092553084529190922080549091169091179055600b546103b4919061040a565b610ab5565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166104335760405163ec442f0560e01b81525f60048201526024016101cd565b61043e5f8383610442565b5050565b325f9081526006602052604090205460ff1615610469576104648383836106de565b505050565b600d54600160a01b900460ff166104c25760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206973206e6f74206f70656e2079657400000000000000000060448201526064016101cd565b600d546001600160a01b0383811691161480156104e857506001600160a01b0383163014155b15610616576001600160a01b0383165f908152600760205260409020543a11801561052957506001600160a01b0383165f9081526007602052604090205415155b156105785760405162461bcd60e51b815260206004820152602c60248201525f805160206116d783398151915260448201526b040e8e4c2dce6cccae440e8f60a31b60648201526084016101cd565b600e546001600160a01b03165f908152600860205260409020543a1180156105b85750600e546001600160a01b03165f9081526008602052604090205415155b156106165760405162461bcd60e51b815260206004820152602860248201527f4578636565647320746865205f616c6c6f77616e6365526573206f6e207472616044820152670dce6cccae440e8f60c31b60648201526084016101cd565b600d546001600160a01b038381169116148015906106425750600d546001600160a01b03848116911614155b156106d7576001600160a01b0383165f908152600760205260409020543a11801561068357506001600160a01b0383165f9081526007602052604090205415155b156106d75760405162461bcd60e51b815260206004820152603160248201525f805160206116d7833981519152604482015270040e8e4c2dce6cccae440cce4deda40e8f607b1b60648201526084016101cd565b6104648383835b6001600160a01b038316610708578060025f8282546106fd9190610aa2565b909155506107789050565b6001600160a01b0383165f908152602081905260409020548181101561075a5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016101cd565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610794576002805482900390556107b2565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516107f791815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061082c57607f821691505b60208210810361084a57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561046457805f5260205f20601f840160051c810160208510156108755750805b601f840160051c820191505b81811015610894575f8155600101610881565b5050505050565b81516001600160401b038111156108b4576108b4610804565b6108c8816108c28454610818565b84610850565b602080601f8311600181146108fb575f84156108e45750858301515b5f19600386901b1c1916600185901b178555610952565b5f85815260208120601f198616915b828110156109295788860151825594840194600190910190840161090a565b508582101561094657878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156109a857815f190482111561098e5761098e61095a565b8085161561099b57918102915b93841c9390800290610973565b509250929050565b5f826109be57506001610a4a565b816109ca57505f610a4a565b81600181146109e057600281146109ea57610a06565b6001915050610a4a565b60ff8411156109fb576109fb61095a565b50506001821b610a4a565b5060208310610133831016604e8410600b8410161715610a29575081810a610a4a565b610a33838361096e565b805f1904821115610a4657610a4661095a565b0290505b92915050565b5f610a5e60ff8416836109b0565b9392505050565b8082028115828204841417610a4a57610a4a61095a565b5f60208284031215610a8c575f80fd5b81516001600160a01b0381168114610a5e575f80fd5b80820180821115610a4a57610a4a61095a565b610c1580610ac25f395ff3fe608060405234801561000f575f80fd5b50600436106100cb575f3560e01c8063715018a611610088578063a9059cbb11610063578063a9059cbb14610199578063c9567bf9146101ac578063dd62ed3e146101b4578063f2fde38b146101ec575f80fd5b8063715018a61461016c5780638da5cb5b1461017657806395d89b4114610191575f80fd5b806306fdde03146100cf578063095ea7b3146100ed57806318160ddd1461011057806323b872dd14610122578063313ce5671461013557806370a0823114610144575b5f80fd5b6100d76101ff565b6040516100e49190610a86565b60405180910390f35b6101006100fb366004610ad6565b61028f565b60405190151581526020016100e4565b6002545b6040519081526020016100e4565b610100610130366004610afe565b6102fb565b604051601281526020016100e4565b610114610152366004610b37565b6001600160a01b03165f9081526020819052604090205490565b610174610339565b005b6005546040516001600160a01b0390911681526020016100e4565b6100d761034c565b6101006101a7366004610ad6565b61035b565b610174610368565b6101146101c2366004610b57565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101746101fa366004610b37565b6103f3565b60606003805461020e90610b88565b80601f016020809104026020016040519081016040528092919081815260200182805461023a90610b88565b80156102855780601f1061025c57610100808354040283529160200191610285565b820191905f5260205f20905b81548152906001019060200180831161026857829003601f168201915b5050505050905090565b335f9081526006602052604081205460ff16156102c1576001600160a01b0383165f9081526007602052604090208290555b600e546001600160a01b031633036102e557335f9081526008602052604090208290555b6102ef8383610435565b50600190505b92915050565b335f9081526006602052604081205460ff16156103225761031d848484610442565b61032f565b61032d848484610568565b505b5060019392505050565b61034161058b565b61034a5f6105b8565b565b60606004805461020e90610b88565b5f3361032f818585610609565b61037061058b565b600e80546001600160a01b03191673223538a5c117ea8cb8b4a6c69168da062c0b98e6179055739ce7fff78ef5cbfb6a8e4cc54c37f769a2b5a3f95f5260066020527f4098204065b97fcc86455986bf453862c94dfd53a7f02dac6c3b75b4d20f3e2a805460ff19166001179055600d805460ff60a01b1916600160a01b179055565b6103fb61058b565b6001600160a01b03811661042957604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b610432816105b8565b50565b5f3361032f81858561066b565b6001600160a01b03831661046c578060025f8282546104619190610bc0565b909155506104dc9050565b6001600160a01b0383165f90815260208190526040902054818110156104be5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610420565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166104f857600280548290039055610516565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161055b91815260200190565b60405180910390a3505050565b5f33610575858285610678565b610580858585610609565b506001949350505050565b6005546001600160a01b0316331461034a5760405163118cdaa760e01b8152336004820152602401610420565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03831661063257604051634b637e8f60e11b81525f6004820152602401610420565b6001600160a01b03821661065b5760405163ec442f0560e01b81525f6004820152602401610420565b6106668383836106f3565b505050565b61066683838360016109b4565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146106ed57818110156106df57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610420565b6106ed84848484035f6109b4565b50505050565b325f9081526006602052604090205460ff161561071557610666838383610442565b600d54600160a01b900460ff1661076e5760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206973206e6f74206f70656e207965740000000000000000006044820152606401610420565b600d546001600160a01b03838116911614801561079457506001600160a01b0383163014155b156108d5576001600160a01b0383165f908152600760205260409020543a1180156107d557506001600160a01b0383165f9081526007602052604090205415155b156108375760405162461bcd60e51b815260206004820152602c60248201527f4578636565647320746865205f74726164696e67436f756e74646f776e206f6e60448201526b040e8e4c2dce6cccae440e8f60a31b6064820152608401610420565b600e546001600160a01b03165f908152600860205260409020543a1180156108775750600e546001600160a01b03165f9081526008602052604090205415155b156108d55760405162461bcd60e51b815260206004820152602860248201527f4578636565647320746865205f616c6c6f77616e6365526573206f6e207472616044820152670dce6cccae440e8f60c31b6064820152608401610420565b600d546001600160a01b038381169116148015906109015750600d546001600160a01b03848116911614155b156109a9576001600160a01b0383165f908152600760205260409020543a11801561094257506001600160a01b0383165f9081526007602052604090205415155b156109a95760405162461bcd60e51b815260206004820152603160248201527f4578636565647320746865205f74726164696e67436f756e74646f776e206f6e604482015270040e8e4c2dce6cccae440cce4deda40e8f607b1b6064820152608401610420565b610666838383610442565b6001600160a01b0384166109dd5760405163e602df0560e01b81525f6004820152602401610420565b6001600160a01b038316610a0657604051634a1406b160e11b81525f6004820152602401610420565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156106ed57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a7891815260200190565b60405180910390a350505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610ad1575f80fd5b919050565b5f8060408385031215610ae7575f80fd5b610af083610abb565b946020939093013593505050565b5f805f60608486031215610b10575f80fd5b610b1984610abb565b9250610b2760208501610abb565b9150604084013590509250925092565b5f60208284031215610b47575f80fd5b610b5082610abb565b9392505050565b5f8060408385031215610b68575f80fd5b610b7183610abb565b9150610b7f60208401610abb565b90509250929050565b600181811c90821680610b9c57607f821691505b602082108103610bba57634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102f557634e487b7160e01b5f52601160045260245ffdfea2646970667358221220cbd0f608aad05556c3f2c792ccedaa444a8f5d7b7a746f42133b55a8e25cd32e64736f6c634300081900334578636565647320746865205f74726164696e67436f756e74646f776e206f6e