[ { "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": "account", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "isOpenTrading", "type": "bool" } ], "name": "OpenTradingUpdated", "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": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_spender", "type": "address" }, { "internalType": "uint256", "name": "_value", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "success", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "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": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "openTrading", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "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": [ { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "success", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_from", "type": "address" }, { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "success", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" } ], "name": "transferTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60806040526040518060400160405280600481526020017f42555348000000000000000000000000000000000000000000000000000000008152505f90816100479190610387565b506040518060400160405280600481526020017f42555348000000000000000000000000000000000000000000000000000000008152506001908161008c9190610387565b506b033b2e3c9fd0803cac653600600255601260035f6101000a81548160ff021916908360ff1602179055503480156100c3575f80fd5b503360075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060025460045f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550610456565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806101c857607f821691505b6020821081036101db576101da610184565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830261023d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610202565b6102478683610202565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61028b6102866102818461025f565b610268565b61025f565b9050919050565b5f819050919050565b6102a483610271565b6102b86102b082610292565b84845461020e565b825550505050565b5f90565b6102cc6102c0565b6102d781848461029b565b505050565b5b818110156102fa576102ef5f826102c4565b6001810190506102dd565b5050565b601f82111561033f57610310816101e1565b610319846101f3565b81016020851015610328578190505b61033c610334856101f3565b8301826102dc565b50505b505050565b5f82821c905092915050565b5f61035f5f1984600802610344565b1980831691505092915050565b5f6103778383610350565b9150826002028217905092915050565b6103908261014d565b67ffffffffffffffff8111156103a9576103a8610157565b5b6103b382546101b1565b6103be8282856102fe565b5f60209050601f8311600181146103ef575f84156103dd578287015190505b6103e7858261036c565b86555061044e565b601f1984166103fd866101e1565b5f5b82811015610424578489015182556001820191506020850194506020810190506103ff565b86831015610441578489015161043d601f891682610350565b8355505b6001600288020188555050505b505050505050565b611699806104635f395ff3fe608060405234801561000f575f80fd5b50600436106100cd575f3560e01c80638da5cb5b1161008a578063a9059cbb11610064578063a9059cbb14610213578063ca72a4e714610243578063dd62ed3e14610273578063f2fde38b146102a3576100cd565b80638da5cb5b146101bb57806395d89b41146101d9578063a03fa7e3146101f7576100cd565b806306fdde03146100d1578063095ea7b3146100ef57806318160ddd1461011f57806323b872dd1461013d578063313ce5671461016d57806370a082311461018b575b5f80fd5b6100d96102bf565b6040516100e69190610f6c565b60405180910390f35b6101096004803603810190610104919061101d565b61034a565b6040516101169190611075565b60405180910390f35b6101276104c1565b604051610134919061109d565b60405180910390f35b610157600480360381019061015291906110b6565b6104c7565b6040516101649190611075565b60405180910390f35b610175610868565b6040516101829190611121565b60405180910390f35b6101a560048036038101906101a0919061113a565b61087a565b6040516101b2919061109d565b60405180910390f35b6101c361088f565b6040516101d09190611174565b60405180910390f35b6101e16108b4565b6040516101ee9190610f6c565b60405180910390f35b610211600480360381019061020c919061113a565b610940565b005b61022d6004803603810190610228919061101d565b610a76565b60405161023a9190611075565b60405180910390f35b61025d6004803603810190610258919061113a565b610d04565b60405161026a9190611075565b60405180910390f35b61028d6004803603810190610288919061118d565b610d21565b60405161029a919061109d565b60405180910390f35b6102bd60048036038101906102b8919061113a565b610d41565b005b5f80546102cb906111f8565b80601f01602080910402602001604051908101604052809291908181526020018280546102f7906111f8565b80156103425780601f1061031957610100808354040283529160200191610342565b820191905f5260205f20905b81548152906001019060200180831161032557829003601f168201915b505050505081565b5f60065f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16156103d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103cc90611272565b60405180910390fd5b8160055f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516104af919061109d565b60405180910390a36001905092915050565b60025481565b5f8160045f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20541015610548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053f906112da565b60405180910390fd5b8160055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20541015610603576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105fa90611342565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361063a575f80fd5b60065f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16156106c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106bb906113aa565b60405180910390fd5b8160045f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461071091906113f5565b925050819055508160045f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546107639190611428565b925050819055508160055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546107f191906113f5565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610855919061109d565b60405180910390a3600190509392505050565b60035f9054906101000a900460ff1681565b6004602052805f5260405f205f915090505481565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600180546108c1906111f8565b80601f01602080910402602001604051908101604052809291908181526020018280546108ed906111f8565b80156109385780601f1061090f57610100808354040283529160200191610938565b820191905f5260205f20905b81548152906001019060200180831161091b57829003601f168201915b505050505081565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c6906114a5565b60405180910390fd5b600160065f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f9a4f451c5ee42f633efa9e99d4c40101bc04680da9f2a9aa5586b091d45b31816001604051610a6b9190611075565b60405180910390a250565b5f8160045f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20541015610af7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aee9061150d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5c90611575565b60405180910390fd5b60065f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615610bef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be6906115dd565b60405180910390fd5b8160045f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610c3b91906113f5565b925050819055508160045f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610c8e9190611428565b925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610cf2919061109d565b60405180910390a36001905092915050565b6006602052805f5260405f205f915054906101000a900460ff1681565b6005602052815f5260405f20602052805f5260405f205f91509150505481565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc7906114a5565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3590611645565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a38060075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f610f3e82610efc565b610f488185610f06565b9350610f58818560208601610f16565b610f6181610f24565b840191505092915050565b5f6020820190508181035f830152610f848184610f34565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610fb982610f90565b9050919050565b610fc981610faf565b8114610fd3575f80fd5b50565b5f81359050610fe481610fc0565b92915050565b5f819050919050565b610ffc81610fea565b8114611006575f80fd5b50565b5f8135905061101781610ff3565b92915050565b5f806040838503121561103357611032610f8c565b5b5f61104085828601610fd6565b925050602061105185828601611009565b9150509250929050565b5f8115159050919050565b61106f8161105b565b82525050565b5f6020820190506110885f830184611066565b92915050565b61109781610fea565b82525050565b5f6020820190506110b05f83018461108e565b92915050565b5f805f606084860312156110cd576110cc610f8c565b5b5f6110da86828701610fd6565b93505060206110eb86828701610fd6565b92505060406110fc86828701611009565b9150509250925092565b5f60ff82169050919050565b61111b81611106565b82525050565b5f6020820190506111345f830184611112565b92915050565b5f6020828403121561114f5761114e610f8c565b5b5f61115c84828501610fd6565b91505092915050565b61116e81610faf565b82525050565b5f6020820190506111875f830184611165565b92915050565b5f80604083850312156111a3576111a2610f8c565b5b5f6111b085828601610fd6565b92505060206111c185828601610fd6565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061120f57607f821691505b602082108103611222576112216111cb565b5b50919050565b7f35425553480000000000000000000000000000000000000000000000000000005f82015250565b5f61125c600583610f06565b915061126782611228565b602082019050919050565b5f6020820190508181035f83015261128981611250565b9050919050565b7f36425553480000000000000000000000000000000000000000000000000000005f82015250565b5f6112c4600583610f06565b91506112cf82611290565b602082019050919050565b5f6020820190508181035f8301526112f1816112b8565b9050919050565b7f37425553480000000000000000000000000000000000000000000000000000005f82015250565b5f61132c600583610f06565b9150611337826112f8565b602082019050919050565b5f6020820190508181035f83015261135981611320565b9050919050565b7f38425553480000000000000000000000000000000000000000000000000000005f82015250565b5f611394600583610f06565b915061139f82611360565b602082019050919050565b5f6020820190508181035f8301526113c181611388565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6113ff82610fea565b915061140a83610fea565b9250828203905081811115611422576114216113c8565b5b92915050565b5f61143282610fea565b915061143d83610fea565b9250828201905080821115611455576114546113c8565b5b92915050565b7f31425553480000000000000000000000000000000000000000000000000000005f82015250565b5f61148f600583610f06565b915061149a8261145b565b602082019050919050565b5f6020820190508181035f8301526114bc81611483565b9050919050565b7f32425553480000000000000000000000000000000000000000000000000000005f82015250565b5f6114f7600583610f06565b9150611502826114c3565b602082019050919050565b5f6020820190508181035f830152611524816114eb565b9050919050565b7f33425553480000000000000000000000000000000000000000000000000000005f82015250565b5f61155f600583610f06565b915061156a8261152b565b602082019050919050565b5f6020820190508181035f83015261158c81611553565b9050919050565b7f34425553480000000000000000000000000000000000000000000000000000005f82015250565b5f6115c7600583610f06565b91506115d282611593565b602082019050919050565b5f6020820190508181035f8301526115f4816115bb565b9050919050565b7f39425553480000000000000000000000000000000000000000000000000000005f82015250565b5f61162f600583610f06565b915061163a826115fb565b602082019050919050565b5f6020820190508181035f83015261165c81611623565b905091905056fea264697066735822122038f0e2d513898766de2a3bc3e69bfec0ed10002f4f42f4b86b6ae5454c0540eb64736f6c634300081a0033