Mumbai Testnet

Contract

0xEF06B9d5cbd8DE0c7F80Cf01af7c9d973c632fB1

Overview

MATIC Balance

Token Holdings

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Value
Reactor Encoder221053482021-11-30 17:33:31963 days ago1638293611IN
0xEF06B9d5...73c632fB1
0 MATIC0.000310863.5
Reactor Encoder221053052021-11-30 17:32:01963 days ago1638293521IN
0xEF06B9d5...73c632fB1
0 MATIC0.000310863.5
Reactor Decoder221052772021-11-30 17:30:57963 days ago1638293457IN
0xEF06B9d5...73c632fB1
0 MATIC0.000284963.5
Reactor Encoder221052672021-11-30 17:30:17963 days ago1638293417IN
0xEF06B9d5...73c632fB1
0 MATIC0.000310863.5
Reactor Encoder221052522021-11-30 17:29:17963 days ago1638293357IN
0xEF06B9d5...73c632fB1
0 MATIC0.000310863.5
Reactor Encoder221050212021-11-30 17:20:05963 days ago1638292805IN
0xEF06B9d5...73c632fB1
0 MATIC0.000370713.5
Game Token Nucle...221045482021-11-30 16:59:35963 days ago1638291575IN
0xEF06B9d5...73c632fB1
0 MATIC0.00296193.5
Game Token Nucle...221045232021-11-30 16:58:45963 days ago1638291525IN
0xEF06B9d5...73c632fB1
0 MATIC0.00296193.5
Game Token Nucle...221031122021-11-30 16:01:43963 days ago1638288103IN
0xEF06B9d5...73c632fB1
0 MATIC0.000098383.5
Game Token Nucle...221031022021-11-30 16:01:17963 days ago1638288077IN
0xEF06B9d5...73c632fB1
0 MATIC0.002961943.5
Reactor Encoder220964002021-11-30 11:26:11964 days ago1638271571IN
0xEF06B9d5...73c632fB1
0 MATIC0.000490453.5
Reactor Decoder220815062021-11-30 1:13:55964 days ago1638234835IN
0xEF06B9d5...73c632fB1
0 MATIC0.000265484
Reactor Encoder220814692021-11-30 1:12:37964 days ago1638234757IN
0xEF06B9d5...73c632fB1
0 MATIC0.000423484
Reactor Encoder220814202021-11-30 1:10:59964 days ago1638234659IN
0xEF06B9d5...73c632fB1
0 MATIC0.000490413.5
Reactor Decoder220813222021-11-30 1:05:27964 days ago1638234327IN
0xEF06B9d5...73c632fB1
0 MATIC0.000147383.5
Reactor Encoder220812882021-11-30 1:04:19964 days ago1638234259IN
0xEF06B9d5...73c632fB1
0 MATIC0.000490413.5
Set Merkle Root220812492021-11-30 1:02:57964 days ago1638234177IN
0xEF06B9d5...73c632fB1
0 MATIC0.000101343.5
Set Merkle Root220807052021-11-30 0:42:09964 days ago1638232929IN
0xEF06B9d5...73c632fB1
0 MATIC0.000101343.5
Set Merkle Root220805762021-11-30 0:35:35964 days ago1638232535IN
0xEF06B9d5...73c632fB1
0 MATIC0.000101343.5
Set Merkle Root220793902021-11-29 23:47:17964 days ago1638229637IN
0xEF06B9d5...73c632fB1
0 MATIC0.000104624
Set Merkle Root220792512021-11-29 23:41:29964 days ago1638229289IN
0xEF06B9d5...73c632fB1
0 MATIC0.000184224
Game Token Nucle...220788382021-11-29 23:25:07964 days ago1638228307IN
0xEF06B9d5...73c632fB1
0 MATIC0.002961993.5
Game Token Nucle...220787822021-11-29 23:23:09964 days ago1638228189IN
0xEF06B9d5...73c632fB1
0 MATIC0.000107963.5
Game Token Nucle...220667312021-11-29 15:07:53964 days ago1638198473IN
0xEF06B9d5...73c632fB1
0 MATIC0.002961993.5
Game Token Nucle...220666902021-11-29 15:06:31964 days ago1638198391IN
0xEF06B9d5...73c632fB1
0 MATIC0.003021793.5
View all transactions

Latest 6 internal transactions

Parent Transaction Hash Block From To Value
221045482021-11-30 16:59:35963 days ago1638291575
0xEF06B9d5...73c632fB1
 Contract Creation0 MATIC
221045232021-11-30 16:58:45963 days ago1638291525
0xEF06B9d5...73c632fB1
 Contract Creation0 MATIC
221031022021-11-30 16:01:17963 days ago1638288077
0xEF06B9d5...73c632fB1
 Contract Creation0 MATIC
220788382021-11-29 23:25:07964 days ago1638228307
0xEF06B9d5...73c632fB1
 Contract Creation0 MATIC
220667312021-11-29 15:07:53964 days ago1638198473
0xEF06B9d5...73c632fB1
 Contract Creation0 MATIC
220666902021-11-29 15:06:31964 days ago1638198391
0xEF06B9d5...73c632fB1
 Contract Creation0 MATIC
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GameTokenNuclearReactor

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 9 : GameTokenNuclearReactor.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "./PartnerGameToken.sol";
import "../interfaces/IPartnerGameToken.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

// Entropy Game Token Reactor Contract
contract GameTokenNuclearReactor {
	using SafeMath for uint256;
	using MerkleProof for bytes32[];

	// Nuclear Engine
	bytes32 merkleRoot;
	// DAO contract address
	address public DAO;
	address public pendingDAO;
	// Info of game token.
	IERC20[] public gameTokenList;
	// PartnerToken <=====> GameToken
	mapping(address => address) public partnerToGameToken;
	// GameToken    <=====> PartnerToken
	mapping(address => address) public gameToPartnerToken;

	// lock modifier
	bool private _accepting = true;
	modifier lock() {
		require(_accepting == true, "GameTokenNuclearReactor: LOCKED");
		_accepting = false;
		_;
		_accepting = true;
	}

	modifier onlyWhitelisted(bytes32[] memory proof_) {
		require(proof_.verify(merkleRoot, keccak256(abi.encodePacked(msg.sender))), "GameTokenNuclearReactor: Only whitelisted players");
		_;
	}

	modifier onlyAddedGameToken(address gameToken_) {
		require(gameToPartnerToken[gameToken_] != address(0), "GameTokenNuclearReactor: Only added game token");
		_;
	}

	modifier onlyPartnerTokenExist(address partnerToken_) {
		require(partnerToGameToken[partnerToken_] != address(0), "GameTokenNuclearReactor: Only if partenrToken is legit");
		_;
	}

	modifier onlyDAO() {
		require(msg.sender == DAO, "GameTokenNuclearReactor: FORBIDDEN");
		_;
	}

	constructor(address DAO_) {
		require(DAO_ != address(0), "GameTokenNuclearReactor: DAO address cannot be ZERO");
		DAO = DAO_; // default is DAO
	}

	/**
	 * @dev update merkle root
	 * @notice only DAO can do
	 * @param root_ markle root
	 */
	function setMerkleRoot(bytes32 root_) external onlyDAO {
		require(root_ != 0, "GameTokenNuclearReactor: ZERO ROOT !");
		merkleRoot = root_;
	}

	/**
	 * @dev generate partner token
	 * @notice only DAO can do
	 * @param gameToken_ long / short game token address
	 * @param name_	partner game token name
	 * @param symbol_	partner game token symbol
	 */
	function gameTokenNuclearReactor(
		address gameToken_,
		string memory name_,
		string memory symbol_
	) external onlyDAO returns (address) {
		require(gameToPartnerToken[gameToken_] == address(0), "GameTokenNuclearReactor: Partner Token Existed !");
		bytes32 salt = keccak256(abi.encodePacked(gameToken_));
		PartnerGameToken newPartnerToken = new PartnerGameToken{ salt: salt }(name_, symbol_, ERC20(gameToken_).decimals(), address(this));
		partnerToGameToken[address(newPartnerToken)] = gameToken_;
		gameToPartnerToken[gameToken_] = address(newPartnerToken);
		gameTokenList.push(IERC20(gameToken_));
		return address(newPartnerToken);
	}

	/**
	 * @dev whitelisted users can convert game token to partner game token
	 * @notice locked and only added game token can be deposit
	 * @param gameToken_ long / short game token address
	 * @param amount_ aount of game token to deposit
	 */
	function reactorEncoder(
		bytes32[] memory proof_,
		address gameToken_,
		uint256 amount_
	) external lock onlyWhitelisted(proof_) onlyAddedGameToken(gameToken_) {
		require(IERC20(gameToken_).balanceOf(msg.sender) >= amount_, "GameTokenNuclearReactor: Insufficient Balance");
		// transfer game token to reactor
		IERC20(gameToken_).transferFrom(msg.sender, address(this), amount_);
		// mint partner token to msg.sender
		IPartnerGameToken(gameToPartnerToken[gameToken_]).mint(msg.sender, amount_);
	}

	/**
	 * @dev whitelisted users can convert partner game token to game token
	 * @notice locked and only added game partner token can be deposit
	 * @param partnerToken_ partner long / short game token address
	 * @param amount_ aount of partner game token to deposit
	 */
	function reactorDecoder(
		bytes32[] memory proof_,
		address partnerToken_,
		uint256 amount_
	) external lock onlyWhitelisted(proof_) onlyPartnerTokenExist(partnerToken_) {
		require(IERC20(partnerToken_).balanceOf(msg.sender) >= amount_, "GameTokenNuclearReactor: Insufficient Balance");
		// burn partner token from msg.sender
		IPartnerGameToken(partnerToken_).burn(msg.sender, amount_);
		// send game token back to msg.sender
		IERC20(partnerToGameToken[partnerToken_]).transfer(msg.sender, amount_);
	}

	/**
	 * @dev set pendingDAO
	 * @notice only DAO can set pendingDAO
	 * @param pendingDAO_ pending DAO address
	 */
	function setPendingDAO(address pendingDAO_) external onlyDAO {
		require(pendingDAO_ != address(0), "GameTokenNuclearReactor: set _pendingDAO to the zero address");
		pendingDAO = pendingDAO_;
	}

	/**
	 * @dev set DAO
	 * @notice only DAO can set the new DAO and it need to be pre added to pendingDAO
	 */
	function setDAO() external onlyDAO {
		require(pendingDAO != address(0), "GameTokenNuclearReactor: set _DAO to the zero address");
		DAO = pendingDAO;
		pendingDAO = address(0);
	}
}

File 2 of 9 : PartnerGameToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

// Entropy Partner Game Token
contract PartnerGameToken is ERC20 {
	address public gameTokenReactor;
	uint8 decimals_;

	// limit only pool can mint token
	modifier onlyGameTokenReactor() {
		require(msg.sender == gameTokenReactor, "PartnerGameToken: FORBIDDEN");
		_;
	}

	constructor(
		string memory _name,
		string memory _symbol,
		uint8 _decimals,
		address _gameTokenReactor
	) ERC20(_name, _symbol) {
		require(_gameTokenReactor != address(0), "PartnerGameToken: Reactor Zero Address");
		gameTokenReactor = _gameTokenReactor;
		decimals_ = _decimals;
	}

	/**
	 * @dev mint partner token
	 * @notice only GameTokenReactor can do
	 * @param _to user address
	 * @param _amount	amount of partner token to mint
	 */
	function mint(address _to, uint256 _amount) external onlyGameTokenReactor returns (bool) {
		_mint(_to, _amount);
		return true;
	}

	/**
	 * @dev burn partner token
	 * @notice only GameTokenReactor can do
	 * @param _from user address
	 * @param _amount	amount of partner token to burn
	 */
	function burn(address _from, uint256 _amount) external onlyGameTokenReactor returns (bool) {
		_burn(_from, _amount);
		return true;
	}

	/**
	 * @dev decimals for frontend
	 * @notice override ERC20 contract
	 */
	function decimals() public view virtual override returns (uint8) {
		return decimals_;
	}
}

File 2 of 9 : IPartnerGameToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

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

interface IPartnerGameToken is IERC20 {
	function mint(address to, uint256 amount) external returns (bool);

	function burn(address from, uint256 amount) external returns (bool);
}

File 2 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT

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 2 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 2 of 9 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 2 of 9 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 2 of 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 2 of 9 : Context.sol
// SPDX-License-Identifier: MIT

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;
    }
}

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"DAO_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"DAO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"gameToPartnerToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"gameTokenList","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"gameToken_","type":"address"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"name":"gameTokenNuclearReactor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"partnerToGameToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingDAO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"},{"internalType":"address","name":"partnerToken_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"reactorDecoder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"},{"internalType":"address","name":"gameToken_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"reactorEncoder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setDAO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root_","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pendingDAO_","type":"address"}],"name":"setPendingDAO","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526006805460ff1916600117905534801561001d57600080fd5b506040516122ac3803806122ac83398101604081905261003c916100e1565b6001600160a01b0381166100bc5760405162461bcd60e51b815260206004820152603360248201527f47616d65546f6b656e4e75636c65617252656163746f723a2044414f2061646460448201527f726573732063616e6e6f74206265205a45524f00000000000000000000000000606482015260840160405180910390fd5b600180546001600160a01b0319166001600160a01b039290921691909117905561010f565b6000602082840312156100f2578081fd5b81516001600160a01b0381168114610108578182fd5b9392505050565b61218e8061011e6000396000f3fe60806040523480156200001157600080fd5b5060043610620000b85760003560e01c80637cb64759116200007b5780637cb64759146200013e578063960cecab146200015557806398fabd3a1462000181578063c1aca8a51462000195578063c1f41fdc14620001c1578063fd68649414620001d857620000b8565b806308e84ac814620000bd57806310bd1f4614620000f0578063476bf7351462000104578063510f5ed4146200011d578063723a7c041462000134575b600080fd5b620000d4620000ce36600462000dbf565b620001ef565b6040516001600160a01b03909116815260200160405180910390f35b600254620000d4906001600160a01b031681565b6200011b6200011536600462000e39565b62000421565b005b6200011b6200012e36600462000e39565b6200074c565b6200011b620009e9565b6200011b6200014f36600462000f2a565b62000ab5565b620000d46200016636600462000d9b565b6004602052600090815260409020546001600160a01b031681565b600154620000d4906001600160a01b031681565b620000d4620001a636600462000d9b565b6005602052600090815260409020546001600160a01b031681565b620000d4620001d236600462000f2a565b62000b42565b6200011b620001e936600462000d9b565b62000b6d565b6001546000906001600160a01b03163314620002285760405162461bcd60e51b81526004016200021f906200101b565b60405180910390fd5b6001600160a01b038481166000908152600560205260409020541615620002ab5760405162461bcd60e51b815260206004820152603060248201527f47616d65546f6b656e4e75636c65617252656163746f723a20506172746e657260448201526f20546f6b656e2045786973746564202160801b60648201526084016200021f565b6040516001600160601b0319606086901b1660208201526000906034016040516020818303038152906040528051906020012090506000818585886001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156200031f57600080fd5b505afa15801562000334573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200035a919062000f5c565b30604051620003699062000cfe565b62000378949392919062000fcd565b8190604051809103906000f590508015801562000399573d6000803e3d6000fd5b506001600160a01b0380821660008181526004602090815260408083208054958d166001600160a01b0319968716811790915580845260059092528220805485169093179092556003805460018101825591527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b018054909216179055925050509392505050565b60065460ff1615156001146200047a5760405162461bcd60e51b815260206004820152601f60248201527f47616d65546f6b656e4e75636c65617252656163746f723a204c4f434b45440060448201526064016200021f565b6006805460ff191690556000546040516001600160601b03193360601b1660208201528491620004cf916034015b604051602081830303815290604052805190602001208362000c3a9092919063ffffffff16565b620004ee5760405162461bcd60e51b81526004016200021f90620010aa565b6001600160a01b03808416600090815260046020526040902054849116620005785760405162461bcd60e51b815260206004820152603660248201527f47616d65546f6b656e4e75636c65617252656163746f723a204f6e6c79206966604482015275081c185c9d195b9c951bdad95b881a5cc81b1959da5d60521b60648201526084016200021f565b6040516370a0823160e01b815233600482015283906001600160a01b038616906370a082319060240160206040518083038186803b158015620005ba57600080fd5b505afa158015620005cf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005f5919062000f43565b1015620006165760405162461bcd60e51b81526004016200021f906200105d565b604051632770a7eb60e21b8152336004820152602481018490526001600160a01b03851690639dc29fac90604401602060405180830381600087803b1580156200065f57600080fd5b505af115801562000674573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200069a919062000f08565b506001600160a01b0384811660009081526004602081905260409182902054915163a9059cbb60e01b815233918101919091526024810186905291169063a9059cbb906044015b602060405180830381600087803b158015620006fc57600080fd5b505af115801562000711573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000737919062000f08565b50506006805460ff1916600117905550505050565b60065460ff161515600114620007a55760405162461bcd60e51b815260206004820152601f60248201527f47616d65546f6b656e4e75636c65617252656163746f723a204c4f434b45440060448201526064016200021f565b6006805460ff191690556000546040516001600160601b03193360601b1660208201528491620007d891603401620004a8565b620007f75760405162461bcd60e51b81526004016200021f90620010aa565b6001600160a01b03808416600090815260056020526040902054849116620008795760405162461bcd60e51b815260206004820152602e60248201527f47616d65546f6b656e4e75636c65617252656163746f723a204f6e6c7920616460448201526d3232b21033b0b6b2903a37b5b2b760911b60648201526084016200021f565b6040516370a0823160e01b815233600482015283906001600160a01b038616906370a082319060240160206040518083038186803b158015620008bb57600080fd5b505afa158015620008d0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008f6919062000f43565b1015620009175760405162461bcd60e51b81526004016200021f906200105d565b6040516323b872dd60e01b8152336004820152306024820152604481018490526001600160a01b038516906323b872dd90606401602060405180830381600087803b1580156200096657600080fd5b505af11580156200097b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009a1919062000f08565b506001600160a01b03848116600090815260056020526040908190205490516340c10f1960e01b8152336004820152602481018690529116906340c10f1990604401620006e1565b6001546001600160a01b0316331462000a165760405162461bcd60e51b81526004016200021f906200101b565b6002546001600160a01b031662000a8e5760405162461bcd60e51b815260206004820152603560248201527f47616d65546f6b656e4e75636c65617252656163746f723a20736574205f44416044820152744f20746f20746865207a65726f206164647265737360581b60648201526084016200021f565b60028054600180546001600160a01b03199081166001600160a01b03841617909155169055565b6001546001600160a01b0316331462000ae25760405162461bcd60e51b81526004016200021f906200101b565b8062000b3d5760405162461bcd60e51b8152602060048201526024808201527f47616d65546f6b656e4e75636c65617252656163746f723a205a45524f20524f6044820152634f54202160e01b60648201526084016200021f565b600055565b6003818154811062000b5357600080fd5b6000918252602090912001546001600160a01b0316905081565b6001546001600160a01b0316331462000b9a5760405162461bcd60e51b81526004016200021f906200101b565b6001600160a01b03811662000c185760405162461bcd60e51b815260206004820152603c60248201527f47616d65546f6b656e4e75636c65617252656163746f723a20736574205f706560448201527f6e64696e6744414f20746f20746865207a65726f20616464726573730000000060648201526084016200021f565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600081815b855181101562000cf357600086828151811062000c6c57634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831162000cb057604080516020810185905290810182905260600160405160208183030381529060405280519060200120925062000cdd565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508062000cea816200112f565b91505062000c3f565b509092149392505050565b610feb806200116e83390190565b80356001600160a01b038116811462000d2457600080fd5b919050565b600082601f83011262000d3a578081fd5b813567ffffffffffffffff81111562000d575762000d5762001157565b62000d6c601f8201601f1916602001620010fb565b81815284602083860101111562000d81578283fd5b816020850160208301379081016020019190915292915050565b60006020828403121562000dad578081fd5b62000db88262000d0c565b9392505050565b60008060006060848603121562000dd4578182fd5b62000ddf8462000d0c565b9250602084013567ffffffffffffffff8082111562000dfc578384fd5b62000e0a8783880162000d29565b9350604086013591508082111562000e20578283fd5b5062000e2f8682870162000d29565b9150509250925092565b60008060006060848603121562000e4e578283fd5b833567ffffffffffffffff8082111562000e66578485fd5b818601915086601f83011262000e7a578485fd5b813560208282111562000e915762000e9162001157565b808202925062000ea3818401620010fb565b8281528181019085830185870184018c101562000ebe57898afd5b8996505b8487101562000ee257803583526001969096019591830191830162000ec2565b50975062000ef4905088820162000d0c565b955050505050604084013590509250925092565b60006020828403121562000f1a578081fd5b8151801515811462000db8578182fd5b60006020828403121562000f3c578081fd5b5035919050565b60006020828403121562000f55578081fd5b5051919050565b60006020828403121562000f6e578081fd5b815160ff8116811462000db8578182fd5b60008151808452815b8181101562000fa65760208185018101518683018201520162000f88565b8181111562000fb85782602083870101525b50601f01601f19169290920160200192915050565b60006080825262000fe2608083018762000f7f565b828103602084015262000ff6818762000f7f565b60ff95909516604084015250506001600160a01b039190911660609091015292915050565b60208082526022908201527f47616d65546f6b656e4e75636c65617252656163746f723a20464f524249444460408201526122a760f11b606082015260800190565b6020808252602d908201527f47616d65546f6b656e4e75636c65617252656163746f723a20496e737566666960408201526c6369656e742042616c616e636560981b606082015260800190565b60208082526031908201527f47616d65546f6b656e4e75636c65617252656163746f723a204f6e6c792077686040820152706974656c697374656420706c617965727360781b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171562001127576200112762001157565b604052919050565b60006000198214156200115057634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fdfe60806040523480156200001157600080fd5b5060405162000feb38038062000feb83398101604081905262000034916200026c565b8351849084906200004d90600390602085019062000113565b5080516200006390600490602084019062000113565b5050506001600160a01b038116620000d05760405162461bcd60e51b815260206004820152602660248201527f506172746e657247616d65546f6b656e3a2052656163746f72205a65726f204160448201526564647265737360d01b606482015260840160405180910390fd5b6005805460ff909316600160a01b0260ff60a01b196001600160a01b039093166001600160a01b03199094169390931791909116919091179055506200035e9050565b82805462000121906200030b565b90600052602060002090601f01602090048101928262000145576000855562000190565b82601f106200016057805160ff191683800117855562000190565b8280016001018555821562000190579182015b828111156200019057825182559160200191906001019062000173565b506200019e929150620001a2565b5090565b5b808211156200019e5760008155600101620001a3565b600082601f830112620001ca578081fd5b81516001600160401b0380821115620001e757620001e762000348565b604051601f8301601f19908116603f0116810190828211818310171562000212576200021262000348565b816040528381526020925086838588010111156200022e578485fd5b8491505b8382101562000251578582018301518183018401529082019062000232565b838211156200026257848385830101525b9695505050505050565b6000806000806080858703121562000282578384fd5b84516001600160401b038082111562000299578586fd5b620002a788838901620001b9565b95506020870151915080821115620002bd578485fd5b50620002cc87828801620001b9565b935050604085015160ff81168114620002e3578283fd5b60608601519092506001600160a01b038116811462000300578182fd5b939692955090935050565b6002810460018216806200032057607f821691505b602082108114156200034257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b610c7d806200036e6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c5780639dc29fac116100665780639dc29fac146101e6578063a457c2d7146101f9578063a9059cbb1461020c578063dd62ed3e1461021f576100ea565b806370a08231146101a0578063737bf52e146101b357806395d89b41146101de576100ea565b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461017a57806340c10f191461018d576100ea565b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610258565b6040516101049190610b74565b60405180910390f35b61012061011b366004610b4b565b6102ea565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610b10565b610300565b610168600554600160a01b900460ff1690565b60405160ff9091168152602001610104565b610120610188366004610b4b565b6103af565b61012061019b366004610b4b565b6103eb565b6101346101ae366004610abd565b610452565b6005546101c6906001600160a01b031681565b6040516001600160a01b039091168152602001610104565b6100f7610471565b6101206101f4366004610b4b565b610480565b610120610207366004610b4b565b6104e7565b61012061021a366004610b4b565b610580565b61013461022d366004610ade565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60606003805461026790610bf6565b80601f016020809104026020016040519081016040528092919081815260200182805461029390610bf6565b80156102e05780601f106102b5576101008083540402835291602001916102e0565b820191906000526020600020905b8154815290600101906020018083116102c357829003601f168201915b5050505050905090565b60006102f733848461058d565b50600192915050565b600061030d8484846106b2565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156103975760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103a4853385840361058d565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916102f79185906103e6908690610bc7565b61058d565b6005546000906001600160a01b031633146104485760405162461bcd60e51b815260206004820152601b60248201527f506172746e657247616d65546f6b656e3a20464f5242494444454e0000000000604482015260640161038e565b6102f78383610881565b6001600160a01b0381166000908152602081905260409020545b919050565b60606004805461026790610bf6565b6005546000906001600160a01b031633146104dd5760405162461bcd60e51b815260206004820152601b60248201527f506172746e657247616d65546f6b656e3a20464f5242494444454e0000000000604482015260640161038e565b6102f78383610960565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156105695760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161038e565b610576338585840361058d565b5060019392505050565b60006102f73384846106b2565b6001600160a01b0383166105ef5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161038e565b6001600160a01b0382166106505760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161038e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166107165760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161038e565b6001600160a01b0382166107785760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161038e565b6001600160a01b038316600090815260208190526040902054818110156107f05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161038e565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610827908490610bc7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161087391815260200190565b60405180910390a350505050565b6001600160a01b0382166108d75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161038e565b80600260008282546108e99190610bc7565b90915550506001600160a01b03821660009081526020819052604081208054839290610916908490610bc7565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166109c05760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161038e565b6001600160a01b03821660009081526020819052604090205481811015610a345760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161038e565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610a63908490610bdf565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016106a5565b80356001600160a01b038116811461046c57600080fd5b600060208284031215610ace578081fd5b610ad782610aa6565b9392505050565b60008060408385031215610af0578081fd5b610af983610aa6565b9150610b0760208401610aa6565b90509250929050565b600080600060608486031215610b24578081fd5b610b2d84610aa6565b9250610b3b60208501610aa6565b9150604084013590509250925092565b60008060408385031215610b5d578182fd5b610b6683610aa6565b946020939093013593505050565b6000602080835283518082850152825b81811015610ba057858101830151858201604001528201610b84565b81811115610bb15783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115610bda57610bda610c31565b500190565b600082821015610bf157610bf1610c31565b500390565b600281046001821680610c0a57607f821691505b60208210811415610c2b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220791dfefff5ab0f5a450c476830df3e3587308deb21aa48698ffe74ea8f4b55a164736f6c63430008020033a2646970667358221220587e62bda80b3a6f63cb4fb95b75a20c46979c9bacab999794f262b5567f552564736f6c63430008020033000000000000000000000000fd9656df3e4dca84c260137aecba416050aea145

Deployed Bytecode

0x60806040523480156200001157600080fd5b5060043610620000b85760003560e01c80637cb64759116200007b5780637cb64759146200013e578063960cecab146200015557806398fabd3a1462000181578063c1aca8a51462000195578063c1f41fdc14620001c1578063fd68649414620001d857620000b8565b806308e84ac814620000bd57806310bd1f4614620000f0578063476bf7351462000104578063510f5ed4146200011d578063723a7c041462000134575b600080fd5b620000d4620000ce36600462000dbf565b620001ef565b6040516001600160a01b03909116815260200160405180910390f35b600254620000d4906001600160a01b031681565b6200011b6200011536600462000e39565b62000421565b005b6200011b6200012e36600462000e39565b6200074c565b6200011b620009e9565b6200011b6200014f36600462000f2a565b62000ab5565b620000d46200016636600462000d9b565b6004602052600090815260409020546001600160a01b031681565b600154620000d4906001600160a01b031681565b620000d4620001a636600462000d9b565b6005602052600090815260409020546001600160a01b031681565b620000d4620001d236600462000f2a565b62000b42565b6200011b620001e936600462000d9b565b62000b6d565b6001546000906001600160a01b03163314620002285760405162461bcd60e51b81526004016200021f906200101b565b60405180910390fd5b6001600160a01b038481166000908152600560205260409020541615620002ab5760405162461bcd60e51b815260206004820152603060248201527f47616d65546f6b656e4e75636c65617252656163746f723a20506172746e657260448201526f20546f6b656e2045786973746564202160801b60648201526084016200021f565b6040516001600160601b0319606086901b1660208201526000906034016040516020818303038152906040528051906020012090506000818585886001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156200031f57600080fd5b505afa15801562000334573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200035a919062000f5c565b30604051620003699062000cfe565b62000378949392919062000fcd565b8190604051809103906000f590508015801562000399573d6000803e3d6000fd5b506001600160a01b0380821660008181526004602090815260408083208054958d166001600160a01b0319968716811790915580845260059092528220805485169093179092556003805460018101825591527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b018054909216179055925050509392505050565b60065460ff1615156001146200047a5760405162461bcd60e51b815260206004820152601f60248201527f47616d65546f6b656e4e75636c65617252656163746f723a204c4f434b45440060448201526064016200021f565b6006805460ff191690556000546040516001600160601b03193360601b1660208201528491620004cf916034015b604051602081830303815290604052805190602001208362000c3a9092919063ffffffff16565b620004ee5760405162461bcd60e51b81526004016200021f90620010aa565b6001600160a01b03808416600090815260046020526040902054849116620005785760405162461bcd60e51b815260206004820152603660248201527f47616d65546f6b656e4e75636c65617252656163746f723a204f6e6c79206966604482015275081c185c9d195b9c951bdad95b881a5cc81b1959da5d60521b60648201526084016200021f565b6040516370a0823160e01b815233600482015283906001600160a01b038616906370a082319060240160206040518083038186803b158015620005ba57600080fd5b505afa158015620005cf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005f5919062000f43565b1015620006165760405162461bcd60e51b81526004016200021f906200105d565b604051632770a7eb60e21b8152336004820152602481018490526001600160a01b03851690639dc29fac90604401602060405180830381600087803b1580156200065f57600080fd5b505af115801562000674573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200069a919062000f08565b506001600160a01b0384811660009081526004602081905260409182902054915163a9059cbb60e01b815233918101919091526024810186905291169063a9059cbb906044015b602060405180830381600087803b158015620006fc57600080fd5b505af115801562000711573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000737919062000f08565b50506006805460ff1916600117905550505050565b60065460ff161515600114620007a55760405162461bcd60e51b815260206004820152601f60248201527f47616d65546f6b656e4e75636c65617252656163746f723a204c4f434b45440060448201526064016200021f565b6006805460ff191690556000546040516001600160601b03193360601b1660208201528491620007d891603401620004a8565b620007f75760405162461bcd60e51b81526004016200021f90620010aa565b6001600160a01b03808416600090815260056020526040902054849116620008795760405162461bcd60e51b815260206004820152602e60248201527f47616d65546f6b656e4e75636c65617252656163746f723a204f6e6c7920616460448201526d3232b21033b0b6b2903a37b5b2b760911b60648201526084016200021f565b6040516370a0823160e01b815233600482015283906001600160a01b038616906370a082319060240160206040518083038186803b158015620008bb57600080fd5b505afa158015620008d0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008f6919062000f43565b1015620009175760405162461bcd60e51b81526004016200021f906200105d565b6040516323b872dd60e01b8152336004820152306024820152604481018490526001600160a01b038516906323b872dd90606401602060405180830381600087803b1580156200096657600080fd5b505af11580156200097b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009a1919062000f08565b506001600160a01b03848116600090815260056020526040908190205490516340c10f1960e01b8152336004820152602481018690529116906340c10f1990604401620006e1565b6001546001600160a01b0316331462000a165760405162461bcd60e51b81526004016200021f906200101b565b6002546001600160a01b031662000a8e5760405162461bcd60e51b815260206004820152603560248201527f47616d65546f6b656e4e75636c65617252656163746f723a20736574205f44416044820152744f20746f20746865207a65726f206164647265737360581b60648201526084016200021f565b60028054600180546001600160a01b03199081166001600160a01b03841617909155169055565b6001546001600160a01b0316331462000ae25760405162461bcd60e51b81526004016200021f906200101b565b8062000b3d5760405162461bcd60e51b8152602060048201526024808201527f47616d65546f6b656e4e75636c65617252656163746f723a205a45524f20524f6044820152634f54202160e01b60648201526084016200021f565b600055565b6003818154811062000b5357600080fd5b6000918252602090912001546001600160a01b0316905081565b6001546001600160a01b0316331462000b9a5760405162461bcd60e51b81526004016200021f906200101b565b6001600160a01b03811662000c185760405162461bcd60e51b815260206004820152603c60248201527f47616d65546f6b656e4e75636c65617252656163746f723a20736574205f706560448201527f6e64696e6744414f20746f20746865207a65726f20616464726573730000000060648201526084016200021f565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600081815b855181101562000cf357600086828151811062000c6c57634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831162000cb057604080516020810185905290810182905260600160405160208183030381529060405280519060200120925062000cdd565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508062000cea816200112f565b91505062000c3f565b509092149392505050565b610feb806200116e83390190565b80356001600160a01b038116811462000d2457600080fd5b919050565b600082601f83011262000d3a578081fd5b813567ffffffffffffffff81111562000d575762000d5762001157565b62000d6c601f8201601f1916602001620010fb565b81815284602083860101111562000d81578283fd5b816020850160208301379081016020019190915292915050565b60006020828403121562000dad578081fd5b62000db88262000d0c565b9392505050565b60008060006060848603121562000dd4578182fd5b62000ddf8462000d0c565b9250602084013567ffffffffffffffff8082111562000dfc578384fd5b62000e0a8783880162000d29565b9350604086013591508082111562000e20578283fd5b5062000e2f8682870162000d29565b9150509250925092565b60008060006060848603121562000e4e578283fd5b833567ffffffffffffffff8082111562000e66578485fd5b818601915086601f83011262000e7a578485fd5b813560208282111562000e915762000e9162001157565b808202925062000ea3818401620010fb565b8281528181019085830185870184018c101562000ebe57898afd5b8996505b8487101562000ee257803583526001969096019591830191830162000ec2565b50975062000ef4905088820162000d0c565b955050505050604084013590509250925092565b60006020828403121562000f1a578081fd5b8151801515811462000db8578182fd5b60006020828403121562000f3c578081fd5b5035919050565b60006020828403121562000f55578081fd5b5051919050565b60006020828403121562000f6e578081fd5b815160ff8116811462000db8578182fd5b60008151808452815b8181101562000fa65760208185018101518683018201520162000f88565b8181111562000fb85782602083870101525b50601f01601f19169290920160200192915050565b60006080825262000fe2608083018762000f7f565b828103602084015262000ff6818762000f7f565b60ff95909516604084015250506001600160a01b039190911660609091015292915050565b60208082526022908201527f47616d65546f6b656e4e75636c65617252656163746f723a20464f524249444460408201526122a760f11b606082015260800190565b6020808252602d908201527f47616d65546f6b656e4e75636c65617252656163746f723a20496e737566666960408201526c6369656e742042616c616e636560981b606082015260800190565b60208082526031908201527f47616d65546f6b656e4e75636c65617252656163746f723a204f6e6c792077686040820152706974656c697374656420706c617965727360781b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171562001127576200112762001157565b604052919050565b60006000198214156200115057634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fdfe60806040523480156200001157600080fd5b5060405162000feb38038062000feb83398101604081905262000034916200026c565b8351849084906200004d90600390602085019062000113565b5080516200006390600490602084019062000113565b5050506001600160a01b038116620000d05760405162461bcd60e51b815260206004820152602660248201527f506172746e657247616d65546f6b656e3a2052656163746f72205a65726f204160448201526564647265737360d01b606482015260840160405180910390fd5b6005805460ff909316600160a01b0260ff60a01b196001600160a01b039093166001600160a01b03199094169390931791909116919091179055506200035e9050565b82805462000121906200030b565b90600052602060002090601f01602090048101928262000145576000855562000190565b82601f106200016057805160ff191683800117855562000190565b8280016001018555821562000190579182015b828111156200019057825182559160200191906001019062000173565b506200019e929150620001a2565b5090565b5b808211156200019e5760008155600101620001a3565b600082601f830112620001ca578081fd5b81516001600160401b0380821115620001e757620001e762000348565b604051601f8301601f19908116603f0116810190828211818310171562000212576200021262000348565b816040528381526020925086838588010111156200022e578485fd5b8491505b8382101562000251578582018301518183018401529082019062000232565b838211156200026257848385830101525b9695505050505050565b6000806000806080858703121562000282578384fd5b84516001600160401b038082111562000299578586fd5b620002a788838901620001b9565b95506020870151915080821115620002bd578485fd5b50620002cc87828801620001b9565b935050604085015160ff81168114620002e3578283fd5b60608601519092506001600160a01b038116811462000300578182fd5b939692955090935050565b6002810460018216806200032057607f821691505b602082108114156200034257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b610c7d806200036e6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c5780639dc29fac116100665780639dc29fac146101e6578063a457c2d7146101f9578063a9059cbb1461020c578063dd62ed3e1461021f576100ea565b806370a08231146101a0578063737bf52e146101b357806395d89b41146101de576100ea565b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461017a57806340c10f191461018d576100ea565b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610258565b6040516101049190610b74565b60405180910390f35b61012061011b366004610b4b565b6102ea565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610b10565b610300565b610168600554600160a01b900460ff1690565b60405160ff9091168152602001610104565b610120610188366004610b4b565b6103af565b61012061019b366004610b4b565b6103eb565b6101346101ae366004610abd565b610452565b6005546101c6906001600160a01b031681565b6040516001600160a01b039091168152602001610104565b6100f7610471565b6101206101f4366004610b4b565b610480565b610120610207366004610b4b565b6104e7565b61012061021a366004610b4b565b610580565b61013461022d366004610ade565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60606003805461026790610bf6565b80601f016020809104026020016040519081016040528092919081815260200182805461029390610bf6565b80156102e05780601f106102b5576101008083540402835291602001916102e0565b820191906000526020600020905b8154815290600101906020018083116102c357829003601f168201915b5050505050905090565b60006102f733848461058d565b50600192915050565b600061030d8484846106b2565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156103975760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103a4853385840361058d565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916102f79185906103e6908690610bc7565b61058d565b6005546000906001600160a01b031633146104485760405162461bcd60e51b815260206004820152601b60248201527f506172746e657247616d65546f6b656e3a20464f5242494444454e0000000000604482015260640161038e565b6102f78383610881565b6001600160a01b0381166000908152602081905260409020545b919050565b60606004805461026790610bf6565b6005546000906001600160a01b031633146104dd5760405162461bcd60e51b815260206004820152601b60248201527f506172746e657247616d65546f6b656e3a20464f5242494444454e0000000000604482015260640161038e565b6102f78383610960565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156105695760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161038e565b610576338585840361058d565b5060019392505050565b60006102f73384846106b2565b6001600160a01b0383166105ef5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161038e565b6001600160a01b0382166106505760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161038e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166107165760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161038e565b6001600160a01b0382166107785760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161038e565b6001600160a01b038316600090815260208190526040902054818110156107f05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161038e565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610827908490610bc7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161087391815260200190565b60405180910390a350505050565b6001600160a01b0382166108d75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161038e565b80600260008282546108e99190610bc7565b90915550506001600160a01b03821660009081526020819052604081208054839290610916908490610bc7565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166109c05760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161038e565b6001600160a01b03821660009081526020819052604090205481811015610a345760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161038e565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610a63908490610bdf565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016106a5565b80356001600160a01b038116811461046c57600080fd5b600060208284031215610ace578081fd5b610ad782610aa6565b9392505050565b60008060408385031215610af0578081fd5b610af983610aa6565b9150610b0760208401610aa6565b90509250929050565b600080600060608486031215610b24578081fd5b610b2d84610aa6565b9250610b3b60208501610aa6565b9150604084013590509250925092565b60008060408385031215610b5d578182fd5b610b6683610aa6565b946020939093013593505050565b6000602080835283518082850152825b81811015610ba057858101830151858201604001528201610b84565b81811115610bb15783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115610bda57610bda610c31565b500190565b600082821015610bf157610bf1610c31565b500390565b600281046001821680610c0a57607f821691505b60208210811415610c2b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220791dfefff5ab0f5a450c476830df3e3587308deb21aa48698ffe74ea8f4b55a164736f6c63430008020033a2646970667358221220587e62bda80b3a6f63cb4fb95b75a20c46979c9bacab999794f262b5567f552564736f6c63430008020033

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

000000000000000000000000fd9656df3e4dca84c260137aecba416050aea145

-----Decoded View---------------
Arg [0] : DAO_ (address): 0xfD9656df3E4Dca84C260137AECBA416050aea145

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000fd9656df3e4dca84c260137aecba416050aea145


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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ 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.