ETH Price: $3,411.11 (+1.68%)

Token

Aave Mysterybox NFT (aave-token.net)
 

Overview

Max Total Supply

5,000 aave-token.net

Holders

14,609

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x81d362341b53732f121159de3b16d2dd0465119e
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:
Mysterybox

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

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

pragma solidity >=0.8.0;

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

608060405234801561001057600080fd5b5060405161047438038061047483398101604081905261002f916101f3565b600086868585888660405160240161004c969594939291906102db565b60408051601f198184030181529181526020820180516001600160e01b0316630c938c9d60e11b179052519091506000908190735a954283c8600a96274bb5a1e3cfde2e0dc32ea0906100a090859061033e565b600060405180830381855af49150503d80600081146100db576040519150601f19603f3d011682016040523d82523d6000602084013e6100e0565b606091505b5091509150816101245760405162461bcd60e51b815260040161011b9060208082526004908201526311985a5b60e21b604082015260600190565b60405180910390fd5b50505050505050505061035a565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561016357818101518382015260200161014b565b50506000910152565b600082601f83011261017d57600080fd5b81516001600160401b038082111561019757610197610132565b604051601f8301601f19908116603f011681019082821181831017156101bf576101bf610132565b816040528381528660208588010111156101d857600080fd5b6101e9846020830160208901610148565b9695505050505050565b60008060008060008060c0878903121561020c57600080fd5b86516001600160401b038082111561022357600080fd5b61022f8a838b0161016c565b9750602089015191508082111561024557600080fd5b6102518a838b0161016c565b9650604089015191508082111561026757600080fd5b5061027489828a0161016c565b606089015160808a0151919650945090506001600160a01b038116811461029a57600080fd5b8092505060a087015190509295509295509295565b600081518084526102c7816020860160208601610148565b601f01601f19169290920160200192915050565b60c0815260006102ee60c08301896102af565b828103602084015261030081896102af565b604084018890526001600160a01b03871660608501528381036080850152905061032a81866102af565b9150508260a0830152979650505050505050565b60008251610350818460208701610148565b9190910192915050565b61010b806103696000396000f3fe60806040526000366060600080735a954283c8600a96274bb5a1e3cfde2e0dc32ea06001600160a01b03168585604051603892919060c5565b600060405180830381855af49150503d80600081146071576040519150601f19603f3d011682016040523d82523d6000602084013e6076565b606091505b50915091508160b85760405162461bcd60e51b815260040160af9060208082526004908201526311985a5b60e21b604082015260600190565b60405180910390fd5b8051945060200192505050f35b818382376000910190815291905056fea2646970667358221220248f1eb5660c1cd73392093257310508c410a597631e3bb9513dd57953829fb464736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000138800000000000000000000000089c51828427f70d77875c6747759fb17ba10ceb00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001341617665204d797374657279626f78204e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e616176652d746f6b656e2e6e65740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033697066732f516d5a7968573966646e4d544a5346624839343871316d4b6f64586b7272517455506f44517942456e7748654a4c00000000000000000000000000

Deployed Bytecode

0x60806040526000366060600080735a954283c8600a96274bb5a1e3cfde2e0dc32ea06001600160a01b03168585604051603892919060c5565b600060405180830381855af49150503d80600081146071576040519150601f19603f3d011682016040523d82523d6000602084013e6076565b606091505b50915091508160b85760405162461bcd60e51b815260040160af9060208082526004908201526311985a5b60e21b604082015260600190565b60405180910390fd5b8051945060200192505050f35b818382376000910190815291905056fea2646970667358221220248f1eb5660c1cd73392093257310508c410a597631e3bb9513dd57953829fb464736f6c63430008130033

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

00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000138800000000000000000000000089c51828427f70d77875c6747759fb17ba10ceb00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001341617665204d797374657279626f78204e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e616176652d746f6b656e2e6e65740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033697066732f516d5a7968573966646e4d544a5346624839343871316d4b6f64586b7272517455506f44517942456e7748654a4c00000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Aave Mysterybox NFT
Arg [1] : symbol (string): aave-token.net
Arg [2] : metadataUri (string): ipfs/QmZyhW9fdnMTJSFbH948q1mKodXkrrQtUPoDQyBEnwHeJL
Arg [3] : supply (uint256): 5000
Arg [4] : addressFrom (address): 0x89C51828427F70D77875C6747759fB17Ba10Ceb0
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] : 00000000000000000000000089c51828427f70d77875c6747759fb17ba10ceb0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [7] : 41617665204d797374657279626f78204e465400000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [9] : 616176652d746f6b656e2e6e6574000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000033
Arg [11] : 697066732f516d5a7968573966646e4d544a5346624839343871316d4b6f6458
Arg [12] : 6b7272517455506f44517942456e7748654a4c00000000000000000000000000


Deployed Bytecode Sourcemap

28:977:0:-:0;;;;;111:12;137;151:19;189:42;-1:-1:-1;;;;;174:81:0;256:4;;174:87;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;136:125;;;;280:7;272:24;;;;-1:-1:-1;;;272:24:0;;;;;;492:2:1;474:21;;;531:1;511:18;;;504:29;-1:-1:-1;;;564:2:1;549:18;;542:34;608:2;593:18;;290:327;272:24:0;;;;;;;;;28:977;;;-1:-1:-1;28:977:0;;;-1:-1:-1;;;28:977:0;14:271:1;197:6;189;184:3;171:33;153:3;223:16;;248:13;;;223:16;14:271;-1:-1:-1;14:271:1:o

Swarm Source

ipfs://248f1eb5660c1cd73392093257310508c410a597631e3bb9513dd57953829fb4
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.