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