ETH Price: $3,274.29 (+0.88%)
Gas: 1 Gwei

Token

Nyan V2 (NYAN-2)
 

Overview

Max Total Supply

29,279.016802874879317184 NYAN-2

Holders

346 (0.00%)

Market

Price

$7.88 @ 0.002407 ETH

Onchain Market Cap

$230,745.68

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
6.189043090136081982 NYAN-2

Value
$48.78 ( ~0.0148978725268805 Eth) [0.0211%]
0x4Afda543a1F3D084b8d832055fCaDbb9a4BCD416
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Nyan V2 is a decentralized governance token that allows liquidity providers to control a pool of accumulated funds through on-chain voting.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
NyanV2Proxy

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

// File: browser/Proxy.sol

pragma solidity ^0.6.6;

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

608060405234801561001057600080fd5b506040516103333803806103338339818101604052604081101561003357600080fd5b810190808051604051939291908464010000000082111561005357600080fd5b90830190602082018581111561006857600080fd5b825164010000000081118282018810171561008257600080fd5b82525081516020918201929091019080838360005b838110156100af578181015183820152602001610097565b50505050905090810190601f1680156100dc5780820380516001836020036101000a031916815260200191505b5060405260200180519060200190929190505050807fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75560006060826001600160a01b0316846040518082805190602001908083835b602083106101515780518252601f199092019160209182019101610132565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101b1576040519150601f19603f3d011682016040523d82523d6000602084013e6101b6565b606091505b50915091507fff74bf4c47d4a45a317bb18279180e81da1db9eb68ff10086facb43d865dc9fe816040518080602001828103825283818151815260200191508051906020019080838360005b8381101561021a578181015183820152602001610202565b50505050905090810190601f1680156102475780820380516001836020036101000a031916815260200191505b509250505060405180910390a1816102a6576040805162461bcd60e51b815260206004820152601360248201527f436f6e737472756374696f6e206661696c656400000000000000000000000000604482015290519081900360640190fd5b50505050607b806102b86000396000f3fe60806040527fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75460003681823780813683855af43d82833e8080156041573d83f35b3d83fdfea26469706673582212206004072c1350b428f818faea29c42cdc7980cd8240014014bba3f377f34a5a0a64736f6c63430006060033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000076ada02d93fd1be725f7a0f6babe3fdfd589b8590000000000000000000000000000000000000000000000000000000000000084ea2c7ad8000000000000000000000000c9ce70a381910d0a90b30d408cc9c7705ee882de0000000000000000000000002c9728ad35c1cfb16e3c1b5045bc9ba30f37fac500000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000a99a6f00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040527fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75460003681823780813683855af43d82833e8080156041573d83f35b3d83fdfea26469706673582212206004072c1350b428f818faea29c42cdc7980cd8240014014bba3f377f34a5a0a64736f6c63430006060033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000076ada02d93fd1be725f7a0f6babe3fdfd589b8590000000000000000000000000000000000000000000000000000000000000084ea2c7ad8000000000000000000000000c9ce70a381910d0a90b30d408cc9c7705ee882de0000000000000000000000002c9728ad35c1cfb16e3c1b5045bc9ba30f37fac500000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000a99a6f00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : constructData (bytes): 0xea2c7ad8000000000000000000000000c9ce70a381910d0a90b30d408cc9c7705ee882de0000000000000000000000002c9728ad35c1cfb16e3c1b5045bc9ba30f37fac500000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000a99a6f
Arg [1] : contractLogic (address): 0x76ada02D93Fd1bE725f7a0f6BABe3FDFd589b859

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000076ada02d93fd1be725f7a0f6babe3fdfd589b859
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000084
Arg [3] : ea2c7ad8000000000000000000000000c9ce70a381910d0a90b30d408cc9c770
Arg [4] : 5ee882de0000000000000000000000002c9728ad35c1cfb16e3c1b5045bc9ba3
Arg [5] : 0f37fac500000000000000000000000000000000000000000000000000000000
Arg [6] : 000000c800000000000000000000000000000000000000000000000000000000
Arg [7] : 00a99a6f00000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

57:1255:0:-:0;;;823:66;817:73;922:3;927:14;922:3;;904:38;922:3;;927:14;922:3;991:13;984:5;971:61;1081:16;922:3;;1060:38;1119:7;1140:68;;;;1259:16;922:3;1249:27;1140:68;1176:16;922:3;1166:27

Swarm Source

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