ETH Price: $3,824.43 (-0.64%)
Gas: 36.2 Gwei

Token

Prometheans (PROMETHEANS)
 

Overview

Max Total Supply

0 PROMETHEANS

Holders

15,381

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
56 PROMETHEANS
0xF6998fDc9B6fa27e94E313a5651f46a3f287564A
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Prometheans are an Order dedicating their lives to maintaining a fire on the outskirts of society. Their origins stretch back endless generations.

# Exchange Pair Price  24H Volume % Volume

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

Contract Name:
Proxy

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Proxy.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

/// @dev Proxy for NFT Factory
contract Proxy {

    // Storage for this proxy
    bytes32 private constant IMPLEMENTATION_SLOT = bytes32(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc);
    bytes32 private constant ADMIN_SLOT          = bytes32(0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103);

    constructor(address impl) {
        require(impl != address(0));

        _setSlotValue(IMPLEMENTATION_SLOT, bytes32(uint256(uint160(impl))));
        _setSlotValue(ADMIN_SLOT, bytes32(uint256(uint160(msg.sender))));
    }

    function setImplementation(address newImpl) public {
        require(msg.sender == _getAddress(ADMIN_SLOT));
        _setSlotValue(IMPLEMENTATION_SLOT, bytes32(uint256(uint160(newImpl))));
    }
    
    function setAdmin(address newAdmin) public {
        require(msg.sender == _getAddress(ADMIN_SLOT));
        _setSlotValue(ADMIN_SLOT, bytes32(uint256(uint160(newAdmin))));
    }
    

    function implementation() public view returns (address impl) {
        impl = address(uint160(uint256(_getSlotValue(IMPLEMENTATION_SLOT))));
    }

    function _getAddress(bytes32 key) internal view returns (address add) {
        add = address(uint160(uint256(_getSlotValue(key))));
    }

    function _getSlotValue(bytes32 slot_) internal view returns (bytes32 value_) {
        assembly {
            value_ := sload(slot_)
        }
    }

    function _setSlotValue(bytes32 slot_, bytes32 value_) internal {
        assembly {
            sstore(slot_, value_)
        }
    }

    /**
     * @dev Delegates the current call to `implementation`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _delegate(address implementation__) internal virtual {
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation__, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 {
                revert(0, returndatasize())
            }
            default {
                return(0, returndatasize())
            }
        }
    }

    receive() external payable {}


    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback() external payable virtual {
        _delegate(_getAddress(IMPLEMENTATION_SLOT));
    }

}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"impl","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"impl","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImpl","type":"address"}],"name":"setImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5060405161036638038061036683398101604081905261002f91610095565b6001600160a01b03811661004257600080fd5b6001600160a01b03167f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55337fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103556100c5565b6000602082840312156100a757600080fd5b81516001600160a01b03811681146100be57600080fd5b9392505050565b610292806100d46000396000f3fe6080604052600436106100385760003560e01c80635c60da1b14610072578063704b6c02146100a3578063d784d426146100c35761003f565b3661003f57005b61007061006b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6100e3565b6100f3565b005b34801561007e57600080fd5b50610087610117565b6040516001600160a01b03909116815260200160405180910390f35b3480156100af57600080fd5b506100706100be36600461022c565b610146565b3480156100cf57600080fd5b506100706100de36600461022c565b6101b9565b60006100ed825490565b92915050565b3660008037600080366000845af43d6000803e808015610112573d6000f35b3d6000fd5b60006101417f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b919050565b61016f7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036100e3565b6001600160a01b0316336001600160a01b03161461018c57600080fd5b6001600160a01b03167fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6101e27fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036100e3565b6001600160a01b0316336001600160a01b0316146101ff57600080fd5b6001600160a01b03167f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b60006020828403121561023e57600080fd5b81356001600160a01b038116811461025557600080fd5b939250505056fea26469706673582212206338fb9fcfd0243a16a428ed16fd0958ef71d993b153dd86d5f2588b86012d3664736f6c63430008070033000000000000000000000000e5c2e265afa5783e685689a8b7f6fc00a76c5c03

Deployed Bytecode

0x6080604052600436106100385760003560e01c80635c60da1b14610072578063704b6c02146100a3578063d784d426146100c35761003f565b3661003f57005b61007061006b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6100e3565b6100f3565b005b34801561007e57600080fd5b50610087610117565b6040516001600160a01b03909116815260200160405180910390f35b3480156100af57600080fd5b506100706100be36600461022c565b610146565b3480156100cf57600080fd5b506100706100de36600461022c565b6101b9565b60006100ed825490565b92915050565b3660008037600080366000845af43d6000803e808015610112573d6000f35b3d6000fd5b60006101417f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b919050565b61016f7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036100e3565b6001600160a01b0316336001600160a01b03161461018c57600080fd5b6001600160a01b03167fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6101e27fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036100e3565b6001600160a01b0316336001600160a01b0316146101ff57600080fd5b6001600160a01b03167f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b60006020828403121561023e57600080fd5b81356001600160a01b038116811461025557600080fd5b939250505056fea26469706673582212206338fb9fcfd0243a16a428ed16fd0958ef71d993b153dd86d5f2588b86012d3664736f6c63430008070033

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.