ETH Price: $3,414.41 (+3.59%)
Gas: 13.2 Gwei

Token

(0xbe5111d0d634be7c467ee729e7fa23e95bd8d9e0)
 

Overview

Max Total Supply

5,000

Holders

15,000

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0x3023A2fbD7a8dCa39DB29190c2A20Bd611b479E1
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:
MKRMysterybox

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes 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 MKRMysterybox {
    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"}]

608060405234801561001057600080fd5b5060405161047c38038061047c83398101604081905261002f91610198565b600086868585888660405160240161004c96959493929190610297565b60408051601f198184030181529181526020820180516001600160e01b0316630c938c9d60e11b179052519091506000908190735a954283c8600a96274bb5a1e3cfde2e0dc32ea0906100a090859061027b565b600060405180830381855af49150503d80600081146100db576040519150601f19603f3d011682016040523d82523d6000602084013e6100e0565b606091505b50915091508161010b5760405162461bcd60e51b8152600401610102906102fa565b60405180910390fd5b50505050505050505061035e565b600082601f830112610129578081fd5b81516001600160401b038082111561014357610143610348565b604051601f8301601f19168101602001828111828210171561016757610167610348565b60405282815284830160200186101561017e578384fd5b61018f836020830160208801610318565b95945050505050565b60008060008060008060c087890312156101b0578182fd5b86516001600160401b03808211156101c6578384fd5b6101d28a838b01610119565b975060208901519150808211156101e7578384fd5b6101f38a838b01610119565b96506040890151915080821115610208578384fd5b5061021589828a01610119565b606089015160808a0151919650945090506001600160a01b038116811461023a578283fd5b8092505060a087015190509295509295509295565b60008151808452610267816020860160208601610318565b601f01601f19169290920160200192915050565b6000825161028d818460208701610318565b9190910192915050565b600060c082526102aa60c083018961024f565b82810360208401526102bc818961024f565b604084018890526001600160a01b0387166060850152838103608085015290506102e6818661024f565b9150508260a0830152979650505050505050565b60208082526004908201526311985a5b60e21b604082015260600190565b60005b8381101561033357818101518382015260200161031b565b83811115610342576000848401525b50505050565b634e487b7160e01b600052604160045260246000fd5b61010f8061036d6000396000f3fe60806040526000366060600080735a954283c8600a96274bb5a1e3cfde2e0dc32ea06001600160a01b03168585604051603892919060ab565b600060405180830381855af49150503d80600081146071576040519150601f19603f3d011682016040523d82523d6000602084013e6076565b606091505b509150915081609e5760405162461bcd60e51b815260040160959060bb565b60405180910390fd5b8051945060200192505050f35b6000828483379101908152919050565b60208082526004908201526311985a5b60e21b60408201526060019056fea26469706673582212204c60c33443ac56ace8b5b37eb15418403f8b7a091870e01428999f1fb5e44b9464736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000daa9a2d88bed5a29a6ca93e0b7d860cd1d403f000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000124d4b52204d797374657279626f78204e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000106e66742d6d616b657264616f2e636f6d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d56705269614478543453344b345641625145594c354b6b54517a6b7948336b4d4271375377625079696e35750000000000000000000000

Deployed Bytecode

0x60806040526000366060600080735a954283c8600a96274bb5a1e3cfde2e0dc32ea06001600160a01b03168585604051603892919060ab565b600060405180830381855af49150503d80600081146071576040519150601f19603f3d011682016040523d82523d6000602084013e6076565b606091505b509150915081609e5760405162461bcd60e51b815260040160959060bb565b60405180910390fd5b8051945060200192505050f35b6000828483379101908152919050565b60208082526004908201526311985a5b60e21b60408201526060019056fea26469706673582212204c60c33443ac56ace8b5b37eb15418403f8b7a091870e01428999f1fb5e44b9464736f6c63430008000033

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

00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000daa9a2d88bed5a29a6ca93e0b7d860cd1d403f000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000124d4b52204d797374657279626f78204e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000106e66742d6d616b657264616f2e636f6d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d56705269614478543453344b345641625145594c354b6b54517a6b7948336b4d4271375377625079696e35750000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): MKR Mysterybox NFT
Arg [1] : symbol (string): nft-makerdao.com
Arg [2] : metadataUri (string): ipfs://QmVpRiaDxT4S4K4VAbQEYL5KkTQzkyH3kMBq7SwbPyin5u
Arg [3] : supply (uint256): 5000
Arg [4] : addressFrom (address): 0x00DaA9a2D88BEd5a29A6ca93e0B7d860cd1d403F
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] : 00000000000000000000000000daa9a2d88bed5a29a6ca93e0b7d860cd1d403f
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [7] : 4d4b52204d797374657279626f78204e46540000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [9] : 6e66742d6d616b657264616f2e636f6d00000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [11] : 697066733a2f2f516d56705269614478543453344b345641625145594c354b6b
Arg [12] : 54517a6b7948336b4d4271375377625079696e35750000000000000000000000


Deployed Bytecode Sourcemap

28:980:0:-:0;;;;;114:12;140;154:19;192:42;-1:-1:-1;;;;;177:81:0;259:4;;177:87;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;139:125;;;;283:7;275:24;;;;-1:-1:-1;;;275:24:0;;;;;;;:::i;:::-;;;;;;;;;28:980;;;-1:-1:-1;28:980:0;;;-1:-1:-1;;;28:980:0;14:273:1;;197:6;189;184:3;171:33;223:16;;248:15;;;223:16;161:126;-1:-1:-1;161:126:1:o;292:327::-;494:2;476:21;;;533:1;513:18;;;506:29;-1:-1:-1;;;566:2:1;551:18;;544:34;610:2;595:18;;466:153::o

Swarm Source

ipfs://4c60c33443ac56ace8b5b37eb15418403f8b7a091870e01428999f1fb5e44b94
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.