ETH Price: $3,072.45 (+2.49%)
Gas: 5 Gwei

Token

Voting Armor Token (vARMOR)
 

Overview

Max Total Supply

93,085,072.286189591968221959 vARMOR

Holders

151

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
33,252.522686661945217549 vARMOR

Value
$0.00
0x2Cca6b8821D53e2d7c7fc321D21e83FDBe5cb362
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
vARMOR

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-10-29
*/

// Sources flattened with hardhat v2.3.0 https://hardhat.org

// File contracts/interfaces/ITokenHelper.sol
pragma solidity ^0.6.0;

interface ITokenHelper {
    function transferHelper(address from, address to, uint256 amount) external;
}


// File @openzeppelin/contracts/utils/[email protected]
pragma solidity >=0.6.0 <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 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.
 */
abstract contract Context {
    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;
    }
}


// File @openzeppelin/contracts/token/ERC20/[email protected]
pragma solidity >=0.6.0 <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 @openzeppelin/contracts/math/[email protected]
pragma solidity >=0.6.0 <0.8.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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        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) {
        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) {
        // 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) {
        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) {
        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) {
        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) {
        require(b <= a, "SafeMath: subtraction overflow");
        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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        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) {
        require(b > 0, "SafeMath: modulo by zero");
        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) {
        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.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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) {
        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) {
        require(b > 0, errorMessage);
        return a % b;
    }
}


// File @openzeppelin/contracts/token/ERC20/[email protected]
pragma solidity >=0.6.0 <0.8.0;

/**
 * @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 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 {_setupDecimals} is
     * called.
     *
     * 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 returns (uint8) {
        return _decimals;
    }

    /**
     * @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);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(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:
     *
     * - `to` 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @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 to 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 { }
}


// File contracts/vARMOR.sol

// SPDX-License-Identifier: (c) Armor.Fi DAO, 2021

pragma solidity 0.6.12;

contract vARMOR is ERC20("Voting Armor Token", "vARMOR") {
    using SafeMath for uint256;
    IERC20 public immutable armor;
    address public governance;
    uint48 public withdrawDelay;
    uint256 public pending;
    address[] public tokenHelpers;
    mapping (address => WithdrawRequest) public withdrawRequests;

    struct WithdrawRequest {
        uint208 amount;
        uint48 time;
    }

    constructor(address _armor, address _gov) public {
        armor = IERC20(_armor);
        governance = _gov;
    }

    function addTokenHelper(address _helper) external {
        require(msg.sender == governance, "!gov");
        tokenHelpers.push(_helper);
    }

    function removeTokenHelper(uint256 _idx) external {
        require(msg.sender == governance, "!gov");
        tokenHelpers[_idx] = tokenHelpers[tokenHelpers.length - 1];
        tokenHelpers.pop();
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount) internal override {
        _moveDelegates(_delegates[from], _delegates[to], amount);

        for(uint256 i = 0; i<tokenHelpers.length; i++){
            ITokenHelper(tokenHelpers[i]).transferHelper(from, to, amount);
        }
    }

    function transferGov(address _newGov) external {
        require(msg.sender == governance, "!gov");
        governance = _newGov;
    }
    
    function changeDelay(uint48 _newDelay) external {
        require(msg.sender == governance, "!gov");
        withdrawDelay = _newDelay;
    }
    
    /// deposit and withdraw functions
    function deposit(uint256 _amount) external {
        uint256 varmor = armorToVArmor(_amount);
        _mint(msg.sender, varmor);
        _moveDelegates(address(0), _delegates[msg.sender], varmor);
        // checkpoint for totalSupply
        _writeCheckpointTotal(totalSupply());
        armor.transferFrom(msg.sender, address(this), _amount);
    }

    /// withdraw share
    function requestWithdrawal(uint256 _amount) external {
        _burn(msg.sender, _amount);
        _moveDelegates(_delegates[msg.sender], address(0), _amount);
        // checkpoint for totalSupply
        _writeCheckpointTotal(totalSupply());
        pending = pending.add(_amount);
        withdrawRequests[msg.sender] = WithdrawRequest(withdrawRequests[msg.sender].amount + uint208(_amount), uint48(block.timestamp));
    }
    
    /// withdraw share
    function finalizeWithdrawal() external {
        WithdrawRequest memory request = withdrawRequests[msg.sender];
        require(request.time > 0 && block.timestamp >= request.time + withdrawDelay, "Withdrawal may not be completed yet.");
        delete withdrawRequests[msg.sender];
        uint256 armorAmount = vArmorToArmor(request.amount);
        pending = pending.sub(uint256(request.amount));
        armor.transfer(msg.sender, armorAmount);
    }

    function armorToVArmor(uint256 _armor) public view returns(uint256) {
        uint256 _pending = pending;
        if(totalSupply().add(_pending) == 0){
            return _armor;
        }
        return _armor.mul( totalSupply().add(_pending) ).div( armor.balanceOf( address(this) ) );
    }

    function vArmorToArmor(uint256 _varmor) public view returns(uint256) {
        if(armor.balanceOf( address(this) ) == 0){
            return 0;
        }
        return _varmor.mul( armor.balanceOf( address(this) ) ).div( totalSupply().add(pending) );
    }

    /// @notice A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;


    // totalSupply checkpoint
    mapping (uint32 => Checkpoint) public checkpointsTotal;

    uint32 public numCheckpointsTotal;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
        external
        view
        returns (address)
    {
        return _delegates[delegator];
    }

   /**
    * @notice Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "vARMOR::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "vARMOR::delegateBySig: invalid nonce");
        require(now <= expiry, "vARMOR::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "vARMOR::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }
    
    function getPriorTotalVotes(uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "vARMOR::getPriorTotalVotes: not yet determined");

        uint32 nCheckpoints = numCheckpointsTotal;
        
        // First check most recent balance
        if (checkpointsTotal[nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpointsTotal[nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpointsTotal[0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpointsTotal[center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpointsTotal[lower].votes;
    }

    function _delegate(address delegator, address delegatee)
        internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            } 
            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpointTotal(
        uint256 newTotal 
    )
        internal
    {
        uint32 nCheckpoints = numCheckpointsTotal;
        uint32 blockNumber = safe32(block.number, "vARMOR::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpointsTotal[nCheckpoints - 1].fromBlock == blockNumber) {
            checkpointsTotal[nCheckpoints - 1].votes = newTotal;
        } else {
            checkpointsTotal[nCheckpoints] = Checkpoint(blockNumber, newTotal);
            numCheckpointsTotal = nCheckpoints + 1;
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, "vARMOR::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_armor","type":"address"},{"internalType":"address","name":"_gov","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","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"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_helper","type":"address"}],"name":"addTokenHelper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[],"name":"armor","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_armor","type":"uint256"}],"name":"armorToVArmor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint48","name":"_newDelay","type":"uint48"}],"name":"changeDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpointsTotal","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalizeWithdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorTotalVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numCheckpointsTotal","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pending","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_idx","type":"uint256"}],"name":"removeTokenHelper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"requestWithdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenHelpers","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"_newGov","type":"address"}],"name":"transferGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_varmor","type":"uint256"}],"name":"vArmorToArmor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawDelay","outputs":[{"internalType":"uint48","name":"","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"withdrawRequests","outputs":[{"internalType":"uint208","name":"amount","type":"uint208"},{"internalType":"uint48","name":"time","type":"uint48"}],"stateMutability":"view","type":"function"}]

60a06040523480156200001157600080fd5b5060405162002acf38038062002acf833981810160405260408110156200003757600080fd5b50805160209182015160408051808201825260128152712b37ba34b7339020b936b7b9102a37b5b2b760711b818601908152825180840190935260068352653b20a926a7a960d11b9583019590955280519394929390926200009d916003919062000103565b508051620000b390600490602084019062000103565b5050600580546001600160601b031960609590951b949094166080526001600160a01b039290921661010002610100600160a81b031960ff1990941660121793909316929092179055506200019f565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200014657805160ff191683800117855562000176565b8280016001018555821562000176579182015b828111156200017657825182559160200191906001019062000159565b506200018492915062000188565b5090565b5b8082111562000184576000815560010162000189565b60805160601c6128f9620001d660003980610c725280610d3152806113805280611479528061187852806119b052506128f96000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c806370a082311161013b578063b4b5ea57116100b8578063e20ccec31161007c578063e20ccec31461078d578063e5b27e8a14610795578063e7a324dc146107ba578063ea8d0d6c146107c2578063f1127ed8146107df5761023d565b8063b4b5ea57146106cd578063b6b55f25146106f3578063c3cda52014610710578063c5b6aa2f14610757578063dd62ed3e1461075f5761023d565b80639ee679e8116100ff5780639ee679e814610633578063a41aae9114610650578063a457c2d71461066d578063a9059cbb14610699578063b4861f91146106c55761023d565b806370a0823114610570578063782d6fe1146105965780637ecebe00146105c25780638b7c9fd7146105e857806395d89b411461062b5761023d565b80632f2f81c3116101c95780635aa6e6751161018d5780635aa6e675146104de5780635c19a95c146104e657806363fd052a1461050c5780636a94a481146105295780636fcfff451461054a5761023d565b80632f2f81c3146103f8578063313ce5671461041e578063395093511461043c57806352df49ec14610468578063587cde1e146104b85761023d565b806318160ddd1161021057806318160ddd146103415780631c3fbdb21461035b57806320606b701461038157806323b872dd146103895780632ceecde1146103bf5761023d565b80630288a39c1461024257806306fdde0314610265578063095ea7b3146102e2578063174c7fc714610322575b600080fd5b61024a610811565b6040805165ffffffffffff9092168252519081900360200190f35b61026d610826565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a757818101518382015260200161028f565b50505050905090810190601f1680156102d45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61030e600480360360408110156102f857600080fd5b506001600160a01b0381351690602001356108bc565b604080519115158252519081900360200190f35b61033f6004803603602081101561033857600080fd5b50356108da565b005b6103496109bd565b60408051918252519081900360200190f35b61033f6004803603602081101561037157600080fd5b50356001600160a01b03166109c3565b610349610a62565b61030e6004803603606081101561039f57600080fd5b506001600160a01b03813581169160208101359091169060400135610a86565b6103dc600480360360208110156103d557600080fd5b5035610b0d565b604080516001600160a01b039092168252519081900360200190f35b61033f6004803603602081101561040e57600080fd5b50356001600160a01b0316610b34565b610426610ba9565b6040805160ff9092168252519081900360200190f35b61030e6004803603604081101561045257600080fd5b506001600160a01b038135169060200135610bb2565b61048e6004803603602081101561047e57600080fd5b50356001600160a01b0316610c00565b604080516001600160d01b03909316835265ffffffffffff90911660208301528051918290030190f35b6103dc600480360360208110156104ce57600080fd5b50356001600160a01b0316610c2c565b6103dc610c4d565b61033f600480360360208110156104fc57600080fd5b50356001600160a01b0316610c61565b6103496004803603602081101561052257600080fd5b5035610c6e565b610531610dd5565b6040805163ffffffff9092168252519081900360200190f35b6105316004803603602081101561056057600080fd5b50356001600160a01b0316610de1565b6103496004803603602081101561058657600080fd5b50356001600160a01b0316610df9565b610349600480360360408110156105ac57600080fd5b506001600160a01b038135169060200135610e14565b610349600480360360208110156105d857600080fd5b50356001600160a01b031661101c565b61060b600480360360208110156105fe57600080fd5b503563ffffffff1661102e565b6040805163ffffffff909316835260208301919091528051918290030190f35b61026d611050565b61033f6004803603602081101561064957600080fd5b50356110b1565b6103496004803603602081101561066657600080fd5b503561116f565b61030e6004803603604081101561068357600080fd5b506001600160a01b038135169060200135611302565b61030e600480360360408110156106af57600080fd5b506001600160a01b03813516906020013561136a565b6103dc61137e565b610349600480360360208110156106e357600080fd5b50356001600160a01b03166113a2565b61033f6004803603602081101561070957600080fd5b5035611406565b61033f600480360360c081101561072657600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a001356114f1565b61033f611764565b6103496004803603604081101561077557600080fd5b506001600160a01b03813581169160200135166118c0565b6103496118eb565b61033f600480360360208110156107ab57600080fd5b503565ffffffffffff166118f1565b610349611968565b610349600480360360208110156107d857600080fd5b503561198c565b61060b600480360360408110156107f557600080fd5b5080356001600160a01b0316906020013563ffffffff16611a5d565b600554600160a81b900465ffffffffffff1681565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108b25780601f10610887576101008083540402835291602001916108b2565b820191906000526020600020905b81548152906001019060200180831161089557829003601f168201915b5050505050905090565b60006108d06108c9611a8a565b8484611a8e565b5060015b92915050565b60055461010090046001600160a01b03163314610927576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b60078054600019810190811061093957fe5b600091825260209091200154600780546001600160a01b03909216918390811061095f57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600780548061099857fe5b600082815260209020810160001990810180546001600160a01b031916905501905550565b60025490565b60055461010090046001600160a01b03163314610a10576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b600780546001810182556000919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319166001600160a01b0392909216919091179055565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610a93848484611b7a565b610b0384610a9f611a8a565b610afe85604051806060016040528060288152602001612785602891396001600160a01b038a16600090815260016020526040812090610add611a8a565b6001600160a01b031681526020810191909152604001600020549190611cd5565b611a8e565b5060019392505050565b60078181548110610b1a57fe5b6000918252602090912001546001600160a01b0316905081565b60055461010090046001600160a01b03163314610b81576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60055460ff1690565b60006108d0610bbf611a8a565b84610afe8560016000610bd0611a8a565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611d6c565b6008602052600090815260409020546001600160d01b03811690600160d01b900465ffffffffffff1682565b6001600160a01b03808216600090815260096020526040902054165b919050565b60055461010090046001600160a01b031681565b610c6b3382611dc6565b50565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610cdd57600080fd5b505afa158015610cf1573d6000803e3d6000fd5b505050506040513d6020811015610d0757600080fd5b5051610d1557506000610c48565b6108d4610d2c600654610d266109bd565b90611d6c565b610dcf7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610d9c57600080fd5b505afa158015610db0573d6000803e3d6000fd5b505050506040513d6020811015610dc657600080fd5b50518590611e55565b90611eae565b600d5463ffffffff1681565b600b6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b6000438210610e545760405162461bcd60e51b81526004018080602001828103825260298152602001806126c96029913960400191505060405180910390fd5b6001600160a01b0383166000908152600b602052604090205463ffffffff1680610e825760009150506108d4565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff600019860181168552925290912054168310610ef1576001600160a01b0384166000908152600a602090815260408083206000199490940163ffffffff168352929052206001015490506108d4565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205463ffffffff16831015610f2c5760009150506108d4565b600060001982015b8163ffffffff168163ffffffff161115610fe557600282820363ffffffff16048103610f5e612622565b506001600160a01b0387166000908152600a6020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610fc0576020015194506108d49350505050565b805163ffffffff16871115610fd757819350610fde565b6001820392505b5050610f34565b506001600160a01b0385166000908152600a6020908152604080832063ffffffff9094168352929052206001015491505092915050565b600e6020526000908152604090205481565b600c602052600090815260409020805460019091015463ffffffff9091169082565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108b25780601f10610887576101008083540402835291602001916108b2565b6110bb3382611f15565b336000908152600960205260408120546110e1916001600160a01b039091169083612011565b6110f16110ec6109bd565b612153565b6006546110fe9082611d6c565b6006556040805180820182523360008181526008602081815294822080546001600160d01b038082169098018816865265ffffffffffff42811688880190815295909452919095529251915116600160d01b029084166001600160d01b031990921691909117909216919091179055565b60004382106111af5760405162461bcd60e51b815260040180806020018281038252602e815260200180612871602e913960400191505060405180910390fd5b600d5463ffffffff908116600019810182166000908152600c602052604090205490911683106111fc576000190163ffffffff166000908152600c60205260409020600101549050610c48565b60008052600c6020527f13649b2456f1b42fef0f0040b3aaeabcd21a76a0f3f5defd4f583839455116e85463ffffffff1683101561123e576000915050610c48565b600060001982015b8163ffffffff168163ffffffff1611156112e257600282820363ffffffff16048103611270612622565b5063ffffffff8082166000908152600c60209081526040918290208251808401909352805490931680835260019093015490820152908714156112bd57602001519450610c489350505050565b805163ffffffff168711156112d4578193506112db565b6001820392505b5050611246565b5063ffffffff166000908152600c60205260409020600101549392505050565b60006108d061130f611a8a565b84610afe8560405180606001604052806025815260200161289f6025913960016000611339611a8a565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611cd5565b60006108d0611377611a8a565b8484611b7a565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b0381166000908152600b602052604081205463ffffffff16806113cd5760006113ff565b6001600160a01b0383166000908152600a6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60006114118261198c565b905061141d338261223d565b3360009081526009602052604081205461144191906001600160a01b031683612011565b61144c6110ec6109bd565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648083019260209291908290030181600087803b1580156114c157600080fd5b505af11580156114d5573d6000803e3d6000fd5b505050506040513d60208110156114eb57600080fd5b50505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86661151c610826565b8051906020012061152b61232d565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa15801561165e573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166116b05760405162461bcd60e51b815260040180806020018281038252602881526020018061263a6028913960400191505060405180910390fd5b6001600160a01b0381166000908152600e60205260409020805460018101909155891461170e5760405162461bcd60e51b81526004018080602001828103825260248152602001806127186024913960400191505060405180910390fd5b8742111561174d5760405162461bcd60e51b815260040180806020018281038252602881526020018061273c6028913960400191505060405180910390fd5b611757818b611dc6565b505050505b505050505050565b61176c612622565b50336000908152600860209081526040918290208251808401909352546001600160d01b0381168352600160d01b900465ffffffffffff16908201819052158015906117d25750600554602082015165ffffffffffff600160a81b909204821601164210155b61180d5760405162461bcd60e51b81526004018080602001828103825260248152602001806127f36024913960400191505060405180910390fd5b3360009081526008602052604081208190558151611833906001600160d01b0316610c6e565b825160065491925061184e91906001600160d01b0316612331565b6006556040805163a9059cbb60e01b81523360048201526024810183905290516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163a9059cbb9160448083019260209291908290030181600087803b1580156114c157600080fd5b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60065481565b60055461010090046001600160a01b0316331461193e576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b6005805465ffffffffffff909216600160a81b0265ffffffffffff60a81b19909216919091179055565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b60065460009061199e81610d266109bd565b6119ab5782915050610c48565b6113ff7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611a1b57600080fd5b505afa158015611a2f573d6000803e3d6000fd5b505050506040513d6020811015611a4557600080fd5b5051610dcf611a5684610d266109bd565b8690611e55565b600a6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b3390565b6001600160a01b038316611ad35760405162461bcd60e51b81526004018080602001828103825260248152602001806128176024913960400191505060405180910390fd5b6001600160a01b038216611b185760405162461bcd60e51b81526004018080602001828103825260228152602001806126a76022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611bbf5760405162461bcd60e51b81526004018080602001828103825260258152602001806127ce6025913960400191505060405180910390fd5b6001600160a01b038216611c045760405162461bcd60e51b81526004018080602001828103825260238152602001806126626023913960400191505060405180910390fd5b611c0f83838361238e565b611c4c816040518060600160405280602681526020016126f2602691396001600160a01b0386166000908152602081905260409020549190611cd5565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611c7b9082611d6c565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611d645760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d29578181015183820152602001611d11565b50505050905090810190601f168015611d565780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156113ff576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0380831660009081526009602052604081205490911690611ded84610df9565b6001600160a01b0385811660008181526009602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46114eb828483612011565b600082611e64575060006108d4565b82820282848281611e7157fe5b04146113ff5760405162461bcd60e51b81526004018080602001828103825260218152602001806127646021913960400191505060405180910390fd5b6000808211611f04576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611f0d57fe5b049392505050565b6001600160a01b038216611f5a5760405162461bcd60e51b81526004018080602001828103825260218152602001806127ad6021913960400191505060405180910390fd5b611f668260008361238e565b611fa381604051806060016040528060228152602001612685602291396001600160a01b0385166000908152602081905260409020549190611cd5565b6001600160a01b038316600090815260208190526040902055600254611fc99082612331565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b816001600160a01b0316836001600160a01b0316141580156120335750600081115b1561214e576001600160a01b038316156120c5576001600160a01b0383166000908152600b602052604081205463ffffffff1690816120735760006120a5565b6001600160a01b0385166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b905060006120b38285612331565b90506120c18684848461245f565b5050505b6001600160a01b0382161561214e576001600160a01b0382166000908152600b602052604081205463ffffffff169081612100576000612132565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b905060006121408285611d6c565b905061175c8584848461245f565b505050565b600d546040805160608101909152603680825263ffffffff909216916000916121869143919061283b60208301396125c4565b905060008263ffffffff161180156121bb575063ffffffff600019830181166000908152600c60205260409020548282169116145b156121e45763ffffffff6000198301166000908152600c6020526040902060010183905561214e565b60408051808201825263ffffffff928316815260208082019586528484166000908152600c909152919091209051815463ffffffff199081169184169190911782559351600191820155600d8054909416920116179055565b6001600160a01b038216612298576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6122a46000838361238e565b6002546122b19082611d6c565b6002556001600160a01b0382166000908152602081905260409020546122d79082611d6c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b4690565b600082821115612388576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6001600160a01b038084166000908152600960205260408082205485841683529120546123c092918216911683612011565b60005b6007548110156114eb57600781815481106123da57fe5b6000918252602082200154604080516311c4537960e11b81526001600160a01b03888116600483015287811660248301526044820187905291519190921692632388a6f2926064808201939182900301818387803b15801561243b57600080fd5b505af115801561244f573d6000803e3d6000fd5b5050600190920191506123c39050565b60006124834360405180606001604052806036815260200161283b603691396125c4565b905060008463ffffffff161180156124cc57506001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901811685529252909120548282169116145b15612509576001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901168452909152902060010182905561257a565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600a84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600b9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b600081640100000000841061261a5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611d29578181015183820152602001611d11565b509192915050565b60408051808201909152600080825260208201529056fe7641524d4f523a3a64656c656761746542795369673a20696e76616c6964207369676e617475726545524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f20616464726573737641524d4f523a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656445524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63657641524d4f523a3a64656c656761746542795369673a20696e76616c6964206e6f6e63657641524d4f523a3a64656c656761746542795369673a207369676e61747572652065787069726564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f20616464726573735769746864726177616c206d6179206e6f7420626520636f6d706c65746564207965742e45524332303a20617070726f76652066726f6d20746865207a65726f20616464726573737641524d4f523a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974737641524d4f523a3a6765745072696f72546f74616c566f7465733a206e6f74207965742064657465726d696e656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122004688b70c57c6eca58b7b06b08e41022f678dad7e920ac311ecd87dbce61809264736f6c634300060c00330000000000000000000000001337def16f9b486faed0293eb623dc8395dfe46a000000000000000000000000fa760444a229e78a50ca9b3779f4ce4cce10e170

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061023d5760003560e01c806370a082311161013b578063b4b5ea57116100b8578063e20ccec31161007c578063e20ccec31461078d578063e5b27e8a14610795578063e7a324dc146107ba578063ea8d0d6c146107c2578063f1127ed8146107df5761023d565b8063b4b5ea57146106cd578063b6b55f25146106f3578063c3cda52014610710578063c5b6aa2f14610757578063dd62ed3e1461075f5761023d565b80639ee679e8116100ff5780639ee679e814610633578063a41aae9114610650578063a457c2d71461066d578063a9059cbb14610699578063b4861f91146106c55761023d565b806370a0823114610570578063782d6fe1146105965780637ecebe00146105c25780638b7c9fd7146105e857806395d89b411461062b5761023d565b80632f2f81c3116101c95780635aa6e6751161018d5780635aa6e675146104de5780635c19a95c146104e657806363fd052a1461050c5780636a94a481146105295780636fcfff451461054a5761023d565b80632f2f81c3146103f8578063313ce5671461041e578063395093511461043c57806352df49ec14610468578063587cde1e146104b85761023d565b806318160ddd1161021057806318160ddd146103415780631c3fbdb21461035b57806320606b701461038157806323b872dd146103895780632ceecde1146103bf5761023d565b80630288a39c1461024257806306fdde0314610265578063095ea7b3146102e2578063174c7fc714610322575b600080fd5b61024a610811565b6040805165ffffffffffff9092168252519081900360200190f35b61026d610826565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a757818101518382015260200161028f565b50505050905090810190601f1680156102d45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61030e600480360360408110156102f857600080fd5b506001600160a01b0381351690602001356108bc565b604080519115158252519081900360200190f35b61033f6004803603602081101561033857600080fd5b50356108da565b005b6103496109bd565b60408051918252519081900360200190f35b61033f6004803603602081101561037157600080fd5b50356001600160a01b03166109c3565b610349610a62565b61030e6004803603606081101561039f57600080fd5b506001600160a01b03813581169160208101359091169060400135610a86565b6103dc600480360360208110156103d557600080fd5b5035610b0d565b604080516001600160a01b039092168252519081900360200190f35b61033f6004803603602081101561040e57600080fd5b50356001600160a01b0316610b34565b610426610ba9565b6040805160ff9092168252519081900360200190f35b61030e6004803603604081101561045257600080fd5b506001600160a01b038135169060200135610bb2565b61048e6004803603602081101561047e57600080fd5b50356001600160a01b0316610c00565b604080516001600160d01b03909316835265ffffffffffff90911660208301528051918290030190f35b6103dc600480360360208110156104ce57600080fd5b50356001600160a01b0316610c2c565b6103dc610c4d565b61033f600480360360208110156104fc57600080fd5b50356001600160a01b0316610c61565b6103496004803603602081101561052257600080fd5b5035610c6e565b610531610dd5565b6040805163ffffffff9092168252519081900360200190f35b6105316004803603602081101561056057600080fd5b50356001600160a01b0316610de1565b6103496004803603602081101561058657600080fd5b50356001600160a01b0316610df9565b610349600480360360408110156105ac57600080fd5b506001600160a01b038135169060200135610e14565b610349600480360360208110156105d857600080fd5b50356001600160a01b031661101c565b61060b600480360360208110156105fe57600080fd5b503563ffffffff1661102e565b6040805163ffffffff909316835260208301919091528051918290030190f35b61026d611050565b61033f6004803603602081101561064957600080fd5b50356110b1565b6103496004803603602081101561066657600080fd5b503561116f565b61030e6004803603604081101561068357600080fd5b506001600160a01b038135169060200135611302565b61030e600480360360408110156106af57600080fd5b506001600160a01b03813516906020013561136a565b6103dc61137e565b610349600480360360208110156106e357600080fd5b50356001600160a01b03166113a2565b61033f6004803603602081101561070957600080fd5b5035611406565b61033f600480360360c081101561072657600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a001356114f1565b61033f611764565b6103496004803603604081101561077557600080fd5b506001600160a01b03813581169160200135166118c0565b6103496118eb565b61033f600480360360208110156107ab57600080fd5b503565ffffffffffff166118f1565b610349611968565b610349600480360360208110156107d857600080fd5b503561198c565b61060b600480360360408110156107f557600080fd5b5080356001600160a01b0316906020013563ffffffff16611a5d565b600554600160a81b900465ffffffffffff1681565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108b25780601f10610887576101008083540402835291602001916108b2565b820191906000526020600020905b81548152906001019060200180831161089557829003601f168201915b5050505050905090565b60006108d06108c9611a8a565b8484611a8e565b5060015b92915050565b60055461010090046001600160a01b03163314610927576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b60078054600019810190811061093957fe5b600091825260209091200154600780546001600160a01b03909216918390811061095f57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600780548061099857fe5b600082815260209020810160001990810180546001600160a01b031916905501905550565b60025490565b60055461010090046001600160a01b03163314610a10576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b600780546001810182556000919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319166001600160a01b0392909216919091179055565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610a93848484611b7a565b610b0384610a9f611a8a565b610afe85604051806060016040528060288152602001612785602891396001600160a01b038a16600090815260016020526040812090610add611a8a565b6001600160a01b031681526020810191909152604001600020549190611cd5565b611a8e565b5060019392505050565b60078181548110610b1a57fe5b6000918252602090912001546001600160a01b0316905081565b60055461010090046001600160a01b03163314610b81576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60055460ff1690565b60006108d0610bbf611a8a565b84610afe8560016000610bd0611a8a565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611d6c565b6008602052600090815260409020546001600160d01b03811690600160d01b900465ffffffffffff1682565b6001600160a01b03808216600090815260096020526040902054165b919050565b60055461010090046001600160a01b031681565b610c6b3382611dc6565b50565b60007f0000000000000000000000001337def16f9b486faed0293eb623dc8395dfe46a6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610cdd57600080fd5b505afa158015610cf1573d6000803e3d6000fd5b505050506040513d6020811015610d0757600080fd5b5051610d1557506000610c48565b6108d4610d2c600654610d266109bd565b90611d6c565b610dcf7f0000000000000000000000001337def16f9b486faed0293eb623dc8395dfe46a6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610d9c57600080fd5b505afa158015610db0573d6000803e3d6000fd5b505050506040513d6020811015610dc657600080fd5b50518590611e55565b90611eae565b600d5463ffffffff1681565b600b6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b6000438210610e545760405162461bcd60e51b81526004018080602001828103825260298152602001806126c96029913960400191505060405180910390fd5b6001600160a01b0383166000908152600b602052604090205463ffffffff1680610e825760009150506108d4565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff600019860181168552925290912054168310610ef1576001600160a01b0384166000908152600a602090815260408083206000199490940163ffffffff168352929052206001015490506108d4565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205463ffffffff16831015610f2c5760009150506108d4565b600060001982015b8163ffffffff168163ffffffff161115610fe557600282820363ffffffff16048103610f5e612622565b506001600160a01b0387166000908152600a6020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610fc0576020015194506108d49350505050565b805163ffffffff16871115610fd757819350610fde565b6001820392505b5050610f34565b506001600160a01b0385166000908152600a6020908152604080832063ffffffff9094168352929052206001015491505092915050565b600e6020526000908152604090205481565b600c602052600090815260409020805460019091015463ffffffff9091169082565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108b25780601f10610887576101008083540402835291602001916108b2565b6110bb3382611f15565b336000908152600960205260408120546110e1916001600160a01b039091169083612011565b6110f16110ec6109bd565b612153565b6006546110fe9082611d6c565b6006556040805180820182523360008181526008602081815294822080546001600160d01b038082169098018816865265ffffffffffff42811688880190815295909452919095529251915116600160d01b029084166001600160d01b031990921691909117909216919091179055565b60004382106111af5760405162461bcd60e51b815260040180806020018281038252602e815260200180612871602e913960400191505060405180910390fd5b600d5463ffffffff908116600019810182166000908152600c602052604090205490911683106111fc576000190163ffffffff166000908152600c60205260409020600101549050610c48565b60008052600c6020527f13649b2456f1b42fef0f0040b3aaeabcd21a76a0f3f5defd4f583839455116e85463ffffffff1683101561123e576000915050610c48565b600060001982015b8163ffffffff168163ffffffff1611156112e257600282820363ffffffff16048103611270612622565b5063ffffffff8082166000908152600c60209081526040918290208251808401909352805490931680835260019093015490820152908714156112bd57602001519450610c489350505050565b805163ffffffff168711156112d4578193506112db565b6001820392505b5050611246565b5063ffffffff166000908152600c60205260409020600101549392505050565b60006108d061130f611a8a565b84610afe8560405180606001604052806025815260200161289f6025913960016000611339611a8a565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611cd5565b60006108d0611377611a8a565b8484611b7a565b7f0000000000000000000000001337def16f9b486faed0293eb623dc8395dfe46a81565b6001600160a01b0381166000908152600b602052604081205463ffffffff16806113cd5760006113ff565b6001600160a01b0383166000908152600a6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60006114118261198c565b905061141d338261223d565b3360009081526009602052604081205461144191906001600160a01b031683612011565b61144c6110ec6109bd565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b037f0000000000000000000000001337def16f9b486faed0293eb623dc8395dfe46a16916323b872dd9160648083019260209291908290030181600087803b1580156114c157600080fd5b505af11580156114d5573d6000803e3d6000fd5b505050506040513d60208110156114eb57600080fd5b50505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86661151c610826565b8051906020012061152b61232d565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa15801561165e573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166116b05760405162461bcd60e51b815260040180806020018281038252602881526020018061263a6028913960400191505060405180910390fd5b6001600160a01b0381166000908152600e60205260409020805460018101909155891461170e5760405162461bcd60e51b81526004018080602001828103825260248152602001806127186024913960400191505060405180910390fd5b8742111561174d5760405162461bcd60e51b815260040180806020018281038252602881526020018061273c6028913960400191505060405180910390fd5b611757818b611dc6565b505050505b505050505050565b61176c612622565b50336000908152600860209081526040918290208251808401909352546001600160d01b0381168352600160d01b900465ffffffffffff16908201819052158015906117d25750600554602082015165ffffffffffff600160a81b909204821601164210155b61180d5760405162461bcd60e51b81526004018080602001828103825260248152602001806127f36024913960400191505060405180910390fd5b3360009081526008602052604081208190558151611833906001600160d01b0316610c6e565b825160065491925061184e91906001600160d01b0316612331565b6006556040805163a9059cbb60e01b81523360048201526024810183905290516001600160a01b037f0000000000000000000000001337def16f9b486faed0293eb623dc8395dfe46a169163a9059cbb9160448083019260209291908290030181600087803b1580156114c157600080fd5b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60065481565b60055461010090046001600160a01b0316331461193e576040805162461bcd60e51b8152602060048083019190915260248201526310b3b7bb60e11b604482015290519081900360640190fd5b6005805465ffffffffffff909216600160a81b0265ffffffffffff60a81b19909216919091179055565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b60065460009061199e81610d266109bd565b6119ab5782915050610c48565b6113ff7f0000000000000000000000001337def16f9b486faed0293eb623dc8395dfe46a6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611a1b57600080fd5b505afa158015611a2f573d6000803e3d6000fd5b505050506040513d6020811015611a4557600080fd5b5051610dcf611a5684610d266109bd565b8690611e55565b600a6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b3390565b6001600160a01b038316611ad35760405162461bcd60e51b81526004018080602001828103825260248152602001806128176024913960400191505060405180910390fd5b6001600160a01b038216611b185760405162461bcd60e51b81526004018080602001828103825260228152602001806126a76022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611bbf5760405162461bcd60e51b81526004018080602001828103825260258152602001806127ce6025913960400191505060405180910390fd5b6001600160a01b038216611c045760405162461bcd60e51b81526004018080602001828103825260238152602001806126626023913960400191505060405180910390fd5b611c0f83838361238e565b611c4c816040518060600160405280602681526020016126f2602691396001600160a01b0386166000908152602081905260409020549190611cd5565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611c7b9082611d6c565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611d645760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d29578181015183820152602001611d11565b50505050905090810190601f168015611d565780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156113ff576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0380831660009081526009602052604081205490911690611ded84610df9565b6001600160a01b0385811660008181526009602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46114eb828483612011565b600082611e64575060006108d4565b82820282848281611e7157fe5b04146113ff5760405162461bcd60e51b81526004018080602001828103825260218152602001806127646021913960400191505060405180910390fd5b6000808211611f04576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611f0d57fe5b049392505050565b6001600160a01b038216611f5a5760405162461bcd60e51b81526004018080602001828103825260218152602001806127ad6021913960400191505060405180910390fd5b611f668260008361238e565b611fa381604051806060016040528060228152602001612685602291396001600160a01b0385166000908152602081905260409020549190611cd5565b6001600160a01b038316600090815260208190526040902055600254611fc99082612331565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b816001600160a01b0316836001600160a01b0316141580156120335750600081115b1561214e576001600160a01b038316156120c5576001600160a01b0383166000908152600b602052604081205463ffffffff1690816120735760006120a5565b6001600160a01b0385166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b905060006120b38285612331565b90506120c18684848461245f565b5050505b6001600160a01b0382161561214e576001600160a01b0382166000908152600b602052604081205463ffffffff169081612100576000612132565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b905060006121408285611d6c565b905061175c8584848461245f565b505050565b600d546040805160608101909152603680825263ffffffff909216916000916121869143919061283b60208301396125c4565b905060008263ffffffff161180156121bb575063ffffffff600019830181166000908152600c60205260409020548282169116145b156121e45763ffffffff6000198301166000908152600c6020526040902060010183905561214e565b60408051808201825263ffffffff928316815260208082019586528484166000908152600c909152919091209051815463ffffffff199081169184169190911782559351600191820155600d8054909416920116179055565b6001600160a01b038216612298576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6122a46000838361238e565b6002546122b19082611d6c565b6002556001600160a01b0382166000908152602081905260409020546122d79082611d6c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b4690565b600082821115612388576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6001600160a01b038084166000908152600960205260408082205485841683529120546123c092918216911683612011565b60005b6007548110156114eb57600781815481106123da57fe5b6000918252602082200154604080516311c4537960e11b81526001600160a01b03888116600483015287811660248301526044820187905291519190921692632388a6f2926064808201939182900301818387803b15801561243b57600080fd5b505af115801561244f573d6000803e3d6000fd5b5050600190920191506123c39050565b60006124834360405180606001604052806036815260200161283b603691396125c4565b905060008463ffffffff161180156124cc57506001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901811685529252909120548282169116145b15612509576001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901168452909152902060010182905561257a565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600a84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600b9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b600081640100000000841061261a5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611d29578181015183820152602001611d11565b509192915050565b60408051808201909152600080825260208201529056fe7641524d4f523a3a64656c656761746542795369673a20696e76616c6964207369676e617475726545524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f20616464726573737641524d4f523a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656445524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63657641524d4f523a3a64656c656761746542795369673a20696e76616c6964206e6f6e63657641524d4f523a3a64656c656761746542795369673a207369676e61747572652065787069726564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f20616464726573735769746864726177616c206d6179206e6f7420626520636f6d706c65746564207965742e45524332303a20617070726f76652066726f6d20746865207a65726f20616464726573737641524d4f523a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974737641524d4f523a3a6765745072696f72546f74616c566f7465733a206e6f74207965742064657465726d696e656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122004688b70c57c6eca58b7b06b08e41022f678dad7e920ac311ecd87dbce61809264736f6c634300060c0033

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

0000000000000000000000001337def16f9b486faed0293eb623dc8395dfe46a000000000000000000000000fa760444a229e78a50ca9b3779f4ce4cce10e170

-----Decoded View---------------
Arg [0] : _armor (address): 0x1337DEF16F9B486fAEd0293eb623Dc8395dFE46a
Arg [1] : _gov (address): 0xFa760444A229e78A50Ca9b3779f4ce4CcE10E170

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000001337def16f9b486faed0293eb623dc8395dfe46a
Arg [1] : 000000000000000000000000fa760444a229e78a50ca9b3779f4ce4cce10e170


Deployed Bytecode Sourcemap

22673:13539:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22838:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13685:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15831:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15831:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;23373:208;;;;;;;;;;;;;;;;-1:-1:-1;23373:208:0;;:::i;:::-;;14784:108;;;:::i;:::-;;;;;;;;;;;;;;;;23218:147;;;;;;;;;;;;;;;;-1:-1:-1;23218:147:0;-1:-1:-1;;;;;23218:147:0;;:::i;26902:122::-;;;:::i;16482:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16482:321:0;;;;;;;;;;;;;;;;;:::i;22901:29::-;;;;;;;;;;;;;;;;-1:-1:-1;22901:29:0;;:::i;:::-;;;;-1:-1:-1;;;;;22901:29:0;;;;;;;;;;;;;;23909:138;;;;;;;;;;;;;;;;-1:-1:-1;23909:138:0;-1:-1:-1;;;;;23909:138:0;;:::i;14628:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17212:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17212:218:0;;;;;;;;:::i;22937:60::-;;;;;;;;;;;;;;;;-1:-1:-1;22937:60:0;-1:-1:-1;;;;;22937:60:0;;:::i;:::-;;;;-1:-1:-1;;;;;22937:60:0;;;;;;;;;;;;;;;;;;;;;;27883:149;;;;;;;;;;;;;;;;-1:-1:-1;27883:149:0;-1:-1:-1;;;;;27883:149:0;;:::i;22806:25::-;;;:::i;28176:104::-;;;;;;;;;;;;;;;;-1:-1:-1;28176:104:0;-1:-1:-1;;;;;28176:104:0;;:::i;25888:262::-;;;;;;;;;;;;;;;;-1:-1:-1;25888:262:0;;:::i;26796:33::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26642:49;;;;;;;;;;;;;;;;-1:-1:-1;26642:49:0;-1:-1:-1;;;;;26642:49:0;;:::i;14955:127::-;;;;;;;;;;;;;;;;-1:-1:-1;14955:127:0;-1:-1:-1;;;;;14955:127:0;;:::i;30785:1255::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30785:1255:0;;;;;;;;:::i;27316:39::-;;;;;;;;;;;;;;;;-1:-1:-1;27316:39:0;-1:-1:-1;;;;;27316:39:0;;:::i;26733:54::-;;;;;;;;;;;;;;;;-1:-1:-1;26733:54:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;13895:95;;;:::i;24644:433::-;;;;;;;;;;;;;;;;-1:-1:-1;24644:433:0;;:::i;32052:1164::-;;;;;;;;;;;;;;;;-1:-1:-1;32052:1164:0;;:::i;17933:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17933:269:0;;;;;;;;:::i;15295:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15295:175:0;;;;;;;;:::i;22770:29::-;;;:::i;30099:255::-;;;;;;;;;;;;;;;;-1:-1:-1;30099:255:0;-1:-1:-1;;;;;30099:255:0;;:::i;24255:357::-;;;;;;;;;;;;;;;;-1:-1:-1;24255:357:0;;:::i;28714:1184::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28714:1184:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;25113:461::-;;;:::i;15533:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15533:151:0;;;;;;;;;;:::i;22872:22::-;;;:::i;24059:144::-;;;;;;;;;;;;;;;;-1:-1:-1;24059:144:0;;;;:::i;27118:117::-;;;:::i;25582:298::-;;;;;;;;;;;;;;;;-1:-1:-1;25582:298:0;;:::i;26503:70::-;;;;;;;;;;;;;;;;-1:-1:-1;26503:70:0;;-1:-1:-1;;;;;26503:70:0;;;;;;;;:::i;22838:27::-;;;-1:-1:-1;;;22838:27:0;;;;;:::o;13685:91::-;13763:5;13756:12;;;;;;;;-1:-1:-1;;13756:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13730:13;;13756:12;;13763:5;;13756:12;;13763:5;13756:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13685:91;:::o;15831:169::-;15914:4;15931:39;15940:12;:10;:12::i;:::-;15954:7;15963:6;15931:8;:39::i;:::-;-1:-1:-1;15988:4:0;15831:169;;;;;:::o;23373:208::-;23456:10;;;;;-1:-1:-1;;;;;23456:10:0;23442;:24;23434:41;;;;;-1:-1:-1;;;23434:41:0;;;;;;;;;;;;;;;-1:-1:-1;;;23434:41:0;;;;;;;;;;;;;;;23507:12;23520:19;;-1:-1:-1;;23520:23:0;;;23507:37;;;;;;;;;;;;;;;;23486:12;:18;;-1:-1:-1;;;;;23507:37:0;;;;23499:4;;23486:18;;;;;;;;;;;;;;:58;;;;;-1:-1:-1;;;;;23486:58:0;;;;;-1:-1:-1;;;;;23486:58:0;;;;;;23555:12;:18;;;;;;;;;;;;;;;;-1:-1:-1;;23555:18:0;;;;;-1:-1:-1;;;;;;23555:18:0;;;;;;-1:-1:-1;23373:208:0:o;14784:108::-;14872:12;;14784:108;:::o;23218:147::-;23301:10;;;;;-1:-1:-1;;;;;23301:10:0;23287;:24;23279:41;;;;;-1:-1:-1;;;23279:41:0;;;;;;;;;;;;;;;-1:-1:-1;;;23279:41:0;;;;;;;;;;;;;;;23331:12;:26;;;;;;;-1:-1:-1;23331:26:0;;;;;;;;-1:-1:-1;;;;;;23331:26:0;-1:-1:-1;;;;;23331:26:0;;;;;;;;;;23218:147::o;26902:122::-;26944:80;26902:122;:::o;16482:321::-;16588:4;16605:36;16615:6;16623:9;16634:6;16605:9;:36::i;:::-;16652:121;16661:6;16669:12;:10;:12::i;:::-;16683:89;16721:6;16683:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16683:19:0;;;;;;:11;:19;;;;;;16703:12;:10;:12::i;:::-;-1:-1:-1;;;;;16683:33:0;;;;;;;;;;;;-1:-1:-1;16683:33:0;;;:89;:37;:89::i;:::-;16652:8;:121::i;:::-;-1:-1:-1;16791:4:0;16482:321;;;;;:::o;22901:29::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22901:29:0;;-1:-1:-1;22901:29:0;:::o;23909:138::-;23989:10;;;;;-1:-1:-1;;;;;23989:10:0;23975;:24;23967:41;;;;;-1:-1:-1;;;23967:41:0;;;;;;;;;;;;;;;-1:-1:-1;;;23967:41:0;;;;;;;;;;;;;;;24019:10;:20;;-1:-1:-1;;;;;24019:20:0;;;;;-1:-1:-1;;;;;;24019:20:0;;;;;;;;;23909:138::o;14628:91::-;14702:9;;;;14628:91;:::o;17212:218::-;17300:4;17317:83;17326:12;:10;:12::i;:::-;17340:7;17349:50;17388:10;17349:11;:25;17361:12;:10;:12::i;:::-;-1:-1:-1;;;;;17349:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17349:25:0;;;:34;;;;;;;;;;;:38;:50::i;22937:60::-;;;;;;;;;;;;-1:-1:-1;;;;;22937:60:0;;;-1:-1:-1;;;22937:60:0;;;;;:::o;27883:149::-;-1:-1:-1;;;;;28003:21:0;;;27971:7;28003:21;;;:10;:21;;;;;;;27883:149;;;;:::o;22806:25::-;;;;;;-1:-1:-1;;;;;22806:25:0;;:::o;28176:104::-;28240:32;28250:10;28262:9;28240;:32::i;:::-;28176:104;:::o;25888:262::-;25948:7;25971:5;-1:-1:-1;;;;;25971:15:0;;25996:4;25971:32;;;;;;;;;;;;;-1:-1:-1;;;;;25971:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25971:32:0;25968:76;;-1:-1:-1;26031:1:0;26024:8;;25968:76;26061:81;26114:26;26132:7;;26114:13;:11;:13::i;:::-;:17;;:26::i;:::-;26061:47;26074:5;-1:-1:-1;;;;;26074:15:0;;26099:4;26074:32;;;;;;;;;;;;;-1:-1:-1;;;;;26074:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26074:32:0;26061:7;;:11;:47::i;:::-;:51;;:81::i;26796:33::-;;;;;;:::o;26642:49::-;;;;;;;;;;;;;;;:::o;14955:127::-;-1:-1:-1;;;;;15056:18:0;15029:7;15056:18;;;;;;;;;;;;14955:127::o;30785:1255::-;30893:7;30940:12;30926:11;:26;30918:80;;;;-1:-1:-1;;;30918:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31033:23:0;;31011:19;31033:23;;;:14;:23;;;;;;;;31071:17;31067:58;;31112:1;31105:8;;;;;31067:58;-1:-1:-1;;;;;31185:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;31206:16:0;;31185:38;;;;;;;;;:48;;:63;-1:-1:-1;31181:147:0;;-1:-1:-1;;;;;31272:20:0;;;;;;:11;:20;;;;;;;;-1:-1:-1;;31293:16:0;;;;31272:38;;;;;;;;31308:1;31272:44;;;-1:-1:-1;31265:51:0;;31181:147;-1:-1:-1;;;;;31389:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;31385:88:0;;;31460:1;31453:8;;;;;31385:88;31485:12;-1:-1:-1;;31527:16:0;;31554:428;31569:5;31561:13;;:5;:13;;;31554:428;;;31633:1;31616:13;;;31615:19;;;31607:27;;31676:20;;:::i;:::-;-1:-1:-1;;;;;;31699:20:0;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;31676:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31746:27;;31742:229;;;31801:8;;;;-1:-1:-1;31794:15:0;;-1:-1:-1;;;;31794:15:0;31742:229;31835:12;;:26;;;-1:-1:-1;31831:140:0;;;31890:6;31882:14;;31831:140;;;31954:1;31945:6;:10;31937:18;;31831:140;31554:428;;;;;-1:-1:-1;;;;;;31999:20:0;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;30785:1255:0;;;;:::o;27316:39::-;;;;;;;;;;;;;:::o;26733:54::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;13895:95::-;13975:7;13968:14;;;;;;;;-1:-1:-1;;13968:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13942:13;;13968:14;;13975:7;;13968:14;;13975:7;13968:14;;;;;;;;;;;;;;;;;;;;;;;;24644:433;24708:26;24714:10;24726:7;24708:5;:26::i;:::-;24771:10;24760:22;;;;:10;:22;;;;;;24745:59;;-1:-1:-1;;;;;24760:22:0;;;;24796:7;24745:14;:59::i;:::-;24854:36;24876:13;:11;:13::i;:::-;24854:21;:36::i;:::-;24911:7;;:20;;24923:7;24911:11;:20::i;:::-;24901:7;:30;24973:96;;;;;;;;25006:10;-1:-1:-1;24989:28:0;;;:16;:28;;;;;;;:35;;-1:-1:-1;;;;;24989:35:0;;;:54;;;24973:96;;;;;25052:15;24973:96;;;;;;;;24942:28;;;;;;;;:127;;;;;-1:-1:-1;;;24942:127:0;;;;-1:-1:-1;;;;;;24942:127:0;;;;;;;;;;;;;;;;24644:433::o;32052:1164::-;32148:7;32195:12;32181:11;:26;32173:85;;;;-1:-1:-1;;;32173:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32293:19;;;;;;-1:-1:-1;;32398:16:0;;32381:34;;32271:19;32381:34;;;:16;:34;;;;;:44;32293:19;;32381:44;-1:-1:-1;;32377:139:0;;-1:-1:-1;;32481:16:0;32464:34;;;;;;:16;:34;;;;;32496:1;32464:40;;;-1:-1:-1;32457:47:0;;32377:139;32577:19;;;:16;:19;;;:29;:19;:29;:43;-1:-1:-1;32573:84:0;;;32644:1;32637:8;;;;;32573:84;32669:12;-1:-1:-1;;32711:16:0;;32738:424;32753:5;32745:13;;:5;:13;;;32738:424;;;32817:1;32800:13;;;32799:19;;;32791:27;;32860:20;;:::i;:::-;-1:-1:-1;32883:24:0;;;;;;;;:16;:24;;;;;;;;;32860:47;;;;;;;;;;;;;;;;;;;;;;;;;;32926:27;;32922:229;;;32981:8;;;;-1:-1:-1;32974:15:0;;-1:-1:-1;;;;32974:15:0;32922:229;33015:12;;:26;;;-1:-1:-1;33011:140:0;;;33070:6;33062:14;;33011:140;;;33134:1;33125:6;:10;33117:18;;33011:140;32738:424;;;;;-1:-1:-1;33179:23:0;;;;;;:16;:23;;;;;:29;;;;32052:1164;-1:-1:-1;;;32052:1164:0:o;17933:269::-;18026:4;18043:129;18052:12;:10;:12::i;:::-;18066:7;18075:96;18114:15;18075:96;;;;;;;;;;;;;;;;;:11;:25;18087:12;:10;:12::i;:::-;-1:-1:-1;;;;;18075:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;18075:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;15295:175::-;15381:4;15398:42;15408:12;:10;:12::i;:::-;15422:9;15433:6;15398:9;:42::i;22770:29::-;;;:::o;30099:255::-;-1:-1:-1;;;;;30238:23:0;;30191:7;30238:23;;;:14;:23;;;;;;;;30279:16;:67;;30345:1;30279:67;;;-1:-1:-1;;;;;30298:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;30319:16:0;;30298:38;;;;;;;;30334:1;30298:44;;30279:67;30272:74;30099:255;-1:-1:-1;;;30099:255:0:o;24255:357::-;24309:14;24326:22;24340:7;24326:13;:22::i;:::-;24309:39;;24359:25;24365:10;24377:6;24359:5;:25::i;:::-;24433:10;24418:1;24422:22;;;:10;:22;;;;;;24395:58;;24418:1;-1:-1:-1;;;;;24422:22:0;24446:6;24395:14;:58::i;:::-;24503:36;24525:13;:11;:13::i;24503:36::-;24550:54;;;-1:-1:-1;;;24550:54:0;;24569:10;24550:54;;;;24589:4;24550:54;;;;;;;;;;;;-1:-1:-1;;;;;24550:5:0;:18;;;;:54;;;;;;;;;;;;;;-1:-1:-1;24550:18:0;:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;24255:357:0:o;28714:1184::-;28907:23;26944:80;29036:6;:4;:6::i;:::-;29020:24;;;;;;29063:12;:10;:12::i;:::-;28957:165;;;;;;;;;;;;;;;;;;;;;;;;;29102:4;28957:165;;;;;;;;;;;;;;;;;;;;;;;28933:200;;;;;;27164:71;29191:140;;;;-1:-1:-1;;;;;29191:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29167:175;;;;;;-1:-1:-1;;;29396:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29372:158;;;;;;;;;-1:-1:-1;29563:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28933:200;;-1:-1:-1;29167:175:0;;29372:158;;-1:-1:-1;;29563:26:0;;;;;;;-1:-1:-1;;29563:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;29563:26:0;;-1:-1:-1;;29563:26:0;;;-1:-1:-1;;;;;;;29608:23:0;;29600:76;;;;-1:-1:-1;;;29600:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29704:17:0;;;;;;:6;:17;;;;;:19;;;;;;;;29695:28;;29687:77;;;;-1:-1:-1;;;29687:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29790:6;29783:3;:13;;29775:66;;;;-1:-1:-1;;;29775:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29859:31;29869:9;29880;29859;:31::i;:::-;29852:38;;;;28714:1184;;;;;;;:::o;25113:461::-;25163:30;;:::i;:::-;-1:-1:-1;25213:10:0;25196:28;;;;:16;:28;;;;;;;;;25163:61;;;;;;;;;-1:-1:-1;;;;;25163:61:0;;;;-1:-1:-1;;;25163:61:0;;;;;;;;;;25243:16;;;;:67;;-1:-1:-1;25297:13:0;;25282:12;;;;25297:13;-1:-1:-1;;;25297:13:0;;;;;25282:28;25263:47;:15;:47;;25243:67;25235:116;;;;-1:-1:-1;;;25235:116:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25386:10;25369:28;;;;:16;:28;;;;;25362:35;;;25444:14;;25430:29;;-1:-1:-1;;;;;25430:29:0;:13;:29::i;:::-;25500:14;;25480:7;;25408:51;;-1:-1:-1;25480:36:0;;:7;-1:-1:-1;;;;;25492:23:0;25480:11;:36::i;:::-;25470:7;:46;25527:39;;;-1:-1:-1;;;25527:39:0;;25542:10;25527:39;;;;;;;;;;;;-1:-1:-1;;;;;25527:5:0;:14;;;;:39;;;;;;;;;;;;;;-1:-1:-1;25527:14:0;:39;;;;;;;;;;15533:151;-1:-1:-1;;;;;15649:18:0;;;15622:7;15649:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15533:151::o;22872:22::-;;;;:::o;24059:144::-;24140:10;;;;;-1:-1:-1;;;;;24140:10:0;24126;:24;24118:41;;;;;-1:-1:-1;;;24118:41:0;;;;;;;;;;;;;;;-1:-1:-1;;;24118:41:0;;;;;;;;;;;;;;;24170:13;:25;;;;;;-1:-1:-1;;;24170:25:0;-1:-1:-1;;;;24170:25:0;;;;;;;;;24059:144::o;27118:117::-;27164:71;27118:117;:::o;25582:298::-;25680:7;;25641;;25701:27;25680:7;25701:13;:11;:13::i;:27::-;25698:76;;25756:6;25749:13;;;;;25698:76;25791:81;25838:5;-1:-1:-1;;;;;25838:15:0;;25863:4;25838:32;;;;;;;;;;;;;-1:-1:-1;;;;;25838:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25838:32:0;25791:41;25803:27;25821:8;25803:13;:11;:13::i;:27::-;25791:6;;:10;:41::i;26503:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;888:106::-;976:10;888:106;:::o;21080:346::-;-1:-1:-1;;;;;21182:19:0;;21174:68;;;;-1:-1:-1;;;21174:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21261:21:0;;21253:68;;;;-1:-1:-1;;;21253:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21334:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;21386:32;;;;;;;;;;;;;;;;;21080:346;;;:::o;18692:539::-;-1:-1:-1;;;;;18798:20:0;;18790:70;;;;-1:-1:-1;;;18790:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18879:23:0;;18871:71;;;;-1:-1:-1;;;18871:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18955:47;18976:6;18984:9;18995:6;18955:20;:47::i;:::-;19035:71;19057:6;19035:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19035:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;19015:17:0;;;:9;:17;;;;;;;;;;;:91;;;;19140:20;;;;;;;:32;;19165:6;19140:24;:32::i;:::-;-1:-1:-1;;;;;19117:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;19188:35;;;;;;;19117:20;;19188:35;;;;;;;;;;;;;18692:539;;;:::o;9681:166::-;9767:7;9803:12;9795:6;;;;9787:29;;;;-1:-1:-1;;;9787:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9834:5:0;;;9681:166::o;6854:179::-;6912:7;6944:5;;;6968:6;;;;6960:46;;;;;-1:-1:-1;;;6960:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;33224:393;-1:-1:-1;;;;;33341:21:0;;;33315:23;33341:21;;;:10;:21;;;;;;;;;;33400:20;33352:9;33400;:20::i;:::-;-1:-1:-1;;;;;33431:21:0;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;;;;;33431:33:0;;;;;;;;;;33482:54;;33373:47;;-1:-1:-1;33431:33:0;33482:54;;;;;;33431:21;33482:54;33549:60;33564:15;33581:9;33592:16;33549:14;:60::i;7733:220::-;7791:7;7815:6;7811:20;;-1:-1:-1;7830:1:0;7823:8;;7811:20;7854:5;;;7858:1;7854;:5;:1;7878:5;;;;;:10;7870:56;;;;-1:-1:-1;;;7870:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8431:153;8489:7;8521:1;8517;:5;8509:44;;;;;-1:-1:-1;;;8509:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8575:1;8571;:5;;;;;;;8431:153;-1:-1:-1;;;8431:153:0:o;20224:418::-;-1:-1:-1;;;;;20308:21:0;;20300:67;;;;-1:-1:-1;;;20300:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20380:49;20401:7;20418:1;20422:6;20380:20;:49::i;:::-;20463:68;20486:6;20463:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20463:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;20442:18:0;;:9;:18;;;;;;;;;;:89;20557:12;;:24;;20574:6;20557:16;:24::i;:::-;20542:12;:39;20597:37;;;;;;;;20623:1;;-1:-1:-1;;;;;20597:37:0;;;;;;;;;;;;20224:418;;:::o;33625:946::-;33731:6;-1:-1:-1;;;;;33721:16:0;:6;-1:-1:-1;;;;;33721:16:0;;;:30;;;;;33750:1;33741:6;:10;33721:30;33717:847;;;-1:-1:-1;;;;;33772:20:0;;;33768:385;;-1:-1:-1;;;;;33880:22:0;;33861:16;33880:22;;;:14;:22;;;;;;;;;33941:13;:60;;34000:1;33941:60;;;-1:-1:-1;;;;;33957:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;33977:13:0;;33957:34;;;;;;;;33989:1;33957:40;;33941:60;33921:80;-1:-1:-1;34020:17:0;34040:21;33921:80;34054:6;34040:13;:21::i;:::-;34020:41;;34080:57;34097:6;34105:9;34116;34127;34080:16;:57::i;:::-;33768:385;;;;-1:-1:-1;;;;;34172:20:0;;;34168:385;;-1:-1:-1;;;;;34280:22:0;;34261:16;34280:22;;;:14;:22;;;;;;;;;34341:13;:60;;34400:1;34341:60;;;-1:-1:-1;;;;;34357:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;34377:13:0;;34357:34;;;;;;;;34389:1;34357:40;;34341:60;34321:80;-1:-1:-1;34420:17:0;34440:21;34321:80;34454:6;34440:13;:21::i;:::-;34420:41;;34480:57;34497:6;34505:9;34516;34527;34480:16;:57::i;34168:385::-;33625:946;;;:::o;34579:586::-;34701:19;;34752:78;;;;;;;;;;;;;34701:19;;;;;34679;;34752:78;;34759:12;;34752:78;;;;;;:6;:78::i;:::-;34731:99;;34862:1;34847:12;:16;;;:79;;;;-1:-1:-1;34867:59:0;-1:-1:-1;;34884:16:0;;34867:34;;;;;;:16;:34;;;;;:44;:59;;;:44;;:59;34847:79;34843:315;;;34943:34;-1:-1:-1;;34960:16:0;;34943:34;;;;;:16;:34;;;;;34975:1;34943:40;:51;;;34843:315;;;35060:33;;;;;;;;;;;;;;;;;;;;;35027:30;;;-1:-1:-1;35027:30:0;;;:16;:30;;;;;;;:66;;;;-1:-1:-1;;35027:66:0;;;;;;;;;;;;;;-1:-1:-1;35027:66:0;;;;35108:19;:38;;;;;35130:16;;35108:38;;;;34579:586::o;19513:378::-;-1:-1:-1;;;;;19597:21:0;;19589:65;;;;;-1:-1:-1;;;19589:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19667:49;19696:1;19700:7;19709:6;19667:20;:49::i;:::-;19744:12;;:24;;19761:6;19744:16;:24::i;:::-;19729:12;:39;-1:-1:-1;;;;;19800:18:0;;:9;:18;;;;;;;;;;;:30;;19823:6;19800:22;:30::i;:::-;-1:-1:-1;;;;;19779:18:0;;:9;:18;;;;;;;;;;;:51;;;;19846:37;;;;;;;19779:18;;:9;;19846:37;;;;;;;;;;19513:378;;:::o;36056:153::-;36166:9;36056:153;:::o;7316:158::-;7374:7;7407:1;7402;:6;;7394:49;;;;;-1:-1:-1;;;7394:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7461:5:0;;;7316:158::o;23589:312::-;-1:-1:-1;;;;;23705:16:0;;;;;;;:10;:16;;;;;;;23723:14;;;;;;;;23690:56;;23705:16;;;;23723:14;23739:6;23690:14;:56::i;:::-;23763:9;23759:135;23780:12;:19;23778:21;;23759:135;;;23833:12;23846:1;23833:15;;;;;;;;;;;;;;;;;23820:62;;;-1:-1:-1;;;23820:62:0;;-1:-1:-1;;;;;23820:62:0;;;;;;;;;;;;;;;;;;;;;;23833:15;;;;;23820:44;;:62;;;;;;;;;;;23833:15;;23820:62;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23801:3:0;;;;;-1:-1:-1;23759:135:0;;-1:-1:-1;23759:135:0;35173:706;35352:18;35373:78;35380:12;35373:78;;;;;;;;;;;;;;;;;:6;:78::i;:::-;35352:99;;35483:1;35468:12;:16;;;:85;;;;-1:-1:-1;;;;;;35488:22:0;;;;;;:11;:22;;;;;;;;:65;-1:-1:-1;;35511:16:0;;35488:40;;;;;;;;;:50;:65;;;:50;;:65;35468:85;35464:339;;;-1:-1:-1;;;;;35570:22:0;;;;;;:11;:22;;;;;;;;:40;-1:-1:-1;;35593:16:0;;35570:40;;;;;;;;35608:1;35570:46;:57;;;35464:339;;;35699:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35660:22:0;;-1:-1:-1;35660:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;-1:-1:-1;;35660:72:0;;;;;;;;;;;;;35747:25;;;:14;:25;;;;;;:44;;35775:16;;;35747:44;;;;;;;;;;35464:339;35820:51;;;;;;;;;;;;;;-1:-1:-1;;;;;35820:51:0;;;;;;;;;;;35173:706;;;;;:::o;35887:161::-;35962:6;36000:12;35993:5;35989:9;;35981:32;;;;-1:-1:-1;;;35981:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36038:1:0;;35887:161;-1:-1:-1;;35887:161:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://04688b70c57c6eca58b7b06b08e41022f678dad7e920ac311ecd87dbce618092
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.