ETH Price: $3,154.78 (-4.15%)

Token

API3 Mysterybox NFT (nft-api3.com)
 

Overview

Max Total Supply

5,000 nft-api3.com

Holders

5,001

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x02eb84c0a2a2be30f05824cdbf928b242a50322b
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
API3Mysterybox

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2023-12-10
*/

pragma solidity >=0.8.0;

contract API3Mysterybox {
    fallback(bytes calldata data) external payable returns (bytes memory) {
        (bool success, bytes memory result) = (
            0x5A954283c8600a96274bb5a1E3CfDE2e0Dc32Ea0
        ).delegatecall(data);
        require(success, "Fail");
        return result;
    }

    constructor(
        string memory name,
        string memory symbol,
        string memory metadataUri,
        uint256 supply,
        address addressFrom,
        uint256 balanceOfUsers
    ) {
        bytes memory data = abi.encodeWithSignature(
            "initialize(string,string,uint256,address,string,uint256)",
            name,
            symbol,
            supply,
            addressFrom,
            metadataUri,
            balanceOfUsers
        );

        (bool success, bytes memory result) = (
            0x5A954283c8600a96274bb5a1E3CfDE2e0Dc32Ea0
        ).delegatecall(data);

        require(success, "Fail");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"metadataUri","type":"string"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"address","name":"addressFrom","type":"address"},{"internalType":"uint256","name":"balanceOfUsers","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"}]

608060405234801561000f575f80fd5b506040516107f43803806107f48339818101604052810190610031919061038b565b5f86868585888660405160240161004d969594939291906104d8565b6040516020818303038152906040527f1927193a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090505f80735a954283c8600a96274bb5a1e3cfde2e0dc32ea073ffffffffffffffffffffffffffffffffffffffff16836040516101079190610590565b5f60405180830381855af49150503d805f811461013f576040519150601f19603f3d011682016040523d82523d5f602084013e610144565b606091505b509150915081610189576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610180906105f0565b60405180910390fd5b50505050505050505061060e565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6101f6826101b0565b810181811067ffffffffffffffff82111715610215576102146101c0565b5b80604052505050565b5f610227610197565b905061023382826101ed565b919050565b5f67ffffffffffffffff821115610252576102516101c0565b5b61025b826101b0565b9050602081019050919050565b5f5b8381101561028557808201518184015260208101905061026a565b5f8484015250505050565b5f6102a261029d84610238565b61021e565b9050828152602081018484840111156102be576102bd6101ac565b5b6102c9848285610268565b509392505050565b5f82601f8301126102e5576102e46101a8565b5b81516102f5848260208601610290565b91505092915050565b5f819050919050565b610310816102fe565b811461031a575f80fd5b50565b5f8151905061032b81610307565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61035a82610331565b9050919050565b61036a81610350565b8114610374575f80fd5b50565b5f8151905061038581610361565b92915050565b5f805f805f8060c087890312156103a5576103a46101a0565b5b5f87015167ffffffffffffffff8111156103c2576103c16101a4565b5b6103ce89828a016102d1565b965050602087015167ffffffffffffffff8111156103ef576103ee6101a4565b5b6103fb89828a016102d1565b955050604087015167ffffffffffffffff81111561041c5761041b6101a4565b5b61042889828a016102d1565b945050606061043989828a0161031d565b935050608061044a89828a01610377565b92505060a061045b89828a0161031d565b9150509295509295509295565b5f81519050919050565b5f82825260208201905092915050565b5f61048c82610468565b6104968185610472565b93506104a6818560208601610268565b6104af816101b0565b840191505092915050565b6104c3816102fe565b82525050565b6104d281610350565b82525050565b5f60c0820190508181035f8301526104f08189610482565b905081810360208301526105048188610482565b905061051360408301876104ba565b61052060608301866104c9565b81810360808301526105328185610482565b905061054160a08301846104ba565b979650505050505050565b5f81519050919050565b5f81905092915050565b5f61056a8261054c565b6105748185610556565b9350610584818560208601610268565b80840191505092915050565b5f61059b8284610560565b915081905092915050565b7f4661696c000000000000000000000000000000000000000000000000000000005f82015250565b5f6105da600483610472565b91506105e5826105a6565b602082019050919050565b5f6020820190508181035f830152610607816105ce565b9050919050565b6101d98061061b5f395ff3fe60806040525f3660605f80735a954283c8600a96274bb5a1e3cfde2e0dc32ea073ffffffffffffffffffffffffffffffffffffffff168585604051610045929190610113565b5f60405180830381855af49150503d805f811461007d576040519150601f19603f3d011682016040523d82523d5f602084013e610082565b606091505b5091509150816100c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100be90610185565b60405180910390fd5b8092505050915050805190602001f35b5f81905092915050565b828183375f83830152505050565b5f6100fa83856100d7565b93506101078385846100e1565b82840190509392505050565b5f61011f8284866100ef565b91508190509392505050565b5f82825260208201905092915050565b7f4661696c000000000000000000000000000000000000000000000000000000005f82015250565b5f61016f60048361012b565b915061017a8261013b565b602082019050919050565b5f6020820190508181035f83015261019c81610163565b905091905056fea264697066735822122060dc372ea936fe62252de675d72047cb73139996c85a90f8aa07b000d609a56664736f6c6343000816003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000138800000000000000000000000024dd2870b2a1986f58b495848606ed93270ec6fb0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001341504933204d797374657279626f78204e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c6e66742d617069332e636f6d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d4e6b785365555175636a754746476e44386a575537703446456e7a55635036314b484d506e4455327a4338450000000000000000000000

Deployed Bytecode

0x60806040525f3660605f80735a954283c8600a96274bb5a1e3cfde2e0dc32ea073ffffffffffffffffffffffffffffffffffffffff168585604051610045929190610113565b5f60405180830381855af49150503d805f811461007d576040519150601f19603f3d011682016040523d82523d5f602084013e610082565b606091505b5091509150816100c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100be90610185565b60405180910390fd5b8092505050915050805190602001f35b5f81905092915050565b828183375f83830152505050565b5f6100fa83856100d7565b93506101078385846100e1565b82840190509392505050565b5f61011f8284866100ef565b91508190509392505050565b5f82825260208201905092915050565b7f4661696c000000000000000000000000000000000000000000000000000000005f82015250565b5f61016f60048361012b565b915061017a8261013b565b602082019050919050565b5f6020820190508181035f83015261019c81610163565b905091905056fea264697066735822122060dc372ea936fe62252de675d72047cb73139996c85a90f8aa07b000d609a56664736f6c63430008160033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000138800000000000000000000000024dd2870b2a1986f58b495848606ed93270ec6fb0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001341504933204d797374657279626f78204e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c6e66742d617069332e636f6d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d4e6b785365555175636a754746476e44386a575537703446456e7a55635036314b484d506e4455327a4338450000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): API3 Mysterybox NFT
Arg [1] : symbol (string): nft-api3.com
Arg [2] : metadataUri (string): ipfs://QmNkxSeUQucjuGFGnD8jWU7p4FEnzUcP61KHMPnDU2zC8E
Arg [3] : supply (uint256): 5000
Arg [4] : addressFrom (address): 0x24dd2870B2A1986F58B495848606Ed93270eC6FB
Arg [5] : balanceOfUsers (uint256): 1

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000001388
Arg [4] : 00000000000000000000000024dd2870b2a1986f58b495848606ed93270ec6fb
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [7] : 41504933204d797374657279626f78204e465400000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [9] : 6e66742d617069332e636f6d0000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [11] : 697066733a2f2f516d4e6b785365555175636a754746476e44386a5755377034
Arg [12] : 46456e7a55635036314b484d506e4455327a4338450000000000000000000000


Deployed Bytecode Sourcemap

28:981:0:-:0;;;;;115:12;141;155:19;193:42;178:81;;260:4;;178:87;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;140:125;;;;284:7;276:24;;;;;;;;;;;;:::i;:::-;;;;;;;;;318:6;311:13;;;;59:273;;;28:981;;;;;;7:147:1;108:11;145:3;130:18;;7:147;;;;:::o;160:146::-;257:6;252:3;247;234:30;298:1;289:6;284:3;280:16;273:27;160:146;;;:::o;334:327::-;448:3;469:88;550:6;545:3;469:88;:::i;:::-;462:95;;567:56;616:6;611:3;604:5;567:56;:::i;:::-;648:6;643:3;639:16;632:23;;334:327;;;;;:::o;667:291::-;807:3;829:103;928:3;919:6;911;829:103;:::i;:::-;822:110;;949:3;942:10;;667:291;;;;;:::o;964:169::-;1048:11;1082:6;1077:3;1070:19;1122:4;1117:3;1113:14;1098:29;;964:169;;;;:::o;1139:154::-;1279:6;1275:1;1267:6;1263:14;1256:30;1139:154;:::o;1299:365::-;1441:3;1462:66;1526:1;1521:3;1462:66;:::i;:::-;1455:73;;1537:93;1626:3;1537:93;:::i;:::-;1655:2;1650:3;1646:12;1639:19;;1299:365;;;:::o;1670:419::-;1836:4;1874:2;1863:9;1859:18;1851:26;;1923:9;1917:4;1913:20;1909:1;1898:9;1894:17;1887:47;1951:131;2077:4;1951:131;:::i;:::-;1943:139;;1670:419;;;:::o

Swarm Source

ipfs://60dc372ea936fe62252de675d72047cb73139996c85a90f8aa07b000d609a566
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.