[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "Permissions", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "TOKEN_MKT", "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": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" } ], "name": "active", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "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": "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": [ { "internalType": "uint8", "name": "_buy", "type": "uint8" }, { "internalType": "uint8", "name": "_sell", "type": "uint8" } ], "name": "setRule", "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": "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" } ]
60806040526040518060400160405280601381526020017f547375796f6b696e6120e5bcb7e6b097e381aa000000000000000000000000008152505f90816200004991906200051b565b506040518060400160405280600981526020017f545355594f4b494e410000000000000000000000000000000000000000000000815250600190816200009091906200051b565b50600560025f6101000a81548160ff021916908360ff1602179055506005600260016101000a81548160ff021916908360ff160217905550348015620000d4575f80fd5b503360065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506012600a62000125919062000788565b64174876e800620001379190620007d8565b60035f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60045f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055503373ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6012600a62000288919062000788565b64174876e8006200029a9190620007d8565b604051620002a9919062000833565b60405180910390a36200084e565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200033357607f821691505b602082108103620003495762000348620002ee565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620003ad7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000370565b620003b9868362000370565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f62000403620003fd620003f784620003d1565b620003da565b620003d1565b9050919050565b5f819050919050565b6200041e83620003e3565b620004366200042d826200040a565b8484546200037c565b825550505050565b5f90565b6200044c6200043e565b6200045981848462000413565b505050565b5b818110156200048057620004745f8262000442565b6001810190506200045f565b5050565b601f821115620004cf5762000499816200034f565b620004a48462000361565b81016020851015620004b4578190505b620004cc620004c38562000361565b8301826200045e565b50505b505050565b5f82821c905092915050565b5f620004f15f1984600802620004d4565b1980831691505092915050565b5f6200050b8383620004e0565b9150826002028217905092915050565b6200052682620002b7565b67ffffffffffffffff811115620005425762000541620002c1565b5b6200054e82546200031b565b6200055b82828562000484565b5f60209050601f83116001811462000591575f84156200057c578287015190505b620005888582620004fe565b865550620005f7565b601f198416620005a1866200034f565b5f5b82811015620005ca57848901518255600182019150602085019450602081019050620005a3565b86831015620005ea5784890151620005e6601f891682620004e0565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b60018511156200068957808604811115620006615762000660620005ff565b5b6001851615620006715780820291505b808102905062000681856200062c565b945062000641565b94509492505050565b5f82620006a3576001905062000775565b81620006b2575f905062000775565b8160018114620006cb5760028114620006d6576200070c565b600191505062000775565b60ff841115620006eb57620006ea620005ff565b5b8360020a915084821115620007055762000704620005ff565b5b5062000775565b5060208310610133831016604e8410600b8410161715620007465782820a90508381111562000740576200073f620005ff565b5b62000775565b62000755848484600162000638565b925090508184048111156200076f576200076e620005ff565b5b81810290505b9392505050565b5f60ff82169050919050565b5f6200079482620003d1565b9150620007a1836200077c565b9250620007d07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000692565b905092915050565b5f620007e482620003d1565b9150620007f183620003d1565b92508282026200080181620003d1565b915082820484148315176200081b576200081a620005ff565b5b5092915050565b6200082d81620003d1565b82525050565b5f602082019050620008485f83018462000822565b92915050565b611b78806200085c5f395ff3fe6080604052600436106100aa575f3560e01c806370a082311161006357806370a08231146101d357806395d89b411461020f57806398f5be8714610239578063a9059cbb14610261578063c9567bf91461029d578063dd62ed3e146102b3576100b1565b806306fdde03146100b5578063095ea7b3146100df5780630a7ad74c1461011b57806318160ddd1461014357806323b872dd1461016d578063313ce567146101a9576100b1565b366100b157005b5f80fd5b3480156100c0575f80fd5b506100c96102ef565b6040516100d69190610ffd565b60405180910390f35b3480156100ea575f80fd5b50610105600480360381019061010091906110bb565b61037e565b6040516101129190611113565b60405180910390f35b348015610126575f80fd5b50610141600480360381019061013c9190611162565b61046b565b005b34801561014e575f80fd5b506101576104ff565b60405161016491906111af565b60405180910390f35b348015610178575f80fd5b50610193600480360381019061018e91906111c8565b610520565b6040516101a09190611113565b60405180910390f35b3480156101b4575f80fd5b506101bd6105c3565b6040516101ca9190611227565b60405180910390f35b3480156101de575f80fd5b506101f960048036038101906101f49190611240565b6105c8565b60405161020691906111af565b60405180910390f35b34801561021a575f80fd5b506102236105dd565b6040516102309190610ffd565b60405180910390f35b348015610244575f80fd5b5061025f600480360381019061025a9190611397565b61066d565b005b34801561026c575f80fd5b50610287600480360381019061028291906110bb565b610716565b6040516102949190611113565b60405180910390f35b3480156102a8575f80fd5b506102b161072a565b005b3480156102be575f80fd5b506102d960048036038101906102d4919061140d565b6107b8565b6040516102e691906111af565b60405180910390f35b60605f80546102fd90611478565b80601f016020809104026020016040519081016040528092919081815260200182805461032990611478565b80156103745780601f1061034b57610100808354040283529160200191610374565b820191905f5260205f20905b81548152906001019060200180831161035757829003601f168201915b5050505050905090565b5f8160045f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161045991906111af565b60405180910390a36001905092915050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104f1576040517f9af2b10000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6104fb82826107d8565b5050565b6012600a61050d9190611604565b64174876e80061051d919061164e565b81565b5f8160045f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546105a8919061168f565b925050819055506105ba848484610811565b90509392505050565b601281565b6003602052805f5260405f205f915090505481565b6060600180546105ec90611478565b80601f016020809104026020016040519081016040528092919081815260200182805461061890611478565b80156106635780601f1061063a57610100808354040283529160200191610663565b820191905f5260205f20905b81548152906001019060200180831161064657829003601f168201915b5050505050905090565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106f3576040517f9af2b10000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b815f9081610701919061185f565b508060019081610711919061185f565b505050565b5f610722338484610811565b905092915050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610782575f80fd5b600660159054906101000a900460ff161561079b575f80fd5b6001600660156101000a81548160ff021916908315150217905550565b6004602052815f5260405f20602052805f5260405f205f91509150505481565b8160025f6101000a81548160ff021916908360ff16021790555080600260016101000a81548160ff021916908360ff1602179055505050565b5f600660159054906101000a900460ff1680610879575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b806108d0575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b6108d8575f80fd5b600660159054906101000a900460ff1615801561094157505f73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b801561094c57505f82115b15610992578260055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b8160035f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546109de919061168f565b9250508190555060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148015610a4e5750600660149054906101000a900460ff16155b8015610ac0575060646012600a610a659190611604565b64174876e800610a75919061164e565b610a7f919061195b565b60035f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205410155b8015610b19575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15610d63576001600660146101000a81548160ff0219169083151502179055505f600267ffffffffffffffff811115610b5557610b54611273565b5b604051908082528060200260200182016040528015610b835781602001602082028036833780820191505090505b50905030815f81518110610b9a57610b9961198b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110610bfd57610bfc61198b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663eb6f613960646012600a610c779190611604565b64174876e800610c87919061164e565b610c91919061195b565b5f8430426040518663ffffffff1660e01b8152600401610cb5959493929190611ab7565b5f604051808303815f87803b158015610ccc575f80fd5b505af1158015610cde573d5f803e3d5ffd5b5050505060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610d46573d5f803e3d5ffd5b505f600660146101000a81548160ff021916908315150217905550505b3073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614158015610db2575060011515600660159054906101000a900460ff161515145b15610eb0575f606460055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610e2357600260019054906101000a900460ff16610e33565b60025f9054906101000a900460ff165b60ff1684610e41919061164e565b610e4b919061195b565b90508083610e59919061168f565b92508060035f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610ea79190611b0f565b92505081905550505b8160035f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610efc9190611b0f565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f6091906111af565b60405180910390a3600190509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610faa578082015181840152602081019050610f8f565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610fcf82610f73565b610fd98185610f7d565b9350610fe9818560208601610f8d565b610ff281610fb5565b840191505092915050565b5f6020820190508181035f8301526110158184610fc5565b905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6110578261102e565b9050919050565b6110678161104d565b8114611071575f80fd5b50565b5f813590506110828161105e565b92915050565b5f819050919050565b61109a81611088565b81146110a4575f80fd5b50565b5f813590506110b581611091565b92915050565b5f80604083850312156110d1576110d0611026565b5b5f6110de85828601611074565b92505060206110ef858286016110a7565b9150509250929050565b5f8115159050919050565b61110d816110f9565b82525050565b5f6020820190506111265f830184611104565b92915050565b5f60ff82169050919050565b6111418161112c565b811461114b575f80fd5b50565b5f8135905061115c81611138565b92915050565b5f806040838503121561117857611177611026565b5b5f6111858582860161114e565b92505060206111968582860161114e565b9150509250929050565b6111a981611088565b82525050565b5f6020820190506111c25f8301846111a0565b92915050565b5f805f606084860312156111df576111de611026565b5b5f6111ec86828701611074565b93505060206111fd86828701611074565b925050604061120e868287016110a7565b9150509250925092565b6112218161112c565b82525050565b5f60208201905061123a5f830184611218565b92915050565b5f6020828403121561125557611254611026565b5b5f61126284828501611074565b91505092915050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6112a982610fb5565b810181811067ffffffffffffffff821117156112c8576112c7611273565b5b80604052505050565b5f6112da61101d565b90506112e682826112a0565b919050565b5f67ffffffffffffffff82111561130557611304611273565b5b61130e82610fb5565b9050602081019050919050565b828183375f83830152505050565b5f61133b611336846112eb565b6112d1565b9050828152602081018484840111156113575761135661126f565b5b61136284828561131b565b509392505050565b5f82601f83011261137e5761137d61126b565b5b813561138e848260208601611329565b91505092915050565b5f80604083850312156113ad576113ac611026565b5b5f83013567ffffffffffffffff8111156113ca576113c961102a565b5b6113d68582860161136a565b925050602083013567ffffffffffffffff8111156113f7576113f661102a565b5b6114038582860161136a565b9150509250929050565b5f806040838503121561142357611422611026565b5b5f61143085828601611074565b925050602061144185828601611074565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061148f57607f821691505b6020821081036114a2576114a161144b565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b600185111561152a57808604811115611506576115056114a8565b5b60018516156115155780820291505b8081029050611523856114d5565b94506114ea565b94509492505050565b5f8261154257600190506115fd565b8161154f575f90506115fd565b8160018114611565576002811461156f5761159e565b60019150506115fd565b60ff841115611581576115806114a8565b5b8360020a915084821115611598576115976114a8565b5b506115fd565b5060208310610133831016604e8410600b84101617156115d35782820a9050838111156115ce576115cd6114a8565b5b6115fd565b6115e084848460016114e1565b925090508184048111156115f7576115f66114a8565b5b81810290505b9392505050565b5f61160e82611088565b91506116198361112c565b92506116467fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611533565b905092915050565b5f61165882611088565b915061166383611088565b925082820261167181611088565b91508282048414831517611688576116876114a8565b5b5092915050565b5f61169982611088565b91506116a483611088565b92508282039050818111156116bc576116bb6114a8565b5b92915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830261171e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826116e3565b61172886836116e3565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61176361175e61175984611088565b611740565b611088565b9050919050565b5f819050919050565b61177c83611749565b6117906117888261176a565b8484546116ef565b825550505050565b5f90565b6117a4611798565b6117af818484611773565b505050565b5b818110156117d2576117c75f8261179c565b6001810190506117b5565b5050565b601f821115611817576117e8816116c2565b6117f1846116d4565b81016020851015611800578190505b61181461180c856116d4565b8301826117b4565b50505b505050565b5f82821c905092915050565b5f6118375f198460080261181c565b1980831691505092915050565b5f61184f8383611828565b9150826002028217905092915050565b61186882610f73565b67ffffffffffffffff81111561188157611880611273565b5b61188b8254611478565b6118968282856117d6565b5f60209050601f8311600181146118c7575f84156118b5578287015190505b6118bf8582611844565b865550611926565b601f1984166118d5866116c2565b5f5b828110156118fc578489015182556001820191506020850194506020810190506118d7565b868310156119195784890151611915601f891682611828565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61196582611088565b915061197083611088565b9250826119805761197f61192e565b5b828204905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050919050565b5f6119db6119d66119d1846119b8565b611740565b611088565b9050919050565b6119eb816119c1565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b611a238161104d565b82525050565b5f611a348383611a1a565b60208301905092915050565b5f602082019050919050565b5f611a56826119f1565b611a6081856119fb565b9350611a6b83611a0b565b805f5b83811015611a9b578151611a828882611a29565b9750611a8d83611a40565b925050600181019050611a6e565b5085935050505092915050565b611ab18161104d565b82525050565b5f60a082019050611aca5f8301886111a0565b611ad760208301876119e2565b8181036040830152611ae98186611a4c565b9050611af86060830185611aa8565b611b0560808301846111a0565b9695505050505050565b5f611b1982611088565b9150611b2483611088565b9250828201905080821115611b3c57611b3b6114a8565b5b9291505056fea2646970667358221220384c80990420dd68b7fc9df37775474c478d20cfeaaf53207ec4d062f9d9670364736f6c63430008160033