ETH Price: $3,307.48 (-4.11%)

Contract

0x2AA271353d8ead0bb10240B5A9fF69d0E835FA0E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040185224832023-11-07 20:31:47385 days ago1699389107IN
 Create: FETH_R21
0 ETH0.0654204630

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FETH_R21

Compiler Version
v0.6.11+commit.5ef660b1

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion
File 1 of 10 : FETH_R21.sol
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.6.11;

import "@openzeppelin/contracts-ethereum-package/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol";

import "../lib/interfaces/IAETH.sol";
import "../lib/Lockable.sol";
import "../lib/Ownable_R1.sol";
import "../lib/MathUtils.sol";
import "../lib/interfaces/IJokerRace.sol";

contract FETH_R21 is Ownable_R1, IERC20, Lockable {

    using SafeMath for uint256;

    /* @dev deprecated events */
    event Locked(address account, uint256 amount);
    event Unlocked(address account, uint256 amount);

    event LockedV2(address account, uint256 amount, uint256 fee);
    event UnlockedV2(address account, uint256 amount, uint256 fee);
    event GlobalPoolAddressChanged(address prevValue, address newValue);
    event AETHContractChanged(address prevValue, address newValue);
    event NameAndSymbolChanged(string name, string symbol);
    event SwapFeeParamsChanged(address prevOperator, address newOperator, uint256 prevRatio, uint256 newRatio);

    string private _name;
    string private _symbol;

    // deleted fields
    uint8 private _decimals; // deleted

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

    // deleted fields
    uint256 private _totalRewards; // deleted
    uint256 private _totalShares; // deleted
    uint256 private _totalSent; // deleted
    uint256 private _totalDeposit; // deleted

    address private _operator;

    // deleted fields
    address private _bscBridgeContract; // deleted
    uint256 _balanceRatio; // deleted

    address private _aEthContract;
    address private _swapFeeOperator;
    uint256 private _swapFeeRatio;

    modifier onlyOperator() {
        require(msg.sender == owner() || msg.sender == _operator, "Operator: not allowed");
        _;
    }

    function initialize(string memory name, string memory symbol, address operator) public initializer {
        __Ownable_init();
        _operator = operator;
        _name = name;
        _symbol = symbol;
    }

    function lockedSharesOf(address account) public view returns (uint256) {
        return _shares[account];
    }

    function ratio() public view returns (uint256) {
        return IAETH(_aEthContract).ratio();
    }

    function isRebasing() external pure returns (bool) {
        return true;
    }

    function lockShares(uint256 shares) external {
        address spender = msg.sender;
        // transfer tokens from aETHc to aETHb
        require(IERC20(_aEthContract).transferFrom(spender, address(this), shares), "can't transfer");
        // calc swap fee (default swap fee ratio is 0.3%=0.3/100*1e18, fee can't be greater than 1%)
        uint256 fee = shares.mul(_swapFeeRatio).div(1e18);
        if (msg.sender == _swapFeeOperator) {
            fee = 0;
        }
        uint256 sharesWithFee = shares.sub(fee);
        // increase senders and operator balances
        _mint(_swapFeeOperator, fee);
        _mint(spender, sharesWithFee);
        emit Locked(spender, shares); // deprecated
        emit LockedV2(spender, sharesWithFee, fee);
    }

    function lockSharesFor(address spender, address account, uint256 shares) external onlyGlobalPool {
        require(spender == msg.sender, "invalid spender");
        _mint(account, shares);
        require(IERC20(_aEthContract).transferFrom(spender, address(this), shares), "can't transfer");
        emit Locked(account, shares); // deprecated
        emit LockedV2(spender, shares, 0);
    }

    function unlockShares(uint256 shares) external {
        address account = address(msg.sender);
        // make sure user has enough balance
        require(_shares[account] >= shares, "insufficient balance");
        // calc swap fee
        uint256 fee = shares.mul(_swapFeeRatio).div(1e18);
        if (msg.sender == _swapFeeOperator) {
            fee = 0;
        }
        // make sure user has enough balance
        require(_shares[account] >= shares, "FETH: insufficient balance");

        uint256 sharesWithFee = shares.sub(fee);
        // transfer fee
        _transferShares(account, _swapFeeOperator, fee);
        // burn the rest
        _burn(account, sharesWithFee);
        // transfer tokens to the user
        require(IERC20(_aEthContract).transfer(account, sharesWithFee), "can't transfer");
        emit Unlocked(account, shares); // deprecated
        emit UnlockedV2(account, sharesWithFee, fee);
    }

    function unlockSharesFor(address account, uint256 shares) external {
        require(_globalPoolContract == msg.sender || owner() == msg.sender, "FETH: not allowed");
        _burn(account, shares);
        // transfer tokens
        require(IERC20(_aEthContract).transfer(account, shares), "can't transfer");
        emit Unlocked(account, shares); // deprecated
        emit UnlockedV2(account, shares, 0);
    }

    function totalSupply() public view override returns (uint256) {
        uint256 totalLocked = IERC20(_aEthContract).balanceOf(address(this));
        return sharesToBonds(totalLocked);
    }

    function balanceOf(address account) public view override returns (uint256) {
        uint256 shares = _shares[account];
        return sharesToBonds(shares);
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        return _transfer(msg.sender, recipient, amount);
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _allowances[sender][_msgSender()] = _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance");
        _transfer(sender, recipient, amount);
        return true;
    }

    function _transfer(address sender, address recipient, uint256 amount) internal returns (bool) {
        uint256 shares = bondsToShares(amount);
        _shares[sender] = _shares[sender].sub(shares, "ERC20: transfer shares exceeds balance");
        _shares[recipient] = _shares[recipient].add(shares);
        emit Transfer(sender, recipient, amount);
        return true;
    }

    function _transferShares(address sender, address recipient, uint256 shares) internal {
        _shares[sender] = _shares[sender].sub(shares, "ERC20: transfer shares exceeds balance");
        _shares[recipient] = _shares[recipient].add(shares);
        emit Transfer(sender, recipient, sharesToBonds(shares));
    }

    function _burn(address account, uint256 shares) internal {
        _shares[account] = _shares[account].sub(shares, "ERC20: burn exceeds balance");
        emit Transfer(account, address(0), sharesToBonds(shares));
    }

    function _mint(address account, uint256 shares) internal {
        _shares[account] = _shares[account].add(shares);
        emit Transfer(address(0), account, sharesToBonds(shares));
    }

    function sharesToBonds(uint256 amount)
    public
    view
    returns (uint256)
    {
        return MathUtils.multiplyAndDivideFloor(amount, 1 ether, ratio());
    }

    function bondsToShares(uint256 amount)
    public
    view
    returns (uint256)
    {
        return MathUtils.multiplyAndDivideCeil(amount, ratio(), 1 ether);
    }

    modifier onlyGlobalPool() {
        require(_globalPoolContract == msg.sender, "only global pool");
        _;
    }

    function setGlobalPoolAddress(address globalPoolAddress) external onlyOwner {
        address prevValue = _globalPoolContract;
        _globalPoolContract = globalPoolAddress;
        emit GlobalPoolAddressChanged(prevValue, globalPoolAddress);
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function decimals() public view returns (uint8) {
        return 18;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) external override returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

    function _approve(address owner, address spender, uint256 amount) internal {
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function setAethContract(address aEthContract) external onlyOwner {
        address prevValue = _aEthContract;
        _aEthContract = aEthContract;
        emit AETHContractChanged(prevValue, aEthContract);
    }

    function setNameAndSymbol(string memory new_name, string memory new_symbol) public onlyOperator {
        _name = new_name;
        _symbol = new_symbol;
        emit NameAndSymbolChanged(_name, _symbol);
    }

    function changeSwapFeeParams(address swapFeeOperator, uint256 swapFeeRatio) public onlyOwner {
        // 1%=1/100*1e18=10000000000000000
        require(swapFeeRatio <= 10000000000000000, "not greater than 1%");
        emit SwapFeeParamsChanged(_swapFeeOperator, swapFeeOperator, _swapFeeRatio, swapFeeRatio);
        _swapFeeOperator = swapFeeOperator;
        _swapFeeRatio = swapFeeRatio;
    }

    function getSwapFeeRatio() public view returns (uint256) {
        return _swapFeeRatio;
    }

    function vote(address jr, uint256 proposalId, uint8 support, uint256 totalVotes, uint256 numVotes, bytes32[] calldata proof) external onlyOperator {
        IJokerRace(jr).castVote(proposalId, support, totalVotes, numVotes, proof);
    }
}

File 2 of 10 : IERC20.sol
pragma solidity ^0.6.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 3 of 10 : SafeMath.sol
pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @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 sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 4 of 10 : Initializable.sol
pragma solidity >=0.4.24 <0.7.0;


/**
 * @title Initializable
 *
 * @dev Helper contract to support initializer functions. To use it, replace
 * the constructor with a function that has the `initializer` modifier.
 * WARNING: Unlike constructors, initializer functions must be manually
 * invoked. This applies both to deploying an Initializable contract, as well
 * as extending an Initializable contract via inheritance.
 * WARNING: When used with inheritance, manual care must be taken to not invoke
 * a parent initializer twice, or ensure that all initializers are idempotent,
 * because this is not dealt with automatically as with constructors.
 */
contract Initializable {

  /**
   * @dev Indicates that the contract has been initialized.
   */
  bool private initialized;

  /**
   * @dev Indicates that the contract is in the process of being initialized.
   */
  bool private initializing;

  /**
   * @dev Modifier to use in the initializer function of a contract.
   */
  modifier initializer() {
    require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");

    bool isTopLevelCall = !initializing;
    if (isTopLevelCall) {
      initializing = true;
      initialized = true;
    }

    _;

    if (isTopLevelCall) {
      initializing = false;
    }
  }

  /// @dev Returns true if and only if the function is running in the constructor
  function isConstructor() private view returns (bool) {
    // extcodesize checks the size of the code stored in an address, and
    // address returns the current address. Since the code is still not
    // deployed when running a constructor, any checks on its code size will
    // yield zero, making it an effective way to detect if a contract is
    // under construction or not.
    address self = address(this);
    uint256 cs;
    assembly { cs := extcodesize(self) }
    return cs == 0;
  }

  // Reserved storage space to allow for layout changes in the future.
  uint256[50] private ______gap;
}

File 5 of 10 : Context.sol
pragma solidity ^0.6.0;
import "../Initializable.sol";

/*
 * @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 GSN 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.
 */
contract ContextUpgradeSafe is Initializable {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.

    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {


    }


    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }

    uint256[50] private __gap;
}

File 6 of 10 : IJokerRace.sol
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.6.11;

interface IJokerRace {

    function castVote(uint256 proposalId, uint8 support, uint256 totalVotes, uint256 numVotes, bytes32[] calldata proof) external;
}

File 7 of 10 : IAETH.sol
pragma solidity ^0.6.11;

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

interface IAETH is IERC20 {

    function burn(address account, uint256 amount) external;

    function updateMicroPoolContract(address microPoolContract) external;

    function ratio() external view returns (uint256);

    function mintFrozen(address account, uint256 amount) external;

    function mint(address account, uint256 amount) external returns (uint256);

    function mintApprovedTo(address account, address spender, uint256 amount) external;

    function mintPool() payable external;

    function fundPool(uint256 poolIndex, uint256 amount) external;

    function sharesToBonds(uint256 amount) external view returns (uint256);

    function bondsToShares(uint256 amount) external view returns (uint256);
}

File 8 of 10 : Ownable_R1.sol
pragma solidity ^0.6.0;

import "@openzeppelin/contracts-ethereum-package/contracts/Initializable.sol";
import "@openzeppelin/contracts-ethereum-package/contracts/GSN/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */

    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {


        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);

    }


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

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

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

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

    uint256[49] private __gap;
}

File 9 of 10 : MathUtils.sol
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.6.11;

library MathUtils {

    function saturatingMultiply(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        if (c / a != b) return type(uint256).max;
        return c;
    }

    function saturatingAdd(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        if (c < a) return type(uint256).max;
        return c;
    }

    // Preconditions:
    //  1. a may be arbitrary (up to 2 ** 256 - 1)
    //  2. b * c < 2 ** 256
    // Returned value: min(floor((a * b) / c), 2 ** 256 - 1)
    function multiplyAndDivideFloor(
        uint256 a,
        uint256 b,
        uint256 c
    ) internal pure returns (uint256) {
        return
        saturatingAdd(
            saturatingMultiply(a / c, b),
            ((a % c) * b) / c // can't fail because of assumption 2.
        );
    }

    // Preconditions:
    //  1. a may be arbitrary (up to 2 ** 256 - 1)
    //  2. b * c < 2 ** 256
    // Returned value: min(ceil((a * b) / c), 2 ** 256 - 1)
    function multiplyAndDivideCeil(
        uint256 a,
        uint256 b,
        uint256 c
    ) internal pure returns (uint256) {
        return
        saturatingAdd(
            saturatingMultiply(a / c, b),
            ((a % c) * b + (c - 1)) / c // can't fail because of assumption 2.
        );
    }
}

File 10 of 10 : Lockable.sol
pragma solidity ^0.6.11;

abstract contract Lockable {
    mapping(address => bool) private _locks;

    modifier unlocked(address addr) {
        require(!_locks[addr], "Reentrancy protection");
        _locks[addr] = true;
        _;
        _locks[addr] = false;
    }

    uint256[50] private __gap;
}

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"prevValue","type":"address"},{"indexed":false,"internalType":"address","name":"newValue","type":"address"}],"name":"AETHContractChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"prevValue","type":"address"},{"indexed":false,"internalType":"address","name":"newValue","type":"address"}],"name":"GlobalPoolAddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Locked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"LockedV2","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"string","name":"symbol","type":"string"}],"name":"NameAndSymbolChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"prevOperator","type":"address"},{"indexed":false,"internalType":"address","name":"newOperator","type":"address"},{"indexed":false,"internalType":"uint256","name":"prevRatio","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRatio","type":"uint256"}],"name":"SwapFeeParamsChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Unlocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"UnlockedV2","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"bondsToShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"swapFeeOperator","type":"address"},{"internalType":"uint256","name":"swapFeeRatio","type":"uint256"}],"name":"changeSwapFeeParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSwapFeeRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"operator","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isRebasing","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"lockShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"lockSharesFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"lockedSharesOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ratio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"aEthContract","type":"address"}],"name":"setAethContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"globalPoolAddress","type":"address"}],"name":"setGlobalPoolAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"new_name","type":"string"},{"internalType":"string","name":"new_symbol","type":"string"}],"name":"setNameAndSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"sharesToBonds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"unlockShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"unlockSharesFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"jr","type":"address"},{"internalType":"uint256","name":"proposalId","type":"uint256"},{"internalType":"uint8","name":"support","type":"uint8"},{"internalType":"uint256","name":"totalVotes","type":"uint256"},{"internalType":"uint256","name":"numVotes","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"vote","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061267a806100206000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063b2b1e99711610097578063dd62ed3e11610071578063dd62ed3e146107d9578063ee03137314610807578063f2fde38b14610824578063fcb040fe1461084a576101c4565b8063b2b1e99714610757578063b70cbc531461077d578063ca50b342146107b3576101c4565b80638da5cb5b116100d35780638da5cb5b146106d957806395d89b41146106fd5780639bbb02da14610705578063a9059cbb1461072b576101c4565b806370a08231146106a3578063715018a6146106c957806371ca337d146106d1576101c4565b806351b9bfbe116101665780635dfba115116101405780635dfba115146106355780636482a22f1461063d578063686b149c1461065a5780636c58d43d14610686576101c4565b806351b9bfbe1461045657806353616373146104ef5780635a4462151461050c576101c4565b806318160ddd116101a257806318160ddd146103bc57806323b872dd146103d6578063313ce5671461040c5780634950fbcd1461042a576101c4565b806306fdde03146101c9578063077f224a14610246578063095ea7b31461037c575b600080fd5b6101d1610852565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561020b5781810151838201526020016101f3565b50505050905090810190601f1680156102385780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61037a6004803603606081101561025c57600080fd5b810190602081018135600160201b81111561027657600080fd5b82018360208201111561028857600080fd5b803590602001918460018302840111600160201b831117156102a957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156102fb57600080fd5b82018360208201111561030d57600080fd5b803590602001918460018302840111600160201b8311171561032e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550505090356001600160a01b031691506108e99050565b005b6103a86004803603604081101561039257600080fd5b506001600160a01b0381351690602001356109d9565b604080519115158252519081900360200190f35b6103c46109f0565b60408051918252519081900360200190f35b6103a8600480360360608110156103ec57600080fd5b506001600160a01b03813581169160208101359091169060400135610a7d565b610414610b35565b6040805160ff9092168252519081900360200190f35b61037a6004803603604081101561044057600080fd5b506001600160a01b038135169060200135610b3a565b61037a600480360360c081101561046c57600080fd5b6001600160a01b038235169160208101359160ff604083013516916060810135916080820135919081019060c0810160a0820135600160201b8111156104b157600080fd5b8201836020820111156104c357600080fd5b803590602001918460208302840111600160201b831117156104e457600080fd5b509092509050610c62565b6103c46004803603602081101561050557600080fd5b5035610d98565b61037a6004803603604081101561052257600080fd5b810190602081018135600160201b81111561053c57600080fd5b82018360208201111561054e57600080fd5b803590602001918460018302840111600160201b8311171561056f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156105c157600080fd5b8201836020820111156105d357600080fd5b803590602001918460018302840111600160201b831117156105f457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610db4945050505050565b6103a8610f84565b61037a6004803603602081101561065357600080fd5b5035610f89565b61037a6004803603604081101561067057600080fd5b506001600160a01b038135169060200135611164565b6103c46004803603602081101561069c57600080fd5b5035611335565b6103c4600480360360208110156106b957600080fd5b50356001600160a01b0316611351565b61037a61137a565b6103c461141c565b6106e1611492565b604080516001600160a01b039092168252519081900360200190f35b6101d16114a1565b6103c46004803603602081101561071b57600080fd5b50356001600160a01b0316611502565b6103a86004803603604081101561074157600080fd5b506001600160a01b03813516906020013561151d565b61037a6004803603602081101561076d57600080fd5b50356001600160a01b031661152a565b61037a6004803603606081101561079357600080fd5b506001600160a01b038135811691602081013590911690604001356115ef565b61037a600480360360208110156107c957600080fd5b50356001600160a01b03166117fb565b6103c4600480360360408110156107ef57600080fd5b506001600160a01b03813581169160200135166118b6565b61037a6004803603602081101561081d57600080fd5b50356118e1565b61037a6004803603602081101561083a57600080fd5b50356001600160a01b0316611b74565b6103c4611c6d565b60ca8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108de5780601f106108b3576101008083540402835291602001916108de565b820191906000526020600020905b8154815290600101906020018083116108c157829003601f168201915b505050505090505b90565b600054610100900460ff16806109025750610902611c73565b80610910575060005460ff16155b61094b5760405162461bcd60e51b815260040180806020018281038252602e8152602001806125f7602e913960400191505060405180910390fd5b600054610100900460ff16158015610976576000805460ff1961ff0019909116610100171660011790555b61097e611c79565b60d380546001600160a01b0319166001600160a01b03841617905583516109ac9060ca9060208701906124a9565b5082516109c09060cb9060208601906124a9565b5080156109d3576000805461ff00191690555b50505050565b60006109e6338484611d2b565b5060015b92915050565b60d654604080516370a0823160e01b8152306004820152905160009283926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b158015610a4057600080fd5b505afa158015610a54573d6000803e3d6000fd5b505050506040513d6020811015610a6a57600080fd5b50519050610a7781611335565b91505090565b6000610ae4826040518060600160405280602881526020016125af602891396001600160a01b038716600090815260ce6020526040812090610abd611d8d565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611d9116565b6001600160a01b038516600090815260ce6020526040812090610b05611d8d565b6001600160a01b03168152602081019190915260400160002055610b2a848484611e28565b506001949350505050565b601290565b610b42611d8d565b6065546001600160a01b03908116911614610b92576040805162461bcd60e51b815260206004820181905260248201526000805160206125d7833981519152604482015290519081900360640190fd5b662386f26fc10000811115610be4576040805162461bcd60e51b81526020600482015260136024820152726e6f742067726561746572207468616e20312560681b604482015290519081900360640190fd5b60d75460d854604080516001600160a01b03938416815292851660208401528281019190915260608201839052517fce82b8a8c6f4d03c37330792d9137ceae970351f3f388564fa8fd11286045d309181900360800190a160d780546001600160a01b0319166001600160a01b03939093169290921790915560d855565b610c6a611492565b6001600160a01b0316336001600160a01b03161480610c93575060d3546001600160a01b031633145b610cdc576040805162461bcd60e51b815260206004820152601560248201527413dc195c985d1bdc8e881b9bdd08185b1b1bddd959605a1b604482015290519081900360640190fd5b866001600160a01b031663419c533c8787878787876040518763ffffffff1660e01b8152600401808781526020018660ff1660ff168152602001858152602001848152602001806020018281038252848482818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050600060405180830381600087803b158015610d7757600080fd5b505af1158015610d8b573d6000803e3d6000fd5b5050505050505050505050565b60006109ea82610da661141c565b670de0b6b3a7640000611efe565b610dbc611492565b6001600160a01b0316336001600160a01b03161480610de5575060d3546001600160a01b031633145b610e2e576040805162461bcd60e51b815260206004820152601560248201527413dc195c985d1bdc8e881b9bdd08185b1b1bddd959605a1b604482015290519081900360640190fd5b8151610e419060ca9060208501906124a9565b508051610e559060cb9060208401906124a9565b506040805181815260ca8054600260001961010060018416150201909116049282018390527f4d807d72b2a493ff2c4e338967d3f82d3352481258457d12a4506a1762a44c6992909160cb9181906020820190606083019086908015610efc5780601f10610ed157610100808354040283529160200191610efc565b820191906000526020600020905b815481529060010190602001808311610edf57829003601f168201915b5050838103825284546002600019610100600184161502019091160480825260209091019085908015610f705780601f10610f4557610100808354040283529160200191610f70565b820191906000526020600020905b815481529060010190602001808311610f5357829003601f168201915b505094505050505060405180910390a15050565b600190565b60d654604080516323b872dd60e01b8152336004820181905230602483015260448201859052915191926001600160a01b0316916323b872dd916064808201926020929091908290030181600087803b158015610fe557600080fd5b505af1158015610ff9573d6000803e3d6000fd5b505050506040513d602081101561100f57600080fd5b5051611053576040805162461bcd60e51b815260206004820152600e60248201526d31b0b713ba103a3930b739b332b960911b604482015290519081900360640190fd5b6000611082670de0b6b3a764000061107660d85486611f3d90919063ffffffff16565b9063ffffffff611f9616565b60d7549091506001600160a01b031633141561109c575060005b60006110ae848363ffffffff611fd816565b60d7549091506110c7906001600160a01b03168361201a565b6110d1838261201a565b604080516001600160a01b03851681526020810186905281517f9f1ec8c880f76798e7b793325d625e9b60e4082a553c98f42b6cda368dd60008929181900390910190a1604080516001600160a01b03851681526020810183905280820184905290517fb1d0c51740f9d04b7964a8a92fd8db0c144a5b1557dbd3f66a1900d0f13c6dec9181900360600190a150505050565b60cc5461010090046001600160a01b0316331480611191575033611186611492565b6001600160a01b0316145b6111d6576040805162461bcd60e51b8152602060048201526011602482015270119155120e881b9bdd08185b1b1bddd959607a1b604482015290519081900360640190fd5b6111e0828261208d565b60d6546040805163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561123657600080fd5b505af115801561124a573d6000803e3d6000fd5b505050506040513d602081101561126057600080fd5b50516112a4576040805162461bcd60e51b815260206004820152600e60248201526d31b0b713ba103a3930b739b332b960911b604482015290519081900360640190fd5b604080516001600160a01b03841681526020810183905281517f0f0bc5b519ddefdd8e5f9e6423433aa2b869738de2ae34d58ebc796fc749fa0d929181900390910190a1604080516001600160a01b03841681526020810183905260008183015290517f580f83590dbe095a16ea0409dd3b6d8d83db09546199f67c505586e4379017459181900360600190a15050565b60006109ea82670de0b6b3a764000061134c61141c565b612122565b6001600160a01b038116600090815260cd602052604081205461137381611335565b9392505050565b611382611d8d565b6065546001600160a01b039081169116146113d2576040805162461bcd60e51b815260206004820181905260248201526000805160206125d7833981519152604482015290519081900360640190fd5b6065546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3606580546001600160a01b0319169055565b60d654604080516371ca337d60e01b815290516000926001600160a01b0316916371ca337d916004808301926020929190829003018186803b15801561146157600080fd5b505afa158015611475573d6000803e3d6000fd5b505050506040513d602081101561148b57600080fd5b5051905090565b6065546001600160a01b031690565b60cb8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108de5780601f106108b3576101008083540402835291602001916108de565b6001600160a01b0316600090815260cd602052604090205490565b6000611373338484611e28565b611532611d8d565b6065546001600160a01b03908116911614611582576040805162461bcd60e51b815260206004820181905260248201526000805160206125d7833981519152604482015290519081900360640190fd5b60cc80546001600160a01b03838116610100818102610100600160a81b03198516179094556040805194909304919091168084526020840191909152815190927fb453a4803fa927182fc8e20b7d3a3bbec859cd9c4dae358757eb36719370845b92908290030190a15050565b60cc5461010090046001600160a01b03163314611646576040805162461bcd60e51b815260206004820152601060248201526f1bdb9b1e4819db1bd8985b081c1bdbdb60821b604482015290519081900360640190fd5b6001600160a01b0383163314611695576040805162461bcd60e51b815260206004820152600f60248201526e34b73b30b634b21039b832b73232b960891b604482015290519081900360640190fd5b61169f828261201a565b60d654604080516323b872dd60e01b81526001600160a01b03868116600483015230602483015260448201859052915191909216916323b872dd9160648083019260209291908290030181600087803b1580156116fb57600080fd5b505af115801561170f573d6000803e3d6000fd5b505050506040513d602081101561172557600080fd5b5051611769576040805162461bcd60e51b815260206004820152600e60248201526d31b0b713ba103a3930b739b332b960911b604482015290519081900360640190fd5b604080516001600160a01b03841681526020810183905281517f9f1ec8c880f76798e7b793325d625e9b60e4082a553c98f42b6cda368dd60008929181900390910190a1604080516001600160a01b03851681526020810183905260008183015290517fb1d0c51740f9d04b7964a8a92fd8db0c144a5b1557dbd3f66a1900d0f13c6dec9181900360600190a1505050565b611803611d8d565b6065546001600160a01b03908116911614611853576040805162461bcd60e51b815260206004820181905260248201526000805160206125d7833981519152604482015290519081900360640190fd5b60d680546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517f5de4ae35bd30586dee7b9e809a5bc4e8489b0c14890f93563783980ba50ad8cd929181900390910190a15050565b6001600160a01b03918216600090815260ce6020908152604080832093909416825291909152205490565b33600081815260cd602052604090205482111561193c576040805162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b604482015290519081900360640190fd5b600061195f670de0b6b3a764000061107660d85486611f3d90919063ffffffff16565b60d7549091506001600160a01b0316331415611979575060005b6001600160a01b038216600090815260cd60205260409020548311156119e6576040805162461bcd60e51b815260206004820152601a60248201527f464554483a20696e73756666696369656e742062616c616e6365000000000000604482015290519081900360640190fd5b60006119f8848363ffffffff611fd816565b60d754909150611a139084906001600160a01b031684612147565b611a1d838261208d565b60d6546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611a7357600080fd5b505af1158015611a87573d6000803e3d6000fd5b505050506040513d6020811015611a9d57600080fd5b5051611ae1576040805162461bcd60e51b815260206004820152600e60248201526d31b0b713ba103a3930b739b332b960911b604482015290519081900360640190fd5b604080516001600160a01b03851681526020810186905281517f0f0bc5b519ddefdd8e5f9e6423433aa2b869738de2ae34d58ebc796fc749fa0d929181900390910190a1604080516001600160a01b03851681526020810183905280820184905290517f580f83590dbe095a16ea0409dd3b6d8d83db09546199f67c505586e4379017459181900360600190a150505050565b611b7c611d8d565b6065546001600160a01b03908116911614611bcc576040805162461bcd60e51b815260206004820181905260248201526000805160206125d7833981519152604482015290519081900360640190fd5b6001600160a01b038116611c115760405162461bcd60e51b81526004018080602001828103825260268152602001806125426026913960400191505060405180910390fd5b6065546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606580546001600160a01b0319166001600160a01b0392909216919091179055565b60d85490565b303b1590565b600054610100900460ff1680611c925750611c92611c73565b80611ca0575060005460ff16155b611cdb5760405162461bcd60e51b815260040180806020018281038252602e8152602001806125f7602e913960400191505060405180910390fd5b600054610100900460ff16158015611d06576000805460ff1961ff0019909116610100171660011790555b611d0e61220c565b611d166122ac565b8015611d28576000805461ff00191690555b50565b6001600160a01b03808416600081815260ce6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b3390565b60008184841115611e205760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611de5578181015183820152602001611dcd565b50505050905090810190601f168015611e125780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600080611e3483610d98565b9050611e7981604051806060016040528060268152602001612568602691396001600160a01b038816600090815260cd6020526040902054919063ffffffff611d9116565b6001600160a01b03808716600090815260cd60205260408082209390935590861681522054611eae908263ffffffff6123a516565b6001600160a01b03808616600081815260cd6020908152604091829020949094558051878152905191939289169260008051602061262583398151915292918290030190a3506001949350505050565b6000611f35611f16838681611f0f57fe5b04856123ff565b836001850386868981611f2557fe5b06020181611f2f57fe5b0461242c565b949350505050565b600082611f4c575060006109ea565b82820282848281611f5957fe5b04146113735760405162461bcd60e51b815260040180806020018281038252602181526020018061258e6021913960400191505060405180910390fd5b600061137383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612444565b600061137383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d91565b6001600160a01b038216600090815260cd6020526040902054612043908263ffffffff6123a516565b6001600160a01b038316600081815260cd60205260408120929092559060008051602061262583398151915261207884611335565b60408051918252519081900360200190a35050565b604080518082018252601b81527f45524332303a206275726e20657863656564732062616c616e636500000000006020808301919091526001600160a01b038516600090815260cd90915291909120546120ee91839063ffffffff611d9116565b6001600160a01b038316600081815260cd602052604081209290925560008051602061262583398151915261207884611335565b6000611f35612133838681611f0f57fe5b838585888161213e57fe5b060281611f2f57fe5b61218a81604051806060016040528060268152602001612568602691396001600160a01b038616600090815260cd6020526040902054919063ffffffff611d9116565b6001600160a01b03808516600090815260cd602052604080822093909355908416815220546121bf908263ffffffff6123a516565b6001600160a01b03808416600081815260cd602052604090209290925584166000805160206126258339815191526121f684611335565b60408051918252519081900360200190a3505050565b600054610100900460ff16806122255750612225611c73565b80612233575060005460ff16155b61226e5760405162461bcd60e51b815260040180806020018281038252602e8152602001806125f7602e913960400191505060405180910390fd5b600054610100900460ff16158015611d16576000805460ff1961ff0019909116610100171660011790558015611d28576000805461ff001916905550565b600054610100900460ff16806122c557506122c5611c73565b806122d3575060005460ff16155b61230e5760405162461bcd60e51b815260040180806020018281038252602e8152602001806125f7602e913960400191505060405180910390fd5b600054610100900460ff16158015612339576000805460ff1961ff0019909116610100171660011790555b6000612343611d8d565b606580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508015611d28576000805461ff001916905550565b600082820183811015611373576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008261240e575060006109ea565b8282028284828161241b57fe5b0414611373576000199150506109ea565b600082820183811015611373576000199150506109ea565b600081836124935760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611de5578181015183820152602001611dcd565b50600083858161249f57fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106124ea57805160ff1916838001178555612517565b82800160010185558215612517579182015b828111156125175782518255916020019190600101906124fc565b50612523929150612527565b5090565b6108e691905b80821115612523576000815560010161252d56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a207472616e736665722073686172657320657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220a4e46c23e5fe299247df2629a939353dbfa79d38e24f2c7fb9342436d0919fee64736f6c634300060b0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063b2b1e99711610097578063dd62ed3e11610071578063dd62ed3e146107d9578063ee03137314610807578063f2fde38b14610824578063fcb040fe1461084a576101c4565b8063b2b1e99714610757578063b70cbc531461077d578063ca50b342146107b3576101c4565b80638da5cb5b116100d35780638da5cb5b146106d957806395d89b41146106fd5780639bbb02da14610705578063a9059cbb1461072b576101c4565b806370a08231146106a3578063715018a6146106c957806371ca337d146106d1576101c4565b806351b9bfbe116101665780635dfba115116101405780635dfba115146106355780636482a22f1461063d578063686b149c1461065a5780636c58d43d14610686576101c4565b806351b9bfbe1461045657806353616373146104ef5780635a4462151461050c576101c4565b806318160ddd116101a257806318160ddd146103bc57806323b872dd146103d6578063313ce5671461040c5780634950fbcd1461042a576101c4565b806306fdde03146101c9578063077f224a14610246578063095ea7b31461037c575b600080fd5b6101d1610852565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561020b5781810151838201526020016101f3565b50505050905090810190601f1680156102385780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61037a6004803603606081101561025c57600080fd5b810190602081018135600160201b81111561027657600080fd5b82018360208201111561028857600080fd5b803590602001918460018302840111600160201b831117156102a957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156102fb57600080fd5b82018360208201111561030d57600080fd5b803590602001918460018302840111600160201b8311171561032e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550505090356001600160a01b031691506108e99050565b005b6103a86004803603604081101561039257600080fd5b506001600160a01b0381351690602001356109d9565b604080519115158252519081900360200190f35b6103c46109f0565b60408051918252519081900360200190f35b6103a8600480360360608110156103ec57600080fd5b506001600160a01b03813581169160208101359091169060400135610a7d565b610414610b35565b6040805160ff9092168252519081900360200190f35b61037a6004803603604081101561044057600080fd5b506001600160a01b038135169060200135610b3a565b61037a600480360360c081101561046c57600080fd5b6001600160a01b038235169160208101359160ff604083013516916060810135916080820135919081019060c0810160a0820135600160201b8111156104b157600080fd5b8201836020820111156104c357600080fd5b803590602001918460208302840111600160201b831117156104e457600080fd5b509092509050610c62565b6103c46004803603602081101561050557600080fd5b5035610d98565b61037a6004803603604081101561052257600080fd5b810190602081018135600160201b81111561053c57600080fd5b82018360208201111561054e57600080fd5b803590602001918460018302840111600160201b8311171561056f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156105c157600080fd5b8201836020820111156105d357600080fd5b803590602001918460018302840111600160201b831117156105f457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610db4945050505050565b6103a8610f84565b61037a6004803603602081101561065357600080fd5b5035610f89565b61037a6004803603604081101561067057600080fd5b506001600160a01b038135169060200135611164565b6103c46004803603602081101561069c57600080fd5b5035611335565b6103c4600480360360208110156106b957600080fd5b50356001600160a01b0316611351565b61037a61137a565b6103c461141c565b6106e1611492565b604080516001600160a01b039092168252519081900360200190f35b6101d16114a1565b6103c46004803603602081101561071b57600080fd5b50356001600160a01b0316611502565b6103a86004803603604081101561074157600080fd5b506001600160a01b03813516906020013561151d565b61037a6004803603602081101561076d57600080fd5b50356001600160a01b031661152a565b61037a6004803603606081101561079357600080fd5b506001600160a01b038135811691602081013590911690604001356115ef565b61037a600480360360208110156107c957600080fd5b50356001600160a01b03166117fb565b6103c4600480360360408110156107ef57600080fd5b506001600160a01b03813581169160200135166118b6565b61037a6004803603602081101561081d57600080fd5b50356118e1565b61037a6004803603602081101561083a57600080fd5b50356001600160a01b0316611b74565b6103c4611c6d565b60ca8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108de5780601f106108b3576101008083540402835291602001916108de565b820191906000526020600020905b8154815290600101906020018083116108c157829003601f168201915b505050505090505b90565b600054610100900460ff16806109025750610902611c73565b80610910575060005460ff16155b61094b5760405162461bcd60e51b815260040180806020018281038252602e8152602001806125f7602e913960400191505060405180910390fd5b600054610100900460ff16158015610976576000805460ff1961ff0019909116610100171660011790555b61097e611c79565b60d380546001600160a01b0319166001600160a01b03841617905583516109ac9060ca9060208701906124a9565b5082516109c09060cb9060208601906124a9565b5080156109d3576000805461ff00191690555b50505050565b60006109e6338484611d2b565b5060015b92915050565b60d654604080516370a0823160e01b8152306004820152905160009283926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b158015610a4057600080fd5b505afa158015610a54573d6000803e3d6000fd5b505050506040513d6020811015610a6a57600080fd5b50519050610a7781611335565b91505090565b6000610ae4826040518060600160405280602881526020016125af602891396001600160a01b038716600090815260ce6020526040812090610abd611d8d565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611d9116565b6001600160a01b038516600090815260ce6020526040812090610b05611d8d565b6001600160a01b03168152602081019190915260400160002055610b2a848484611e28565b506001949350505050565b601290565b610b42611d8d565b6065546001600160a01b03908116911614610b92576040805162461bcd60e51b815260206004820181905260248201526000805160206125d7833981519152604482015290519081900360640190fd5b662386f26fc10000811115610be4576040805162461bcd60e51b81526020600482015260136024820152726e6f742067726561746572207468616e20312560681b604482015290519081900360640190fd5b60d75460d854604080516001600160a01b03938416815292851660208401528281019190915260608201839052517fce82b8a8c6f4d03c37330792d9137ceae970351f3f388564fa8fd11286045d309181900360800190a160d780546001600160a01b0319166001600160a01b03939093169290921790915560d855565b610c6a611492565b6001600160a01b0316336001600160a01b03161480610c93575060d3546001600160a01b031633145b610cdc576040805162461bcd60e51b815260206004820152601560248201527413dc195c985d1bdc8e881b9bdd08185b1b1bddd959605a1b604482015290519081900360640190fd5b866001600160a01b031663419c533c8787878787876040518763ffffffff1660e01b8152600401808781526020018660ff1660ff168152602001858152602001848152602001806020018281038252848482818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050600060405180830381600087803b158015610d7757600080fd5b505af1158015610d8b573d6000803e3d6000fd5b5050505050505050505050565b60006109ea82610da661141c565b670de0b6b3a7640000611efe565b610dbc611492565b6001600160a01b0316336001600160a01b03161480610de5575060d3546001600160a01b031633145b610e2e576040805162461bcd60e51b815260206004820152601560248201527413dc195c985d1bdc8e881b9bdd08185b1b1bddd959605a1b604482015290519081900360640190fd5b8151610e419060ca9060208501906124a9565b508051610e559060cb9060208401906124a9565b506040805181815260ca8054600260001961010060018416150201909116049282018390527f4d807d72b2a493ff2c4e338967d3f82d3352481258457d12a4506a1762a44c6992909160cb9181906020820190606083019086908015610efc5780601f10610ed157610100808354040283529160200191610efc565b820191906000526020600020905b815481529060010190602001808311610edf57829003601f168201915b5050838103825284546002600019610100600184161502019091160480825260209091019085908015610f705780601f10610f4557610100808354040283529160200191610f70565b820191906000526020600020905b815481529060010190602001808311610f5357829003601f168201915b505094505050505060405180910390a15050565b600190565b60d654604080516323b872dd60e01b8152336004820181905230602483015260448201859052915191926001600160a01b0316916323b872dd916064808201926020929091908290030181600087803b158015610fe557600080fd5b505af1158015610ff9573d6000803e3d6000fd5b505050506040513d602081101561100f57600080fd5b5051611053576040805162461bcd60e51b815260206004820152600e60248201526d31b0b713ba103a3930b739b332b960911b604482015290519081900360640190fd5b6000611082670de0b6b3a764000061107660d85486611f3d90919063ffffffff16565b9063ffffffff611f9616565b60d7549091506001600160a01b031633141561109c575060005b60006110ae848363ffffffff611fd816565b60d7549091506110c7906001600160a01b03168361201a565b6110d1838261201a565b604080516001600160a01b03851681526020810186905281517f9f1ec8c880f76798e7b793325d625e9b60e4082a553c98f42b6cda368dd60008929181900390910190a1604080516001600160a01b03851681526020810183905280820184905290517fb1d0c51740f9d04b7964a8a92fd8db0c144a5b1557dbd3f66a1900d0f13c6dec9181900360600190a150505050565b60cc5461010090046001600160a01b0316331480611191575033611186611492565b6001600160a01b0316145b6111d6576040805162461bcd60e51b8152602060048201526011602482015270119155120e881b9bdd08185b1b1bddd959607a1b604482015290519081900360640190fd5b6111e0828261208d565b60d6546040805163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561123657600080fd5b505af115801561124a573d6000803e3d6000fd5b505050506040513d602081101561126057600080fd5b50516112a4576040805162461bcd60e51b815260206004820152600e60248201526d31b0b713ba103a3930b739b332b960911b604482015290519081900360640190fd5b604080516001600160a01b03841681526020810183905281517f0f0bc5b519ddefdd8e5f9e6423433aa2b869738de2ae34d58ebc796fc749fa0d929181900390910190a1604080516001600160a01b03841681526020810183905260008183015290517f580f83590dbe095a16ea0409dd3b6d8d83db09546199f67c505586e4379017459181900360600190a15050565b60006109ea82670de0b6b3a764000061134c61141c565b612122565b6001600160a01b038116600090815260cd602052604081205461137381611335565b9392505050565b611382611d8d565b6065546001600160a01b039081169116146113d2576040805162461bcd60e51b815260206004820181905260248201526000805160206125d7833981519152604482015290519081900360640190fd5b6065546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3606580546001600160a01b0319169055565b60d654604080516371ca337d60e01b815290516000926001600160a01b0316916371ca337d916004808301926020929190829003018186803b15801561146157600080fd5b505afa158015611475573d6000803e3d6000fd5b505050506040513d602081101561148b57600080fd5b5051905090565b6065546001600160a01b031690565b60cb8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108de5780601f106108b3576101008083540402835291602001916108de565b6001600160a01b0316600090815260cd602052604090205490565b6000611373338484611e28565b611532611d8d565b6065546001600160a01b03908116911614611582576040805162461bcd60e51b815260206004820181905260248201526000805160206125d7833981519152604482015290519081900360640190fd5b60cc80546001600160a01b03838116610100818102610100600160a81b03198516179094556040805194909304919091168084526020840191909152815190927fb453a4803fa927182fc8e20b7d3a3bbec859cd9c4dae358757eb36719370845b92908290030190a15050565b60cc5461010090046001600160a01b03163314611646576040805162461bcd60e51b815260206004820152601060248201526f1bdb9b1e4819db1bd8985b081c1bdbdb60821b604482015290519081900360640190fd5b6001600160a01b0383163314611695576040805162461bcd60e51b815260206004820152600f60248201526e34b73b30b634b21039b832b73232b960891b604482015290519081900360640190fd5b61169f828261201a565b60d654604080516323b872dd60e01b81526001600160a01b03868116600483015230602483015260448201859052915191909216916323b872dd9160648083019260209291908290030181600087803b1580156116fb57600080fd5b505af115801561170f573d6000803e3d6000fd5b505050506040513d602081101561172557600080fd5b5051611769576040805162461bcd60e51b815260206004820152600e60248201526d31b0b713ba103a3930b739b332b960911b604482015290519081900360640190fd5b604080516001600160a01b03841681526020810183905281517f9f1ec8c880f76798e7b793325d625e9b60e4082a553c98f42b6cda368dd60008929181900390910190a1604080516001600160a01b03851681526020810183905260008183015290517fb1d0c51740f9d04b7964a8a92fd8db0c144a5b1557dbd3f66a1900d0f13c6dec9181900360600190a1505050565b611803611d8d565b6065546001600160a01b03908116911614611853576040805162461bcd60e51b815260206004820181905260248201526000805160206125d7833981519152604482015290519081900360640190fd5b60d680546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517f5de4ae35bd30586dee7b9e809a5bc4e8489b0c14890f93563783980ba50ad8cd929181900390910190a15050565b6001600160a01b03918216600090815260ce6020908152604080832093909416825291909152205490565b33600081815260cd602052604090205482111561193c576040805162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b604482015290519081900360640190fd5b600061195f670de0b6b3a764000061107660d85486611f3d90919063ffffffff16565b60d7549091506001600160a01b0316331415611979575060005b6001600160a01b038216600090815260cd60205260409020548311156119e6576040805162461bcd60e51b815260206004820152601a60248201527f464554483a20696e73756666696369656e742062616c616e6365000000000000604482015290519081900360640190fd5b60006119f8848363ffffffff611fd816565b60d754909150611a139084906001600160a01b031684612147565b611a1d838261208d565b60d6546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611a7357600080fd5b505af1158015611a87573d6000803e3d6000fd5b505050506040513d6020811015611a9d57600080fd5b5051611ae1576040805162461bcd60e51b815260206004820152600e60248201526d31b0b713ba103a3930b739b332b960911b604482015290519081900360640190fd5b604080516001600160a01b03851681526020810186905281517f0f0bc5b519ddefdd8e5f9e6423433aa2b869738de2ae34d58ebc796fc749fa0d929181900390910190a1604080516001600160a01b03851681526020810183905280820184905290517f580f83590dbe095a16ea0409dd3b6d8d83db09546199f67c505586e4379017459181900360600190a150505050565b611b7c611d8d565b6065546001600160a01b03908116911614611bcc576040805162461bcd60e51b815260206004820181905260248201526000805160206125d7833981519152604482015290519081900360640190fd5b6001600160a01b038116611c115760405162461bcd60e51b81526004018080602001828103825260268152602001806125426026913960400191505060405180910390fd5b6065546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606580546001600160a01b0319166001600160a01b0392909216919091179055565b60d85490565b303b1590565b600054610100900460ff1680611c925750611c92611c73565b80611ca0575060005460ff16155b611cdb5760405162461bcd60e51b815260040180806020018281038252602e8152602001806125f7602e913960400191505060405180910390fd5b600054610100900460ff16158015611d06576000805460ff1961ff0019909116610100171660011790555b611d0e61220c565b611d166122ac565b8015611d28576000805461ff00191690555b50565b6001600160a01b03808416600081815260ce6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b3390565b60008184841115611e205760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611de5578181015183820152602001611dcd565b50505050905090810190601f168015611e125780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600080611e3483610d98565b9050611e7981604051806060016040528060268152602001612568602691396001600160a01b038816600090815260cd6020526040902054919063ffffffff611d9116565b6001600160a01b03808716600090815260cd60205260408082209390935590861681522054611eae908263ffffffff6123a516565b6001600160a01b03808616600081815260cd6020908152604091829020949094558051878152905191939289169260008051602061262583398151915292918290030190a3506001949350505050565b6000611f35611f16838681611f0f57fe5b04856123ff565b836001850386868981611f2557fe5b06020181611f2f57fe5b0461242c565b949350505050565b600082611f4c575060006109ea565b82820282848281611f5957fe5b04146113735760405162461bcd60e51b815260040180806020018281038252602181526020018061258e6021913960400191505060405180910390fd5b600061137383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612444565b600061137383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d91565b6001600160a01b038216600090815260cd6020526040902054612043908263ffffffff6123a516565b6001600160a01b038316600081815260cd60205260408120929092559060008051602061262583398151915261207884611335565b60408051918252519081900360200190a35050565b604080518082018252601b81527f45524332303a206275726e20657863656564732062616c616e636500000000006020808301919091526001600160a01b038516600090815260cd90915291909120546120ee91839063ffffffff611d9116565b6001600160a01b038316600081815260cd602052604081209290925560008051602061262583398151915261207884611335565b6000611f35612133838681611f0f57fe5b838585888161213e57fe5b060281611f2f57fe5b61218a81604051806060016040528060268152602001612568602691396001600160a01b038616600090815260cd6020526040902054919063ffffffff611d9116565b6001600160a01b03808516600090815260cd602052604080822093909355908416815220546121bf908263ffffffff6123a516565b6001600160a01b03808416600081815260cd602052604090209290925584166000805160206126258339815191526121f684611335565b60408051918252519081900360200190a3505050565b600054610100900460ff16806122255750612225611c73565b80612233575060005460ff16155b61226e5760405162461bcd60e51b815260040180806020018281038252602e8152602001806125f7602e913960400191505060405180910390fd5b600054610100900460ff16158015611d16576000805460ff1961ff0019909116610100171660011790558015611d28576000805461ff001916905550565b600054610100900460ff16806122c557506122c5611c73565b806122d3575060005460ff16155b61230e5760405162461bcd60e51b815260040180806020018281038252602e8152602001806125f7602e913960400191505060405180910390fd5b600054610100900460ff16158015612339576000805460ff1961ff0019909116610100171660011790555b6000612343611d8d565b606580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508015611d28576000805461ff001916905550565b600082820183811015611373576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008261240e575060006109ea565b8282028284828161241b57fe5b0414611373576000199150506109ea565b600082820183811015611373576000199150506109ea565b600081836124935760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611de5578181015183820152602001611dcd565b50600083858161249f57fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106124ea57805160ff1916838001178555612517565b82800160010185558215612517579182015b828111156125175782518255916020019190600101906124fc565b50612523929150612527565b5090565b6108e691905b80821115612523576000815560010161252d56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a207472616e736665722073686172657320657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220a4e46c23e5fe299247df2629a939353dbfa79d38e24f2c7fb9342436d0919fee64736f6c634300060b0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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