ETH Price: $3,748.26 (+0.43%)
Gas: 4 Gwei

Token

 

Overview

Max Total Supply

0

Holders

0

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
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:
LoopbackProxy

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-12-18
*/

/**
* https://tornado.cash
*
* d888888P                                           dP              a88888b.                   dP
*    88                                              88             d8'   `88                   88
*    88    .d8888b. 88d888b. 88d888b. .d8888b. .d888b88 .d8888b.    88        .d8888b. .d8888b. 88d888b.
*    88    88'  `88 88'  `88 88'  `88 88'  `88 88'  `88 88'  `88    88        88'  `88 Y8ooooo. 88'  `88
*    88    88.  .88 88       88    88 88.  .88 88.  .88 88.  .88 dP Y8.   .88 88.  .88       88 88    88
*    dP    `88888P' dP       dP    dP `88888P8 `88888P8 `88888P' 88  Y88888P' `88888P8 `88888P' dP    dP
* ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
*/

// File: @openzeppelin/contracts/proxy/Proxy.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 * 
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 * 
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @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 {
        // solhint-disable-next-line no-inline-assembly
        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()) }
        }
    }

    /**
     * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal virtual view returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     * 
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _fallback() internal {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @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 () payable external {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive () payable external {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     * 
     * If overriden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {
    }
}

// File: @openzeppelin/contracts/utils/Address.sol



pragma solidity ^0.6.2;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/proxy/UpgradeableProxy.sol



pragma solidity ^0.6.0;



/**
 * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an
 * implementation address that can be changed. This address is stored in storage in the location specified by
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the
 * implementation behind the proxy.
 * 
 * Upgradeability is only provided internally through {_upgradeTo}. For an externally upgradeable proxy see
 * {TransparentUpgradeableProxy}.
 */
contract UpgradeableProxy is Proxy {
    /**
     * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.
     * 
     * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded
     * function call, and allows initializating the storage of the proxy like a Solidity constructor.
     */
    constructor(address _logic, bytes memory _data) public payable {
        assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
        _setImplementation(_logic);
        if(_data.length > 0) {
            // solhint-disable-next-line avoid-low-level-calls
            (bool success,) = _logic.delegatecall(_data);
            require(success);
        }
    }

    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 private constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Returns the current implementation address.
     */
    function _implementation() internal override view returns (address impl) {
        bytes32 slot = _IMPLEMENTATION_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            impl := sload(slot)
        }
    }

    /**
     * @dev Upgrades the proxy to a new implementation.
     * 
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(Address.isContract(newImplementation), "UpgradeableProxy: new implementation is not a contract");

        bytes32 slot = _IMPLEMENTATION_SLOT;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, newImplementation)
        }
    }
}

// File: @openzeppelin/contracts/proxy/TransparentUpgradeableProxy.sol



pragma solidity ^0.6.0;


/**
 * @dev This contract implements a proxy that is upgradeable by an admin.
 * 
 * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector
 * clashing], which can potentially be used in an attack, this contract uses the
 * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two
 * things that go hand in hand:
 * 
 * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if
 * that call matches one of the admin functions exposed by the proxy itself.
 * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the
 * implementation. If the admin tries to call a function on the implementation it will fail with an error that says
 * "admin cannot fallback to proxy target".
 * 
 * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing
 * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due
 * to sudden errors when trying to call a function from the proxy implementation.
 * 
 * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,
 * you should think of the `ProxyAdmin` instance as the real administrative inerface of your proxy.
 */
contract TransparentUpgradeableProxy is UpgradeableProxy {
    /**
     * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and
     * optionally initialized with `_data` as explained in {UpgradeableProxy-constructor}.
     */
    constructor(address _logic, address _admin, bytes memory _data) public payable UpgradeableProxy(_logic, _data) {
        assert(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1));
        _setAdmin(_admin);
    }

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.
     */
    modifier ifAdmin() {
        if (msg.sender == _admin()) {
            _;
        } else {
            _fallback();
        }
    }

    /**
     * @dev Returns the current admin.
     * 
     * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.
     * 
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`
     */
    function admin() external ifAdmin returns (address) {
        return _admin();
    }

    /**
     * @dev Returns the current implementation.
     * 
     * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.
     * 
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`
     */
    function implementation() external ifAdmin returns (address) {
        return _implementation();
    }

    /**
     * @dev Changes the admin of the proxy.
     * 
     * Emits an {AdminChanged} event.
     * 
     * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.
     */
    function changeAdmin(address newAdmin) external ifAdmin {
        require(newAdmin != address(0), "TransparentUpgradeableProxy: new admin is the zero address");
        emit AdminChanged(_admin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev Upgrade the implementation of the proxy.
     * 
     * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.
     */
    function upgradeTo(address newImplementation) external ifAdmin {
        _upgradeTo(newImplementation);
    }

    /**
     * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified
     * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the
     * proxied contract.
     * 
     * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.
     */
    function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin {
        _upgradeTo(newImplementation);
        // solhint-disable-next-line avoid-low-level-calls
        (bool success,) = newImplementation.delegatecall(data);
        require(success);
    }

    /**
     * @dev Returns the current admin.
     */
    function _admin() internal view returns (address adm) {
        bytes32 slot = _ADMIN_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            adm := sload(slot)
        }
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        bytes32 slot = _ADMIN_SLOT;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, newAdmin)
        }
    }

    /**
     * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.
     */
    function _beforeFallback() internal override virtual {
        require(msg.sender != _admin(), "TransparentUpgradeableProxy: admin cannot fallback to proxy target");
        super._beforeFallback();
    }
}

// File: torn-token/contracts/ENS.sol



pragma solidity ^0.6.0;

interface ENS {
  function resolver(bytes32 node) external view returns (Resolver);
}

interface Resolver {
  function addr(bytes32 node) external view returns (address);
}

contract EnsResolve {
  function resolve(bytes32 node) public view virtual returns (address) {
    ENS Registry = ENS(
      getChainId() == 1 ? 0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e : 0x8595bFb0D940DfEDC98943FA8a907091203f25EE
    );
    return Registry.resolver(node).addr(node);
  }

  function bulkResolve(bytes32[] memory domains) public view returns (address[] memory result) {
    result = new address[](domains.length);
    for (uint256 i = 0; i < domains.length; i++) {
      result[i] = resolve(domains[i]);
    }
  }

  function getChainId() internal pure returns (uint256) {
    uint256 chainId;
    assembly {
      chainId := chainid()
    }
    return chainId;
  }
}

// File: contracts/LoopbackProxy.sol


pragma solidity ^0.6.0;



/**
 * @dev TransparentUpgradeableProxy that sets its admin to the implementation itself.
 * It is also allowed to call implementation methods.
 */
contract LoopbackProxy is TransparentUpgradeableProxy, EnsResolve {
  /**
   * @dev Initializes an upgradeable proxy backed by the implementation at `_logic`.
   */
  constructor(bytes32 _logic, bytes memory _data)
    public
    payable
    TransparentUpgradeableProxy(resolve(_logic), address(this), _data)
  {}

  /**
   * @dev Override to allow admin (itself) access the fallback function.
   */
  function _beforeFallback() internal override {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_logic","type":"bytes32"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"domains","type":"bytes32[]"}],"name":"bulkResolve","outputs":[{"internalType":"address[]","name":"result","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"resolve","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260405162000cbd38038062000cbd833981810160405260408110156200002957600080fd5b8151602083018051604051929492938301929190846401000000008211156200005157600080fd5b9083019060208201858111156200006757600080fd5b82516401000000008111828201881017156200008257600080fd5b82525081516020918201929091019080838360005b83811015620000b157818101518382015260200162000097565b50505050905090810190601f168015620000df5780820380516001836020036101000a031916815260200191505b50604052505050620000f782620001e360201b60201c565b30828281620001068262000318565b805115620001c4576000826001600160a01b0316826040518082805190602001908083835b602083106200014c5780518252601f1990920191602091820191016200012b565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114620001ae576040519150601f19603f3d011682016040523d82523d6000602084013e620001b3565b606091505b5050905080620001c257600080fd5b505b50620001cd9050565b620001d8826200038f565b5050505050620003bd565b600080620001f0620003b3565b6001146200021357738595bfb0d940dfedc98943fa8a907091203f25ee62000224565b6e0c2e074ec69a0dfb2997ba6c7d2e1e5b9050806001600160a01b0316630178b8bf846040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156200026b57600080fd5b505afa15801562000280573d6000803e3d6000fd5b505050506040513d60208110156200029757600080fd5b505160408051631d9dabef60e11b81526004810186905290516001600160a01b0390921691633b3b57de91602480820192602092909190829003018186803b158015620002e357600080fd5b505afa158015620002f8573d6000803e3d6000fd5b505050506040513d60208110156200030f57600080fd5b50519392505050565b6200032e81620003b760201b620006d01760201c565b6200036b5760405162461bcd60e51b815260040180806020018281038252603681526020018062000c876036913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b4690565b3b151590565b6108ba80620003cd6000396000f3fe6080604052600436106100745760003560e01c80635c60da1b1161004e5780635c60da1b146101845780638f28397014610199578063f851a440146101cc578063f9e54234146101e157610083565b80633659cfe61461008b5780634f1ef286146100be5780635c23bdf51461013e57610083565b36610083576100816102e1565b005b6100816102e1565b34801561009757600080fd5b50610081600480360360208110156100ae57600080fd5b50356001600160a01b03166102fb565b610081600480360360408110156100d457600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100ff57600080fd5b82018360208201111561011157600080fd5b8035906020019184600183028401116401000000008311171561013357600080fd5b509092509050610335565b34801561014a57600080fd5b506101686004803603602081101561016157600080fd5b50356103e2565b604080516001600160a01b039092168252519081900360200190f35b34801561019057600080fd5b5061016861050d565b3480156101a557600080fd5b50610081600480360360208110156101bc57600080fd5b50356001600160a01b031661054a565b3480156101d857600080fd5b50610168610604565b3480156101ed57600080fd5b506102916004803603602081101561020457600080fd5b81019060208101813564010000000081111561021f57600080fd5b82018360208201111561023157600080fd5b8035906020019184602083028401116401000000008311171561025357600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061062f945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102cd5781810151838201526020016102b5565b505050509050019250505060405180910390f35b6102e96102f9565b6102f96102f46106d6565b6106fb565b565b61030361071f565b6001600160a01b0316336001600160a01b0316141561032a5761032581610744565b610332565b6103326102e1565b50565b61033d61071f565b6001600160a01b0316336001600160a01b031614156103d55761035f83610744565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d80600081146103bc576040519150601f19603f3d011682016040523d82523d6000602084013e6103c1565b606091505b50509050806103cf57600080fd5b506103dd565b6103dd6102e1565b505050565b6000806103ed610784565b60011461040e57738595bfb0d940dfedc98943fa8a907091203f25ee61041f565b6e0c2e074ec69a0dfb2997ba6c7d2e1e5b9050806001600160a01b0316630178b8bf846040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561046557600080fd5b505afa158015610479573d6000803e3d6000fd5b505050506040513d602081101561048f57600080fd5b505160408051631d9dabef60e11b81526004810186905290516001600160a01b0390921691633b3b57de91602480820192602092909190829003018186803b1580156104da57600080fd5b505afa1580156104ee573d6000803e3d6000fd5b505050506040513d602081101561050457600080fd5b50519392505050565b600061051761071f565b6001600160a01b0316336001600160a01b0316141561053f576105386106d6565b9050610547565b6105476102e1565b90565b61055261071f565b6001600160a01b0316336001600160a01b0316141561032a576001600160a01b0381166105b05760405162461bcd60e51b815260040180806020018281038252603a815260200180610815603a913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6105d961071f565b604080516001600160a01b03928316815291841660208301528051918290030190a161032581610788565b600061060e61071f565b6001600160a01b0316336001600160a01b0316141561053f5761053861071f565b6060815167ffffffffffffffff8111801561064957600080fd5b50604051908082528060200260200182016040528015610673578160200160208202803683370190505b50905060005b82518110156106ca5761069e83828151811061069157fe5b60200260200101516103e2565b8282815181106106aa57fe5b6001600160a01b0390921660209283029190910190910152600101610679565b50919050565b3b151590565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e80801561071a573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61074d816107ac565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b4690565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6107b5816106d0565b6107f05760405162461bcd60e51b815260040180806020018281038252603681526020018061084f6036913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5556fe5472616e73706172656e745570677261646561626c6550726f78793a206e65772061646d696e20697320746865207a65726f20616464726573735570677261646561626c6550726f78793a206e657720696d706c656d656e746174696f6e206973206e6f74206120636f6e7472616374a26469706673582212204d7aa4d7341a408cae5346a7ec8cedb4c9e21f7ad7dc73506735d22c45c80c6264736f6c634300060c00335570677261646561626c6550726f78793a206e657720696d706c656d656e746174696f6e206973206e6f74206120636f6e7472616374092359a5505072470ce8b86eebed5b4b6f001fe6bd08dbcf723c97073a360cfc000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000249498bd7179a75ab558b53fdc478d1b223d669e6f5f650ce9b7e9cdd6ae9bd9f0917b552d00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106100745760003560e01c80635c60da1b1161004e5780635c60da1b146101845780638f28397014610199578063f851a440146101cc578063f9e54234146101e157610083565b80633659cfe61461008b5780634f1ef286146100be5780635c23bdf51461013e57610083565b36610083576100816102e1565b005b6100816102e1565b34801561009757600080fd5b50610081600480360360208110156100ae57600080fd5b50356001600160a01b03166102fb565b610081600480360360408110156100d457600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100ff57600080fd5b82018360208201111561011157600080fd5b8035906020019184600183028401116401000000008311171561013357600080fd5b509092509050610335565b34801561014a57600080fd5b506101686004803603602081101561016157600080fd5b50356103e2565b604080516001600160a01b039092168252519081900360200190f35b34801561019057600080fd5b5061016861050d565b3480156101a557600080fd5b50610081600480360360208110156101bc57600080fd5b50356001600160a01b031661054a565b3480156101d857600080fd5b50610168610604565b3480156101ed57600080fd5b506102916004803603602081101561020457600080fd5b81019060208101813564010000000081111561021f57600080fd5b82018360208201111561023157600080fd5b8035906020019184602083028401116401000000008311171561025357600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061062f945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102cd5781810151838201526020016102b5565b505050509050019250505060405180910390f35b6102e96102f9565b6102f96102f46106d6565b6106fb565b565b61030361071f565b6001600160a01b0316336001600160a01b0316141561032a5761032581610744565b610332565b6103326102e1565b50565b61033d61071f565b6001600160a01b0316336001600160a01b031614156103d55761035f83610744565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d80600081146103bc576040519150601f19603f3d011682016040523d82523d6000602084013e6103c1565b606091505b50509050806103cf57600080fd5b506103dd565b6103dd6102e1565b505050565b6000806103ed610784565b60011461040e57738595bfb0d940dfedc98943fa8a907091203f25ee61041f565b6e0c2e074ec69a0dfb2997ba6c7d2e1e5b9050806001600160a01b0316630178b8bf846040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561046557600080fd5b505afa158015610479573d6000803e3d6000fd5b505050506040513d602081101561048f57600080fd5b505160408051631d9dabef60e11b81526004810186905290516001600160a01b0390921691633b3b57de91602480820192602092909190829003018186803b1580156104da57600080fd5b505afa1580156104ee573d6000803e3d6000fd5b505050506040513d602081101561050457600080fd5b50519392505050565b600061051761071f565b6001600160a01b0316336001600160a01b0316141561053f576105386106d6565b9050610547565b6105476102e1565b90565b61055261071f565b6001600160a01b0316336001600160a01b0316141561032a576001600160a01b0381166105b05760405162461bcd60e51b815260040180806020018281038252603a815260200180610815603a913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6105d961071f565b604080516001600160a01b03928316815291841660208301528051918290030190a161032581610788565b600061060e61071f565b6001600160a01b0316336001600160a01b0316141561053f5761053861071f565b6060815167ffffffffffffffff8111801561064957600080fd5b50604051908082528060200260200182016040528015610673578160200160208202803683370190505b50905060005b82518110156106ca5761069e83828151811061069157fe5b60200260200101516103e2565b8282815181106106aa57fe5b6001600160a01b0390921660209283029190910190910152600101610679565b50919050565b3b151590565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e80801561071a573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61074d816107ac565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b4690565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6107b5816106d0565b6107f05760405162461bcd60e51b815260040180806020018281038252603681526020018061084f6036913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5556fe5472616e73706172656e745570677261646561626c6550726f78793a206e65772061646d696e20697320746865207a65726f20616464726573735570677261646561626c6550726f78793a206e657720696d706c656d656e746174696f6e206973206e6f74206120636f6e7472616374a26469706673582212204d7aa4d7341a408cae5346a7ec8cedb4c9e21f7ad7dc73506735d22c45c80c6264736f6c634300060c0033

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

092359a5505072470ce8b86eebed5b4b6f001fe6bd08dbcf723c97073a360cfc000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000249498bd7179a75ab558b53fdc478d1b223d669e6f5f650ce9b7e9cdd6ae9bd9f0917b552d00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _logic (bytes32): 0x092359a5505072470ce8b86eebed5b4b6f001fe6bd08dbcf723c97073a360cfc
Arg [1] : _data (bytes): 0x9498bd7179a75ab558b53fdc478d1b223d669e6f5f650ce9b7e9cdd6ae9bd9f0917b552d

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 092359a5505072470ce8b86eebed5b4b6f001fe6bd08dbcf723c97073a360cfc
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [3] : 9498bd7179a75ab558b53fdc478d1b223d669e6f5f650ce9b7e9cdd6ae9bd9f0
Arg [4] : 917b552d00000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

20610:465:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3699:11;:9;:11::i;:::-;20610:465;;3475:11;:9;:11::i;17695:111::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17695:111:0;-1:-1:-1;;;;;17695:111:0;;:::i;18192:299::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18192:299:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18192:299:0;;-1:-1:-1;18192:299:0;-1:-1:-1;18192:299:0;:::i;19698:271::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19698:271:0;;:::i;:::-;;;;-1:-1:-1;;;;;19698:271:0;;;;;;;;;;;;;;16961:104;;;;;;;;;;;;;:::i;17281:246::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17281:246:0;-1:-1:-1;;;;;17281:246:0;;:::i;16402:86::-;;;;;;;;;;;;;:::i;19975:243::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19975:243:0;;-1:-1:-1;19975:243:0;;-1:-1:-1;;;;;19975:243:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3127:105;3168:17;:15;:17::i;:::-;3196:28;3206:17;:15;:17::i;:::-;3196:9;:28::i;:::-;3127:105::o;17695:111::-;15858:8;:6;:8::i;:::-;-1:-1:-1;;;;;15844:22:0;:10;-1:-1:-1;;;;;15844:22:0;;15840:100;;;17769:29:::1;17780:17;17769:10;:29::i;:::-;15840:100:::0;;;15917:11;:9;:11::i;:::-;17695:111;:::o;18192:299::-;15858:8;:6;:8::i;:::-;-1:-1:-1;;;;;15844:22:0;:10;-1:-1:-1;;;;;15844:22:0;;15840:100;;;18302:29:::1;18313:17;18302:10;:29::i;:::-;18403:12;18420:17;-1:-1:-1::0;;;;;18420:30:0::1;18451:4;;18420:36;;;;;;;;;;::::0;;::::1;::::0;-1:-1:-1;18420:36:0::1;::::0;-1:-1:-1;18420:36:0;;-1:-1:-1;;18420:36:0;;::::1;::::0;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18402:54;;;18475:7;18467:16;;;::::0;::::1;;15883:1;15840:100:::0;;;15917:11;:9;:11::i;:::-;18192:299;;;:::o;19698:271::-;19758:7;19774:12;19801;:10;:12::i;:::-;19817:1;19801:17;:107;;19866:42;19801:107;;;19821:42;19801:107;19774:141;;19929:8;-1:-1:-1;;;;;19929:17:0;;19947:4;19929:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19929:23:0;:34;;;-1:-1:-1;;;19929:34:0;;;;;;;;;;-1:-1:-1;;;;;19929:28:0;;;;;;:34;;;;;:23;;:34;;;;;;;;:28;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19929:34:0;;19698:271;-1:-1:-1;;;19698:271:0:o;16961:104::-;17013:7;15858:8;:6;:8::i;:::-;-1:-1:-1;;;;;15844:22:0;:10;-1:-1:-1;;;;;15844:22:0;;15840:100;;;17040:17:::1;:15;:17::i;:::-;17033:24;;15840:100:::0;;;15917:11;:9;:11::i;:::-;16961:104;:::o;17281:246::-;15858:8;:6;:8::i;:::-;-1:-1:-1;;;;;15844:22:0;:10;-1:-1:-1;;;;;15844:22:0;;15840:100;;;-1:-1:-1;;;;;17356:22:0;::::1;17348:93;;;;-1:-1:-1::0;;;17348:93:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17457:32;17470:8;:6;:8::i;:::-;17457:32;::::0;;-1:-1:-1;;;;;17457:32:0;;::::1;::::0;;;;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;17500:19;17510:8;17500:9;:19::i;16402:86::-:0;16445:7;15858:8;:6;:8::i;:::-;-1:-1:-1;;;;;15844:22:0;:10;-1:-1:-1;;;;;15844:22:0;;15840:100;;;16472:8:::1;:6;:8::i;19975:243::-:0;20043:23;20098:7;:14;20084:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20084:29:0;;20075:38;;20125:9;20120:93;20144:7;:14;20140:1;:18;20120:93;;;20186:19;20194:7;20202:1;20194:10;;;;;;;;;;;;;;20186:7;:19::i;:::-;20174:6;20181:1;20174:9;;;;;;;;-1:-1:-1;;;;;20174:31:0;;;:9;;;;;;;;;;;:31;20160:3;;20120:93;;;;19975:243;;;:::o;4833:422::-;5200:20;5239:8;;;4833:422::o;12101:248::-;11951:66;12320:11;;12297:45::o;1727:907::-;2119:14;2116:1;2113;2100:34;2337:1;2334;2318:14;2315:1;2299:14;2292:5;2279:60;2416:16;2413:1;2410;2395:38;2456:6;2525:38;;;;2597:16;2594:1;2587:27;2525:38;2544:16;2541:1;2534:27;18557:219;15597:66;18747:11;;18725:44::o;12476:155::-;12543:37;12562:17;12543:18;:37::i;:::-;12596:27;;-1:-1:-1;;;;;12596:27:0;;;;;;;;12476:155;:::o;20224:154::-;20336:9;20224:154;:::o;18863:216::-;15597:66;19039:22;19024:48::o;12727:369::-;12809:37;12828:17;12809:18;:37::i;:::-;12801:104;;;;-1:-1:-1;;;12801:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11951:66;13047:31;13032:57::o

Swarm Source

ipfs://4d7aa4d7341a408cae5346a7ec8cedb4c9e21f7ad7dc73506735d22c45c80c62
Loading...
Loading
[ 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.