ETH Price: $3,257.23 (+2.58%)
Gas: 2 Gwei

Token

darkNYAN (dNYAN-2)
 

Overview

Max Total Supply

1,604.383866792737432282 dNYAN-2

Holders

139

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1.7103993312 dNYAN-2

Value
$0.00
0x7627974e190bdda082f252a4f5acfe6c0e93d364
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
DarkNyanV2Proxy

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

608060405234801561001057600080fd5b506040516103333803806103338339818101604052604081101561003357600080fd5b810190808051604051939291908464010000000082111561005357600080fd5b90830190602082018581111561006857600080fd5b825164010000000081118282018810171561008257600080fd5b82525081516020918201929091019080838360005b838110156100af578181015183820152602001610097565b50505050905090810190601f1680156100dc5780820380516001836020036101000a031916815260200191505b5060405260200180519060200190929190505050807fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75560006060826001600160a01b0316846040518082805190602001908083835b602083106101515780518252601f199092019160209182019101610132565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101b1576040519150601f19603f3d011682016040523d82523d6000602084013e6101b6565b606091505b50915091507fff74bf4c47d4a45a317bb18279180e81da1db9eb68ff10086facb43d865dc9fe816040518080602001828103825283818151815260200191508051906020019080838360005b8381101561021a578181015183820152602001610202565b50505050905090810190601f1680156102475780820380516001836020036101000a031916815260200191505b509250505060405180910390a1816102a6576040805162461bcd60e51b815260206004820152601360248201527f436f6e737472756374696f6e206661696c656400000000000000000000000000604482015290519081900360640190fd5b50505050607b806102b86000396000f3fe60806040527fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75460003681823780813683855af43d82833e8080156041573d83f35b3d83fdfea26469706673582212204ce4d496dcb2df21da18c87c10ee550ad38f4101dc04f042ca215d12dab4ce4e64736f6c634300060600330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000fe32d7b91e0c243f7a8d6e4e659bfeca2d8b95ca00000000000000000000000000000000000000000000000000000000000000449f97cf1f000000000000000000000000bf4a9a37ecfc21825011285222c36ab35de51f140000000000000000000000002c9728ad35c1cfb16e3c1b5045bc9ba30f37fac500000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040527fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75460003681823780813683855af43d82833e8080156041573d83f35b3d83fdfea26469706673582212204ce4d496dcb2df21da18c87c10ee550ad38f4101dc04f042ca215d12dab4ce4e64736f6c63430006060033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000fe32d7b91e0c243f7a8d6e4e659bfeca2d8b95ca00000000000000000000000000000000000000000000000000000000000000449f97cf1f000000000000000000000000bf4a9a37ecfc21825011285222c36ab35de51f140000000000000000000000002c9728ad35c1cfb16e3c1b5045bc9ba30f37fac500000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : constructData (bytes): 0x9f97cf1f000000000000000000000000bf4a9a37ecfc21825011285222c36ab35de51f140000000000000000000000002c9728ad35c1cfb16e3c1b5045bc9ba30f37fac5
Arg [1] : contractLogic (address): 0xFe32d7b91E0c243f7A8d6E4E659bfeCa2d8b95CA

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000fe32d7b91e0c243f7a8d6e4e659bfeca2d8b95ca
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [3] : 9f97cf1f000000000000000000000000bf4a9a37ecfc21825011285222c36ab3
Arg [4] : 5de51f140000000000000000000000002c9728ad35c1cfb16e3c1b5045bc9ba3
Arg [5] : 0f37fac500000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

27:1259:0:-:0;;;797:66;791:73;896:3;901:14;896:3;;878:38;896:3;;901:14;896:3;965:13;958:5;945:61;1055:16;896:3;;1034:38;1093:7;1114:68;;;;1233:16;896:3;1223:27;1114:68;1150:16;896:3;1140:27

Swarm Source

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