ETH Price: $2,912.36 (-0.20%)
Gas: 3 Gwei

Contract

0x34E4B735798Ae6D6bA9915e5b552c62eb16426c0
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Exchange190076822024-01-14 21:03:11118 days ago1705266191IN
0x34E4B735...eb16426c0
0 ETH0.0019089121.30632758
Exchange189908502024-01-12 12:35:11120 days ago1705062911IN
0x34E4B735...eb16426c0
0 ETH0.0025733828.72279293
Exchange186958362023-12-02 2:48:47161 days ago1701485327IN
0x34E4B735...eb16426c0
0 ETH0.0024428.77977155
Exchange185519492023-11-11 23:24:35182 days ago1699745075IN
0x34E4B735...eb16426c0
0 ETH0.0024604529.02507532
Exchange185515802023-11-11 22:10:35182 days ago1699740635IN
0x34E4B735...eb16426c0
0 ETH0.0023958528.26300068
Exchange181005182023-09-09 18:08:23245 days ago1694282903IN
0x34E4B735...eb16426c0
0 ETH0.000723269.98018173
Exchange175662172023-06-26 21:19:23320 days ago1687814363IN
0x34E4B735...eb16426c0
0 ETH0.001089312.84646535
Exchange174799142023-06-14 18:20:11332 days ago1686766811IN
0x34E4B735...eb16426c0
0 ETH0.0025697130.31401122
Exchange174714302023-06-13 13:40:35333 days ago1686663635IN
0x34E4B735...eb16426c0
0 ETH0.0009868518.18445474
Exchange174450272023-06-09 20:26:11337 days ago1686342371IN
0x34E4B735...eb16426c0
0 ETH0.0017968324.78602781
Exchange174280652023-06-07 11:01:11339 days ago1686135671IN
0x34E4B735...eb16426c0
0 ETH0.0010857520.00686446
Exchange174180992023-06-06 1:17:35341 days ago1686014255IN
0x34E4B735...eb16426c0
0 ETH0.0014715420.30221335
Exchange173868412023-06-01 15:26:35345 days ago1685633195IN
0x34E4B735...eb16426c0
0 ETH0.0042567247.51129598
Exchange173726542023-05-30 15:33:23347 days ago1685460803IN
0x34E4B735...eb16426c0
0 ETH0.0049656858.57835976
Exchange173601532023-05-28 21:20:23349 days ago1685308823IN
0x34E4B735...eb16426c0
0 ETH0.0013820525.46674909
Exchange173592742023-05-28 18:23:35349 days ago1685298215IN
0x34E4B735...eb16426c0
0 ETH0.002829531.58142753
Exchange173579822023-05-28 14:02:35349 days ago1685282555IN
0x34E4B735...eb16426c0
0 ETH0.0009210429.00022371
Exchange173529202023-05-27 20:59:59350 days ago1685221199IN
0x34E4B735...eb16426c0
0 ETH0.0018887622.2811024
Exchange173474712023-05-27 2:38:23350 days ago1685155103IN
0x34E4B735...eb16426c0
0 ETH0.0025653830.25430416
Exchange173297852023-05-24 14:57:59353 days ago1684940279IN
0x34E4B735...eb16426c0
0 ETH0.0028839553.14186787
Exchange173251262023-05-23 23:14:35354 days ago1684883675IN
0x34E4B735...eb16426c0
0 ETH0.0034993241.27444077
Exchange173158862023-05-22 16:01:59355 days ago1684771319IN
0x34E4B735...eb16426c0
0 ETH0.0042996779.22902532
Exchange173101762023-05-21 20:43:23356 days ago1684701803IN
0x34E4B735...eb16426c0
0 ETH0.0036350740.57822437
Exchange173076132023-05-21 12:01:59356 days ago1684670519IN
0x34E4B735...eb16426c0
0 ETH0.00965285107.74000339
Exchange173031902023-05-20 21:06:35357 days ago1684616795IN
0x34E4B735...eb16426c0
0 ETH0.0017289731.85941859
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:
WRLD_Token_Exchanger

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion
File 1 of 7 : WRLD_Token_Exchanger.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

import "./ERC2771Context_Upgradeable.sol";
import "./IERC20_Game_Currency.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract WRLD_Token_Exchanger is Ownable, ERC2771Context_Upgradeable {
  IERC20 immutable V1_WRLD;
  IERC20_Game_Currency immutable V2_WRLD;
  uint256 exchangeBonusBP = 500; // basis points, 5%

  constructor(address _forwarder, address _V1WRLD, address _V2WRLD)
  ERC2771Context_Upgradeable(_forwarder) {
    V1_WRLD = IERC20(_V1WRLD);
    V2_WRLD = IERC20_Game_Currency(_V2WRLD);
  }

  function exchange(uint256 inputAmount) external {
    uint256 outputAmount = inputAmount + (inputAmount * exchangeBonusBP / 10000);

    // forever locked into exchanger contract since transferFrom cannot transfer to burn addr
    V1_WRLD.transferFrom(_msgSender(), address(this), inputAmount);

    if (V2_WRLD.balanceOf(address(this)) >= outputAmount) {
        V2_WRLD.transfer(_msgSender(), outputAmount);
    } else {
        V2_WRLD.mint(_msgSender(), outputAmount);
    }
  }

  /**
   * @dev Support for gasless transactions
   */

  function upgradeTrustedForwarder(address _newTrustedForwarder) external onlyOwner {
    _upgradeTrustedForwarder(_newTrustedForwarder);
  }

  function _msgSender() internal view override(Context, ERC2771Context_Upgradeable) returns (address) {
    return super._msgSender();
  }

  function _msgData() internal view override(Context, ERC2771Context_Upgradeable) returns (bytes calldata) {
    return super._msgData();
  }
}

File 3 of 7 : ERC2771Context_Upgradeable.sol
// SPDX-License-Identifier: Commons-Clause-1.0
//  __  __     _        ___     _
// |  \/  |___| |_ __ _| __|_ _| |__
// | |\/| / -_)  _/ _` | _/ _` | '_ \
// |_|  |_\___|\__\__,_|_|\__,_|_.__/
//
// Launch your crypto game or gamefi project's blockchain
// infrastructure & game APIs fast with https://trymetafab.com

pragma solidity ^0.8.16;

import "@openzeppelin/contracts/utils/Context.sol";

/**
 * @dev Context variant with ERC2771 support and upgradeable trusted forwarder.
 */

abstract contract ERC2771Context_Upgradeable is Context {
  address private trustedForwarder;

  constructor(address _trustedForwarder) {
    trustedForwarder = _trustedForwarder;
  }

  function isTrustedForwarder(address forwarder) public view virtual returns (bool) {
    return forwarder == trustedForwarder;
  }

  function _upgradeTrustedForwarder(address _trustedForwarder) internal {
    trustedForwarder = _trustedForwarder;
  }

  function _msgSender() internal view virtual override returns (address sender) {
    if (isTrustedForwarder(msg.sender)) {
      // The assembly code is more direct than the Solidity version using `abi.decode`.
      /// @solidity memory-safe-assembly
      assembly {
        sender := shr(96, calldataload(sub(calldatasize(), 20)))
      }
    } else {
      return super._msgSender();
    }
  }

  function _msgData() internal view virtual override returns (bytes calldata) {
    if (isTrustedForwarder(msg.sender)) {
      return msg.data[:msg.data.length - 20];
    } else {
      return super._msgData();
    }
  }
}

File 4 of 7 : IERC20_Game_Currency.sol
// SPDX-License-Identifier: Commons-Clause-1.0
//  __  __     _        ___     _
// |  \/  |___| |_ __ _| __|_ _| |__
// | |\/| / -_)  _/ _` | _/ _` | '_ \
// |_|  |_\___|\__\__,_|_|\__,_|_.__/
//
// Launch your crypto game or gamefi project's blockchain
// infrastructure & game APIs fast with https://trymetafab.com

pragma solidity ^0.8.16;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface IERC20_Game_Currency is IERC20, IERC165  {
  // events
  event TransferRef(address indexed sender, address indexed recipient, uint256 amount, uint256 ref);
  event BatchTransferRef(address indexed sender, address[] recipients, uint256[] amounts, uint256[] refs);

  // autogenerated getters
  function feeBps() external view returns (uint);
  function feeFixed() external view returns (uint);
  function feeCap() external view returns (uint);
  function feeRecipient() external view returns (address);
  function childChainManagerProxy() external view returns (address);
  function supplyCap() external view returns (uint256);

  // functions
  function mint(address _to, uint256 _amount) external;
  function burn(uint256 _amount) external;
  function transferWithRef(address recipient, uint256 amount, uint256 ref) external returns (bool);
  function batchTransfer(address[] calldata recipients, uint256[] calldata amounts) external returns (bool);
  function batchTransferWithRefs(address[] calldata recipients, uint256[] calldata amounts, uint256[] calldata refs) external returns (bool);
  function batchTransferWithFees(address[] calldata recipients, uint256[] calldata amounts) external returns (bool);
  function batchTransferWithFeesRefs(address[] calldata recipients, uint256[] calldata amounts, uint256[] calldata refs) external returns (bool);
  function deposit(address user, bytes calldata depositData) external;
  function withdraw(uint256 amount) external;
  function updateChildChainManager(address _childChainManagerProxy) external;
  function burnWithFee(uint256 amount) external returns (bool);
  function transferWithFee(address recipient, uint256 amount) external returns (bool);
  function transferWithFeeRef(address recipient, uint256 amount, uint256 ref) external returns (bool);
  function setFees(address recipient, uint _feeBps, uint _feeFixed, uint _feeCap) external;
}

File 5 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 7 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 8 of 7 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_forwarder","type":"address"},{"internalType":"address","name":"_V1WRLD","type":"address"},{"internalType":"address","name":"_V2WRLD","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"inputAmount","type":"uint256"}],"name":"exchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"forwarder","type":"address"}],"name":"isTrustedForwarder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTrustedForwarder","type":"address"}],"name":"upgradeTrustedForwarder","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526101f460025534801561001657600080fd5b50604051610bc8380380610bc88339810160408190526100359161012f565b82610046610041610072565b61008b565b600180546001600160a01b0319166001600160a01b039283161790559182166080521660a05250610172565b60006100866100db60201b6107c21760201c565b905090565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001546000906001600160a01b031633036100fd575060131936013560601c90565b61008661010f60201b6108191760201c565b3390565b80516001600160a01b038116811461012a57600080fd5b919050565b60008060006060848603121561014457600080fd5b61014d84610113565b925061015b60208501610113565b915061016960408501610113565b90509250925092565b60805160a051610a236101a560003960008181610260015281816102e701526103c6015260006101510152610a236000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c80638da5cb5b116100505780638da5cb5b146100d8578063aa2a7eea14610100578063f2fde38b1461011357600080fd5b80635355655914610077578063572b6c051461008c578063715018a6146100d0575b600080fd5b61008a61008536600461089c565b610126565b005b6100bb61009a3660046108b5565b60015473ffffffffffffffffffffffffffffffffffffffff91821691161490565b60405190151581526020015b60405180910390f35b61008a610491565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100c7565b61008a61010e3660046108b5565b61055c565b61008a6101213660046108b5565b61065c565b6000612710600254836101399190610921565b610143919061095e565b61014d9083610999565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd61019361081d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152306024820152604481018590526064016020604051808303816000875af115801561020b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022f91906109b2565b506040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156102bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e091906109d4565b106103c4577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61032961081d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152602481018490526044016020604051808303816000875af115801561039b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103bf91906109b2565b505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166340c10f1961040861081d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff909116600482015260248101849052604401600060405180830381600087803b15801561047557600080fd5b505af1158015610489573d6000803e3d6000fd5b505050505050565b61049961081d565b73ffffffffffffffffffffffffffffffffffffffff166104ce60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b61055a6000610827565b565b61056461081d565b73ffffffffffffffffffffffffffffffffffffffff1661059960005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610547565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831617905550565b50565b61066461081d565b73ffffffffffffffffffffffffffffffffffffffff1661069960005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610716576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610547565b73ffffffffffffffffffffffffffffffffffffffff81166107b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610547565b61065981610827565b60015460009073ffffffffffffffffffffffffffffffffffffffff16330361080f57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec36013560601c90565b503390565b905090565b3390565b60006108146107c2565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156108ae57600080fd5b5035919050565b6000602082840312156108c757600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146108eb57600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610959576109596108f2565b500290565b600082610994577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b808201808211156109ac576109ac6108f2565b92915050565b6000602082840312156109c457600080fd5b815180151581146108eb57600080fd5b6000602082840312156109e657600080fd5b505191905056fea2646970667358221220a48e33f475d28a558812a5eb7a71ed36af66b7ff4cc0204d464f742f2cb68ecd64736f6c6343000810003300000000000000000000000057af1e8eafb173254c6b39ccbd207064ac4ec6a2000000000000000000000000d5d86fc8d5c0ea1ac1ac5dfab6e529c9967a45e9000000000000000000000000ff2d6934fb49e3e883dc03871d081a1c21ad7984

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100725760003560e01c80638da5cb5b116100505780638da5cb5b146100d8578063aa2a7eea14610100578063f2fde38b1461011357600080fd5b80635355655914610077578063572b6c051461008c578063715018a6146100d0575b600080fd5b61008a61008536600461089c565b610126565b005b6100bb61009a3660046108b5565b60015473ffffffffffffffffffffffffffffffffffffffff91821691161490565b60405190151581526020015b60405180910390f35b61008a610491565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100c7565b61008a61010e3660046108b5565b61055c565b61008a6101213660046108b5565b61065c565b6000612710600254836101399190610921565b610143919061095e565b61014d9083610999565b90507f000000000000000000000000d5d86fc8d5c0ea1ac1ac5dfab6e529c9967a45e973ffffffffffffffffffffffffffffffffffffffff166323b872dd61019361081d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152306024820152604481018590526064016020604051808303816000875af115801561020b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022f91906109b2565b506040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281907f000000000000000000000000ff2d6934fb49e3e883dc03871d081a1c21ad798473ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156102bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e091906109d4565b106103c4577f000000000000000000000000ff2d6934fb49e3e883dc03871d081a1c21ad798473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61032961081d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152602481018490526044016020604051808303816000875af115801561039b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103bf91906109b2565b505050565b7f000000000000000000000000ff2d6934fb49e3e883dc03871d081a1c21ad798473ffffffffffffffffffffffffffffffffffffffff166340c10f1961040861081d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff909116600482015260248101849052604401600060405180830381600087803b15801561047557600080fd5b505af1158015610489573d6000803e3d6000fd5b505050505050565b61049961081d565b73ffffffffffffffffffffffffffffffffffffffff166104ce60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b61055a6000610827565b565b61056461081d565b73ffffffffffffffffffffffffffffffffffffffff1661059960005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610547565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831617905550565b50565b61066461081d565b73ffffffffffffffffffffffffffffffffffffffff1661069960005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610716576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610547565b73ffffffffffffffffffffffffffffffffffffffff81166107b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610547565b61065981610827565b60015460009073ffffffffffffffffffffffffffffffffffffffff16330361080f57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec36013560601c90565b503390565b905090565b3390565b60006108146107c2565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156108ae57600080fd5b5035919050565b6000602082840312156108c757600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146108eb57600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610959576109596108f2565b500290565b600082610994577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b808201808211156109ac576109ac6108f2565b92915050565b6000602082840312156109c457600080fd5b815180151581146108eb57600080fd5b6000602082840312156109e657600080fd5b505191905056fea2646970667358221220a48e33f475d28a558812a5eb7a71ed36af66b7ff4cc0204d464f742f2cb68ecd64736f6c63430008100033

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

00000000000000000000000057af1e8eafb173254c6b39ccbd207064ac4ec6a2000000000000000000000000d5d86fc8d5c0ea1ac1ac5dfab6e529c9967a45e9000000000000000000000000ff2d6934fb49e3e883dc03871d081a1c21ad7984

-----Decoded View---------------
Arg [0] : _forwarder (address): 0x57aF1E8EAfB173254C6b39ccBd207064Ac4ec6a2
Arg [1] : _V1WRLD (address): 0xD5d86FC8d5C0Ea1aC1Ac5Dfab6E529c9967a45E9
Arg [2] : _V2WRLD (address): 0xFF2d6934fb49e3e883Dc03871D081a1C21ad7984

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000057af1e8eafb173254c6b39ccbd207064ac4ec6a2
Arg [1] : 000000000000000000000000d5d86fc8d5c0ea1ac1ac5dfab6e529c9967a45e9
Arg [2] : 000000000000000000000000ff2d6934fb49e3e883dc03871d081a1c21ad7984


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.