ETH Price: $3,385.60 (+1.14%)

Contract

0x09403FD14510F8196F7879eF514827CD76960B5d
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw Final S...207820142024-09-19 3:40:2395 days ago1726717223IN
dYdX: Perpetual Proxy
0 ETH0.0011627612.73007072
Withdraw Final S...207818932024-09-19 3:15:5996 days ago1726715759IN
dYdX: Perpetual Proxy
0 ETH0.0014916316.33062821
Withdraw Final S...205797422024-08-21 21:41:35124 days ago1724276495IN
dYdX: Perpetual Proxy
0 ETH0.000184712.68045656
Withdraw Final S...199150062024-05-21 1:29:35217 days ago1716254975IN
dYdX: Perpetual Proxy
0 ETH0.0018703420.47676857
Withdraw Final S...194067392024-03-10 19:19:11288 days ago1710098351IN
dYdX: Perpetual Proxy
0 ETH0.0057203466.50794099
Withdraw Final S...192298982024-02-15 0:55:35313 days ago1707958535IN
dYdX: Perpetual Proxy
0 ETH0.00166220.18104453
Withdraw Final S...188007312023-12-16 19:34:59373 days ago1702755299IN
dYdX: Perpetual Proxy
0 ETH0.0038587944.86449545
Withdraw Final S...186071822023-11-19 16:55:47400 days ago1700412947IN
dYdX: Perpetual Proxy
0 ETH0.0015715218.27141563
Withdraw Final S...185198692023-11-07 11:46:35412 days ago1699357595IN
dYdX: Perpetual Proxy
0 ETH0.0024382626.69438762
Withdraw Final S...184131562023-10-23 13:06:11427 days ago1698066371IN
dYdX: Perpetual Proxy
0 ETH0.0021456524.94660524
Withdraw Final S...178817632023-08-10 3:18:59502 days ago1691637539IN
dYdX: Perpetual Proxy
0 ETH0.0011710818.89580937
Withdraw Final S...178817572023-08-10 3:17:47502 days ago1691637467IN
dYdX: Perpetual Proxy
0 ETH0.0016252218.89580937
Withdraw Final S...178357672023-08-03 16:49:47508 days ago1691081387IN
dYdX: Perpetual Proxy
0 ETH0.0028971933.68436759
Withdraw Final S...177285512023-07-19 16:54:59523 days ago1689785699IN
dYdX: Perpetual Proxy
0 ETH0.0024987630.34141706
Withdraw Final S...169755892023-04-04 12:40:59629 days ago1680612059IN
dYdX: Perpetual Proxy
0 ETH0.0022195325.80554998
Withdraw Final S...167046542023-02-25 10:17:11667 days ago1677320231IN
dYdX: Perpetual Proxy
0 ETH0.002067330
Withdraw Final S...162616252022-12-25 12:01:23729 days ago1671969683IN
dYdX: Perpetual Proxy
0 ETH0.0013000214.3
Withdraw Final S...161760692022-12-13 13:25:59741 days ago1670937959IN
dYdX: Perpetual Proxy
0 ETH0.0018415822.36153566
Withdraw Final S...152476082022-07-31 2:35:33877 days ago1659234933IN
dYdX: Perpetual Proxy
0 ETH0.000584956.80096143
Withdraw Final S...151907202022-07-22 6:14:47885 days ago1658470487IN
dYdX: Perpetual Proxy
0 ETH0.002580330
Withdraw Final S...150627622022-07-02 11:11:06905 days ago1656760266IN
dYdX: Perpetual Proxy
0 ETH0.002580330
Withdraw Final S...148605922022-05-28 13:40:47940 days ago1653745247IN
dYdX: Perpetual Proxy
0 ETH0.002580330
Withdraw Final S...146500922022-04-24 22:21:14974 days ago1650838874IN
dYdX: Perpetual Proxy
0 ETH0.002067330
Withdraw Final S...139714842022-01-09 13:00:131079 days ago1641733213IN
dYdX: Perpetual Proxy
0 ETH0.01023519119
Withdraw Final S...137909472021-12-12 14:51:221107 days ago1639320682IN
dYdX: Perpetual Proxy
0 ETH0.0041284848
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PerpetualProxy

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion, Apache-2.0 license
/**
 *Submitted for verification at Etherscan.io on 2020-07-22
*/

/*

    Copyright 2020 dYdX Trading Inc.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

*/

pragma solidity 0.5.16;
pragma experimental ABIEncoderV2;

// File: @openzeppelin/upgrades/contracts/upgradeability/Proxy.sol

/**
 * @title Proxy
 * @dev Implements delegation of calls to other contracts, with proper
 * forwarding of return values and bubbling of failures.
 * It defines a fallback function that delegates all calls to the address
 * returned by the abstract _implementation() internal function.
 */
contract Proxy {
  /**
   * @dev Fallback function.
   * Implemented entirely in `_fallback`.
   */
  function () payable external {
    _fallback();
  }

  /**
   * @return The Address of the implementation.
   */
  function _implementation() internal view returns (address);

  /**
   * @dev Delegates execution to an implementation contract.
   * This is a low level function that doesn't return to its internal call site.
   * It will return to the external caller whatever the implementation returns.
   * @param implementation Address to delegate.
   */
  function _delegate(address implementation) internal {
    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 Function that is run as the first thing in the fallback function.
   * Can be redefined in derived contracts to add functionality.
   * Redefinitions must call super._willFallback().
   */
  function _willFallback() internal {
  }

  /**
   * @dev fallback implementation.
   * Extracted to enable manual triggering.
   */
  function _fallback() internal {
    _willFallback();
    _delegate(_implementation());
  }
}

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

/**
 * Utility library of inline functions on addresses
 *
 * Source https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-solidity/v2.1.3/contracts/utils/Address.sol
 * This contract is copied here and renamed from the original to avoid clashes in the compiled artifacts
 * when the user imports a zos-lib contract (that transitively causes this contract to be compiled and added to the
 * build/artifacts folder) as well as the vanilla Address implementation from an openzeppelin version.
 */
library OpenZeppelinUpgradesAddress {
    /**
     * Returns whether the target address is a contract
     * @dev This function will return false if invoked during the constructor of a contract,
     * as the code is not actually created until after the constructor finishes.
     * @param account address of the account to check
     * @return whether the target address is a contract
     */
    function isContract(address account) internal view returns (bool) {
        uint256 size;
        // XXX Currently there is no better way to check if there is a contract in an address
        // than to check the size of the code at that address.
        // See https://ethereum.stackexchange.com/a/14016/36603
        // for more details about how this works.
        // TODO Check this again before the Serenity release, because all addresses will be
        // contracts then.
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }
}

// File: @openzeppelin/upgrades/contracts/upgradeability/BaseUpgradeabilityProxy.sol

/**
 * @title BaseUpgradeabilityProxy
 * @dev This contract implements a proxy that allows to change the
 * implementation address to which it will delegate.
 * Such a change is called an implementation upgrade.
 */
contract BaseUpgradeabilityProxy is Proxy {
  /**
   * @dev Emitted when the implementation is upgraded.
   * @param implementation Address of the new implementation.
   */
  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 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

  /**
   * @dev Returns the current implementation.
   * @return Address of the current implementation
   */
  function _implementation() internal view returns (address impl) {
    bytes32 slot = IMPLEMENTATION_SLOT;
    assembly {
      impl := sload(slot)
    }
  }

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

  /**
   * @dev Sets the implementation address of the proxy.
   * @param newImplementation Address of the new implementation.
   */
  function _setImplementation(address newImplementation) internal {
    require(OpenZeppelinUpgradesAddress.isContract(newImplementation), "Cannot set a proxy implementation to a non-contract address");

    bytes32 slot = IMPLEMENTATION_SLOT;

    assembly {
      sstore(slot, newImplementation)
    }
  }
}

// File: @openzeppelin/upgrades/contracts/upgradeability/UpgradeabilityProxy.sol

/**
 * @title UpgradeabilityProxy
 * @dev Extends BaseUpgradeabilityProxy with a constructor for initializing
 * implementation and init data.
 */
contract UpgradeabilityProxy is BaseUpgradeabilityProxy {
  /**
   * @dev Contract constructor.
   * @param _logic Address of the initial implementation.
   * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.
   */
  constructor(address _logic, bytes memory _data) public payable {
    assert(IMPLEMENTATION_SLOT == bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1));
    _setImplementation(_logic);
    if(_data.length > 0) {
      (bool success,) = _logic.delegatecall(_data);
      require(success);
    }
  }
}

// File: @openzeppelin/upgrades/contracts/upgradeability/BaseAdminUpgradeabilityProxy.sol

/**
 * @title BaseAdminUpgradeabilityProxy
 * @dev This contract combines an upgradeability proxy with an authorization
 * mechanism for administrative tasks.
 * All external functions in this contract must be guarded by the
 * `ifAdmin` modifier. See ethereum/solidity#3864 for a Solidity
 * feature proposal that would enable this to be done automatically.
 */
contract BaseAdminUpgradeabilityProxy is BaseUpgradeabilityProxy {
  /**
   * @dev Emitted when the administration has been transferred.
   * @param previousAdmin Address of the previous admin.
   * @param newAdmin Address of the new admin.
   */
  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 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

  /**
   * @dev Modifier to check whether the `msg.sender` is the admin.
   * If it is, it will run the function. Otherwise, it will delegate the call
   * to the implementation.
   */
  modifier ifAdmin() {
    if (msg.sender == _admin()) {
      _;
    } else {
      _fallback();
    }
  }

  /**
   * @return The address of the proxy admin.
   */
  function admin() external ifAdmin returns (address) {
    return _admin();
  }

  /**
   * @return The address of the implementation.
   */
  function implementation() external ifAdmin returns (address) {
    return _implementation();
  }

  /**
   * @dev Changes the admin of the proxy.
   * Only the current admin can call this function.
   * @param newAdmin Address to transfer proxy administration to.
   */
  function changeAdmin(address newAdmin) external ifAdmin {
    require(newAdmin != address(0), "Cannot change the admin of a proxy to the zero address");
    emit AdminChanged(_admin(), newAdmin);
    _setAdmin(newAdmin);
  }

  /**
   * @dev Upgrade the backing implementation of the proxy.
   * Only the admin can call this function.
   * @param newImplementation Address of the new implementation.
   */
  function upgradeTo(address newImplementation) external ifAdmin {
    _upgradeTo(newImplementation);
  }

  /**
   * @dev Upgrade the backing implementation of the proxy and call a function
   * on the new implementation.
   * This is useful to initialize the proxied contract.
   * @param newImplementation Address of the new implementation.
   * @param data Data to send as msg.data in the low level call.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   */
  function upgradeToAndCall(address newImplementation, bytes calldata data) payable external ifAdmin {
    _upgradeTo(newImplementation);
    (bool success,) = newImplementation.delegatecall(data);
    require(success);
  }

  /**
   * @return The admin slot.
   */
  function _admin() internal view returns (address adm) {
    bytes32 slot = ADMIN_SLOT;
    assembly {
      adm := sload(slot)
    }
  }

  /**
   * @dev Sets the address of the proxy admin.
   * @param newAdmin Address of the new proxy admin.
   */
  function _setAdmin(address newAdmin) internal {
    bytes32 slot = ADMIN_SLOT;

    assembly {
      sstore(slot, newAdmin)
    }
  }

  /**
   * @dev Only fall back when the sender is not the admin.
   */
  function _willFallback() internal {
    require(msg.sender != _admin(), "Cannot call fallback function from the proxy admin");
    super._willFallback();
  }
}

// File: @openzeppelin/upgrades/contracts/upgradeability/AdminUpgradeabilityProxy.sol

/**
 * @title AdminUpgradeabilityProxy
 * @dev Extends from BaseAdminUpgradeabilityProxy with a constructor for
 * initializing the implementation, admin, and init data.
 */
contract AdminUpgradeabilityProxy is BaseAdminUpgradeabilityProxy, UpgradeabilityProxy {
  /**
   * Contract constructor.
   * @param _logic address of the initial implementation.
   * @param _admin Address of the proxy administrator.
   * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.
   */
  constructor(address _logic, address _admin, bytes memory _data) UpgradeabilityProxy(_logic, _data) public payable {
    assert(ADMIN_SLOT == bytes32(uint256(keccak256('eip1967.proxy.admin')) - 1));
    _setAdmin(_admin);
  }
}

// File: contracts/protocol/PerpetualProxy.sol

/* solium-disable-next-line */

/**
 * @title PerpetualProxy
 * @author dYdX
 *
 * @notice Proxy contract that forwards calls to the main Perpetual contract.
 */
contract PerpetualProxy is
    AdminUpgradeabilityProxy
{
    /**
     * @dev The constructor of the proxy that sets the admin and logic.
     *
     * @param  logic  The address of the contract that implements the underlying logic.
     * @param  admin  The address of the admin of the proxy.
     * @param  data   Any data to send immediately to the implementation contract.
     */
    constructor(
        address logic,
        address admin,
        bytes memory data
    )
        public
        AdminUpgradeabilityProxy(
            logic,
            admin,
            data
        )
    {}

    /**
     * @dev Overrides the default functionality that prevents the admin from reaching the
     *  implementation contract.
     */
    function _willFallback()
        internal
    { /* solium-disable-line no-empty-blocks */ }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"logic","type":"address"},{"internalType":"address","name":"admin","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"payable":false,"stateMutability":"nonpayable","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"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"payable":true,"stateMutability":"payable","type":"function"}]

60806040523480156200001157600080fd5b5060405162000c8b38038062000c8b833981016040819052620000349162000223565b828282828160016040516200004990620003b0565b6040519081900390200360008051602062000c6b833981519152146200006b57fe5b6200007f826001600160e01b036200014a16565b805115620000f6576000826001600160a01b031682604051620000a391906200039b565b600060405180830381855af49150503d8060008114620000e0576040519150601f19603f3d011682016040523d82523d6000602084013e620000e5565b606091505b5050905080620000f457600080fd5b505b505060016040516200010890620003bd565b6040519081900390200360008051602062000c4b833981519152146200012a57fe5b6200013e826001600160e01b036200019b16565b5050505050506200049c565b6200016081620001ae60201b620004eb1760201c565b620001885760405162461bcd60e51b81526004016200017f90620003ca565b60405180910390fd5b60008051602062000c6b83398151915255565b60008051602062000c4b83398151915255565b3b151590565b8051620001c18162000482565b92915050565b600082601f830112620001d957600080fd5b8151620001f0620001ea8262000403565b620003dc565b915080825260208301602083018583830111156200020d57600080fd5b6200021a8382846200044f565b50505092915050565b6000806000606084860312156200023957600080fd5b6000620002478686620001b4565b93505060206200025a86828701620001b4565b92505060408401516001600160401b038111156200027757600080fd5b6200028586828701620001c7565b9150509250925092565b60006200029c826200042b565b620002a881856200042f565b9350620002ba8185602086016200044f565b9290920192915050565b6000620002d3601c836200042f565b7f656970313936372e70726f78792e696d706c656d656e746174696f6e000000008152601c0192915050565b60006200030e603b8362000434565b7f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f81527f6e20746f2061206e6f6e2d636f6e747261637420616464726573730000000000602082015260400192915050565b60006200036f6013836200042f565b7f656970313936372e70726f78792e61646d696e00000000000000000000000000815260130192915050565b6000620003a982846200028f565b9392505050565b6000620001c182620002c4565b6000620001c18262000360565b60208082528101620001c181620002ff565b6040518181016001600160401b0381118282101715620003fb57600080fd5b604052919050565b60006001600160401b038211156200041a57600080fd5b506020601f91909101601f19160190565b5190565b919050565b90815260200190565b60006001600160a01b038216620001c1565b60005b838110156200046c57818101518382015260200162000452565b838111156200047c576000848401525b50505050565b6200048d816200043d565b81146200049957600080fd5b50565b61079f80620004ac6000396000f3fe60806040526004361061005a5760003560e01c80635c60da1b116100435780635c60da1b146100975780638f283970146100c2578063f851a440146100e25761005a565b80633659cfe6146100645780634f1ef28614610084575b6100626100f7565b005b34801561007057600080fd5b5061006261007f36600461054b565b610111565b610062610092366004610571565b610165565b3480156100a357600080fd5b506100ac610233565b6040516100b991906106c0565b60405180910390f35b3480156100ce57600080fd5b506100626100dd36600461054b565b61028a565b3480156100ee57600080fd5b506100ac610364565b6100ff61010f565b61010f61010a6103a9565b6103ce565b565b6101196103f2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561015a5761015581610417565b610162565b6101626100f7565b50565b61016d6103f2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610226576101a983610417565b60008373ffffffffffffffffffffffffffffffffffffffff1683836040516101d29291906106b3565b600060405180830381855af49150503d806000811461020d576040519150601f19603f3d011682016040523d82523d6000602084013e610212565b606091505b505090508061022057600080fd5b5061022e565b61022e6100f7565b505050565b600061023d6103f2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561027f576102786103a9565b9050610287565b6102876100f7565b90565b6102926103f2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561015a5773ffffffffffffffffffffffffffffffffffffffff811661031b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610312906106f0565b60405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103446103f2565b826040516103539291906106ce565b60405180910390a161015581610464565b600061036e6103f2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561027f576102786103f2565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e8080156103ed573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61042081610488565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b610491816104eb565b6104c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031290610700565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b3b151590565b80356104fc81610748565b92915050565b60008083601f84011261051457600080fd5b50813567ffffffffffffffff81111561052c57600080fd5b60208301915083600182028301111561054457600080fd5b9250929050565b60006020828403121561055d57600080fd5b600061056984846104f1565b949350505050565b60008060006040848603121561058657600080fd5b600061059286866104f1565b935050602084013567ffffffffffffffff8111156105af57600080fd5b6105bb86828701610502565b92509250509250925092565b6105d08161071e565b82525050565b60006105e28385610710565b93506105ef83858461073c565b50500190565b6000610602603683610715565b7f43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f81527f787920746f20746865207a65726f206164647265737300000000000000000000602082015260400192915050565b6000610661603b83610715565b7f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f81527f6e20746f2061206e6f6e2d636f6e747261637420616464726573730000000000602082015260400192915050565b60006105698284866105d6565b602081016104fc82846105c7565b604081016106dc82856105c7565b6106e960208301846105c7565b9392505050565b602080825281016104fc816105f5565b602080825281016104fc81610654565b919050565b90815260200190565b600073ffffffffffffffffffffffffffffffffffffffff82166104fc565b82818337506000910152565b6107518161071e565b811461016257600080fdfea365627a7a72315820a63756aae4938a11480f95e3a8869ee9772c8b12e2e378b1a097f433e6512b6a6c6578706572696d656e74616cf564736f6c63430005100040b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc000000000000000000000000e883b3efdae637fc599b467478a23199778f2ccf000000000000000000000000a2f79147143e9100e1dd65df277ac5482519714800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061005a5760003560e01c80635c60da1b116100435780635c60da1b146100975780638f283970146100c2578063f851a440146100e25761005a565b80633659cfe6146100645780634f1ef28614610084575b6100626100f7565b005b34801561007057600080fd5b5061006261007f36600461054b565b610111565b610062610092366004610571565b610165565b3480156100a357600080fd5b506100ac610233565b6040516100b991906106c0565b60405180910390f35b3480156100ce57600080fd5b506100626100dd36600461054b565b61028a565b3480156100ee57600080fd5b506100ac610364565b6100ff61010f565b61010f61010a6103a9565b6103ce565b565b6101196103f2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561015a5761015581610417565b610162565b6101626100f7565b50565b61016d6103f2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610226576101a983610417565b60008373ffffffffffffffffffffffffffffffffffffffff1683836040516101d29291906106b3565b600060405180830381855af49150503d806000811461020d576040519150601f19603f3d011682016040523d82523d6000602084013e610212565b606091505b505090508061022057600080fd5b5061022e565b61022e6100f7565b505050565b600061023d6103f2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561027f576102786103a9565b9050610287565b6102876100f7565b90565b6102926103f2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561015a5773ffffffffffffffffffffffffffffffffffffffff811661031b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610312906106f0565b60405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103446103f2565b826040516103539291906106ce565b60405180910390a161015581610464565b600061036e6103f2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561027f576102786103f2565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e8080156103ed573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61042081610488565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b610491816104eb565b6104c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031290610700565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b3b151590565b80356104fc81610748565b92915050565b60008083601f84011261051457600080fd5b50813567ffffffffffffffff81111561052c57600080fd5b60208301915083600182028301111561054457600080fd5b9250929050565b60006020828403121561055d57600080fd5b600061056984846104f1565b949350505050565b60008060006040848603121561058657600080fd5b600061059286866104f1565b935050602084013567ffffffffffffffff8111156105af57600080fd5b6105bb86828701610502565b92509250509250925092565b6105d08161071e565b82525050565b60006105e28385610710565b93506105ef83858461073c565b50500190565b6000610602603683610715565b7f43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f81527f787920746f20746865207a65726f206164647265737300000000000000000000602082015260400192915050565b6000610661603b83610715565b7f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f81527f6e20746f2061206e6f6e2d636f6e747261637420616464726573730000000000602082015260400192915050565b60006105698284866105d6565b602081016104fc82846105c7565b604081016106dc82856105c7565b6106e960208301846105c7565b9392505050565b602080825281016104fc816105f5565b602080825281016104fc81610654565b919050565b90815260200190565b600073ffffffffffffffffffffffffffffffffffffffff82166104fc565b82818337506000910152565b6107518161071e565b811461016257600080fdfea365627a7a72315820a63756aae4938a11480f95e3a8869ee9772c8b12e2e378b1a097f433e6512b6a6c6578706572696d656e74616cf564736f6c63430005100040

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

000000000000000000000000e883b3efdae637fc599b467478a23199778f2ccf000000000000000000000000a2f79147143e9100e1dd65df277ac5482519714800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : logic (address): 0xE883b3efdaE637fC599b467478a23199778F2cCf
Arg [1] : admin (address): 0xA2f79147143E9100e1Dd65Df277Ac54825197148
Arg [2] : data (bytes): 0x

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000e883b3efdae637fc599b467478a23199778f2ccf
Arg [1] : 000000000000000000000000a2f79147143e9100e1dd65df277ac54825197148
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

12759:868:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1194:11;:9;:11::i;:::-;12759:868;9807:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;9807:105:0;;;;;;;;:::i;10440:225::-;;;;;;;;;:::i;9107:98::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9107:98:0;;;:::i;:::-;;;;;;;;;;;;;;;;9388:228;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;9388:228:0;;;;;;;;:::i;8958:80::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8958:80:0;;;:::i;2740:93::-;2777:15;:13;:15::i;:::-;2799:28;2809:17;:15;:17::i;:::-;2799:9;:28::i;:::-;2740:93::o;9807:105::-;8825:8;:6;:8::i;:::-;8811:22;;:10;:22;;;8807:80;;;9877:29;9888:17;9877:10;:29::i;:::-;8807:80;;;8868:11;:9;:11::i;:::-;9807:105;:::o;10440:225::-;8825:8;:6;:8::i;:::-;8811:22;;:10;:22;;;8807:80;;;10546:29;10557:17;10546:10;:29::i;:::-;10583:12;10600:17;:30;;10631:4;;10600:36;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;10582:54:0;;;10651:7;10643:16;;;;;;8844:1;8807:80;;;8868:11;:9;:11::i;:::-;10440:225;;;:::o;9107:98::-;9159:7;8825:8;:6;:8::i;:::-;8811:22;;:10;:22;;;8807:80;;;9182:17;:15;:17::i;:::-;9175:24;;8807:80;;;8868:11;:9;:11::i;:::-;9107:98;:::o;9388:228::-;8825:8;:6;:8::i;:::-;8811:22;;:10;:22;;;8807:80;;;9459:22;;;9451:89;;;;;;;;;;;;;;;;;;;;;;9552:32;9565:8;:6;:8::i;:::-;9575;9552:32;;;;;;;;;;;;;;;;9591:19;9601:8;9591:9;:19::i;8958:80::-;9001:7;8825:8;:6;:8::i;:::-;8811:22;;:10;:22;;;8807:80;;;9024:8;:6;:8::i;5443:161::-;5257:66;5581:11;;5564:35::o;1633:750::-;1940:12;1937:1;1934;1921:32;2134:1;2131;2117:12;2114:1;2098:14;2093:3;2080:56;2201:14;2198:1;2195;2180:36;2233:6;2290:36;;;;2354:14;2351:1;2344:25;2290:36;2309:14;2306:1;2299:25;10715:141;8518:66;10833:11;;10817:34::o;5745:145::-;5808:37;5827:17;5808:18;:37::i;:::-;5857:27;;;;;;;;;;;5745:145;:::o;10978:139::-;8518:66;11083:22;11074:38::o;6033:313::-;6112:57;6151:17;6112:38;:57::i;:::-;6104:129;;;;;;;;;;;;;;5257:66;6303:31;6294:47::o;3818:627::-;4390:20;4429:8;;;3818:627::o;5:130:-1:-;72:20;;97:33;72:20;97:33;;;57:78;;;;;156:336;;;270:3;263:4;255:6;251:17;247:27;237:2;;288:1;285;278:12;237:2;-1:-1;308:20;;348:18;337:30;;334:2;;;380:1;377;370:12;334:2;414:4;406:6;402:17;390:29;;465:3;457:4;449:6;445:17;435:8;431:32;428:41;425:2;;;482:1;479;472:12;425:2;230:262;;;;;;500:241;;604:2;592:9;583:7;579:23;575:32;572:2;;;620:1;617;610:12;572:2;655:1;672:53;717:7;697:9;672:53;;;662:63;566:175;-1:-1;;;;566:175;748:490;;;;888:2;876:9;867:7;863:23;859:32;856:2;;;904:1;901;894:12;856:2;939:1;956:53;1001:7;981:9;956:53;;;946:63;;918:97;1074:2;1063:9;1059:18;1046:32;1098:18;1090:6;1087:30;1084:2;;;1130:1;1127;1120:12;1084:2;1158:64;1214:7;1205:6;1194:9;1190:22;1158:64;;;1148:74;;;;1025:203;850:388;;;;;;1245:113;1328:24;1346:5;1328:24;;;1323:3;1316:37;1310:48;;;1388:310;;1520:88;1601:6;1596:3;1520:88;;;1513:95;;1620:43;1656:6;1651:3;1644:5;1620:43;;;-1:-1;;1676:16;;1506:192;1707:391;;1867:67;1931:2;1926:3;1867:67;;;1967:34;1947:55;;2036:24;2031:2;2022:12;;2015:46;2089:2;2080:12;;1853:245;-1:-1;;1853:245;2107:396;;2267:67;2331:2;2326:3;2267:67;;;2367:34;2347:55;;2436:29;2431:2;2422:12;;2415:51;2494:2;2485:12;;2253:250;-1:-1;;2253:250;2511:282;;2665:103;2764:3;2755:6;2747;2665:103;;2800:213;2918:2;2903:18;;2932:71;2907:9;2976:6;2932:71;;3020:324;3166:2;3151:18;;3180:71;3155:9;3224:6;3180:71;;;3262:72;3330:2;3319:9;3315:18;3306:6;3262:72;;;3137:207;;;;;;3351:407;3542:2;3556:47;;;3527:18;;3617:131;3527:18;3617:131;;3765:407;3956:2;3970:47;;;3941:18;;4031:131;3941:18;4031:131;;4180:144;4315:3;4293:31;-1:-1;4293:31;4333:163;4436:19;;;4485:4;4476:14;;4429:67;4504:91;;4675:42;4664:54;;4566:24;4647:76;4731:145;4812:6;4807:3;4802;4789:30;-1:-1;4868:1;4850:16;;4843:27;4782:94;4884:117;4953:24;4971:5;4953:24;;;4946:5;4943:35;4933:2;;4992:1;4989;4982:12

Swarm Source

bzzr://a63756aae4938a11480f95e3a8869ee9772c8b12e2e378b1a097f433e6512b6a

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.