ETH Price: $3,401.57 (+3.23%)

Token

NyanNFT (NYANKO)
 

Overview

Max Total Supply

225 NYANKO

Holders

223

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 NYANKO
0xFfC041B1c734f8bC0502A9Fc0d7c35AB437C416d
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:
NyanNFTProxy

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

608060405234801561001057600080fd5b506040516103333803806103338339818101604052604081101561003357600080fd5b810190808051604051939291908464010000000082111561005357600080fd5b90830190602082018581111561006857600080fd5b825164010000000081118282018810171561008257600080fd5b82525081516020918201929091019080838360005b838110156100af578181015183820152602001610097565b50505050905090810190601f1680156100dc5780820380516001836020036101000a031916815260200191505b5060405260200180519060200190929190505050807fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75560006060826001600160a01b0316846040518082805190602001908083835b602083106101515780518252601f199092019160209182019101610132565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101b1576040519150601f19603f3d011682016040523d82523d6000602084013e6101b6565b606091505b50915091507fff74bf4c47d4a45a317bb18279180e81da1db9eb68ff10086facb43d865dc9fe816040518080602001828103825283818151815260200191508051906020019080838360005b8381101561021a578181015183820152602001610202565b50505050905090810190601f1680156102475780820380516001836020036101000a031916815260200191505b509250505060405180910390a1816102a6576040805162461bcd60e51b815260206004820152601360248201527f436f6e737472756374696f6e206661696c656400000000000000000000000000604482015290519081900360640190fd5b50505050607b806102b86000396000f3fe60806040527fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75460003681823780813683855af43d82833e8080156041573d83f35b3d83fdfea26469706673582212205d3c4cd5e4b59a338bf5ebc1250bc454a4f3ebad8481ed76a5a576a241dc37f364736f6c6343000606003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000002601ead621dfe42bcdcfa12aca81dd1a5f91a8860000000000000000000000000000000000000000000000000000000000000064c24d41ee000000000000000000000000bf4a9a37ecfc21825011285222c36ab35de51f140000000000000000000000007935affc4ac2448199c46a490ced31f0edcb3b330000000000000000000000005b84b9f4c58e8be6390a97e9fde0ae1bc083caee00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040527fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75460003681823780813683855af43d82833e8080156041573d83f35b3d83fdfea26469706673582212205d3c4cd5e4b59a338bf5ebc1250bc454a4f3ebad8481ed76a5a576a241dc37f364736f6c63430006060033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000002601ead621dfe42bcdcfa12aca81dd1a5f91a8860000000000000000000000000000000000000000000000000000000000000064c24d41ee000000000000000000000000bf4a9a37ecfc21825011285222c36ab35de51f140000000000000000000000007935affc4ac2448199c46a490ced31f0edcb3b330000000000000000000000005b84b9f4c58e8be6390a97e9fde0ae1bc083caee00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : constructData (bytes): 0xc24d41ee000000000000000000000000bf4a9a37ecfc21825011285222c36ab35de51f140000000000000000000000007935affc4ac2448199c46a490ced31f0edcb3b330000000000000000000000005b84b9f4c58e8be6390a97e9fde0ae1bc083caee
Arg [1] : contractLogic (address): 0x2601Ead621DfE42BcdcFA12aCA81dD1A5f91A886

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000002601ead621dfe42bcdcfa12aca81dd1a5f91a886
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [3] : c24d41ee000000000000000000000000bf4a9a37ecfc21825011285222c36ab3
Arg [4] : 5de51f140000000000000000000000007935affc4ac2448199c46a490ced31f0
Arg [5] : edcb3b330000000000000000000000005b84b9f4c58e8be6390a97e9fde0ae1b
Arg [6] : c083caee00000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

27:1256:0:-:0;;;794:66;788:73;893:3;898:14;893:3;;875:38;893:3;;898:14;893:3;962:13;955:5;942:61;1052:16;893:3;;1031:38;1090:7;1111:68;;;;1230:16;893:3;1220:27;1111:68;1147:16;893:3;1137:27

Swarm Source

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