Mainnet
Testnet

Contract

0x02d1aa8E039D765737AB95F16811269d9276167f

Overview

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

More info

Contract creator:
Contract Source Code Verified (Partial Match)

Contract Name:

TestToken

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

0x60806040526040518060400160405280600981526020017f54657374546f6b656e0000000000000000000000000000000000000000000000815250600090816200004a919062000387565b506040518060400160405280600381526020017f54535400000000000000000000000000000000000000000000000000000000008152506001908162000091919062000387565b506103e86002556000600460006101000a81548160ff021916908315150217905550348015620000c057600080fd5b50600254600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506200046e565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200018f57607f821691505b602082108103620001a557620001a462000147565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200020f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620001d0565b6200021b8683620001d0565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000268620002626200025c8462000233565b6200023d565b62000233565b9050919050565b6000819050919050565b620002848362000247565b6200029c62000293826200026f565b848454620001dd565b825550505050565b600090565b620002b3620002a4565b620002c081848462000279565b505050565b5b81811015620002e857620002dc600082620002a9565b600181019050620002c6565b5050565b601f82111562000337576200030181620001ab565b6200030c84620001c0565b810160208510156200031c578190505b620003346200032b85620001c0565b830182620002c5565b50505b505050565b600082821c905092915050565b60006200035c600019846008026200033c565b1980831691505092915050565b600062000377838362000349565b9150826002028217905092915050565b62000392826200010d565b67ffffffffffffffff811115620003ae57620003ad62000118565b5b620003ba825462000176565b620003c7828285620002ec565b600060209050601f831160018114620003ff5760008415620003ea578287015190505b620003f6858262000369565b86555062000466565b601f1984166200040f86620001ab565b60005b82811015620004395784890151825560018201915060208501945060208101905062000412565b8683101562000459578489015162000455601f89168262000349565b8355505b6001600288020188555050505b505050505050565b610df4806200047e6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c806395d89b411161005b57806395d89b411461010357806397304ced14610121578063b2b93b731461013d578063d8b66ae11461015b57610088565b806306fdde031461008d57806318160ddd146100ab57806327e235e3146100c957806387491c60146100f9575b600080fd5b610095610177565b6040516100a2919061077e565b60405180910390f35b6100b3610205565b6040516100c091906107b9565b60405180910390f35b6100e360048036038101906100de919061083c565b61020b565b6040516100f091906107b9565b60405180910390f35b610101610223565b005b61010b610290565b604051610118919061077e565b60405180910390f35b61013b60048036038101906101369190610895565b61031e565b005b61014561048c565b60405161015291906108dd565b60405180910390f35b610175600480360381019061017091906109b3565b61049f565b005b6000805461018490610a63565b80601f01602080910402602001604051908101604052809291908181526020018280546101b090610a63565b80156101fd5780601f106101d2576101008083540402835291602001916101fd565b820191906000526020600020905b8154815290600101906020018083116101e057829003601f168201915b505050505081565b60025481565b60036020528060005260406000206000915090505481565b600460009054906101000a900460ff1615610273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026a90610ae0565b60405180910390fd5b6001600460006101000a81548160ff021916908315150217905550565b6001805461029d90610a63565b80601f01602080910402602001604051908101604052809291908181526020018280546102c990610a63565b80156103165780601f106102eb57610100808354040283529160200191610316565b820191906000526020600020905b8154815290600101906020018083116102f957829003601f168201915b505050505081565b80600460009054906101000a900460ff161561036f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036690610b4c565b60405180910390fd5b60648111156103b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103aa90610bb8565b60405180910390fd5b81600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546104029190610c07565b92505081905550816002600082825461041b9190610c07565b925050819055503373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161048091906107b9565b60405180910390a35050565b600460009054906101000a900460ff1681565b8181905084849050146104e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104de90610c87565b60405180910390fd5b60005b848490508110156106e757600085858381811061050a57610509610ca7565b5b905060200201602081019061051f919061083c565b9050600084848481811061053657610535610ca7565b5b905060200201359050600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111156105c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b890610d22565b60405180910390fd5b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546106109190610d42565b9250508190555080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546106669190610c07565b925050819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516106ca91906107b9565b60405180910390a3505080806106df90610d76565b9150506104ea565b5050505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561072857808201518184015260208101905061070d565b60008484015250505050565b6000601f19601f8301169050919050565b6000610750826106ee565b61075a81856106f9565b935061076a81856020860161070a565b61077381610734565b840191505092915050565b600060208201905081810360008301526107988184610745565b905092915050565b6000819050919050565b6107b3816107a0565b82525050565b60006020820190506107ce60008301846107aa565b92915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610809826107de565b9050919050565b610819816107fe565b811461082457600080fd5b50565b60008135905061083681610810565b92915050565b600060208284031215610852576108516107d4565b5b600061086084828501610827565b91505092915050565b610872816107a0565b811461087d57600080fd5b50565b60008135905061088f81610869565b92915050565b6000602082840312156108ab576108aa6107d4565b5b60006108b984828501610880565b91505092915050565b60008115159050919050565b6108d7816108c2565b82525050565b60006020820190506108f260008301846108ce565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261091d5761091c6108f8565b5b8235905067ffffffffffffffff81111561093a576109396108fd565b5b60208301915083602082028301111561095657610955610902565b5b9250929050565b60008083601f840112610973576109726108f8565b5b8235905067ffffffffffffffff8111156109905761098f6108fd565b5b6020830191508360208202830111156109ac576109ab610902565b5b9250929050565b600080600080604085870312156109cd576109cc6107d4565b5b600085013567ffffffffffffffff8111156109eb576109ea6107d9565b5b6109f787828801610907565b9450945050602085013567ffffffffffffffff811115610a1a57610a196107d9565b5b610a268782880161095d565b925092505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610a7b57607f821691505b602082108103610a8e57610a8d610a34565b5b50919050565b7f4d696e74696e6720616c726561647920636c6f73656400000000000000000000600082015250565b6000610aca6016836106f9565b9150610ad582610a94565b602082019050919050565b60006020820190508181036000830152610af981610abd565b9050919050565b7f4d696e74696e6720697320636c6f736564000000000000000000000000000000600082015250565b6000610b366011836106f9565b9150610b4182610b00565b602082019050919050565b60006020820190508181036000830152610b6581610b29565b9050919050565b7f45786365656473206d6178696d756d206d696e74696e67206c696d6974000000600082015250565b6000610ba2601d836106f9565b9150610bad82610b6c565b602082019050919050565b60006020820190508181036000830152610bd181610b95565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610c12826107a0565b9150610c1d836107a0565b9250828201905080821115610c3557610c34610bd8565b5b92915050565b7f496e76616c696420696e707574206c656e677468730000000000000000000000600082015250565b6000610c716015836106f9565b9150610c7c82610c3b565b602082019050919050565b60006020820190508181036000830152610ca081610c64565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000610d0c6014836106f9565b9150610d1782610cd6565b602082019050919050565b60006020820190508181036000830152610d3b81610cff565b9050919050565b6000610d4d826107a0565b9150610d58836107a0565b9250828203905081811115610d7057610d6f610bd8565b5b92915050565b6000610d81826107a0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610db357610db2610bd8565b5b60018201905091905056fea2646970667358221220feda5d8e7ff95d0b3fc51055ee78d3e8e7411a52a3d3213e95125b84e44fece764736f6c63430008120033

Deployed bytecode

0x608060405234801561001057600080fd5b50600436106100885760003560e01c806395d89b411161005b57806395d89b411461010357806397304ced14610121578063b2b93b731461013d578063d8b66ae11461015b57610088565b806306fdde031461008d57806318160ddd146100ab57806327e235e3146100c957806387491c60146100f9575b600080fd5b610095610177565b6040516100a2919061077e565b60405180910390f35b6100b3610205565b6040516100c091906107b9565b60405180910390f35b6100e360048036038101906100de919061083c565b61020b565b6040516100f091906107b9565b60405180910390f35b610101610223565b005b61010b610290565b604051610118919061077e565b60405180910390f35b61013b60048036038101906101369190610895565b61031e565b005b61014561048c565b60405161015291906108dd565b60405180910390f35b610175600480360381019061017091906109b3565b61049f565b005b6000805461018490610a63565b80601f01602080910402602001604051908101604052809291908181526020018280546101b090610a63565b80156101fd5780601f106101d2576101008083540402835291602001916101fd565b820191906000526020600020905b8154815290600101906020018083116101e057829003601f168201915b505050505081565b60025481565b60036020528060005260406000206000915090505481565b600460009054906101000a900460ff1615610273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026a90610ae0565b60405180910390fd5b6001600460006101000a81548160ff021916908315150217905550565b6001805461029d90610a63565b80601f01602080910402602001604051908101604052809291908181526020018280546102c990610a63565b80156103165780601f106102eb57610100808354040283529160200191610316565b820191906000526020600020905b8154815290600101906020018083116102f957829003601f168201915b505050505081565b80600460009054906101000a900460ff161561036f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036690610b4c565b60405180910390fd5b60648111156103b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103aa90610bb8565b60405180910390fd5b81600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546104029190610c07565b92505081905550816002600082825461041b9190610c07565b925050819055503373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161048091906107b9565b60405180910390a35050565b600460009054906101000a900460ff1681565b8181905084849050146104e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104de90610c87565b60405180910390fd5b60005b848490508110156106e757600085858381811061050a57610509610ca7565b5b905060200201602081019061051f919061083c565b9050600084848481811061053657610535610ca7565b5b905060200201359050600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111156105c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b890610d22565b60405180910390fd5b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546106109190610d42565b9250508190555080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546106669190610c07565b925050819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516106ca91906107b9565b60405180910390a3505080806106df90610d76565b9150506104ea565b5050505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561072857808201518184015260208101905061070d565b60008484015250505050565b6000601f19601f8301169050919050565b6000610750826106ee565b61075a81856106f9565b935061076a81856020860161070a565b61077381610734565b840191505092915050565b600060208201905081810360008301526107988184610745565b905092915050565b6000819050919050565b6107b3816107a0565b82525050565b60006020820190506107ce60008301846107aa565b92915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610809826107de565b9050919050565b610819816107fe565b811461082457600080fd5b50565b60008135905061083681610810565b92915050565b600060208284031215610852576108516107d4565b5b600061086084828501610827565b91505092915050565b610872816107a0565b811461087d57600080fd5b50565b60008135905061088f81610869565b92915050565b6000602082840312156108ab576108aa6107d4565b5b60006108b984828501610880565b91505092915050565b60008115159050919050565b6108d7816108c2565b82525050565b60006020820190506108f260008301846108ce565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261091d5761091c6108f8565b5b8235905067ffffffffffffffff81111561093a576109396108fd565b5b60208301915083602082028301111561095657610955610902565b5b9250929050565b60008083601f840112610973576109726108f8565b5b8235905067ffffffffffffffff8111156109905761098f6108fd565b5b6020830191508360208202830111156109ac576109ab610902565b5b9250929050565b600080600080604085870312156109cd576109cc6107d4565b5b600085013567ffffffffffffffff8111156109eb576109ea6107d9565b5b6109f787828801610907565b9450945050602085013567ffffffffffffffff811115610a1a57610a196107d9565b5b610a268782880161095d565b925092505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610a7b57607f821691505b602082108103610a8e57610a8d610a34565b5b50919050565b7f4d696e74696e6720616c726561647920636c6f73656400000000000000000000600082015250565b6000610aca6016836106f9565b9150610ad582610a94565b602082019050919050565b60006020820190508181036000830152610af981610abd565b9050919050565b7f4d696e74696e6720697320636c6f736564000000000000000000000000000000600082015250565b6000610b366011836106f9565b9150610b4182610b00565b602082019050919050565b60006020820190508181036000830152610b6581610b29565b9050919050565b7f45786365656473206d6178696d756d206d696e74696e67206c696d6974000000600082015250565b6000610ba2601d836106f9565b9150610bad82610b6c565b602082019050919050565b60006020820190508181036000830152610bd181610b95565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610c12826107a0565b9150610c1d836107a0565b9250828201905080821115610c3557610c34610bd8565b5b92915050565b7f496e76616c696420696e707574206c656e677468730000000000000000000000600082015250565b6000610c716015836106f9565b9150610c7c82610c3b565b602082019050919050565b60006020820190508181036000830152610ca081610c64565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000610d0c6014836106f9565b9150610d1782610cd6565b602082019050919050565b60006020820190508181036000830152610d3b81610cff565b9050919050565b6000610d4d826107a0565b9150610d58836107a0565b9250828203905081811115610d7057610d6f610bd8565b5b92915050565b6000610d81826107a0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610db357610db2610bd8565b5b60018201905091905056fea2646970667358221220feda5d8e7ff95d0b3fc51055ee78d3e8e7411a52a3d3213e95125b84e44fece764736f6c63430008120033

Source map

57:1443:0:-:0;;;82:32;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;120:28;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;183:4;154:33;;271:5;243:33;;;;;;;;;;;;;;;;;;;;361:65;;;;;;;;;;408:11;;385:8;:20;394:10;385:20;;;;;;;;;;;;;;;:34;;;;57:1443;;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:1443:0:-;;;;;;;