[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "Permissions", "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": "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": "amount", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "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": "uint256", "name": "", "type": "uint256" } ], "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": [ { "internalType": "uint8", "name": "_b", "type": "uint8" }, { "internalType": "uint8", "name": "_s", "type": "uint8" } ], "name": "setNFT", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "tokenInfo", "outputs": [ { "internalType": "address", "name": "tokenMkt", "type": "address" }, { "internalType": "uint8", "name": "b", "type": "uint8" }, { "internalType": "uint8", "name": "s", "type": "uint8" } ], "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": "amount", "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" }, { "stateMutability": "payable", "type": "receive" } ]
60806040526040518060400160405280600681526020017f50617734303400000000000000000000000000000000000000000000000000008152505f908161004791906106eb565b506040518060400160405280600681526020017f50415734303400000000000000000000000000000000000000000000000000008152506001908161008c91906106eb565b505f600960146101000a81548160ff021916908360ff1602179055505f600960156101000a81548160ff021916908360ff1602179055503480156100ce575f80fd5b5060405180606001604052803373ffffffffffffffffffffffffffffffffffffffff168152602001600960149054906101000a900460ff1660ff168152602001600960159054906101000a900460ff1660ff1681525060025f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a81548160ff021916908360ff1602179055506040820151815f0160156101000a81548160ff021916908360ff1602179055509050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60045f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055503360075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506102ae333361042d60201b60201c565b6064806012600a6102bf9190610916565b6318148d006102ce9190610960565b6102d89190610960565b6102e291906109ce565b60035f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60035f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546040516104209190610a0d565b60405180910390a3610a26565b8160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061052c57607f821691505b60208210810361053f5761053e6104e8565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026105a17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610566565b6105ab8683610566565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6105ef6105ea6105e5846105c3565b6105cc565b6105c3565b9050919050565b5f819050919050565b610608836105d5565b61061c610614826105f6565b848454610572565b825550505050565b5f90565b610630610624565b61063b8184846105ff565b505050565b5b8181101561065e576106535f82610628565b600181019050610641565b5050565b601f8211156106a35761067481610545565b61067d84610557565b8101602085101561068c578190505b6106a061069885610557565b830182610640565b50505b505050565b5f82821c905092915050565b5f6106c35f19846008026106a8565b1980831691505092915050565b5f6106db83836106b4565b9150826002028217905092915050565b6106f4826104b1565b67ffffffffffffffff81111561070d5761070c6104bb565b5b6107178254610515565b610722828285610662565b5f60209050601f831160018114610753575f8415610741578287015190505b61074b85826106d0565b8655506107b2565b601f19841661076186610545565b5f5b8281101561078857848901518255600182019150602085019450602081019050610763565b868310156107a557848901516107a1601f8916826106b4565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b600185111561083c57808604811115610818576108176107ba565b5b60018516156108275780820291505b8081029050610835856107e7565b94506107fc565b94509492505050565b5f82610854576001905061090f565b81610861575f905061090f565b81600181146108775760028114610881576108b0565b600191505061090f565b60ff841115610893576108926107ba565b5b8360020a9150848211156108aa576108a96107ba565b5b5061090f565b5060208310610133831016604e8410600b84101617156108e55782820a9050838111156108e0576108df6107ba565b5b61090f565b6108f284848460016107f3565b92509050818404811115610909576109086107ba565b5b81810290505b9392505050565b5f610920826105c3565b915061092b836105c3565b92506109587fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610845565b905092915050565b5f61096a826105c3565b9150610975836105c3565b9250828202610983816105c3565b9150828204841483151761099a576109996107ba565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6109d8826105c3565b91506109e3836105c3565b9250826109f3576109f26109a1565b5b828204905092915050565b610a07816105c3565b82525050565b5f602082019050610a205f8301846109fe565b92915050565b611a6d80610a335f395ff3fe6080604052600436106100aa575f3560e01c80636addb663116100635780636addb663146101d357806370a08231146101ff57806395d89b411461023b578063a9059cbb14610265578063c9567bf9146102a1578063dd62ed3e146102b7576100b1565b806306fdde03146100b5578063095ea7b3146100df57806318160ddd1461011b57806323b872dd14610145578063313ce567146101815780635119edd0146101ab576100b1565b366100b157005b5f80fd5b3480156100c0575f80fd5b506100c96102f3565b6040516100d69190611255565b60405180910390f35b3480156100ea575f80fd5b5061010560048036038101906101009190611306565b610382565b604051610112919061135e565b60405180910390f35b348015610126575f80fd5b5061012f61046f565b60405161013c9190611386565b60405180910390f35b348015610150575f80fd5b5061016b6004803603810190610166919061139f565b61048f565b604051610178919061135e565b60405180910390f35b34801561018c575f80fd5b50610195610532565b6040516101a29190611386565b60405180910390f35b3480156101b6575f80fd5b506101d160048036038101906101cc9190611425565b610537565b005b3480156101de575f80fd5b506101e76105b1565b6040516101f693929190611481565b60405180910390f35b34801561020a575f80fd5b50610225600480360381019061022091906114b6565b6105ff565b6040516102329190611386565b60405180910390f35b348015610246575f80fd5b5061024f610614565b60405161025c9190611255565b60405180910390f35b348015610270575f80fd5b5061028b60048036038101906102869190611306565b6106a4565b604051610298919061135e565b60405180910390f35b3480156102ac575f80fd5b506102b56106b8565b005b3480156102c2575f80fd5b506102dd60048036038101906102d891906114e1565b6108f4565b6040516102ea9190611386565b60405180910390f35b60605f80546103019061154c565b80601f016020809104026020016040519081016040528092919081815260200182805461032d9061154c565b80156103785780601f1061034f57610100808354040283529160200191610378565b820191905f5260205f20905b81548152906001019060200180831161035b57829003601f168201915b5050505050905090565b5f8160045f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161045d9190611386565b60405180910390a36001905092915050565b6012600a61047d91906116d8565b6318148d0061048c9190611722565b81565b5f8160045f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546105179190611763565b92505081905550610529848484610914565b90509392505050565b601281565b61053f61117d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105a3576040517f9af2b10000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6105ad82826111a7565b5050565b6002805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690805f0160149054906101000a900460ff1690805f0160159054906101000a900460ff16905083565b6003602052805f5260405f205f915090505481565b6060600180546106239061154c565b80601f016020809104026020016040519081016040528092919081815260200182805461064f9061154c565b801561069a5780601f106106715761010080835404028352916020019161069a565b820191905f5260205f20905b81548152906001019060200180831161067d57829003601f168201915b5050505050905090565b5f6106b0338484610914565b905092915050565b6106c061117d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106f6575f80fd5b600760159054906101000a900460ff161561070f575f80fd5b5f737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561076d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061079191906117aa565b90505f737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081591906117aa565b90505f8273ffffffffffffffffffffffffffffffffffffffff1663e6a4390530846040518363ffffffff1660e01b81526004016108539291906117d5565b602060405180830381865afa15801561086e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061089291906117aa565b90508060055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600760156101000a81548160ff021916908315150217905550505050565b6004602052815f5260405f20602052805f5260405f205f91509150505481565b5f8061091e61117d565b9050600760159054906101000a900460ff168061096657508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b8061099c57508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b6109a4575f80fd5b8260035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546109f09190611763565b9250508190555060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148015610a605750600760149054906101000a900460ff16155b8015610ad1575060646012600a610a7791906116d8565b6318148d00610a869190611722565b610a909190611829565b60035f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205410155b8015610b0957508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b15610d9d576001600760146101000a81548160ff0219169083151502179055505f600267ffffffffffffffff811115610b4557610b44611859565b5b604051908082528060200260200182016040528015610b735781602001602082028036833780820191505090505b50905030815f81518110610b8a57610b89611886565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c21573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4591906117aa565b81600181518110610c5957610c58611886565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663eb6f613960646012600a610cd391906116d8565b6318148d00610ce29190611722565b610cec9190611829565b5f8430426040518663ffffffff1660e01b8152600401610d109594939291906119ac565b5f604051808303815f87803b158015610d27575f80fd5b505af1158015610d39573d5f803e3d5ffd5b505050508173ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610d80573d5f803e3d5ffd5b505f600760146101000a81548160ff021916908315150217905550505b5f8060025f0160149054906101000a900460ff1660025f0160159054906101000a900460ff16915091503073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614158015610e16575060011515600760159054906101000a900460ff161515145b15610ef7575f606460055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614610e785783610e7a565b825b60ff1687610e889190611722565b610e929190611829565b90508086610ea09190611763565b95508060035f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610eee9190611a04565b92505081905550505b8460035f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610f439190611a04565b9250508190555060095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1603611029578573ffffffffffffffffffffffffffffffffffffffff1660085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8760405161101c9190611386565b60405180910390a361116f565b60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16036111085760085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef876040516110fb9190611386565b60405180910390a361116e565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef876040516111659190611386565b60405180910390a35b5b600193505050509392505050565b5f60025f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8160025f0160146101000a81548160ff021916908360ff1602179055508060025f0160156101000a81548160ff021916908360ff1602179055505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611227826111e5565b61123181856111ef565b93506112418185602086016111ff565b61124a8161120d565b840191505092915050565b5f6020820190508181035f83015261126d818461121d565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6112a282611279565b9050919050565b6112b281611298565b81146112bc575f80fd5b50565b5f813590506112cd816112a9565b92915050565b5f819050919050565b6112e5816112d3565b81146112ef575f80fd5b50565b5f81359050611300816112dc565b92915050565b5f806040838503121561131c5761131b611275565b5b5f611329858286016112bf565b925050602061133a858286016112f2565b9150509250929050565b5f8115159050919050565b61135881611344565b82525050565b5f6020820190506113715f83018461134f565b92915050565b611380816112d3565b82525050565b5f6020820190506113995f830184611377565b92915050565b5f805f606084860312156113b6576113b5611275565b5b5f6113c3868287016112bf565b93505060206113d4868287016112bf565b92505060406113e5868287016112f2565b9150509250925092565b5f60ff82169050919050565b611404816113ef565b811461140e575f80fd5b50565b5f8135905061141f816113fb565b92915050565b5f806040838503121561143b5761143a611275565b5b5f61144885828601611411565b925050602061145985828601611411565b9150509250929050565b61146c81611298565b82525050565b61147b816113ef565b82525050565b5f6060820190506114945f830186611463565b6114a16020830185611472565b6114ae6040830184611472565b949350505050565b5f602082840312156114cb576114ca611275565b5b5f6114d8848285016112bf565b91505092915050565b5f80604083850312156114f7576114f6611275565b5b5f611504858286016112bf565b9250506020611515858286016112bf565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061156357607f821691505b6020821081036115765761157561151f565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b60018511156115fe578086048111156115da576115d961157c565b5b60018516156115e95780820291505b80810290506115f7856115a9565b94506115be565b94509492505050565b5f8261161657600190506116d1565b81611623575f90506116d1565b8160018114611639576002811461164357611672565b60019150506116d1565b60ff8411156116555761165461157c565b5b8360020a91508482111561166c5761166b61157c565b5b506116d1565b5060208310610133831016604e8410600b84101617156116a75782820a9050838111156116a2576116a161157c565b5b6116d1565b6116b484848460016115b5565b925090508184048111156116cb576116ca61157c565b5b81810290505b9392505050565b5f6116e2826112d3565b91506116ed836112d3565b925061171a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611607565b905092915050565b5f61172c826112d3565b9150611737836112d3565b9250828202611745816112d3565b9150828204841483151761175c5761175b61157c565b5b5092915050565b5f61176d826112d3565b9150611778836112d3565b92508282039050818111156117905761178f61157c565b5b92915050565b5f815190506117a4816112a9565b92915050565b5f602082840312156117bf576117be611275565b5b5f6117cc84828501611796565b91505092915050565b5f6040820190506117e85f830185611463565b6117f56020830184611463565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f611833826112d3565b915061183e836112d3565b92508261184e5761184d6117fc565b5b828204905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050919050565b5f819050919050565b5f6118df6118da6118d5846118b3565b6118bc565b6112d3565b9050919050565b6118ef816118c5565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b61192781611298565b82525050565b5f611938838361191e565b60208301905092915050565b5f602082019050919050565b5f61195a826118f5565b61196481856118ff565b935061196f8361190f565b805f5b8381101561199f578151611986888261192d565b975061199183611944565b925050600181019050611972565b5085935050505092915050565b5f60a0820190506119bf5f830188611377565b6119cc60208301876118e6565b81810360408301526119de8186611950565b90506119ed6060830185611463565b6119fa6080830184611377565b9695505050505050565b5f611a0e826112d3565b9150611a19836112d3565b9250828201905080821115611a3157611a3061157c565b5b9291505056fea264697066735822122045592d3e35500d808cffd74135134fa7513fc3a3132e5772635d146b62a0251364736f6c63430008190033