Mainnet
Testnet

Contract

0xB3865135a0C63daEdbeA0EbC1EAD6290a5e04418

Overview

Balance:
0 WBT
WBT Value:
0 USDT (@ 23.69/WBT)

More info

Contract creator:
Contract Source Code Verified (Partial Match)

Contract Name:

TwoYCoin

Compiler Version:

0.8.18+commit.87f61d96

EVM Version:

default evmVersion

Optimizations:

Disabled with 200 runs

License:

MIT License (MIT)

Contract source code and ABI

Creation bytecode

0x60806040523480156200001157600080fd5b506040518060400160405280600781526020017f325920436f696e00000000000000000000000000000000000000000000000000815250600090816200005891906200038a565b506040518060400160405280600381526020017f3259430000000000000000000000000000000000000000000000000000000000815250600190816200009f91906200038a565b506103e8600281905550600254600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600460006101000a81548160ff02191690831515021790555062000471565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200019257607f821691505b602082108103620001a857620001a76200014a565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620002127fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620001d3565b6200021e8683620001d3565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200026b620002656200025f8462000236565b62000240565b62000236565b9050919050565b6000819050919050565b62000287836200024a565b6200029f620002968262000272565b848454620001e0565b825550505050565b600090565b620002b6620002a7565b620002c38184846200027c565b505050565b5b81811015620002eb57620002df600082620002ac565b600181019050620002c9565b5050565b601f8211156200033a576200030481620001ae565b6200030f84620001c3565b810160208510156200031f578190505b620003376200032e85620001c3565b830182620002c8565b50505b505050565b600082821c905092915050565b60006200035f600019846008026200033f565b1980831691505092915050565b60006200037a83836200034c565b9150826002028217905092915050565b620003958262000110565b67ffffffffffffffff811115620003b157620003b06200011b565b5b620003bd825462000179565b620003ca828285620002ef565b600060209050601f831160018114620004025760008415620003ed578287015190505b620003f985826200036c565b86555062000469565b601f1984166200041286620001ae565b60005b828110156200043c5784890151825560018201915060208501945060208101905062000415565b868310156200045c578489015162000458601f8916826200034c565b8355505b6001600288020188555050505b505050505050565b610d8480620004816000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80637d55094d1161005b5780637d55094d146100ee57806395d89b41146100f857806396532d1c14610116578063d8b66ae1146101345761007d565b806306fdde031461008257806318160ddd146100a057806327e235e3146100be575b600080fd5b61008a610150565b604051610097919061060a565b60405180910390f35b6100a86101de565b6040516100b59190610645565b60405180910390f35b6100d860048036038101906100d391906106d2565b6101e4565b6040516100e59190610645565b60405180910390f35b6100f66101fc565b005b610100610296565b60405161010d919061060a565b60405180910390f35b61011e610324565b60405161012b919061071a565b60405180910390f35b61014e6004803603810190610149919061096c565b610337565b005b6000805461015d90610a13565b80601f016020809104026020016040519081016040528092919081815260200182805461018990610a13565b80156101d65780601f106101ab576101008083540402835291602001916101d6565b820191906000526020600020905b8154815290600101906020018083116101b957829003601f168201915b505050505081565b60025481565b60036020528060005260406000206000915090505481565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461026a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026190610ab6565b60405180910390fd5b600460009054906101000a900460ff1615600460006101000a81548160ff021916908315150217905550565b600180546102a390610a13565b80601f01602080910402602001604051908101604052809291908181526020018280546102cf90610a13565b801561031c5780601f106102f15761010080835404028352916020019161031c565b820191906000526020600020905b8154815290600101906020018083116102ff57829003601f168201915b505050505081565b600460009054906101000a900460ff1681565b805182511461037b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161037290610b22565b60405180910390fd5b6064825111156103c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b790610bb4565b60405180910390fd5b60005b8251811015610575578181815181106103df576103de610bd4565b5b6020026020010151600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045f90610c4f565b60405180910390fd5b81818151811061047b5761047a610bd4565b5b6020026020010151600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546104d19190610c9e565b925050819055508181815181106104eb576104ea610bd4565b5b60200260200101516003600085848151811061050a57610509610bd4565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461055b9190610cd2565b92505081905550808061056d90610d06565b9150506103c3565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156105b4578082015181840152602081019050610599565b60008484015250505050565b6000601f19601f8301169050919050565b60006105dc8261057a565b6105e68185610585565b93506105f6818560208601610596565b6105ff816105c0565b840191505092915050565b6000602082019050818103600083015261062481846105d1565b905092915050565b6000819050919050565b61063f8161062c565b82525050565b600060208201905061065a6000830184610636565b92915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061069f82610674565b9050919050565b6106af81610694565b81146106ba57600080fd5b50565b6000813590506106cc816106a6565b92915050565b6000602082840312156106e8576106e761066a565b5b60006106f6848285016106bd565b91505092915050565b60008115159050919050565b610714816106ff565b82525050565b600060208201905061072f600083018461070b565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610772826105c0565b810181811067ffffffffffffffff821117156107915761079061073a565b5b80604052505050565b60006107a4610660565b90506107b08282610769565b919050565b600067ffffffffffffffff8211156107d0576107cf61073a565b5b602082029050602081019050919050565b600080fd5b60006107f96107f4846107b5565b61079a565b9050808382526020820190506020840283018581111561081c5761081b6107e1565b5b835b81811015610845578061083188826106bd565b84526020840193505060208101905061081e565b5050509392505050565b600082601f83011261086457610863610735565b5b81356108748482602086016107e6565b91505092915050565b600067ffffffffffffffff8211156108985761089761073a565b5b602082029050602081019050919050565b6108b28161062c565b81146108bd57600080fd5b50565b6000813590506108cf816108a9565b92915050565b60006108e86108e38461087d565b61079a565b9050808382526020820190506020840283018581111561090b5761090a6107e1565b5b835b81811015610934578061092088826108c0565b84526020840193505060208101905061090d565b5050509392505050565b600082601f83011261095357610952610735565b5b81356109638482602086016108d5565b91505092915050565b600080604083850312156109835761098261066a565b5b600083013567ffffffffffffffff8111156109a1576109a061066f565b5b6109ad8582860161084f565b925050602083013567ffffffffffffffff8111156109ce576109cd61066f565b5b6109da8582860161093e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610a2b57607f821691505b602082108103610a3e57610a3d6109e4565b5b50919050565b7f4f6e6c7920636f6e747261637420697473656c662063616e20746f67676c652060008201527f6d696e74696e6700000000000000000000000000000000000000000000000000602082015250565b6000610aa0602783610585565b9150610aab82610a44565b604082019050919050565b60006020820190508181036000830152610acf81610a93565b9050919050565b7f4172726179206c656e6774687320646f206e6f74206d61746368000000000000600082015250565b6000610b0c601a83610585565b9150610b1782610ad6565b602082019050919050565b60006020820190508181036000830152610b3b81610aff565b9050919050565b7f4578636565646564206d6178696d756d206e756d626572206f6620726563697060008201527f69656e7473000000000000000000000000000000000000000000000000000000602082015250565b6000610b9e602583610585565b9150610ba982610b42565b604082019050919050565b60006020820190508181036000830152610bcd81610b91565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000610c39601483610585565b9150610c4482610c03565b602082019050919050565b60006020820190508181036000830152610c6881610c2c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610ca98261062c565b9150610cb48361062c565b9250828203905081811115610ccc57610ccb610c6f565b5b92915050565b6000610cdd8261062c565b9150610ce88361062c565b9250828201905080821115610d0057610cff610c6f565b5b92915050565b6000610d118261062c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610d4357610d42610c6f565b5b60018201905091905056fea2646970667358221220b3e3ec0d2696cbf4aa5b2dcf8eaa19132ca1a074d810733c3d7d6a73320f154364736f6c63430008120033

Deployed bytecode

0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80637d55094d1161005b5780637d55094d146100ee57806395d89b41146100f857806396532d1c14610116578063d8b66ae1146101345761007d565b806306fdde031461008257806318160ddd146100a057806327e235e3146100be575b600080fd5b61008a610150565b604051610097919061060a565b60405180910390f35b6100a86101de565b6040516100b59190610645565b60405180910390f35b6100d860048036038101906100d391906106d2565b6101e4565b6040516100e59190610645565b60405180910390f35b6100f66101fc565b005b610100610296565b60405161010d919061060a565b60405180910390f35b61011e610324565b60405161012b919061071a565b60405180910390f35b61014e6004803603810190610149919061096c565b610337565b005b6000805461015d90610a13565b80601f016020809104026020016040519081016040528092919081815260200182805461018990610a13565b80156101d65780601f106101ab576101008083540402835291602001916101d6565b820191906000526020600020905b8154815290600101906020018083116101b957829003601f168201915b505050505081565b60025481565b60036020528060005260406000206000915090505481565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461026a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026190610ab6565b60405180910390fd5b600460009054906101000a900460ff1615600460006101000a81548160ff021916908315150217905550565b600180546102a390610a13565b80601f01602080910402602001604051908101604052809291908181526020018280546102cf90610a13565b801561031c5780601f106102f15761010080835404028352916020019161031c565b820191906000526020600020905b8154815290600101906020018083116102ff57829003601f168201915b505050505081565b600460009054906101000a900460ff1681565b805182511461037b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161037290610b22565b60405180910390fd5b6064825111156103c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b790610bb4565b60405180910390fd5b60005b8251811015610575578181815181106103df576103de610bd4565b5b6020026020010151600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045f90610c4f565b60405180910390fd5b81818151811061047b5761047a610bd4565b5b6020026020010151600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546104d19190610c9e565b925050819055508181815181106104eb576104ea610bd4565b5b60200260200101516003600085848151811061050a57610509610bd4565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461055b9190610cd2565b92505081905550808061056d90610d06565b9150506103c3565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156105b4578082015181840152602081019050610599565b60008484015250505050565b6000601f19601f8301169050919050565b60006105dc8261057a565b6105e68185610585565b93506105f6818560208601610596565b6105ff816105c0565b840191505092915050565b6000602082019050818103600083015261062481846105d1565b905092915050565b6000819050919050565b61063f8161062c565b82525050565b600060208201905061065a6000830184610636565b92915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061069f82610674565b9050919050565b6106af81610694565b81146106ba57600080fd5b50565b6000813590506106cc816106a6565b92915050565b6000602082840312156106e8576106e761066a565b5b60006106f6848285016106bd565b91505092915050565b60008115159050919050565b610714816106ff565b82525050565b600060208201905061072f600083018461070b565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610772826105c0565b810181811067ffffffffffffffff821117156107915761079061073a565b5b80604052505050565b60006107a4610660565b90506107b08282610769565b919050565b600067ffffffffffffffff8211156107d0576107cf61073a565b5b602082029050602081019050919050565b600080fd5b60006107f96107f4846107b5565b61079a565b9050808382526020820190506020840283018581111561081c5761081b6107e1565b5b835b81811015610845578061083188826106bd565b84526020840193505060208101905061081e565b5050509392505050565b600082601f83011261086457610863610735565b5b81356108748482602086016107e6565b91505092915050565b600067ffffffffffffffff8211156108985761089761073a565b5b602082029050602081019050919050565b6108b28161062c565b81146108bd57600080fd5b50565b6000813590506108cf816108a9565b92915050565b60006108e86108e38461087d565b61079a565b9050808382526020820190506020840283018581111561090b5761090a6107e1565b5b835b81811015610934578061092088826108c0565b84526020840193505060208101905061090d565b5050509392505050565b600082601f83011261095357610952610735565b5b81356109638482602086016108d5565b91505092915050565b600080604083850312156109835761098261066a565b5b600083013567ffffffffffffffff8111156109a1576109a061066f565b5b6109ad8582860161084f565b925050602083013567ffffffffffffffff8111156109ce576109cd61066f565b5b6109da8582860161093e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610a2b57607f821691505b602082108103610a3e57610a3d6109e4565b5b50919050565b7f4f6e6c7920636f6e747261637420697473656c662063616e20746f67676c652060008201527f6d696e74696e6700000000000000000000000000000000000000000000000000602082015250565b6000610aa0602783610585565b9150610aab82610a44565b604082019050919050565b60006020820190508181036000830152610acf81610a93565b9050919050565b7f4172726179206c656e6774687320646f206e6f74206d61746368000000000000600082015250565b6000610b0c601a83610585565b9150610b1782610ad6565b602082019050919050565b60006020820190508181036000830152610b3b81610aff565b9050919050565b7f4578636565646564206d6178696d756d206e756d626572206f6620726563697060008201527f69656e7473000000000000000000000000000000000000000000000000000000602082015250565b6000610b9e602583610585565b9150610ba982610b42565b604082019050919050565b60006020820190508181036000830152610bcd81610b91565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000610c39601483610585565b9150610c4482610c03565b602082019050919050565b60006020820190508181036000830152610c6881610c2c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610ca98261062c565b9150610cb48361062c565b9250828203905081811115610ccc57610ccb610c6f565b5b92915050565b6000610cdd8261062c565b9150610ce88361062c565b9250828201905080821115610d0057610cff610c6f565b5b92915050565b6000610d118261062c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610d4357610d42610c6f565b5b60018201905091905056fea2646970667358221220b3e3ec0d2696cbf4aa5b2dcf8eaa19132ca1a074d810733c3d7d6a73320f154364736f6c63430008120033

Source map

57:1252:0:-:0;;;245:174;;;;;;;;;;269:16;;;;;;;;;;;;;;;;;:4;:16;;;;;;:::i;:::-;;295:14;;;;;;;;;;;;;;;;;:6;:14;;;;;;:::i;:::-;;333:4;319:11;:18;;;;370:11;;347:8;:20;356:10;347:20;;;;;;;;;;;;;;;:34;;;;408:4;391:14;;:21;;;;;;;;;;;;;;;;;;57:1252;;7:99:1;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:180::-;160:77;157:1;150:88;257:4;254:1;247:15;281:4;278:1;271:15;298:180;346:77;343:1;336:88;443:4;440:1;433:15;467:4;464:1;457:15;484:320;528:6;565:1;559:4;555:12;545:22;;612:1;606:4;602:12;633:18;623:81;;689:4;681:6;677:17;667:27;;623:81;751:2;743:6;740:14;720:18;717:38;714:84;;770:18;;:::i;:::-;714:84;535:269;484:320;;;:::o;810:141::-;859:4;882:3;874:11;;905:3;902:1;895:14;939:4;936:1;926:18;918:26;;810:141;;;:::o;957:93::-;994:6;1041:2;1036;1029:5;1025:14;1021:23;1011:33;;957:93;;;:::o;1056:107::-;1100:8;1150:5;1144:4;1140:16;1119:37;;1056:107;;;;:::o;1169:393::-;1238:6;1288:1;1276:10;1272:18;1311:97;1341:66;1330:9;1311:97;:::i;:::-;1429:39;1459:8;1448:9;1429:39;:::i;:::-;1417:51;;1501:4;1497:9;1490:5;1486:21;1477:30;;1550:4;1540:8;1536:19;1529:5;1526:30;1516:40;;1245:317;;1169:393;;;;;:::o;1568:77::-;1605:7;1634:5;1623:16;;1568:77;;;:::o;1651:60::-;1679:3;1700:5;1693:12;;1651:60;;;:::o;1717:142::-;1767:9;1800:53;1818:34;1827:24;1845:5;1827:24;:::i;:::-;1818:34;:::i;:::-;1800:53;:::i;:::-;1787:66;;1717:142;;;:::o;1865:75::-;1908:3;1929:5;1922:12;;1865:75;;;:::o;1946:269::-;2056:39;2087:7;2056:39;:::i;:::-;2117:91;2166:41;2190:16;2166:41;:::i;:::-;2158:6;2151:4;2145:11;2117:91;:::i;:::-;2111:4;2104:105;2022:193;1946:269;;;:::o;2221:73::-;2266:3;2221:73;:::o;2300:189::-;2377:32;;:::i;:::-;2418:65;2476:6;2468;2462:4;2418:65;:::i;:::-;2353:136;2300:189;;:::o;2495:186::-;2555:120;2572:3;2565:5;2562:14;2555:120;;;2626:39;2663:1;2656:5;2626:39;:::i;:::-;2599:1;2592:5;2588:13;2579:22;;2555:120;;;2495:186;;:::o;2687:543::-;2788:2;2783:3;2780:11;2777:446;;;2822:38;2854:5;2822:38;:::i;:::-;2906:29;2924:10;2906:29;:::i;:::-;2896:8;2892:44;3089:2;3077:10;3074:18;3071:49;;;3110:8;3095:23;;3071:49;3133:80;3189:22;3207:3;3189:22;:::i;:::-;3179:8;3175:37;3162:11;3133:80;:::i;:::-;2792:431;;2777:446;2687:543;;;:::o;3236:117::-;3290:8;3340:5;3334:4;3330:16;3309:37;;3236:117;;;;:::o;3359:169::-;3403:6;3436:51;3484:1;3480:6;3472:5;3469:1;3465:13;3436:51;:::i;:::-;3432:56;3517:4;3511;3507:15;3497:25;;3410:118;3359:169;;;;:::o;3533:295::-;3609:4;3755:29;3780:3;3774:4;3755:29;:::i;:::-;3747:37;;3817:3;3814:1;3810:11;3804:4;3801:21;3793:29;;3533:295;;;;:::o;3833:1395::-;3950:37;3983:3;3950:37;:::i;:::-;4052:18;4044:6;4041:30;4038:56;;;4074:18;;:::i;:::-;4038:56;4118:38;4150:4;4144:11;4118:38;:::i;:::-;4203:67;4263:6;4255;4249:4;4203:67;:::i;:::-;4297:1;4321:4;4308:17;;4353:2;4345:6;4342:14;4370:1;4365:618;;;;5027:1;5044:6;5041:77;;;5093:9;5088:3;5084:19;5078:26;5069:35;;5041:77;5144:67;5204:6;5197:5;5144:67;:::i;:::-;5138:4;5131:81;5000:222;4335:887;;4365:618;4417:4;4413:9;4405:6;4401:22;4451:37;4483:4;4451:37;:::i;:::-;4510:1;4524:208;4538:7;4535:1;4532:14;4524:208;;;4617:9;4612:3;4608:19;4602:26;4594:6;4587:42;4668:1;4660:6;4656:14;4646:24;;4715:2;4704:9;4700:18;4687:31;;4561:4;4558:1;4554:12;4549:17;;4524:208;;;4760:6;4751:7;4748:19;4745:179;;;4818:9;4813:3;4809:19;4803:26;4861:48;4903:4;4895:6;4891:17;4880:9;4861:48;:::i;:::-;4853:6;4846:64;4768:156;4745:179;4970:1;4966;4958:6;4954:14;4950:22;4944:4;4937:36;4372:611;;;4335:887;;3925:1303;;;3833:1395;;:::o;57:1252:0:-;;;;;;;