ETH Price: $3,826.09 (+5.88%)

Token

OccamDaoNFT (OccNFT)
 

Overview

Max Total Supply

0 OccNFT

Holders

2,020

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 OccNFT
0x12e6a73c18eec76f46e8b00ea8027549a19ce14d
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:
UpgradeabilityProxy

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : UpgradeabilityProxy.sol
pragma solidity 0.8.9;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
contract UpgradeabilityProxy {

    using SafeMath for uint;

    bytes32 private constant proxyOwnerPosition = keccak256("proxy.owner");
    bytes32 private constant newProxyOwnerPosition = keccak256("proxy.newOwner");
    bytes32 private constant implementationPosition = keccak256("proxy.implementation");
    bytes32 private constant newImplementationPosition = keccak256("proxy.newImplementation");
    bytes32 private constant timelockPosition = keccak256("proxy.timelock");
    uint public constant timelockPeriod = 604800;  // 1 week

    constructor (address _proxyOwner, address _implementation, bytes memory initializationData, bool forceCall) {
        _setProxyOwner(_proxyOwner);
        _setImplementation(_implementation);
        if (initializationData.length > 0 || forceCall) {
            Address.functionDelegateCall(implementation(), initializationData);
        }
    }

    function proxyOwner() public view returns (address _proxyOwner) {
        bytes32 position = proxyOwnerPosition;
        assembly {
            _proxyOwner := sload(position)
        }
    }

    function newProxyOwner() public view returns (address _newProxyOwner) {
        bytes32 position = newProxyOwnerPosition;
        assembly {
            _newProxyOwner := sload(position)
        }
    }

    function _setProxyOwner(address _newProxyOwner) private {
        bytes32 position = proxyOwnerPosition;
        assembly {
            sstore(position, _newProxyOwner)
        }
    }

    function setNewProxyOwner(address _newProxyOwner) public {
        require(msg.sender == proxyOwner(), "UpgradeabilityProxy: only current proxy owner can set new proxy owner.");
        bytes32 position = newProxyOwnerPosition; 
        assembly {
            sstore(position, _newProxyOwner)
        }
    }

    function transferProxyOwnership() public {
        address _newProxyOwner = newProxyOwner();
        require(msg.sender == _newProxyOwner, "UpgradeabilityProxy: only new owner can transfer ownership.");
        _setProxyOwner(_newProxyOwner);
    }

    function implementation() public view returns (address _implementation) {
        bytes32 position = implementationPosition;
        assembly {
            _implementation := sload(position)
        }
    }

    function newImplementation() public view returns (address _newImplementation) {
        bytes32 position = newImplementationPosition;
        assembly {
            _newImplementation := sload(position)
        }
    } 

    function timelock() public view returns (uint _timelock) {
        bytes32 position = timelockPosition;
        assembly {
            _timelock := sload(position)
        }
    }

    function _setTimelock(uint newTimelock) private {
        bytes32 position = timelockPosition;
        assembly {
            sstore(position, newTimelock)
        }
    }

    function _setImplementation(address _newImplementation) private {
        bytes32 position = implementationPosition;
        assembly {
            sstore(position, _newImplementation)
        }
    }


    function setNewImplementation(address _newImplementation) public {
        require(msg.sender == proxyOwner(), "UpgradeabilityProxy: only current proxy owner can set new implementation.");
        bytes32 position = newImplementationPosition; 
        assembly {
            sstore(position, _newImplementation)
        }
        uint newTimelock = block.timestamp.add(timelockPeriod);
        _setTimelock(newTimelock);
    }

    function transferImplementation() public {
        require(msg.sender == proxyOwner(), "UpgradeabilityProxy: only proxy owner can transfer implementation.");
        require(block.timestamp >= timelock(), "UpgradeabilityProxy: cannot transfer implementation yet.");
        _setImplementation(newImplementation());
    }

    function _delegate(address _implementation) internal virtual {
        assembly {
            calldatacopy(0, 0, calldatasize())


            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()) }
        }
    }


    fallback () external payable virtual {
        _delegate(implementation());
    }


    receive () external payable virtual {
        _delegate(implementation());
    }
}

File 2 of 3 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 3 of 3 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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":"_proxyOwner","type":"address"},{"internalType":"address","name":"_implementation","type":"address"},{"internalType":"bytes","name":"initializationData","type":"bytes"},{"internalType":"bool","name":"forceCall","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"_implementation","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newImplementation","outputs":[{"internalType":"address","name":"_newImplementation","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newProxyOwner","outputs":[{"internalType":"address","name":"_newProxyOwner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyOwner","outputs":[{"internalType":"address","name":"_proxyOwner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newImplementation","type":"address"}],"name":"setNewImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newProxyOwner","type":"address"}],"name":"setNewProxyOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"timelock","outputs":[{"internalType":"uint256","name":"_timelock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timelockPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transferImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferProxyOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162000d7838038062000d78833981016040819052620000349162000291565b6200005d847f58a6b8f109ed5c70ad37140473420d0209511d3629dc7480eab94a450067bd5f55565b620000758360008051602062000d5883398151915255565b600082511180620000835750805b15620000b957620000b7620000a560008051602062000d588339815191525490565b83620000c360201b620006911760201c565b505b50505050620003d7565b6060620000eb838360405180606001604052806027815260200162000d3160279139620000f2565b9392505050565b60606001600160a01b0384163b620001605760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084015b60405180910390fd5b600080856001600160a01b0316856040516200017d919062000384565b600060405180830381855af49150503d8060008114620001ba576040519150601f19603f3d011682016040523d82523d6000602084013e620001bf565b606091505b509092509050620001d2828286620001dc565b9695505050505050565b60608315620001ed575081620000eb565b825115620001fe5782518084602001fd5b8160405162461bcd60e51b8152600401620001579190620003a2565b80516001600160a01b03811681146200023257600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200026a57818101518382015260200162000250565b838111156200027a576000848401525b50505050565b805180151581146200023257600080fd5b60008060008060808587031215620002a857600080fd5b620002b3856200021a565b9350620002c3602086016200021a565b60408601519093506001600160401b0380821115620002e157600080fd5b818701915087601f830112620002f657600080fd5b8151818111156200030b576200030b62000237565b604051601f8201601f19908116603f0116810190838211818310171562000336576200033662000237565b816040528281528a60208487010111156200035057600080fd5b620003638360208301602088016200024d565b8096505050505050620003796060860162000280565b905092959194509250565b60008251620003988184602087016200024d565b9190910192915050565b6020815260008251806020840152620003c38160408501602087016200024d565b601f01601f19169190910160400192915050565b61094a80620003e76000396000f3fe6080604052600436106100955760003560e01c806381ac16591161005957806381ac16591461018a57806387b27951146101be5780638b677b03146101d3578063adb3ce9214610207578063d33219b414610227576100ba565b8063025313a2146100d3578063107761811461010e5780632ecaf6751461012e5780632fa8ad53146101535780635c60da1b14610168576100ba565b366100ba576100b86100b36000805160206108d58339815191525490565b61025b565b005b6100b86100b36000805160206108d58339815191525490565b3480156100df57600080fd5b506000805160206108f5833981519152545b6040516001600160a01b0390911681526020015b60405180910390f35b34801561011a57600080fd5b506100b86101293660046107df565b610284565b34801561013a57600080fd5b5061014562093a8081565b604051908152602001610105565b34801561015f57600080fd5b506100b8610352565b34801561017457600080fd5b506000805160206108d5833981519152546100f1565b34801561019657600080fd5b507f089a30daf7a7609a193f76c173c735bdd3fb300b4d9b7c61ea0c4395e0b20cf6546100f1565b3480156101ca57600080fd5b506100b8610415565b3480156101df57600080fd5b507f762ff5225469654ad30beda02ad3106fbdd38c4bff827c9426bf649d95ed7e1d546100f1565b34801561021357600080fd5b506100b86102223660046107df565b61058c565b34801561023357600080fd5b507fbc70700c0bb41e729f3b16a22511bc61a02ceaa6d1f98256bf8f5df4fa51e7a954610145565b3660008037600080366000845af43d6000803e80801561027a573d6000f35b3d6000fd5b505050565b6000805160206108f5833981519152546001600160a01b0316336001600160a01b03161461032e5760405162461bcd60e51b815260206004820152604660248201527f557067726164656162696c69747950726f78793a206f6e6c792063757272656e60448201527f742070726f7879206f776e65722063616e20736574206e65772070726f78792060648201526537bbb732b91760d11b608482015260a4015b60405180910390fd5b7f089a30daf7a7609a193f76c173c735bdd3fb300b4d9b7c61ea0c4395e0b20cf655565b600061037c7f089a30daf7a7609a193f76c173c735bdd3fb300b4d9b7c61ea0c4395e0b20cf65490565b9050336001600160a01b038216146103fc5760405162461bcd60e51b815260206004820152603b60248201527f557067726164656162696c69747950726f78793a206f6e6c79206e6577206f7760448201527f6e65722063616e207472616e73666572206f776e6572736869702e00000000006064820152608401610325565b610412816000805160206108f583398151915255565b50565b6000805160206108f5833981519152546001600160a01b0316336001600160a01b0316146104b65760405162461bcd60e51b815260206004820152604260248201527f557067726164656162696c69747950726f78793a206f6e6c792070726f78792060448201527f6f776e65722063616e207472616e7366657220696d706c656d656e746174696f606482015261371760f11b608482015260a401610325565b7fbc70700c0bb41e729f3b16a22511bc61a02ceaa6d1f98256bf8f5df4fa51e7a95442101561054d5760405162461bcd60e51b815260206004820152603860248201527f557067726164656162696c69747950726f78793a2063616e6e6f74207472616e60448201527f7366657220696d706c656d656e746174696f6e207965742e00000000000000006064820152608401610325565b61058a6105787f762ff5225469654ad30beda02ad3106fbdd38c4bff827c9426bf649d95ed7e1d5490565b6000805160206108d583398151915255565b565b6000805160206108f5833981519152546001600160a01b0316336001600160a01b0316146106345760405162461bcd60e51b815260206004820152604960248201527f557067726164656162696c69747950726f78793a206f6e6c792063757272656e60448201527f742070726f7879206f776e65722063616e20736574206e657720696d706c656d60648201526832b73a30ba34b7b71760b91b608482015260a401610325565b7f762ff5225469654ad30beda02ad3106fbdd38c4bff827c9426bf649d95ed7e1d81815560006106674262093a806106bd565b905061027f817fbc70700c0bb41e729f3b16a22511bc61a02ceaa6d1f98256bf8f5df4fa51e7a955565b60606106b683836040518060600160405280602781526020016108ae602791396106c9565b9392505050565b60006106b68284610808565b60606001600160a01b0384163b6107315760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610325565b600080856001600160a01b03168560405161074c919061085e565b600060405180830381855af49150503d8060008114610787576040519150601f19603f3d011682016040523d82523d6000602084013e61078c565b606091505b509150915061079c8282866107a6565b9695505050505050565b606083156107b55750816106b6565b8251156107c55782518084602001fd5b8160405162461bcd60e51b8152600401610325919061087a565b6000602082840312156107f157600080fd5b81356001600160a01b03811681146106b657600080fd5b6000821982111561082957634e487b7160e01b600052601160045260246000fd5b500190565b60005b83811015610849578181015183820152602001610831565b83811115610858576000848401525b50505050565b6000825161087081846020870161082e565b9190910192915050565b602081526000825180602084015261089981604085016020870161082e565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656424ed44ee9374370fd3aa7c8b1abf58827504c20f65246b17d2b9e7e1aef7784758a6b8f109ed5c70ad37140473420d0209511d3629dc7480eab94a450067bd5fa2646970667358221220e0d2d356c660fbfa5a5db0c2a789384315dc2e1642f0d7b2be57c62ee007c19464736f6c63430008090033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656424ed44ee9374370fd3aa7c8b1abf58827504c20f65246b17d2b9e7e1aef778470000000000000000000000001be6d9cb5969455bb4644ada0ea51c2177a9d53c0000000000000000000000000563f483a54cfc35da4b9f02d9c4478147599e00000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000184e85d3b140000000000000000000000001be6d9cb5969455bb4644ada0ea51c2177a9d53c00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000001be6d9cb5969455bb4644ada0ea51c2177a9d53c00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f7374617469632d6e66742e6f6363616d2e66692f6d6574612f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4f6363616d44616f4e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064f63634e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106100955760003560e01c806381ac16591161005957806381ac16591461018a57806387b27951146101be5780638b677b03146101d3578063adb3ce9214610207578063d33219b414610227576100ba565b8063025313a2146100d3578063107761811461010e5780632ecaf6751461012e5780632fa8ad53146101535780635c60da1b14610168576100ba565b366100ba576100b86100b36000805160206108d58339815191525490565b61025b565b005b6100b86100b36000805160206108d58339815191525490565b3480156100df57600080fd5b506000805160206108f5833981519152545b6040516001600160a01b0390911681526020015b60405180910390f35b34801561011a57600080fd5b506100b86101293660046107df565b610284565b34801561013a57600080fd5b5061014562093a8081565b604051908152602001610105565b34801561015f57600080fd5b506100b8610352565b34801561017457600080fd5b506000805160206108d5833981519152546100f1565b34801561019657600080fd5b507f089a30daf7a7609a193f76c173c735bdd3fb300b4d9b7c61ea0c4395e0b20cf6546100f1565b3480156101ca57600080fd5b506100b8610415565b3480156101df57600080fd5b507f762ff5225469654ad30beda02ad3106fbdd38c4bff827c9426bf649d95ed7e1d546100f1565b34801561021357600080fd5b506100b86102223660046107df565b61058c565b34801561023357600080fd5b507fbc70700c0bb41e729f3b16a22511bc61a02ceaa6d1f98256bf8f5df4fa51e7a954610145565b3660008037600080366000845af43d6000803e80801561027a573d6000f35b3d6000fd5b505050565b6000805160206108f5833981519152546001600160a01b0316336001600160a01b03161461032e5760405162461bcd60e51b815260206004820152604660248201527f557067726164656162696c69747950726f78793a206f6e6c792063757272656e60448201527f742070726f7879206f776e65722063616e20736574206e65772070726f78792060648201526537bbb732b91760d11b608482015260a4015b60405180910390fd5b7f089a30daf7a7609a193f76c173c735bdd3fb300b4d9b7c61ea0c4395e0b20cf655565b600061037c7f089a30daf7a7609a193f76c173c735bdd3fb300b4d9b7c61ea0c4395e0b20cf65490565b9050336001600160a01b038216146103fc5760405162461bcd60e51b815260206004820152603b60248201527f557067726164656162696c69747950726f78793a206f6e6c79206e6577206f7760448201527f6e65722063616e207472616e73666572206f776e6572736869702e00000000006064820152608401610325565b610412816000805160206108f583398151915255565b50565b6000805160206108f5833981519152546001600160a01b0316336001600160a01b0316146104b65760405162461bcd60e51b815260206004820152604260248201527f557067726164656162696c69747950726f78793a206f6e6c792070726f78792060448201527f6f776e65722063616e207472616e7366657220696d706c656d656e746174696f606482015261371760f11b608482015260a401610325565b7fbc70700c0bb41e729f3b16a22511bc61a02ceaa6d1f98256bf8f5df4fa51e7a95442101561054d5760405162461bcd60e51b815260206004820152603860248201527f557067726164656162696c69747950726f78793a2063616e6e6f74207472616e60448201527f7366657220696d706c656d656e746174696f6e207965742e00000000000000006064820152608401610325565b61058a6105787f762ff5225469654ad30beda02ad3106fbdd38c4bff827c9426bf649d95ed7e1d5490565b6000805160206108d583398151915255565b565b6000805160206108f5833981519152546001600160a01b0316336001600160a01b0316146106345760405162461bcd60e51b815260206004820152604960248201527f557067726164656162696c69747950726f78793a206f6e6c792063757272656e60448201527f742070726f7879206f776e65722063616e20736574206e657720696d706c656d60648201526832b73a30ba34b7b71760b91b608482015260a401610325565b7f762ff5225469654ad30beda02ad3106fbdd38c4bff827c9426bf649d95ed7e1d81815560006106674262093a806106bd565b905061027f817fbc70700c0bb41e729f3b16a22511bc61a02ceaa6d1f98256bf8f5df4fa51e7a955565b60606106b683836040518060600160405280602781526020016108ae602791396106c9565b9392505050565b60006106b68284610808565b60606001600160a01b0384163b6107315760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610325565b600080856001600160a01b03168560405161074c919061085e565b600060405180830381855af49150503d8060008114610787576040519150601f19603f3d011682016040523d82523d6000602084013e61078c565b606091505b509150915061079c8282866107a6565b9695505050505050565b606083156107b55750816106b6565b8251156107c55782518084602001fd5b8160405162461bcd60e51b8152600401610325919061087a565b6000602082840312156107f157600080fd5b81356001600160a01b03811681146106b657600080fd5b6000821982111561082957634e487b7160e01b600052601160045260246000fd5b500190565b60005b83811015610849578181015183820152602001610831565b83811115610858576000848401525b50505050565b6000825161087081846020870161082e565b9190910192915050565b602081526000825180602084015261089981604085016020870161082e565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656424ed44ee9374370fd3aa7c8b1abf58827504c20f65246b17d2b9e7e1aef7784758a6b8f109ed5c70ad37140473420d0209511d3629dc7480eab94a450067bd5fa2646970667358221220e0d2d356c660fbfa5a5db0c2a789384315dc2e1642f0d7b2be57c62ee007c19464736f6c63430008090033

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

0000000000000000000000001be6d9cb5969455bb4644ada0ea51c2177a9d53c0000000000000000000000000563f483a54cfc35da4b9f02d9c4478147599e00000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000184e85d3b140000000000000000000000001be6d9cb5969455bb4644ada0ea51c2177a9d53c00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000001be6d9cb5969455bb4644ada0ea51c2177a9d53c00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f7374617469632d6e66742e6f6363616d2e66692f6d6574612f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4f6363616d44616f4e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064f63634e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _proxyOwner (address): 0x1Be6D9cb5969455bB4644Ada0EA51c2177a9d53c
Arg [1] : _implementation (address): 0x0563f483A54cFC35Da4B9F02D9C4478147599E00
Arg [2] : initializationData (bytes): 0xe85d3b140000000000000000000000001be6d9cb5969455bb4644ada0ea51c2177a9d53c00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000001be6d9cb5969455bb4644ada0ea51c2177a9d53c00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f7374617469632d6e66742e6f6363616d2e66692f6d6574612f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4f6363616d44616f4e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064f63634e46540000000000000000000000000000000000000000000000000000
Arg [3] : forceCall (bool): True

-----Encoded View---------------
18 Constructor Arguments found :
Arg [0] : 0000000000000000000000001be6d9cb5969455bb4644ada0ea51c2177a9d53c
Arg [1] : 0000000000000000000000000563f483a54cfc35da4b9f02d9c4478147599e00
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000184
Arg [5] : e85d3b140000000000000000000000001be6d9cb5969455bb4644ada0ea51c21
Arg [6] : 77a9d53c00000000000000000000000000000000000000000000000000000000
Arg [7] : 000000a00000000000000000000000001be6d9cb5969455bb4644ada0ea51c21
Arg [8] : 77a9d53c00000000000000000000000000000000000000000000000000000000
Arg [9] : 0000010000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000014000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000002168747470733a2f2f7374617469632d6e66742e6f6363616d2e66692f
Arg [12] : 6d6574612f000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [14] : 0000000b4f6363616d44616f4e46540000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 000000064f63634e465400000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000000


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.