ETH Price: $3,678.65 (+2.16%)

Token

ERC-20: Optimus AI Mysterybox (optimus.gift)
 

Overview

Max Total Supply

3,450 optimus.gift

Holders

2,513

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x0ed5aab60df4883d7e5766204a03d7b51e1024af
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:
OptimusMysterybox

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

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

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

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

608060405234801561000f575f80fd5b506040516107f43803806107f48339818101604052810190610031919061038b565b5f86868585888660405160240161004d969594939291906104d8565b6040516020818303038152906040527f1927193a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090505f80735a954283c8600a96274bb5a1e3cfde2e0dc32ea073ffffffffffffffffffffffffffffffffffffffff16836040516101079190610590565b5f60405180830381855af49150503d805f811461013f576040519150601f19603f3d011682016040523d82523d5f602084013e610144565b606091505b509150915081610189576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610180906105f0565b60405180910390fd5b50505050505050505061060e565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6101f6826101b0565b810181811067ffffffffffffffff82111715610215576102146101c0565b5b80604052505050565b5f610227610197565b905061023382826101ed565b919050565b5f67ffffffffffffffff821115610252576102516101c0565b5b61025b826101b0565b9050602081019050919050565b5f5b8381101561028557808201518184015260208101905061026a565b5f8484015250505050565b5f6102a261029d84610238565b61021e565b9050828152602081018484840111156102be576102bd6101ac565b5b6102c9848285610268565b509392505050565b5f82601f8301126102e5576102e46101a8565b5b81516102f5848260208601610290565b91505092915050565b5f819050919050565b610310816102fe565b811461031a575f80fd5b50565b5f8151905061032b81610307565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61035a82610331565b9050919050565b61036a81610350565b8114610374575f80fd5b50565b5f8151905061038581610361565b92915050565b5f805f805f8060c087890312156103a5576103a46101a0565b5b5f87015167ffffffffffffffff8111156103c2576103c16101a4565b5b6103ce89828a016102d1565b965050602087015167ffffffffffffffff8111156103ef576103ee6101a4565b5b6103fb89828a016102d1565b955050604087015167ffffffffffffffff81111561041c5761041b6101a4565b5b61042889828a016102d1565b945050606061043989828a0161031d565b935050608061044a89828a01610377565b92505060a061045b89828a0161031d565b9150509295509295509295565b5f81519050919050565b5f82825260208201905092915050565b5f61048c82610468565b6104968185610472565b93506104a6818560208601610268565b6104af816101b0565b840191505092915050565b6104c3816102fe565b82525050565b6104d281610350565b82525050565b5f60c0820190508181035f8301526104f08189610482565b905081810360208301526105048188610482565b905061051360408301876104ba565b61052060608301866104c9565b81810360808301526105328185610482565b905061054160a08301846104ba565b979650505050505050565b5f81519050919050565b5f81905092915050565b5f61056a8261054c565b6105748185610556565b9350610584818560208601610268565b80840191505092915050565b5f61059b8284610560565b915081905092915050565b7f4661696c000000000000000000000000000000000000000000000000000000005f82015250565b5f6105da600483610472565b91506105e5826105a6565b602082019050919050565b5f6020820190508181035f830152610607816105ce565b9050919050565b6101d98061061b5f395ff3fe60806040525f3660605f80735a954283c8600a96274bb5a1e3cfde2e0dc32ea073ffffffffffffffffffffffffffffffffffffffff168585604051610045929190610113565b5f60405180830381855af49150503d805f811461007d576040519150601f19603f3d011682016040523d82523d5f602084013e610082565b606091505b5091509150816100c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100be90610185565b60405180910390fd5b8092505050915050805190602001f35b5f81905092915050565b828183375f83830152505050565b5f6100fa83856100d7565b93506101078385846100e1565b82840190509392505050565b5f61011f8284866100ef565b91508190509392505050565b5f82825260208201905092915050565b7f4661696c000000000000000000000000000000000000000000000000000000005f82015250565b5f61016f60048361012b565b915061017a8261013b565b602082019050919050565b5f6020820190508181035f83015261019c81610163565b905091905056fea26469706673582212205ea99928b8630699b288a4e3a577e0bf5464405ce818f7439470fb59beb8574264736f6c6343000814003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000d7a0000000000000000000000008fdc8d35c32a0b122dd5d22feb3167c833b99d2f000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000154f7074696d7573204149204d797374657279626f780000000000000000000000000000000000000000000000000000000000000000000000000000000000000c6f7074696d75732e6769667400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d50666979413662614e34726f3170356f5a6b625a51505642426f516835526752757245736a595a67776b76780000000000000000000000

Deployed Bytecode

0x60806040525f3660605f80735a954283c8600a96274bb5a1e3cfde2e0dc32ea073ffffffffffffffffffffffffffffffffffffffff168585604051610045929190610113565b5f60405180830381855af49150503d805f811461007d576040519150601f19603f3d011682016040523d82523d5f602084013e610082565b606091505b5091509150816100c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100be90610185565b60405180910390fd5b8092505050915050805190602001f35b5f81905092915050565b828183375f83830152505050565b5f6100fa83856100d7565b93506101078385846100e1565b82840190509392505050565b5f61011f8284866100ef565b91508190509392505050565b5f82825260208201905092915050565b7f4661696c000000000000000000000000000000000000000000000000000000005f82015250565b5f61016f60048361012b565b915061017a8261013b565b602082019050919050565b5f6020820190508181035f83015261019c81610163565b905091905056fea26469706673582212205ea99928b8630699b288a4e3a577e0bf5464405ce818f7439470fb59beb8574264736f6c63430008140033

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

00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000d7a0000000000000000000000008fdc8d35c32a0b122dd5d22feb3167c833b99d2f000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000154f7074696d7573204149204d797374657279626f780000000000000000000000000000000000000000000000000000000000000000000000000000000000000c6f7074696d75732e6769667400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d50666979413662614e34726f3170356f5a6b625a51505642426f516835526752757245736a595a67776b76780000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Optimus AI Mysterybox
Arg [1] : symbol (string): optimus.gift
Arg [2] : metadataUri (string): ipfs://QmPfiyA6baN4ro1p5oZkbZQPVBBoQh5RgRurEsjYZgwkvx
Arg [3] : supply (uint256): 3450
Arg [4] : addressFrom (address): 0x8Fdc8d35c32a0B122Dd5D22feB3167C833b99D2f
Arg [5] : balanceOfUsers (uint256): 1

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000d7a
Arg [4] : 0000000000000000000000008fdc8d35c32a0b122dd5d22feb3167c833b99d2f
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [7] : 4f7074696d7573204149204d797374657279626f780000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [9] : 6f7074696d75732e676966740000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [11] : 697066733a2f2f516d50666979413662614e34726f3170356f5a6b625a515056
Arg [12] : 42426f516835526752757245736a595a67776b76780000000000000000000000


Deployed Bytecode Sourcemap

61:984:0:-:0;;;;;151:12;177;191:19;229:42;214:81;;296:4;;214:87;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;176:125;;;;320:7;312:24;;;;;;;;;;;;:::i;:::-;;;;;;;;;354:6;347:13;;;;95:273;;;61:984;;;;;;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://5ea99928b8630699b288a4e3a577e0bf5464405ce818f7439470fb59beb85742
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.