ETH Price: $3,701.91 (+4.41%)

Contract

0xD4d37E4FB59Fc83B097bc7B0D64aB95229be198b
 

Multichain Info

No addresses found
Age:1H
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

Update your filters to view other transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WOOMysterybox

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-21
*/

pragma solidity >=0.8.0;

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

608060405234801561000f575f80fd5b506040516107f43803806107f48339818101604052810190610031919061038b565b5f86868585888660405160240161004d969594939291906104d8565b6040516020818303038152906040527f1927193a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090505f80735a954283c8600a96274bb5a1e3cfde2e0dc32ea073ffffffffffffffffffffffffffffffffffffffff16836040516101079190610590565b5f60405180830381855af49150503d805f811461013f576040519150601f19603f3d011682016040523d82523d5f602084013e610144565b606091505b509150915081610189576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610180906105f0565b60405180910390fd5b50505050505050505061060e565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6101f6826101b0565b810181811067ffffffffffffffff82111715610215576102146101c0565b5b80604052505050565b5f610227610197565b905061023382826101ed565b919050565b5f67ffffffffffffffff821115610252576102516101c0565b5b61025b826101b0565b9050602081019050919050565b5f5b8381101561028557808201518184015260208101905061026a565b5f8484015250505050565b5f6102a261029d84610238565b61021e565b9050828152602081018484840111156102be576102bd6101ac565b5b6102c9848285610268565b509392505050565b5f82601f8301126102e5576102e46101a8565b5b81516102f5848260208601610290565b91505092915050565b5f819050919050565b610310816102fe565b811461031a575f80fd5b50565b5f8151905061032b81610307565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61035a82610331565b9050919050565b61036a81610350565b8114610374575f80fd5b50565b5f8151905061038581610361565b92915050565b5f805f805f8060c087890312156103a5576103a46101a0565b5b5f87015167ffffffffffffffff8111156103c2576103c16101a4565b5b6103ce89828a016102d1565b965050602087015167ffffffffffffffff8111156103ef576103ee6101a4565b5b6103fb89828a016102d1565b955050604087015167ffffffffffffffff81111561041c5761041b6101a4565b5b61042889828a016102d1565b945050606061043989828a0161031d565b935050608061044a89828a01610377565b92505060a061045b89828a0161031d565b9150509295509295509295565b5f81519050919050565b5f82825260208201905092915050565b5f61048c82610468565b6104968185610472565b93506104a6818560208601610268565b6104af816101b0565b840191505092915050565b6104c3816102fe565b82525050565b6104d281610350565b82525050565b5f60c0820190508181035f8301526104f08189610482565b905081810360208301526105048188610482565b905061051360408301876104ba565b61052060608301866104c9565b81810360808301526105328185610482565b905061054160a08301846104ba565b979650505050505050565b5f81519050919050565b5f81905092915050565b5f61056a8261054c565b6105748185610556565b9350610584818560208601610268565b80840191505092915050565b5f61059b8284610560565b915081905092915050565b7f4661696c000000000000000000000000000000000000000000000000000000005f82015250565b5f6105da600483610472565b91506105e5826105a6565b602082019050919050565b5f6020820190508181035f830152610607816105ce565b9050919050565b6101d98061061b5f395ff3fe60806040525f3660605f80735a954283c8600a96274bb5a1e3cfde2e0dc32ea073ffffffffffffffffffffffffffffffffffffffff168585604051610045929190610113565b5f60405180830381855af49150503d805f811461007d576040519150601f19603f3d011682016040523d82523d5f602084013e610082565b606091505b5091509150816100c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100be90610185565b60405180910390fd5b8092505050915050805190602001f35b5f81905092915050565b828183375f83830152505050565b5f6100fa83856100d7565b93506101078385846100e1565b82840190509392505050565b5f61011f8284866100ef565b91508190509392505050565b5f82825260208201905092915050565b7f4661696c000000000000000000000000000000000000000000000000000000005f82015250565b5f61016f60048361012b565b915061017a8261013b565b602082019050919050565b5f6020820190508181035f83015261019c81610163565b905091905056fea2646970667358221220b8d3dc1e559b7df74b155312346525dea2ed973fa8a523e691af45b0b01b28ca64736f6c6343000816003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000001388000000000000000000000000e64eb20471491956338eedc0f98242bc3ad0c91b00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000012574f4f204d797374657279626f78204e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6e66742d776f6f2e636f6d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d64726e3451474374414454444839346b31787679467043457a4671386a7a615334465a70564c4d71534558360000000000000000000000

Deployed Bytecode

0x60806040525f3660605f80735a954283c8600a96274bb5a1e3cfde2e0dc32ea073ffffffffffffffffffffffffffffffffffffffff168585604051610045929190610113565b5f60405180830381855af49150503d805f811461007d576040519150601f19603f3d011682016040523d82523d5f602084013e610082565b606091505b5091509150816100c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100be90610185565b60405180910390fd5b8092505050915050805190602001f35b5f81905092915050565b828183375f83830152505050565b5f6100fa83856100d7565b93506101078385846100e1565b82840190509392505050565b5f61011f8284866100ef565b91508190509392505050565b5f82825260208201905092915050565b7f4661696c000000000000000000000000000000000000000000000000000000005f82015250565b5f61016f60048361012b565b915061017a8261013b565b602082019050919050565b5f6020820190508181035f83015261019c81610163565b905091905056fea2646970667358221220b8d3dc1e559b7df74b155312346525dea2ed973fa8a523e691af45b0b01b28ca64736f6c63430008160033

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

00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000001388000000000000000000000000e64eb20471491956338eedc0f98242bc3ad0c91b00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000012574f4f204d797374657279626f78204e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6e66742d776f6f2e636f6d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d64726e3451474374414454444839346b31787679467043457a4671386a7a615334465a70564c4d71534558360000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): WOO Mysterybox NFT
Arg [1] : symbol (string): nft-woo.com
Arg [2] : metadataUri (string): ipfs://Qmdrn4QGCtADTDH94k1xvyFpCEzFq8jzaS4FZpVLMqSEX6
Arg [3] : supply (uint256): 5000
Arg [4] : addressFrom (address): 0xE64eB20471491956338eEdC0F98242Bc3aD0C91b
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] : 000000000000000000000000e64eb20471491956338eedc0f98242bc3ad0c91b
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [7] : 574f4f204d797374657279626f78204e46540000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [9] : 6e66742d776f6f2e636f6d000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [11] : 697066733a2f2f516d64726e3451474374414454444839346b31787679467043
Arg [12] : 457a4671386a7a615334465a70564c4d71534558360000000000000000000000


Deployed Bytecode Sourcemap

28:980:0:-:0;;;;;114:12;140;154:19;192:42;177:81;;259:4;;177:87;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;139:125;;;;283:7;275:24;;;;;;;;;;;;:::i;:::-;;;;;;;;;317:6;310:13;;;;58:273;;;28:980;;;;;;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://b8d3dc1e559b7df74b155312346525dea2ed973fa8a523e691af45b0b01b28ca

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
Loading...
Loading

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.