ETH Price: $3,064.25 (-1.83%)

Token

CatnipV2 (NIP-2)
 

Overview

Max Total Supply

743,893.726285103187879609 NIP-2

Holders

176

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
23.328 NIP-2

Value
$0.00
0x819cad6e93118fd4c45689161755a5914793cf76
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xD401dc03...e364D041e
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
CatnipV2Proxy

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-10-24
*/

pragma solidity ^0.6.6;

contract CatnipV2Proxy {
    event myEvent(bytes);
    
    // Code position in storage is keccak256("PROXIABLE") = "0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7"
    constructor(bytes memory constructData, address contractLogic) public {
        // save the code address
        assembly { // solium-disable-line
            sstore(0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7, contractLogic)
        }
        (bool success, bytes memory _ ) = contractLogic.delegatecall(constructData); // solium-disable-line
        emit myEvent(_);
        require(success, "Construction failed");
    }

    fallback() external payable {
        assembly { // solium-disable-line
            let contractLogic := sload(0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7)
            calldatacopy(0x0, 0x0, calldatasize())
            let success := delegatecall(gas(), contractLogic, 0x0, calldatasize(), 0, 0)
            
            returndatacopy(0, 0, returndatasize())
            switch success
            case 0 {
                revert(0, returndatasize())
            }
            default {
                return(0, returndatasize())
            }
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes","name":"constructData","type":"bytes"},{"internalType":"address","name":"contractLogic","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes","name":"","type":"bytes"}],"name":"myEvent","type":"event"},{"stateMutability":"payable","type":"fallback"}]

608060405234801561001057600080fd5b506040516103333803806103338339818101604052604081101561003357600080fd5b810190808051604051939291908464010000000082111561005357600080fd5b90830190602082018581111561006857600080fd5b825164010000000081118282018810171561008257600080fd5b82525081516020918201929091019080838360005b838110156100af578181015183820152602001610097565b50505050905090810190601f1680156100dc5780820380516001836020036101000a031916815260200191505b5060405260200180519060200190929190505050807fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75560006060826001600160a01b0316846040518082805190602001908083835b602083106101515780518252601f199092019160209182019101610132565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101b1576040519150601f19603f3d011682016040523d82523d6000602084013e6101b6565b606091505b50915091507fff74bf4c47d4a45a317bb18279180e81da1db9eb68ff10086facb43d865dc9fe816040518080602001828103825283818151815260200191508051906020019080838360005b8381101561021a578181015183820152602001610202565b50505050905090810190601f1680156102475780820380516001836020036101000a031916815260200191505b509250505060405180910390a1816102a6576040805162461bcd60e51b815260206004820152601360248201527f436f6e737472756374696f6e206661696c656400000000000000000000000000604482015290519081900360640190fd5b50505050607b806102b86000396000f3fe60806040527fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75460003681823780813683855af43d82833e8080156041573d83f35b3d83fdfea2646970667358221220cd7f77305ebd961548ba26934b4ebd6b3fd4cbd250bdb6965079f1bde17b8e0964736f6c6343000606003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000004470221da8a9d4cad8808a9a69a25a1b96835ed90000000000000000000000000000000000000000000000000000000000000014bf4a9a37ecfc21825011285222c36ab35de51f14000000000000000000000000

Deployed Bytecode

0x60806040527fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75460003681823780813683855af43d82833e8080156041573d83f35b3d83fdfea2646970667358221220cd7f77305ebd961548ba26934b4ebd6b3fd4cbd250bdb6965079f1bde17b8e0964736f6c63430006060033

Deployed Bytecode Sourcemap

27:1257:0:-:0;;;795:66;789:73;894:3;899:14;894:3;;876:38;894:3;;899:14;894:3;963:13;956:5;943:61;1053:16;894:3;;1032:38;1091:7;1112:68;;;;1231:16;894:3;1221:27;1112:68;1148:16;894:3;1138:27

Swarm Source

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