APE Price: $1.02 (+4.33%)

Contract

0xFB70C544E1afc30E04a432bc5461aCDa4e74CA16

Overview

APE Balance

Apechain LogoApechain LogoApechain Logo0 APE

APE Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Parent Transaction Hash Block From To
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DixoTokenSetup

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at apescan.io on 2024-10-30
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

interface IDixoToken {
    function balanceOf(address account) external view returns (uint256);
    function transfer(address to, uint256 amount) external returns (bool);
    function owner() external view returns (address);
    function mint(address to, uint256 amount) external;
}

contract DixoTokenSetup {
    IDixoToken public constant DIXO = IDixoToken(0xdB5fFfc581cc045583CF58afcA4F9EBa40dDd002);
    
    function mintTokens(address to, uint256 amount) external {
        DIXO.mint(to, amount);
    }
    
    function transferTokens(address to, uint256 amount) external {
        DIXO.transfer(to, amount);
    }
    
    function checkOwner() external view returns (address) {
        return DIXO.owner();
    }
    
    function checkBalance(address account) external view returns (uint256) {
        return DIXO.balanceOf(account);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"DIXO","outputs":[{"internalType":"contract IDixoToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"checkBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052348015600e575f5ffd5b5061063d8061001c5f395ff3fe608060405234801561000f575f5ffd5b5060043610610055575f3560e01c80630881a97b146100595780635f51522614610077578063bec3fa17146100a7578063cdbce03d146100c3578063f0dda65c146100e1575b5f5ffd5b6100616100fd565b60405161006e91906103be565b60405180910390f35b610091600480360381019061008c9190610416565b610115565b60405161009e9190610459565b60405180910390f35b6100c160048036038101906100bc919061049c565b6101a9565b005b6100cb61023d565b6040516100d891906104e9565b60405180910390f35b6100fb60048036038101906100f6919061049c565b6102c4565b005b73db5fffc581cc045583cf58afca4f9eba40ddd00281565b5f73db5fffc581cc045583cf58afca4f9eba40ddd00273ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b815260040161016391906104e9565b602060405180830381865afa15801561017e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101a29190610516565b9050919050565b73db5fffc581cc045583cf58afca4f9eba40ddd00273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b81526004016101f8929190610541565b6020604051808303815f875af1158015610214573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610238919061059d565b505050565b5f73db5fffc581cc045583cf58afca4f9eba40ddd00273ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561029b573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102bf91906105dc565b905090565b73db5fffc581cc045583cf58afca4f9eba40ddd00273ffffffffffffffffffffffffffffffffffffffff166340c10f1983836040518363ffffffff1660e01b8152600401610313929190610541565b5f604051808303815f87803b15801561032a575f5ffd5b505af115801561033c573d5f5f3e3d5ffd5b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f61038661038161037c84610344565b610363565b610344565b9050919050565b5f6103978261036c565b9050919050565b5f6103a88261038d565b9050919050565b6103b88161039e565b82525050565b5f6020820190506103d15f8301846103af565b92915050565b5f5ffd5b5f6103e582610344565b9050919050565b6103f5816103db565b81146103ff575f5ffd5b50565b5f81359050610410816103ec565b92915050565b5f6020828403121561042b5761042a6103d7565b5b5f61043884828501610402565b91505092915050565b5f819050919050565b61045381610441565b82525050565b5f60208201905061046c5f83018461044a565b92915050565b61047b81610441565b8114610485575f5ffd5b50565b5f8135905061049681610472565b92915050565b5f5f604083850312156104b2576104b16103d7565b5b5f6104bf85828601610402565b92505060206104d085828601610488565b9150509250929050565b6104e3816103db565b82525050565b5f6020820190506104fc5f8301846104da565b92915050565b5f8151905061051081610472565b92915050565b5f6020828403121561052b5761052a6103d7565b5b5f61053884828501610502565b91505092915050565b5f6040820190506105545f8301856104da565b610561602083018461044a565b9392505050565b5f8115159050919050565b61057c81610568565b8114610586575f5ffd5b50565b5f8151905061059781610573565b92915050565b5f602082840312156105b2576105b16103d7565b5b5f6105bf84828501610589565b91505092915050565b5f815190506105d6816103ec565b92915050565b5f602082840312156105f1576105f06103d7565b5b5f6105fe848285016105c8565b9150509291505056fea26469706673582212205eb2784c6cc241d23ff8c42f5c2ae0e7a6a13eec3ae25d6ba922f65cd5ac676b64736f6c634300081c0033

Deployed Bytecode

0x608060405234801561000f575f5ffd5b5060043610610055575f3560e01c80630881a97b146100595780635f51522614610077578063bec3fa17146100a7578063cdbce03d146100c3578063f0dda65c146100e1575b5f5ffd5b6100616100fd565b60405161006e91906103be565b60405180910390f35b610091600480360381019061008c9190610416565b610115565b60405161009e9190610459565b60405180910390f35b6100c160048036038101906100bc919061049c565b6101a9565b005b6100cb61023d565b6040516100d891906104e9565b60405180910390f35b6100fb60048036038101906100f6919061049c565b6102c4565b005b73db5fffc581cc045583cf58afca4f9eba40ddd00281565b5f73db5fffc581cc045583cf58afca4f9eba40ddd00273ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b815260040161016391906104e9565b602060405180830381865afa15801561017e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101a29190610516565b9050919050565b73db5fffc581cc045583cf58afca4f9eba40ddd00273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b81526004016101f8929190610541565b6020604051808303815f875af1158015610214573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610238919061059d565b505050565b5f73db5fffc581cc045583cf58afca4f9eba40ddd00273ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561029b573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102bf91906105dc565b905090565b73db5fffc581cc045583cf58afca4f9eba40ddd00273ffffffffffffffffffffffffffffffffffffffff166340c10f1983836040518363ffffffff1660e01b8152600401610313929190610541565b5f604051808303815f87803b15801561032a575f5ffd5b505af115801561033c573d5f5f3e3d5ffd5b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f61038661038161037c84610344565b610363565b610344565b9050919050565b5f6103978261036c565b9050919050565b5f6103a88261038d565b9050919050565b6103b88161039e565b82525050565b5f6020820190506103d15f8301846103af565b92915050565b5f5ffd5b5f6103e582610344565b9050919050565b6103f5816103db565b81146103ff575f5ffd5b50565b5f81359050610410816103ec565b92915050565b5f6020828403121561042b5761042a6103d7565b5b5f61043884828501610402565b91505092915050565b5f819050919050565b61045381610441565b82525050565b5f60208201905061046c5f83018461044a565b92915050565b61047b81610441565b8114610485575f5ffd5b50565b5f8135905061049681610472565b92915050565b5f5f604083850312156104b2576104b16103d7565b5b5f6104bf85828601610402565b92505060206104d085828601610488565b9150509250929050565b6104e3816103db565b82525050565b5f6020820190506104fc5f8301846104da565b92915050565b5f8151905061051081610472565b92915050565b5f6020828403121561052b5761052a6103d7565b5b5f61053884828501610502565b91505092915050565b5f6040820190506105545f8301856104da565b610561602083018461044a565b9392505050565b5f8115159050919050565b61057c81610568565b8114610586575f5ffd5b50565b5f8151905061059781610573565b92915050565b5f602082840312156105b2576105b16103d7565b5b5f6105bf84828501610589565b91505092915050565b5f815190506105d6816103ec565b92915050565b5f602082840312156105f1576105f06103d7565b5b5f6105fe848285016105c8565b9150509291505056fea26469706673582212205eb2784c6cc241d23ff8c42f5c2ae0e7a6a13eec3ae25d6ba922f65cd5ac676b64736f6c634300081c0033

Deployed Bytecode Sourcemap

352:585:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;383:88;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;814:120;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;593:105;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;710:92;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;484:97;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;383:88;428:42;383:88;:::o;814:120::-;876:7;428:42;903:14;;;918:7;903:23;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;896:30;;814:120;;;:::o;593:105::-;428:42;665:13;;;679:2;683:6;665:25;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;593:105;;:::o;710:92::-;755:7;428:42;782:10;;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;775:19;;710:92;:::o;484:97::-;428:42;552:9;;;562:2;566:6;552:21;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;484:97;;:::o;7:126:1:-;44:7;84:42;77:5;73:54;62:65;;7:126;;;:::o;139:60::-;167:3;188:5;181:12;;139:60;;;:::o;205:142::-;255:9;288:53;306:34;315:24;333:5;315:24;:::i;:::-;306:34;:::i;:::-;288:53;:::i;:::-;275:66;;205:142;;;:::o;353:126::-;403:9;436:37;467:5;436:37;:::i;:::-;423:50;;353:126;;;:::o;485:143::-;552:9;585:37;616:5;585:37;:::i;:::-;572:50;;485:143;;;:::o;634:165::-;738:54;786:5;738:54;:::i;:::-;733:3;726:67;634:165;;:::o;805:256::-;915:4;953:2;942:9;938:18;930:26;;966:88;1051:1;1040:9;1036:17;1027:6;966:88;:::i;:::-;805:256;;;;:::o;1148:117::-;1257:1;1254;1247:12;1394:96;1431:7;1460:24;1478:5;1460:24;:::i;:::-;1449:35;;1394:96;;;:::o;1496:122::-;1569:24;1587:5;1569:24;:::i;:::-;1562:5;1559:35;1549:63;;1608:1;1605;1598:12;1549:63;1496:122;:::o;1624:139::-;1670:5;1708:6;1695:20;1686:29;;1724:33;1751:5;1724:33;:::i;:::-;1624:139;;;;:::o;1769:329::-;1828:6;1877:2;1865:9;1856:7;1852:23;1848:32;1845:119;;;1883:79;;:::i;:::-;1845:119;2003:1;2028:53;2073:7;2064:6;2053:9;2049:22;2028:53;:::i;:::-;2018:63;;1974:117;1769:329;;;;:::o;2104:77::-;2141:7;2170:5;2159:16;;2104:77;;;:::o;2187:118::-;2274:24;2292:5;2274:24;:::i;:::-;2269:3;2262:37;2187:118;;:::o;2311:222::-;2404:4;2442:2;2431:9;2427:18;2419:26;;2455:71;2523:1;2512:9;2508:17;2499:6;2455:71;:::i;:::-;2311:222;;;;:::o;2539:122::-;2612:24;2630:5;2612:24;:::i;:::-;2605:5;2602:35;2592:63;;2651:1;2648;2641:12;2592:63;2539:122;:::o;2667:139::-;2713:5;2751:6;2738:20;2729:29;;2767:33;2794:5;2767:33;:::i;:::-;2667:139;;;;:::o;2812:474::-;2880:6;2888;2937:2;2925:9;2916:7;2912:23;2908:32;2905:119;;;2943:79;;:::i;:::-;2905:119;3063:1;3088:53;3133:7;3124:6;3113:9;3109:22;3088:53;:::i;:::-;3078:63;;3034:117;3190:2;3216:53;3261:7;3252:6;3241:9;3237:22;3216:53;:::i;:::-;3206:63;;3161:118;2812:474;;;;;:::o;3292:118::-;3379:24;3397:5;3379:24;:::i;:::-;3374:3;3367:37;3292:118;;:::o;3416:222::-;3509:4;3547:2;3536:9;3532:18;3524:26;;3560:71;3628:1;3617:9;3613:17;3604:6;3560:71;:::i;:::-;3416:222;;;;:::o;3644:143::-;3701:5;3732:6;3726:13;3717:22;;3748:33;3775:5;3748:33;:::i;:::-;3644:143;;;;:::o;3793:351::-;3863:6;3912:2;3900:9;3891:7;3887:23;3883:32;3880:119;;;3918:79;;:::i;:::-;3880:119;4038:1;4063:64;4119:7;4110:6;4099:9;4095:22;4063:64;:::i;:::-;4053:74;;4009:128;3793:351;;;;:::o;4150:332::-;4271:4;4309:2;4298:9;4294:18;4286:26;;4322:71;4390:1;4379:9;4375:17;4366:6;4322:71;:::i;:::-;4403:72;4471:2;4460:9;4456:18;4447:6;4403:72;:::i;:::-;4150:332;;;;;:::o;4488:90::-;4522:7;4565:5;4558:13;4551:21;4540:32;;4488:90;;;:::o;4584:116::-;4654:21;4669:5;4654:21;:::i;:::-;4647:5;4644:32;4634:60;;4690:1;4687;4680:12;4634:60;4584:116;:::o;4706:137::-;4760:5;4791:6;4785:13;4776:22;;4807:30;4831:5;4807:30;:::i;:::-;4706:137;;;;:::o;4849:345::-;4916:6;4965:2;4953:9;4944:7;4940:23;4936:32;4933:119;;;4971:79;;:::i;:::-;4933:119;5091:1;5116:61;5169:7;5160:6;5149:9;5145:22;5116:61;:::i;:::-;5106:71;;5062:125;4849:345;;;;:::o;5200:143::-;5257:5;5288:6;5282:13;5273:22;;5304:33;5331:5;5304:33;:::i;:::-;5200:143;;;;:::o;5349:351::-;5419:6;5468:2;5456:9;5447:7;5443:23;5439:32;5436:119;;;5474:79;;:::i;:::-;5436:119;5594:1;5619:64;5675:7;5666:6;5655:9;5651:22;5619:64;:::i;:::-;5609:74;;5565:128;5349:351;;;;:::o

Swarm Source

ipfs://5eb2784c6cc241d23ff8c42f5c2ae0e7a6a13eec3ae25d6ba922f65cd5ac676b

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.