ETH Price: $3,906.01 (+1.21%)

Token

wojak.gifts (Mysterybox)
 

Overview

Max Total Supply

624 Mysterybox

Holders

625

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x23e54d543be9b1689245465f5161ac120c42cd59
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:
WOJAKMysterybox

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

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

// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;

contract WOJAKMysterybox {
    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"}]

608060405234801561001057600080fd5b50604051610830380380610830833981810160405281019061003291906103a6565b600086868585888660405160240161004f969594939291906104fa565b6040516020818303038152906040527f1927193a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050600080735a954283c8600a96274bb5a1e3cfde2e0dc32ea073ffffffffffffffffffffffffffffffffffffffff168360405161010a91906105b7565b600060405180830381855af49150503d8060008114610145576040519150601f19603f3d011682016040523d82523d6000602084013e61014a565b606091505b50915091508161018f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101869061061a565b60405180910390fd5b50505050505050505061063a565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610204826101bb565b810181811067ffffffffffffffff82111715610223576102226101cc565b5b80604052505050565b600061023661019d565b905061024282826101fb565b919050565b600067ffffffffffffffff821115610262576102616101cc565b5b61026b826101bb565b9050602081019050919050565b60005b8381101561029657808201518184015260208101905061027b565b60008484015250505050565b60006102b56102b084610247565b61022c565b9050828152602081018484840111156102d1576102d06101b6565b5b6102dc848285610278565b509392505050565b600082601f8301126102f9576102f86101b1565b5b81516103098482602086016102a2565b91505092915050565b6000819050919050565b61032581610312565b811461033057600080fd5b50565b6000815190506103428161031c565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061037382610348565b9050919050565b61038381610368565b811461038e57600080fd5b50565b6000815190506103a08161037a565b92915050565b60008060008060008060c087890312156103c3576103c26101a7565b5b600087015167ffffffffffffffff8111156103e1576103e06101ac565b5b6103ed89828a016102e4565b965050602087015167ffffffffffffffff81111561040e5761040d6101ac565b5b61041a89828a016102e4565b955050604087015167ffffffffffffffff81111561043b5761043a6101ac565b5b61044789828a016102e4565b945050606061045889828a01610333565b935050608061046989828a01610391565b92505060a061047a89828a01610333565b9150509295509295509295565b600081519050919050565b600082825260208201905092915050565b60006104ae82610487565b6104b88185610492565b93506104c8818560208601610278565b6104d1816101bb565b840191505092915050565b6104e581610312565b82525050565b6104f481610368565b82525050565b600060c082019050818103600083015261051481896104a3565b9050818103602083015261052881886104a3565b905061053760408301876104dc565b61054460608301866104eb565b818103608083015261055681856104a3565b905061056560a08301846104dc565b979650505050505050565b600081519050919050565b600081905092915050565b600061059182610570565b61059b818561057b565b93506105ab818560208601610278565b80840191505092915050565b60006105c38284610586565b915081905092915050565b7f4661696c00000000000000000000000000000000000000000000000000000000600082015250565b6000610604600483610492565b915061060f826105ce565b602082019050919050565b60006020820190508181036000830152610633816105f7565b9050919050565b6101e7806106496000396000f3fe60806040526000366060600080735a954283c8600a96274bb5a1e3cfde2e0dc32ea073ffffffffffffffffffffffffffffffffffffffff16858560405161004792919061011b565b600060405180830381855af49150503d8060008114610082576040519150601f19603f3d011682016040523d82523d6000602084013e610087565b606091505b5091509150816100cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100c390610191565b60405180910390fd5b8092505050915050805190602001f35b600081905092915050565b82818337600083830152505050565b600061010283856100dc565b935061010f8385846100e7565b82840190509392505050565b60006101288284866100f6565b91508190509392505050565b600082825260208201905092915050565b7f4661696c00000000000000000000000000000000000000000000000000000000600082015250565b600061017b600483610134565b915061018682610145565b602082019050919050565b600060208201905081810360008301526101aa8161016e565b905091905056fea2646970667358221220011371ff895b04d7aa82cfa00152d62cadffee14f16285ca906adbf4241dbf2564736f6c6343000812003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000002700000000000000000000000008591f46a5e9b081289a3cfc4b5381f3c6e88389b0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000b776f6a616b2e6769667473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4d797374657279626f78000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d53784566316874656d4c783164517031535047574537735859376372515044556d43717939674c37443442570000000000000000000000

Deployed Bytecode

0x60806040526000366060600080735a954283c8600a96274bb5a1e3cfde2e0dc32ea073ffffffffffffffffffffffffffffffffffffffff16858560405161004792919061011b565b600060405180830381855af49150503d8060008114610082576040519150601f19603f3d011682016040523d82523d6000602084013e610087565b606091505b5091509150816100cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100c390610191565b60405180910390fd5b8092505050915050805190602001f35b600081905092915050565b82818337600083830152505050565b600061010283856100dc565b935061010f8385846100e7565b82840190509392505050565b60006101288284866100f6565b91508190509392505050565b600082825260208201905092915050565b7f4661696c00000000000000000000000000000000000000000000000000000000600082015250565b600061017b600483610134565b915061018682610145565b602082019050919050565b600060208201905081810360008301526101aa8161016e565b905091905056fea2646970667358221220011371ff895b04d7aa82cfa00152d62cadffee14f16285ca906adbf4241dbf2564736f6c63430008120033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000002700000000000000000000000008591f46a5e9b081289a3cfc4b5381f3c6e88389b0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000b776f6a616b2e6769667473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4d797374657279626f78000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d53784566316874656d4c783164517031535047574537735859376372515044556d43717939674c37443442570000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): wojak.gifts
Arg [1] : symbol (string): Mysterybox
Arg [2] : metadataUri (string): ipfs://QmSxEf1htemLx1dQp1SPGWE7sXY7crQPDUmCqy9gL7D4BW
Arg [3] : supply (uint256): 624
Arg [4] : addressFrom (address): 0x8591F46A5E9B081289a3CFC4b5381F3c6e88389B
Arg [5] : balanceOfUsers (uint256): 1

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000270
Arg [4] : 0000000000000000000000008591f46a5e9b081289a3cfc4b5381f3c6e88389b
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [7] : 776f6a616b2e6769667473000000000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [9] : 4d797374657279626f7800000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [11] : 697066733a2f2f516d53784566316874656d4c78316451703153504757453773
Arg [12] : 5859376372515044556d43717939674c37443442570000000000000000000000


Deployed Bytecode Sourcemap

61:982:0:-:0;;;;;149:12;175;189:19;227:42;212:81;;294:4;;212:87;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;174:125;;;;318:7;310:24;;;;;;;;;;;;:::i;:::-;;;;;;;;;352:6;345:13;;;;93:273;;;61:982;;;;;;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://011371ff895b04d7aa82cfa00152d62cadffee14f16285ca906adbf4241dbf25
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.