Contract 0x206EafFC262D23dEe06a0C011BCd72a7b174F781 1

Contract Overview

Balance:
0 MATIC
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x3ad4a8d70ea90ffffea55c53a8670d56f1e60de0c7c0dc131757688c9ba6134dGame Token React...219481452021-11-26 13:10:579 days 6 hrs ago0xfd9656df3e4dca84c260137aecba416050aea145 IN  0x206eaffc262d23dee06a0c011bcd72a7b174f7810 MATIC0.0030407895
0xa7cad39b34846c34dd0a583cc51cb3e5d221c9feeee540063f18ccacd9c98ee5Reactor Encoder219476672021-11-26 12:54:339 days 7 hrs ago0xfd9656df3e4dca84c260137aecba416050aea145 IN  0x206eaffc262d23dee06a0c011bcd72a7b174f7810 MATIC0.0002392145
0xbd9550a533029601bd820f2aa4fda572a5f4c7e972c112360666d660f6a8984fReactor Encoder219423562021-11-26 9:51:599 days 10 hrs ago0xfd9656df3e4dca84c260137aecba416050aea145 IN  0x206eaffc262d23dee06a0c011bcd72a7b174f7810 MATIC0.0002392145
0xf9f7e43469a23392a159ebe7a8ecb1db60a765fbbbf30d048c0da36f9e67f079Game Token React...219259762021-11-26 0:15:089 days 19 hrs ago0xfd9656df3e4dca84c260137aecba416050aea145 IN  0x206eaffc262d23dee06a0c011bcd72a7b174f7810 MATIC0.0031009335
0x2e2c12209b8211e23e4f141da9aacc8abfc8792831f0e7f0314640618781b3a5Update User Whit...219259542021-11-26 0:13:409 days 19 hrs ago0xfd9656df3e4dca84c260137aecba416050aea145 IN  0x206eaffc262d23dee06a0c011bcd72a7b174f7810 MATIC0.000165725
0x49ddc3f582611658801290bfd6d2e0708542cb002cfb31ad8635cdcf3c8185f4Update User Whit...219259042021-11-26 0:11:509 days 19 hrs ago0xfd9656df3e4dca84c260137aecba416050aea145 IN  0x206eaffc262d23dee06a0c011bcd72a7b174f7810 MATIC0.000165725
0xb48bd0a281f18fc89609c6a60bb036ab4bec5aa01351f6184c9d3232ff4610720x60806040219256322021-11-26 0:00:229 days 19 hrs ago0xfd9656df3e4dca84c260137aecba416050aea145 IN  Contract Creation0 MATIC0.00687904
[ Download CSV Export 
Latest 2 internal transactions
Parent Txn Hash Block From To Value
0x3ad4a8d70ea90ffffea55c53a8670d56f1e60de0c7c0dc131757688c9ba6134d219481452021-11-26 13:10:579 days 6 hrs ago 0x206eaffc262d23dee06a0c011bcd72a7b174f781  Contract Creation0 MATIC
0xf9f7e43469a23392a159ebe7a8ecb1db60a765fbbbf30d048c0da36f9e67f079219259762021-11-26 0:15:089 days 19 hrs ago 0x206eaffc262d23dee06a0c011bcd72a7b174f781  Contract Creation0 MATIC
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GameTokenReactor

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 8 : GameTokenReactor.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";

// Entropy Game Token Reactor Contract
contract GameTokenReactor {
	using SafeMath for uint256;
	// DAO contract address
	address public DAO;
	address public pendingDAO;
	// Info of game token.
	IERC20[] public gameToken;
	// Check if the game token already been added or not
	mapping(address => bool) public isGameTokenAdded;
	// Check whether the address is whitelisted or not
	mapping(address => bool) public isUserWhitelisted;
	// 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, "GameTokenReactor: LOCKED");
		accepting = false;
		_;
		accepting = true;
	}

	modifier onlyWhitelisted() {
		require(isUserWhitelisted[msg.sender] == true, "GameTokenReactor: Only whitelisted players");
		_;
	}

	modifier onlyAddedGameToken(address _gameToken) {
		require(isGameTokenAdded[_gameToken] == true, "GameTokenReactor: Only added game token");
		_;
	}

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

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

	constructor(address _DAO) {
		require(_DAO != address(0), "GameTokenReactor: set DAO to ZERO address");
		DAO = _DAO; // default is DAO
	}

	/**
	 * @dev update whitelist user
	 * @notice only DAO can do
	 * @param addrs list of whitelist user address
	 * @param whitelisted True - adding to whitelist False - delete from the whitelist
	 */
	function updateUserWhitelist(address[] memory addrs, bool whitelisted) external onlyDAO {
		for (uint256 i = 0; i < addrs.length; i++) {
			isUserWhitelisted[addrs[i]] = whitelisted;
		}
	}

	/**
	 * @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 gameTokenReactor(
		address gameToken_,
		string memory _name,
		string memory _symbol
	) public onlyDAO returns (address) {
		require(isGameTokenAdded[gameToken_] == false, "GameTokenReactor: Already Existed !");
		require(gameToPartnerToken[gameToken_] == address(0), "GameTokenReactor: Partner Token Existed !");
		bytes32 salt = keccak256(abi.encodePacked(gameToken_));
		PartnerGameToken newPartnerToken = new PartnerGameToken{ salt: salt }(_name, _symbol, ERC20(gameToken_).decimals(), address(this));
		isGameTokenAdded[gameToken_] = true;
		partnerToGameToken[address(newPartnerToken)] = gameToken_;
		gameToPartnerToken[gameToken_] = address(newPartnerToken);
		gameToken.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(address gameToken_, uint256 amount_) public lock onlyWhitelisted onlyAddedGameToken(gameToken_) {
		require(IERC20(gameToken_).balanceOf(msg.sender) >= amount_, "GameTokenReactor: 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(address partnerToken_, uint256 amount_) public lock onlyWhitelisted onlyPartnerTokenExist(partnerToken_) {
		require(IERC20(partnerToken_).balanceOf(msg.sender) >= amount_, "GameTokenReactor: 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), "GameTokenReactor: 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), "GameTokenReactor: set _DAO to the zero address");
		DAO = pendingDAO;
		pendingDAO = address(0);
	}
}

File 2 of 8 : 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 3 of 8 : 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 4 of 8 : 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 5 of 8 : 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 6 of 8 : 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 7 of 8 : 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 8 of 8 : 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":"gameToken","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":"gameTokenReactor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isGameTokenAdded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isUserWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"address","name":"partnerToken_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"reactorDecoder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"address","name":"_pendingDAO","type":"address"}],"name":"setPendingDAO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"},{"internalType":"bool","name":"whitelisted","type":"bool"}],"name":"updateUserWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526007805460ff1916600117905534801561001d57600080fd5b506040516122cc3803806122cc83398101604081905261003c916100cd565b6001600160a01b0381166100a85760405162461bcd60e51b815260206004820152602960248201527f47616d65546f6b656e52656163746f723a207365742044414f20746f205a45526044820152684f206164647265737360b81b606482015260840160405180910390fd5b600080546001600160a01b0319166001600160a01b03929092169190911790556100fb565b6000602082840312156100de578081fd5b81516001600160a01b03811681146100f4578182fd5b9392505050565b6121c28061010a6000396000f3fe60806040523480156200001157600080fd5b5060043610620000e25760003560e01c8063960cecab1162000099578063c67d1742116200006f578063c67d174214620001ec578063f448d5d31462000203578063fb237eb2146200023a578063fd686494146200026057620000e2565b8063960cecab146200018057806398fabd3a14620001ac578063c1aca8a514620001c057620000e2565b806310bd1f4614620000e75780633a859a7114620001185780634f97801f1462000131578063580195411462000148578063723a7c04146200015f57806382fb17431462000169575b600080fd5b600154620000fb906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6200012f6200012936600462000e77565b62000277565b005b6200012f6200014236600462000e4b565b6200032c565b6200012f6200015936600462000e4b565b62000612565b6200012f62000898565b620000fb6200017a36600462000dd1565b6200095d565b620000fb6200019136600462000dad565b6005602052600090815260409020546001600160a01b031681565b600054620000fb906001600160a01b031681565b620000fb620001d136600462000dad565b6006602052600090815260409020546001600160a01b031681565b620000fb620001fd36600462000f65565b62000c13565b620002296200021436600462000dad565b60036020526000908152604090205460ff1681565b60405190151581526020016200010f565b620002296200024b36600462000dad565b60046020526000908152604090205460ff1681565b6200012f6200027136600462000dad565b62000c3e565b6000546001600160a01b03163314620002ad5760405162461bcd60e51b8152600401620002a49062001056565b60405180910390fd5b60005b825181101562000327578160046000858481518110620002e057634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806200031e8162001151565b915050620002b0565b505050565b60075460ff161515600114620003805760405162461bcd60e51b815260206004820152601860248201527711d85b59551bdad95b94995858dd1bdc8e881313d0d2d15160421b6044820152606401620002a4565b6007805460ff191690553360009081526004602052604090205460ff161515600114620003c15760405162461bcd60e51b8152600401620002a490620010d3565b6001600160a01b03808316600090815260056020526040902054839116620004445760405162461bcd60e51b815260206004820152602f60248201527f47616d65546f6b656e52656163746f723a204f6e6c792069662070617274656e60448201526e1c951bdad95b881a5cc81b1959da5d608a1b6064820152608401620002a4565b6040516370a0823160e01b815233600482015282906001600160a01b038516906370a082319060240160206040518083038186803b1580156200048657600080fd5b505afa1580156200049b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004c1919062000f7e565b1015620004e25760405162461bcd60e51b8152600401620002a4906200108d565b604051632770a7eb60e21b8152336004820152602481018390526001600160a01b03841690639dc29fac90604401602060405180830381600087803b1580156200052b57600080fd5b505af115801562000540573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000566919062000f46565b506001600160a01b038381166000908152600560205260409081902054905163a9059cbb60e01b81523360048201526024810185905291169063a9059cbb906044015b602060405180830381600087803b158015620005c457600080fd5b505af1158015620005d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005ff919062000f46565b50506007805460ff191660011790555050565b60075460ff161515600114620006665760405162461bcd60e51b815260206004820152601860248201527711d85b59551bdad95b94995858dd1bdc8e881313d0d2d15160421b6044820152606401620002a4565b6007805460ff191690553360009081526004602052604090205460ff161515600114620006a75760405162461bcd60e51b8152600401620002a490620010d3565b6001600160a01b038216600090815260036020526040902054829060ff161515600114620007285760405162461bcd60e51b815260206004820152602760248201527f47616d65546f6b656e52656163746f723a204f6e6c792061646465642067616d60448201526632903a37b5b2b760c91b6064820152608401620002a4565b6040516370a0823160e01b815233600482015282906001600160a01b038516906370a082319060240160206040518083038186803b1580156200076a57600080fd5b505afa1580156200077f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007a5919062000f7e565b1015620007c65760405162461bcd60e51b8152600401620002a4906200108d565b6040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b038416906323b872dd90606401602060405180830381600087803b1580156200081557600080fd5b505af11580156200082a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000850919062000f46565b506001600160a01b03838116600090815260066020526040908190205490516340c10f1960e01b8152336004820152602481018590529116906340c10f1990604401620005a9565b6000546001600160a01b03163314620008c55760405162461bcd60e51b8152600401620002a49062001056565b6001546001600160a01b0316620009365760405162461bcd60e51b815260206004820152602e60248201527f47616d65546f6b656e52656163746f723a20736574205f44414f20746f20746860448201526d65207a65726f206164647265737360901b6064820152608401620002a4565b60018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b600080546001600160a01b031633146200098b5760405162461bcd60e51b8152600401620002a49062001056565b6001600160a01b03841660009081526003602052604090205460ff161562000a025760405162461bcd60e51b815260206004820152602360248201527f47616d65546f6b656e52656163746f723a20416c72656164792045786973746560448201526264202160e81b6064820152608401620002a4565b6001600160a01b03848116600090815260066020526040902054161562000a7e5760405162461bcd60e51b815260206004820152602960248201527f47616d65546f6b656e52656163746f723a20506172746e657220546f6b656e2060448201526845786973746564202160b81b6064820152608401620002a4565b6040516bffffffffffffffffffffffff19606086901b1660208201526000906034016040516020818303038152906040528051906020012090506000818585886001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801562000af757600080fd5b505afa15801562000b0c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b32919062000f97565b3060405162000b419062000d03565b62000b50949392919062001008565b8190604051809103906000f590508015801562000b71573d6000803e3d6000fd5b506001600160a01b038088166000818152600360209081526040808320805460ff191660019081179091559486168084526005835281842080546001600160a01b0319908116871790915585855260069093529083208054831690911790556002805494850181559091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace9092018054909216179055925050509392505050565b6002818154811062000c2457600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b0316331462000c6b5760405162461bcd60e51b8152600401620002a49062001056565b6001600160a01b03811662000ce15760405162461bcd60e51b815260206004820152603560248201527f47616d65546f6b656e52656163746f723a20736574205f70656e64696e6744416044820152744f20746f20746865207a65726f206164647265737360581b6064820152608401620002a4565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610feb80620011a283390190565b80356001600160a01b038116811462000d2957600080fd5b919050565b803562000d29816200118f565b600082601f83011262000d4c578081fd5b813567ffffffffffffffff81111562000d695762000d6962001179565b62000d7e601f8201601f19166020016200111d565b81815284602083860101111562000d93578283fd5b816020850160208301379081016020019190915292915050565b60006020828403121562000dbf578081fd5b62000dca8262000d11565b9392505050565b60008060006060848603121562000de6578182fd5b62000df18462000d11565b9250602084013567ffffffffffffffff8082111562000e0e578384fd5b62000e1c8783880162000d3b565b9350604086013591508082111562000e32578283fd5b5062000e418682870162000d3b565b9150509250925092565b6000806040838503121562000e5e578182fd5b62000e698362000d11565b946020939093013593505050565b6000806040838503121562000e8a578182fd5b823567ffffffffffffffff8082111562000ea2578384fd5b818501915085601f83011262000eb6578384fd5b813560208282111562000ecd5762000ecd62001179565b808202925062000edf8184016200111d565b8281528181019085830185870184018b101562000efa578889fd5b8896505b8487101562000f275762000f128162000d11565b83526001969096019591830191830162000efe565b50965062000f39905087820162000d2e565b9450505050509250929050565b60006020828403121562000f58578081fd5b815162000dca816200118f565b60006020828403121562000f77578081fd5b5035919050565b60006020828403121562000f90578081fd5b5051919050565b60006020828403121562000fa9578081fd5b815160ff8116811462000dca578182fd5b60008151808452815b8181101562000fe15760208185018101518683018201520162000fc3565b8181111562000ff35782602083870101525b50601f01601f19169290920160200192915050565b6000608082526200101d608083018762000fba565b828103602084015262001031818762000fba565b60ff95909516604084015250506001600160a01b039190911660609091015292915050565b6020808252601b908201527f47616d65546f6b656e52656163746f723a20464f5242494444454e0000000000604082015260600190565b60208082526026908201527f47616d65546f6b656e52656163746f723a20496e73756666696369656e742042604082015265616c616e636560d01b606082015260800190565b6020808252602a908201527f47616d65546f6b656e52656163746f723a204f6e6c792077686974656c697374604082015269656420706c617965727360b01b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171562001149576200114962001179565b604052919050565b60006000198214156200117257634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b80151581146200119e57600080fd5b5056fe60806040523480156200001157600080fd5b5060405162000feb38038062000feb83398101604081905262000034916200026c565b8351849084906200004d90600390602085019062000113565b5080516200006390600490602084019062000113565b5050506001600160a01b038116620000d05760405162461bcd60e51b815260206004820152602660248201527f506172746e657247616d65546f6b656e3a2052656163746f72205a65726f204160448201526564647265737360d01b606482015260840160405180910390fd5b6005805460ff909316600160a01b0260ff60a01b196001600160a01b039093166001600160a01b03199094169390931791909116919091179055506200035e9050565b82805462000121906200030b565b90600052602060002090601f01602090048101928262000145576000855562000190565b82601f106200016057805160ff191683800117855562000190565b8280016001018555821562000190579182015b828111156200019057825182559160200191906001019062000173565b506200019e929150620001a2565b5090565b5b808211156200019e5760008155600101620001a3565b600082601f830112620001ca578081fd5b81516001600160401b0380821115620001e757620001e762000348565b604051601f8301601f19908116603f0116810190828211818310171562000212576200021262000348565b816040528381526020925086838588010111156200022e578485fd5b8491505b8382101562000251578582018301518183018401529082019062000232565b838211156200026257848385830101525b9695505050505050565b6000806000806080858703121562000282578384fd5b84516001600160401b038082111562000299578586fd5b620002a788838901620001b9565b95506020870151915080821115620002bd578485fd5b50620002cc87828801620001b9565b935050604085015160ff81168114620002e3578283fd5b60608601519092506001600160a01b038116811462000300578182fd5b939692955090935050565b6002810460018216806200032057607f821691505b602082108114156200034257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b610c7d806200036e6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c5780639dc29fac116100665780639dc29fac146101e6578063a457c2d7146101f9578063a9059cbb1461020c578063dd62ed3e1461021f576100ea565b806370a08231146101a0578063737bf52e146101b357806395d89b41146101de576100ea565b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461017a57806340c10f191461018d576100ea565b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610258565b6040516101049190610b74565b60405180910390f35b61012061011b366004610b4b565b6102ea565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610b10565b610300565b610168600554600160a01b900460ff1690565b60405160ff9091168152602001610104565b610120610188366004610b4b565b6103af565b61012061019b366004610b4b565b6103eb565b6101346101ae366004610abd565b610452565b6005546101c6906001600160a01b031681565b6040516001600160a01b039091168152602001610104565b6100f7610471565b6101206101f4366004610b4b565b610480565b610120610207366004610b4b565b6104e7565b61012061021a366004610b4b565b610580565b61013461022d366004610ade565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60606003805461026790610bf6565b80601f016020809104026020016040519081016040528092919081815260200182805461029390610bf6565b80156102e05780601f106102b5576101008083540402835291602001916102e0565b820191906000526020600020905b8154815290600101906020018083116102c357829003601f168201915b5050505050905090565b60006102f733848461058d565b50600192915050565b600061030d8484846106b2565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156103975760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103a4853385840361058d565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916102f79185906103e6908690610bc7565b61058d565b6005546000906001600160a01b031633146104485760405162461bcd60e51b815260206004820152601b60248201527f506172746e657247616d65546f6b656e3a20464f5242494444454e0000000000604482015260640161038e565b6102f78383610881565b6001600160a01b0381166000908152602081905260409020545b919050565b60606004805461026790610bf6565b6005546000906001600160a01b031633146104dd5760405162461bcd60e51b815260206004820152601b60248201527f506172746e657247616d65546f6b656e3a20464f5242494444454e0000000000604482015260640161038e565b6102f78383610960565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156105695760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161038e565b610576338585840361058d565b5060019392505050565b60006102f73384846106b2565b6001600160a01b0383166105ef5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161038e565b6001600160a01b0382166106505760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161038e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166107165760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161038e565b6001600160a01b0382166107785760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161038e565b6001600160a01b038316600090815260208190526040902054818110156107f05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161038e565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610827908490610bc7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161087391815260200190565b60405180910390a350505050565b6001600160a01b0382166108d75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161038e565b80600260008282546108e99190610bc7565b90915550506001600160a01b03821660009081526020819052604081208054839290610916908490610bc7565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166109c05760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161038e565b6001600160a01b03821660009081526020819052604090205481811015610a345760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161038e565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610a63908490610bdf565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016106a5565b80356001600160a01b038116811461046c57600080fd5b600060208284031215610ace578081fd5b610ad782610aa6565b9392505050565b60008060408385031215610af0578081fd5b610af983610aa6565b9150610b0760208401610aa6565b90509250929050565b600080600060608486031215610b24578081fd5b610b2d84610aa6565b9250610b3b60208501610aa6565b9150604084013590509250925092565b60008060408385031215610b5d578182fd5b610b6683610aa6565b946020939093013593505050565b6000602080835283518082850152825b81811015610ba057858101830151858201604001528201610b84565b81811115610bb15783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115610bda57610bda610c31565b500190565b600082821015610bf157610bf1610c31565b500390565b600281046001821680610c0a57607f821691505b60208210811415610c2b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220791dfefff5ab0f5a450c476830df3e3587308deb21aa48698ffe74ea8f4b55a164736f6c63430008020033a26469706673582212208f90ddd2ddec4f91151f7a50d13620746d46232f87655f42bc75fba63f5d38ff64736f6c63430008020033000000000000000000000000fd9656df3e4dca84c260137aecba416050aea145

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 Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading