ETH Price: $3,059.66 (-1.42%)

Token

Escrowed Illuvium 2 (sILV2)
 

Overview

Max Total Supply

160,488.970390874720034749 sILV2

Holders

7,269 ( 0.041%)

Market

Price

$24.72 @ 0.008079 ETH (+1.58%)

Onchain Market Cap

$3,967,287.35

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 sILV2

Value
$0.00
0x20a89276de87b121a9fa0794439643d193bc97dc
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Illuvium, an enthralling series of fully decentralised RPG and collection games set in a fragmented world of beauty and wonder.

# Exchange Pair Price  24H Volume % Volume
1
Uniswap V3 (Ethereum)
0X767FE9EDC9E0DF98E07454847909B5E959D7CA0E-0X7E77DCB127F99ECE88230A64DB8D595F31F1B068$24.64
0.0080409 Eth
$2,745.51
67.267 0X767FE9EDC9E0DF98E07454847909B5E959D7CA0E
100.0000%

Contract Source Code Verified (Exact Match)

Contract Name:
EscrowedIlluvium2

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : EscrowedIlluvium2.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import {AddressUtils} from "./utils/AddressUtils.sol";
import {AccessControl} from "./utils/AccessControl.sol";
import {ERC20Receiver} from "./interfaces/ERC20Receiver.sol";

contract EscrowedIlluvium2 is AccessControl {
  /**
   * @notice Name of the token: Escrowed Illuvium 2
   *
   * @notice ERC20 name of the token (long name)
   *
   * @dev ERC20 `function name() public view returns (string)`
   *
   * @dev Field is declared public: getter name() is created when compiled,
   *      it returns the name of the token.
   */
  string public constant name = "Escrowed Illuvium 2";

  /**
   * @notice Symbol of the token: sILV2
   *
   * @notice ERC20 symbol of that token (short name)
   *
   * @dev ERC20 `function symbol() public view returns (string)`
   *
   * @dev Field is declared public: getter symbol() is created when compiled,
   *      it returns the symbol of the token
   */
  string public constant symbol = "sILV2";

  /**
   * @notice Decimals of the token: 18
   *
   * @dev ERC20 `function decimals() public view returns (uint8)`
   *
   * @dev Field is declared public: getter decimals() is created when compiled,
   *      it returns the number of decimals used to get its user representation.
   *      For example, if `decimals` equals `6`, a balance of `1,500,000` tokens should
   *      be displayed to a user as `1,5` (`1,500,000 / 10 ** 6`).
   *
   * @dev NOTE: This information is only used for _display_ purposes: it in
   *      no way affects any of the arithmetic of the contract, including balanceOf() and transfer().
   */
  uint8 public constant decimals = 18;

  /**
   * @notice Total supply of the token: initially 7,000,000,
   *      with the potential to grow up to 10,000,000 during yield farming period (3 years)
   *
   * @dev ERC20 `function totalSupply() public view returns (uint256)`
   *
   * @dev Field is declared public: getter totalSupply() is created when compiled,
   *      it returns the amount of tokens in existence.
   */
  uint256 public totalSupply; // is set to 7 million * 10^18 in the constructor

  /**
   * @dev A record of all the token balances
   * @dev This mapping keeps record of all token owners:
   *      owner => balance
   */
  mapping(address => uint256) public tokenBalances;

  /**
   * @notice A record of each account's voting delegate
   *
   * @dev Auxiliary data structure used to sum up an account's voting power
   *
   * @dev This mapping keeps record of all voting power delegations:
   *      voting delegator (token owner) => voting delegate
   */
  mapping(address => address) public votingDelegates;

  /**
   * @notice A voting power record binds voting power of a delegate to a particular
   *      block when the voting power delegation change happened
   */
  struct VotingPowerRecord {
    /*
     * @dev block.number when delegation has changed; starting from
     *      that block voting power value is in effect
     */
    uint64 blockNumber;

    /*
     * @dev cumulative voting power a delegate has obtained starting
     *      from the block stored in blockNumber
     */
    uint192 votingPower;
  }

  /**
   * @notice A record of each account's voting power
   *
   * @dev Primarily data structure to store voting power for each account.
   *      Voting power sums up from the account's token balance and delegated
   *      balances.
   *
   * @dev Stores current value and entire history of its changes.
   *      The changes are stored as an array of checkpoints.
   *      Checkpoint is an auxiliary data structure containing voting
   *      power (number of votes) and block number when the checkpoint is saved
   *
   * @dev Maps voting delegate => voting power record
   */
  mapping(address => VotingPowerRecord[]) public votingPowerHistory;

  /**
   * @dev A record of nonces for signing/validating signatures in `delegateWithSig`
   *      for every delegate, increases after successful validation
   *
   * @dev Maps delegate address => delegate nonce
   */
  mapping(address => uint256) public nonces;

  /**
   * @notice A record of all the allowances to spend tokens on behalf
   * @dev Maps token owner address to an address approved to spend
   *      some tokens on behalf, maps approved address to that amount
   * @dev owner => spender => value
   */
  mapping(address => mapping(address => uint256)) public transferAllowances;

  /**
   * @notice Enables ERC20 transfers of the tokens
   *      (transfer by the token owner himself)
   * @dev Feature FEATURE_TRANSFERS must be enabled in order for
   *      `transfer()` function to succeed
   */
  uint32 public constant FEATURE_TRANSFERS = 0x0000_0001;

  /**
   * @notice Enables ERC20 transfers on behalf
   *      (transfer by someone else on behalf of token owner)
   * @dev Feature FEATURE_TRANSFERS_ON_BEHALF must be enabled in order for
   *      `transferFrom()` function to succeed
   * @dev Token owner must call `approve()` first to authorize
   *      the transfer on behalf
   */
  uint32 public constant FEATURE_TRANSFERS_ON_BEHALF = 0x0000_0002;

  /**
   * @dev Defines if the default behavior of `transfer` and `transferFrom`
   *      checks if the receiver smart contract supports ERC20 tokens
   * @dev When feature FEATURE_UNSAFE_TRANSFERS is enabled the transfers do not
   *      check if the receiver smart contract supports ERC20 tokens,
   *      i.e. `transfer` and `transferFrom` behave like `unsafeTransferFrom`
   * @dev When feature FEATURE_UNSAFE_TRANSFERS is disabled (default) the transfers
   *      check if the receiver smart contract supports ERC20 tokens,
   *      i.e. `transfer` and `transferFrom` behave like `safeTransferFrom`
   */
  uint32 public constant FEATURE_UNSAFE_TRANSFERS = 0x0000_0004;

  /**
   * @notice Enables token owners to burn their own tokens,
   *      including locked tokens which are burnt first
   * @dev Feature FEATURE_OWN_BURNS must be enabled in order for
   *      `burn()` function to succeed when called by token owner
   */
  uint32 public constant FEATURE_OWN_BURNS = 0x0000_0008;

  /**
   * @notice Enables approved operators to burn tokens on behalf of their owners,
   *      including locked tokens which are burnt first
   * @dev Feature FEATURE_OWN_BURNS must be enabled in order for
   *      `burn()` function to succeed when called by approved operator
   */
  uint32 public constant FEATURE_BURNS_ON_BEHALF = 0x0000_0010;

  /**
   * @notice Enables delegators to elect delegates
   * @dev Feature FEATURE_DELEGATIONS must be enabled in order for
   *      `delegate()` function to succeed
   */
  uint32 public constant FEATURE_DELEGATIONS = 0x0000_0020;

  /**
   * @notice Enables delegators to elect delegates on behalf
   *      (via an EIP712 signature)
   * @dev Feature FEATURE_DELEGATIONS must be enabled in order for
   *      `delegateWithSig()` function to succeed
   */
  uint32 public constant FEATURE_DELEGATIONS_ON_BEHALF = 0x0000_0040;

  /**
   * @notice Token creator is responsible for creating (minting)
   *      tokens to an arbitrary address
   * @dev Role ROLE_TOKEN_CREATOR allows minting tokens
   *      (calling `mint` function)
   */
  uint32 public constant ROLE_TOKEN_CREATOR = 0x0001_0000;

  /**
   * @notice Token destroyer is responsible for destroying (burning)
   *      tokens owned by an arbitrary address
   * @dev Role ROLE_TOKEN_DESTROYER allows burning tokens
   *      (calling `burn` function)
   */
  uint32 public constant ROLE_TOKEN_DESTROYER = 0x0002_0000;

  /**
   * @notice ERC20 receivers are allowed to receive tokens without ERC20 safety checks,
   *      which may be useful to simplify tokens transfers into "legacy" smart contracts
   * @dev When `FEATURE_UNSAFE_TRANSFERS` is not enabled addresses having
   *      `ROLE_ERC20_RECEIVER` permission are allowed to receive tokens
   *      via `transfer` and `transferFrom` functions in the same way they
   *      would via `unsafeTransferFrom` function
   * @dev When `FEATURE_UNSAFE_TRANSFERS` is enabled `ROLE_ERC20_RECEIVER` permission
   *      doesn't affect the transfer behaviour since
   *      `transfer` and `transferFrom` behave like `unsafeTransferFrom` for any receiver
   * @dev ROLE_ERC20_RECEIVER is a shortening for ROLE_UNSAFE_ERC20_RECEIVER
   */
  uint32 public constant ROLE_ERC20_RECEIVER = 0x0004_0000;

  /**
   * @notice ERC20 senders are allowed to send tokens without ERC20 safety checks,
   *      which may be useful to simplify tokens transfers into "legacy" smart contracts
   * @dev When `FEATURE_UNSAFE_TRANSFERS` is not enabled senders having
   *      `ROLE_ERC20_SENDER` permission are allowed to send tokens
   *      via `transfer` and `transferFrom` functions in the same way they
   *      would via `unsafeTransferFrom` function
   * @dev When `FEATURE_UNSAFE_TRANSFERS` is enabled `ROLE_ERC20_SENDER` permission
   *      doesn't affect the transfer behaviour since
   *      `transfer` and `transferFrom` behave like `unsafeTransferFrom` for any receiver
   * @dev ROLE_ERC20_SENDER is a shortening for ROLE_UNSAFE_ERC20_SENDER
   */
  uint32 public constant ROLE_ERC20_SENDER = 0x0008_0000;

  /**
   * @dev Magic value to be returned by ERC20Receiver upon successful reception of token(s)
   * @dev Equal to `bytes4(keccak256("onERC20Received(address,address,uint256,bytes)"))`,
   *      which can be also obtained as `ERC20Receiver(address(0)).onERC20Received.selector`
   */
  bytes4 private constant ERC20_RECEIVED = 0x4fc35859;

  /**
   * @notice EIP-712 contract's domain typeHash, see https://eips.ethereum.org/EIPS/eip-712#rationale-for-typehash
   */
  bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

  /**
   * @notice EIP-712 delegation struct typeHash, see https://eips.ethereum.org/EIPS/eip-712#rationale-for-typehash
   */
  bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegate,uint256 nonce,uint256 expiry)");

  /**
   * @dev Fired in transfer(), transferFrom() and some other (non-ERC20) functions
   *
   * @dev ERC20 `event Transfer(address indexed _from, address indexed _to, uint256 _value)`
   *
   * @param _from an address tokens were consumed from
   * @param _to an address tokens were sent to
   * @param _value number of tokens transferred
   */
  event Transfer(address indexed _from, address indexed _to, uint256 _value);

  /**
   * @dev Fired in approve() and approveAtomic() functions
   *
   * @dev ERC20 `event Approval(address indexed _owner, address indexed _spender, uint256 _value)`
   *
   * @param _owner an address which granted a permission to transfer
   *      tokens on its behalf
   * @param _spender an address which received a permission to transfer
   *      tokens on behalf of the owner `_owner`
   * @param _value amount of tokens granted to transfer on behalf
   */
  event Approval(address indexed _owner, address indexed _spender, uint256 _value);

  /**
   * @dev Fired in mint() function
   *
   * @param _by an address which minted some tokens (transaction sender)
   * @param _to an address the tokens were minted to
   * @param _value an amount of tokens minted
   */
  event Minted(address indexed _by, address indexed _to, uint256 _value);

  /**
   * @dev Fired in burn() function
   *
   * @param _by an address which burned some tokens (transaction sender)
   * @param _from an address the tokens were burnt from
   * @param _value an amount of tokens burnt
   */
  event Burnt(address indexed _by, address indexed _from, uint256 _value);

  /**
   * @dev Resolution for the Multiple Withdrawal Attack on ERC20 Tokens (ISBN:978-1-7281-3027-9)
   *
   * @dev Similar to ERC20 Transfer event, but also logs an address which executed transfer
   *
   * @dev Fired in transfer(), transferFrom() and some other (non-ERC20) functions
   *
   * @param _by an address which performed the transfer
   * @param _from an address tokens were consumed from
   * @param _to an address tokens were sent to
   * @param _value number of tokens transferred
   */
  event Transferred(address indexed _by, address indexed _from, address indexed _to, uint256 _value);

  /**
   * @dev Resolution for the Multiple Withdrawal Attack on ERC20 Tokens (ISBN:978-1-7281-3027-9)
   *
   * @dev Similar to ERC20 Approve event, but also logs old approval value
   *
   * @dev Fired in approve() and approveAtomic() functions
   *
   * @param _owner an address which granted a permission to transfer
   *      tokens on its behalf
   * @param _spender an address which received a permission to transfer
   *      tokens on behalf of the owner `_owner`
   * @param _oldValue previously granted amount of tokens to transfer on behalf
   * @param _value new granted amount of tokens to transfer on behalf
   */
  event Approved(address indexed _owner, address indexed _spender, uint256 _oldValue, uint256 _value);

  /**
   * @dev Notifies that a key-value pair in `votingDelegates` mapping has changed,
   *      i.e. a delegator address has changed its delegate address
   *
   * @param _of delegator address, a token owner
   * @param _from old delegate, an address which delegate right is revoked
   * @param _to new delegate, an address which received the voting power
   */
  event DelegateChanged(address indexed _of, address indexed _from, address indexed _to);

  /**
   * @dev Notifies that a key-value pair in `votingPowerHistory` mapping has changed,
   *      i.e. a delegate's voting power has changed.
   *
   * @param _of delegate whose voting power has changed
   * @param _fromVal previous number of votes delegate had
   * @param _toVal new number of votes delegate has
   */
  event VotingPowerChanged(address indexed _of, uint256 _fromVal, uint256 _toVal);

  // ===== Start: ERC20/ERC223/ERC777 functions =====

  /**
   * @notice Gets the balance of a particular address
   *
   * @dev ERC20 `function balanceOf(address _owner) public view returns (uint256 balance)`
   *
   * @param _owner the address to query the the balance for
   * @return balance an amount of tokens owned by the address specified
   */
  function balanceOf(address _owner) public view returns (uint256 balance) {
    // read the balance and return
    return tokenBalances[_owner];
  }

  /**
   * @notice Transfers some tokens to an external address or a smart contract
   *
   * @dev ERC20 `function transfer(address _to, uint256 _value) public returns (bool success)`
   *
   * @dev Called by token owner (an address which has a
   *      positive token balance tracked by this smart contract)
   * @dev Throws on any error like
   *      * insufficient token balance or
   *      * incorrect `_to` address:
   *          * zero address or
   *          * self address or
   *          * smart contract which doesn't support ERC20
   *
   * @param _to an address to transfer tokens to,
   *      must be either an external address or a smart contract,
   *      compliant with the ERC20 standard
   * @param _value amount of tokens to be transferred, must
   *      be greater than zero
   * @return success true on success, throws otherwise
   */
  function transfer(address _to, uint256 _value) public returns (bool success) {
    // just delegate call to `transferFrom`,
    // `FEATURE_TRANSFERS` is verified inside it
    return transferFrom(msg.sender, _to, _value);
  }

  /**
   * @notice Transfers some tokens on behalf of address `_from' (token owner)
   *      to some other address `_to`
   *
   * @dev ERC20 `function transferFrom(address _from, address _to, uint256 _value) public returns (bool success)`
   *
   * @dev Called by token owner on his own or approved address,
   *      an address approved earlier by token owner to
   *      transfer some amount of tokens on its behalf
   * @dev Throws on any error like
   *      * insufficient token balance or
   *      * incorrect `_to` address:
   *          * zero address or
   *          * same as `_from` address (self transfer)
   *          * smart contract which doesn't support ERC20
   *
   * @param _from token owner which approved caller (transaction sender)
   *      to transfer `_value` of tokens on its behalf
   * @param _to an address to transfer tokens to,
   *      must be either an external address or a smart contract,
   *      compliant with the ERC20 standard
   * @param _value amount of tokens to be transferred, must
   *      be greater than zero
   * @return success true on success, throws otherwise
   */
  function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
    // depending on `FEATURE_UNSAFE_TRANSFERS` we execute either safe (default)
    // or unsafe transfer
    // if `FEATURE_UNSAFE_TRANSFERS` is enabled
    // or receiver has `ROLE_ERC20_RECEIVER` permission
    // or sender has `ROLE_ERC20_SENDER` permission
    if(isFeatureEnabled(FEATURE_UNSAFE_TRANSFERS)
      || isOperatorInRole(_to, ROLE_ERC20_RECEIVER)
      || isSenderInRole(ROLE_ERC20_SENDER)) {
      // we execute unsafe transfer - delegate call to `unsafeTransferFrom`,
      // `FEATURE_TRANSFERS` is verified inside it
      unsafeTransferFrom(_from, _to, _value);
    }
    // otherwise - if `FEATURE_UNSAFE_TRANSFERS` is disabled
    // and receiver doesn't have `ROLE_ERC20_RECEIVER` permission
    else {
      // we execute safe transfer - delegate call to `safeTransferFrom`, passing empty `_data`,
      // `FEATURE_TRANSFERS` is verified inside it
      safeTransferFrom(_from, _to, _value, "");
    }

    // both `unsafeTransferFrom` and `safeTransferFrom` throw on any error, so
    // if we're here - it means operation successful,
    // just return true
    return true;
  }

  /**
   * @notice Transfers some tokens on behalf of address `_from' (token owner)
   *      to some other address `_to`
   *
   * @dev Inspired by ERC721 safeTransferFrom, this function allows to
   *      send arbitrary data to the receiver on successful token transfer
   * @dev Called by token owner on his own or approved address,
   *      an address approved earlier by token owner to
   *      transfer some amount of tokens on its behalf
   * @dev Throws on any error like
   *      * insufficient token balance or
   *      * incorrect `_to` address:
   *          * zero address or
   *          * same as `_from` address (self transfer)
   *          * smart contract which doesn't support ERC20Receiver interface
   * @dev Returns silently on success, throws otherwise
   *
   * @param _from token owner which approved caller (transaction sender)
   *      to transfer `_value` of tokens on its behalf
   * @param _to an address to transfer tokens to,
   *      must be either an external address or a smart contract,
   *      compliant with the ERC20 standard
   * @param _value amount of tokens to be transferred, must
   *      be greater than zero
   * @param _data [optional] additional data with no specified format,
   *      sent in onERC20Received call to `_to` in case if its a smart contract
   */
  function safeTransferFrom(address _from, address _to, uint256 _value, bytes memory _data) public {
    // first delegate call to `unsafeTransferFrom`
    // to perform the unsafe token(s) transfer
    unsafeTransferFrom(_from, _to, _value);

    // after the successful transfer - check if receiver supports
    // ERC20Receiver and execute a callback handler `onERC20Received`,
    // reverting whole transaction on any error:
    // check if receiver `_to` supports ERC20Receiver interface
    if(AddressUtils.isContract(_to)) {
      // if `_to` is a contract - execute onERC20Received
      bytes4 response = ERC20Receiver(_to).onERC20Received(msg.sender, _from, _value, _data);

      // expected response is ERC20_RECEIVED
      require(response == ERC20_RECEIVED, "invalid onERC20Received response");
    }
  }

  /**
   * @notice Transfers some tokens on behalf of address `_from' (token owner)
   *      to some other address `_to`
   *
   * @dev In contrast to `safeTransferFrom` doesn't check recipient
   *      smart contract to support ERC20 tokens (ERC20Receiver)
   * @dev Designed to be used by developers when the receiver is known
   *      to support ERC20 tokens but doesn't implement ERC20Receiver interface
   * @dev Called by token owner on his own or approved address,
   *      an address approved earlier by token owner to
   *      transfer some amount of tokens on its behalf
   * @dev Throws on any error like
   *      * insufficient token balance or
   *      * incorrect `_to` address:
   *          * zero address or
   *          * same as `_from` address (self transfer)
   * @dev Returns silently on success, throws otherwise
   *
   * @param _from token owner which approved caller (transaction sender)
   *      to transfer `_value` of tokens on its behalf
   * @param _to an address to transfer tokens to,
   *      must be either an external address or a smart contract,
   *      compliant with the ERC20 standard
   * @param _value amount of tokens to be transferred, must
   *      be greater than zero
   */
  function unsafeTransferFrom(address _from, address _to, uint256 _value) public {
    // if `_from` is equal to sender, require transfers feature to be enabled
    // otherwise require transfers on behalf feature to be enabled
    require(_from == msg.sender && isFeatureEnabled(FEATURE_TRANSFERS)
         || _from != msg.sender && isFeatureEnabled(FEATURE_TRANSFERS_ON_BEHALF),
            _from == msg.sender? "transfers are disabled": "transfers on behalf are disabled");

    // non-zero source address check - Zeppelin
    // obviously, zero source address is a client mistake
    // it's not part of ERC20 standard but it's reasonable to fail fast
    // since for zero value transfer transaction succeeds otherwise
    require(_from != address(0), "ERC20: transfer from the zero address"); // Zeppelin msg

    // non-zero recipient address check
    require(_to != address(0), "ERC20: transfer to the zero address"); // Zeppelin msg

    // sender and recipient cannot be the same
    require(_from != _to, "sender and recipient are the same (_from = _to)");

    // sending tokens to the token smart contract itself is a client mistake
    require(_to != address(this), "invalid recipient (transfer to the token smart contract itself)");

    // according to ERC-20 Token Standard, https://eips.ethereum.org/EIPS/eip-20
    // "Transfers of 0 values MUST be treated as normal transfers and fire the Transfer event."
    if(_value == 0) {
      // emit an ERC20 transfer event
      emit Transfer(_from, _to, _value);

      // don't forget to return - we're done
      return;
    }

    // no need to make arithmetic overflow check on the _value - by design of mint()

    // in case of transfer on behalf
    if(_from != msg.sender) {
      // read allowance value - the amount of tokens allowed to transfer - into the stack
      uint256 _allowance = transferAllowances[_from][msg.sender];

      // verify sender has an allowance to transfer amount of tokens requested
      require(_allowance >= _value, "ERC20: transfer amount exceeds allowance"); // Zeppelin msg

      // update allowance value on the stack
      _allowance -= _value;

      // update the allowance value in storage
      transferAllowances[_from][msg.sender] = _allowance;

      // emit an improved atomic approve event
      emit Approved(_from, msg.sender, _allowance + _value, _allowance);

      // emit an ERC20 approval event to reflect the decrease
      emit Approval(_from, msg.sender, _allowance);
    }

    // verify sender has enough tokens to transfer on behalf
    require(tokenBalances[_from] >= _value, "ERC20: transfer amount exceeds balance"); // Zeppelin msg

    // perform the transfer:
    // decrease token owner (sender) balance
    tokenBalances[_from] -= _value;

    // increase `_to` address (receiver) balance
    tokenBalances[_to] += _value;

    // move voting power associated with the tokens transferred
    __moveVotingPower(votingDelegates[_from], votingDelegates[_to], _value);

    // emit an improved transfer event
    emit Transferred(msg.sender, _from, _to, _value);

    // emit an ERC20 transfer event
    emit Transfer(_from, _to, _value);
  }

  /**
   * @notice Approves address called `_spender` to transfer some amount
   *      of tokens on behalf of the owner
   *
   * @dev ERC20 `function approve(address _spender, uint256 _value) public returns (bool success)`
   *
   * @dev Caller must not necessarily own any tokens to grant the permission
   *
   * @param _spender an address approved by the caller (token owner)
   *      to spend some tokens on its behalf
   * @param _value an amount of tokens spender `_spender` is allowed to
   *      transfer on behalf of the token owner
   * @return success true on success, throws otherwise
   */
  function approve(address _spender, uint256 _value) public returns (bool success) {
    // non-zero spender address check - Zeppelin
    // obviously, zero spender address is a client mistake
    // it's not part of ERC20 standard but it's reasonable to fail fast
    require(_spender != address(0), "ERC20: approve to the zero address"); // Zeppelin msg

    // read old approval value to emmit an improved event (ISBN:978-1-7281-3027-9)
    uint256 _oldValue = transferAllowances[msg.sender][_spender];

    // perform an operation: write value requested into the storage
    transferAllowances[msg.sender][_spender] = _value;

    // emit an improved atomic approve event (ISBN:978-1-7281-3027-9)
    emit Approved(msg.sender, _spender, _oldValue, _value);

    // emit an ERC20 approval event
    emit Approval(msg.sender, _spender, _value);

    // operation successful, return true
    return true;
  }

  /**
   * @notice Returns the amount which _spender is still allowed to withdraw from _owner.
   *
   * @dev ERC20 `function allowance(address _owner, address _spender) public view returns (uint256 remaining)`
   *
   * @dev A function to check an amount of tokens owner approved
   *      to transfer on its behalf by some other address called "spender"
   *
   * @param _owner an address which approves transferring some tokens on its behalf
   * @param _spender an address approved to transfer some tokens on behalf
   * @return remaining an amount of tokens approved address `_spender` can transfer on behalf
   *      of token owner `_owner`
   */
  function allowance(address _owner, address _spender) public view returns (uint256 remaining) {
    // read the value from storage and return
    return transferAllowances[_owner][_spender];
  }

  // ===== End: ERC20/ERC223/ERC777 functions =====

  // ===== Start: Resolution for the Multiple Withdrawal Attack on ERC20 Tokens (ISBN:978-1-7281-3027-9) =====

  /**
   * @notice Increases the allowance granted to `spender` by the transaction sender
   *
   * @dev Resolution for the Multiple Withdrawal Attack on ERC20 Tokens (ISBN:978-1-7281-3027-9)
   *
   * @dev Throws if value to increase by is zero or too big and causes arithmetic overflow
   *
   * @param _spender an address approved by the caller (token owner)
   *      to spend some tokens on its behalf
   * @param _value an amount of tokens to increase by
   * @return success true on success, throws otherwise
   */
  function increaseAllowance(address _spender, uint256 _value) public virtual returns (bool) {
    // read current allowance value
    uint256 currentVal = transferAllowances[msg.sender][_spender];

    // non-zero _value and arithmetic overflow check on the allowance
    require(currentVal + _value > currentVal, "zero value approval increase or arithmetic overflow");

    // delegate call to `approve` with the new value
    return approve(_spender, currentVal + _value);
  }

  /**
   * @notice Decreases the allowance granted to `spender` by the caller.
   *
   * @dev Resolution for the Multiple Withdrawal Attack on ERC20 Tokens (ISBN:978-1-7281-3027-9)
   *
   * @dev Throws if value to decrease by is zero or is bigger than currently allowed value
   *
   * @param _spender an address approved by the caller (token owner)
   *      to spend some tokens on its behalf
   * @param _value an amount of tokens to decrease by
   * @return success true on success, throws otherwise
   */
  function decreaseAllowance(address _spender, uint256 _value) public virtual returns (bool) {
    // read current allowance value
    uint256 currentVal = transferAllowances[msg.sender][_spender];

    // non-zero _value check on the allowance
    require(_value > 0, "zero value approval decrease");

    // verify allowance decrease doesn't underflow
    require(currentVal >= _value, "ERC20: decreased allowance below zero");

    // delegate call to `approve` with the new value
    return approve(_spender, currentVal - _value);
  }

  // ===== End: Resolution for the Multiple Withdrawal Attack on ERC20 Tokens (ISBN:978-1-7281-3027-9) =====

  // ===== Start: Minting/burning extension =====

  /**
   * @dev Mints (creates) some tokens to address specified
   * @dev The value specified is treated as is without taking
   *      into account what `decimals` value is
   * @dev Behaves effectively as `mintTo` function, allowing
   *      to specify an address to mint tokens to
   * @dev Requires sender to have `ROLE_TOKEN_CREATOR` permission
   *
   * @dev Throws on overflow, if totalSupply + _value doesn't fit into uint256
   *
   * @param _to an address to mint tokens to
   * @param _value an amount of tokens to mint (create)
   */
  function mint(address _to, uint256 _value) public {
    // check if caller has sufficient permissions to mint tokens
    require(isSenderInRole(ROLE_TOKEN_CREATOR), "insufficient privileges (ROLE_TOKEN_CREATOR required)");

    // non-zero recipient address check
    require(_to != address(0), "ERC20: mint to the zero address"); // Zeppelin msg

    // non-zero _value and arithmetic overflow check on the total supply
    // this check automatically secures arithmetic overflow on the individual balance
    require(totalSupply + _value > totalSupply, "zero value mint or arithmetic overflow");

    // uint192 overflow check (required by voting delegation)
    require(totalSupply + _value <= type(uint192).max, "total supply overflow (uint192)");

    // perform mint:
    // increase total amount of tokens value
    totalSupply += _value;

    // increase `_to` address balance
    tokenBalances[_to] += _value;

    // create voting power associated with the tokens minted
    __moveVotingPower(address(0), votingDelegates[_to], _value);

    // fire a minted event
    emit Minted(msg.sender, _to, _value);

    // emit an improved transfer event
    emit Transferred(msg.sender, address(0), _to, _value);

    // fire ERC20 compliant transfer event
    emit Transfer(address(0), _to, _value);
  }

  /**
   * @dev Burns (destroys) some tokens from the address specified
   * @dev The value specified is treated as is without taking
   *      into account what `decimals` value is
   * @dev Behaves effectively as `burnFrom` function, allowing
   *      to specify an address to burn tokens from
   * @dev Requires sender to have `ROLE_TOKEN_DESTROYER` permission
   *
   * @param _from an address to burn some tokens from
   * @param _value an amount of tokens to burn (destroy)
   */
  function burn(address _from, uint256 _value) public {
    // check if caller has sufficient permissions to burn tokens
    // and if not - check for possibility to burn own tokens or to burn on behalf
    if(!isSenderInRole(ROLE_TOKEN_DESTROYER)) {
      // if `_from` is equal to sender, require own burns feature to be enabled
      // otherwise require burns on behalf feature to be enabled
      require(_from == msg.sender && isFeatureEnabled(FEATURE_OWN_BURNS)
           || _from != msg.sender && isFeatureEnabled(FEATURE_BURNS_ON_BEHALF),
              _from == msg.sender? "burns are disabled": "burns on behalf are disabled");

      // in case of burn on behalf
      if(_from != msg.sender) {
        // read allowance value - the amount of tokens allowed to be burnt - into the stack
        uint256 _allowance = transferAllowances[_from][msg.sender];

        // verify sender has an allowance to burn amount of tokens requested
        require(_allowance >= _value, "ERC20: burn amount exceeds allowance"); // Zeppelin msg

        // update allowance value on the stack
        _allowance -= _value;

        // update the allowance value in storage
        transferAllowances[_from][msg.sender] = _allowance;

        // emit an improved atomic approve event
        emit Approved(msg.sender, _from, _allowance + _value, _allowance);

        // emit an ERC20 approval event to reflect the decrease
        emit Approval(_from, msg.sender, _allowance);
      }
    }

    // at this point we know that either sender is ROLE_TOKEN_DESTROYER or
    // we burn own tokens or on behalf (in latest case we already checked and updated allowances)
    // we have left to execute balance checks and burning logic itself

    // non-zero burn value check
    require(_value != 0, "zero value burn");

    // non-zero source address check - Zeppelin
    require(_from != address(0), "ERC20: burn from the zero address"); // Zeppelin msg

    // verify `_from` address has enough tokens to destroy
    // (basically this is a arithmetic overflow check)
    require(tokenBalances[_from] >= _value, "ERC20: burn amount exceeds balance"); // Zeppelin msg

    // perform burn:
    // decrease `_from` address balance
    tokenBalances[_from] -= _value;

    // decrease total amount of tokens value
    totalSupply -= _value;

    // destroy voting power associated with the tokens burnt
    __moveVotingPower(votingDelegates[_from], address(0), _value);

    // fire a burnt event
    emit Burnt(msg.sender, _from, _value);

    // emit an improved transfer event
    emit Transferred(msg.sender, _from, address(0), _value);

    // fire ERC20 compliant transfer event
    emit Transfer(_from, address(0), _value);
  }

  // ===== End: Minting/burning extension =====

  // ===== Start: DAO Support (Compound-like voting delegation) =====

  /**
   * @notice Gets current voting power of the account `_of`
   * @param _of the address of account to get voting power of
   * @return current cumulative voting power of the account,
   *      sum of token balances of all its voting delegators
   */
  function getVotingPower(address _of) public view returns (uint256) {
    // get a link to an array of voting power history records for an address specified
    VotingPowerRecord[] storage history = votingPowerHistory[_of];

    // lookup the history and return latest element
    return history.length == 0? 0: history[history.length - 1].votingPower;
  }

  /**
   * @notice Gets past voting power of the account `_of` at some block `_blockNum`
   * @dev Throws if `_blockNum` is not in the past (not the finalized block)
   * @param _of the address of account to get voting power of
   * @param _blockNum block number to get the voting power at
   * @return past cumulative voting power of the account,
   *      sum of token balances of all its voting delegators at block number `_blockNum`
   */
  function getVotingPowerAt(address _of, uint256 _blockNum) public view returns (uint256) {
    // make sure block number is not in the past (not the finalized block)
    require(_blockNum < block.number, "not yet determined"); // Compound msg

    // get a link to an array of voting power history records for an address specified
    VotingPowerRecord[] storage history = votingPowerHistory[_of];

    // if voting power history for the account provided is empty
    if(history.length == 0) {
      // than voting power is zero - return the result
      return 0;
    }

    // check latest voting power history record block number:
    // if history was not updated after the block of interest
    if(history[history.length - 1].blockNumber <= _blockNum) {
      // we're done - return last voting power record
      return getVotingPower(_of);
    }

    // check first voting power history record block number:
    // if history was never updated before the block of interest
    if(history[0].blockNumber > _blockNum) {
      // we're done - voting power at the block num of interest was zero
      return 0;
    }

    // `votingPowerHistory[_of]` is an array ordered by `blockNumber`, ascending;
    // apply binary search on `votingPowerHistory[_of]` to find such an entry number `i`, that
    // `votingPowerHistory[_of][i].blockNumber <= _blockNum`, but in the same time
    // `votingPowerHistory[_of][i + 1].blockNumber > _blockNum`
    // return the result - voting power found at index `i`
    return history[__binaryLookup(_of, _blockNum)].votingPower;
  }

  /**
   * @dev Reads an entire voting power history array for the delegate specified
   *
   * @param _of delegate to query voting power history for
   * @return voting power history array for the delegate of interest
   */
  function getVotingPowerHistory(address _of) public view returns(VotingPowerRecord[] memory) {
    // return an entire array as memory
    return votingPowerHistory[_of];
  }

  /**
   * @dev Returns length of the voting power history array for the delegate specified;
   *      useful since reading an entire array just to get its length is expensive (gas cost)
   *
   * @param _of delegate to query voting power history length for
   * @return voting power history array length for the delegate of interest
   */
  function getVotingPowerHistoryLength(address _of) public view returns(uint256) {
    // read array length and return
    return votingPowerHistory[_of].length;
  }

  /**
   * @notice Delegates voting power of the delegator `msg.sender` to the delegate `_to`
   *
   * @dev Accepts zero value address to delegate voting power to, effectively
   *      removing the delegate in that case
   *
   * @param _to address to delegate voting power to
   */
  function delegate(address _to) public {
    // verify delegations are enabled
    require(isFeatureEnabled(FEATURE_DELEGATIONS), "delegations are disabled");
    // delegate call to `__delegate`
    __delegate(msg.sender, _to);
  }

  /**
   * @notice Delegates voting power of the delegator (represented by its signature) to the delegate `_to`
   *
   * @dev Accepts zero value address to delegate voting power to, effectively
   *      removing the delegate in that case
   *
   * @dev Compliant with EIP-712: Ethereum typed structured data hashing and signing,
   *      see https://eips.ethereum.org/EIPS/eip-712
   *
   * @param _to address to delegate voting power to
   * @param _nonce nonce used to construct the signature, and used to validate it;
   *      nonce is increased by one after successful signature validation and vote delegation
   * @param _exp signature expiration time
   * @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 delegateWithSig(address _to, uint256 _nonce, uint256 _exp, uint8 v, bytes32 r, bytes32 s) public {
    // verify delegations on behalf are enabled
    require(isFeatureEnabled(FEATURE_DELEGATIONS_ON_BEHALF), "delegations on behalf are disabled");

    // build the EIP-712 contract domain separator
    bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), block.chainid, address(this)));

    // build the EIP-712 hashStruct of the delegation message
    bytes32 hashStruct = keccak256(abi.encode(DELEGATION_TYPEHASH, _to, _nonce, _exp));

    // calculate the EIP-712 digest "\x19\x01" ‖ domainSeparator ‖ hashStruct(message)
    bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, hashStruct));

    // recover the address who signed the message with v, r, s
    address signer = ecrecover(digest, v, r, s);

    // perform message integrity and security validations
    require(signer != address(0), "invalid signature"); // Compound msg
    require(_nonce == nonces[signer], "invalid nonce"); // Compound msg
    require(block.timestamp < _exp, "signature expired"); // Compound msg

    // update the nonce for that particular signer to avoid replay attack
    nonces[signer]++;

    // delegate call to `__delegate` - execute the logic required
    __delegate(signer, _to);
  }

  /**
   * @dev Auxiliary function to delegate delegator's `_from` voting power to the delegate `_to`
   * @dev Writes to `votingDelegates` and `votingPowerHistory` mappings
   *
   * @param _from delegator who delegates his voting power
   * @param _to delegate who receives the voting power
   */
  function __delegate(address _from, address _to) private {
    // read current delegate to be replaced by a new one
    address _fromDelegate = votingDelegates[_from];

    // read current voting power (it is equal to token balance)
    uint256 _value = tokenBalances[_from];

    // reassign voting delegate to `_to`
    votingDelegates[_from] = _to;

    // update voting power for `_fromDelegate` and `_to`
    __moveVotingPower(_fromDelegate, _to, _value);

    // emit an event
    emit DelegateChanged(_from, _fromDelegate, _to);
  }

  /**
   * @dev Auxiliary function to move voting power `_value`
   *      from delegate `_from` to the delegate `_to`
   *
   * @dev Doesn't have any effect if `_from == _to`, or if `_value == 0`
   *
   * @param _from delegate to move voting power from
   * @param _to delegate to move voting power to
   * @param _value voting power to move from `_from` to `_to`
   */
  function __moveVotingPower(address _from, address _to, uint256 _value) private {
    // if there is no move (`_from == _to`) or there is nothing to move (`_value == 0`)
    if(_from == _to || _value == 0) {
      // return silently with no action
      return;
    }

    // if source address is not zero - decrease its voting power
    if(_from != address(0)) {
      // read current source address voting power
      uint256 _fromVal = getVotingPower(_from);

      // calculate decreased voting power
      // underflow is not possible by design:
      // voting power is limited by token balance which is checked by the callee
      uint256 _toVal = _fromVal - _value;

      // update source voting power from `_fromVal` to `_toVal`
      __updateVotingPower(_from, _fromVal, _toVal);
    }

    // if destination address is not zero - increase its voting power
    if(_to != address(0)) {
      // read current destination address voting power
      uint256 _fromVal = getVotingPower(_to);

      // calculate increased voting power
      // overflow is not possible by design:
      // max token supply limits the cumulative voting power
      uint256 _toVal = _fromVal + _value;

      // update destination voting power from `_fromVal` to `_toVal`
      __updateVotingPower(_to, _fromVal, _toVal);
    }
  }

  /**
   * @dev Auxiliary function to update voting power of the delegate `_of`
   *      from value `_fromVal` to value `_toVal`
   *
   * @param _of delegate to update its voting power
   * @param _fromVal old voting power of the delegate
   * @param _toVal new voting power of the delegate
   */
  function __updateVotingPower(address _of, uint256 _fromVal, uint256 _toVal) private {
    // get a link to an array of voting power history records for an address specified
    VotingPowerRecord[] storage history = votingPowerHistory[_of];

    // if there is an existing voting power value stored for current block
    if(history.length != 0 && history[history.length - 1].blockNumber == block.number) {
      // update voting power which is already stored in the current block
      history[history.length - 1].votingPower = uint192(_toVal);
    }
    // otherwise - if there is no value stored for current block
    else {
      // add new element into array representing the value for current block
      history.push(VotingPowerRecord(uint64(block.number), uint192(_toVal)));
    }

    // emit an event
    emit VotingPowerChanged(_of, _fromVal, _toVal);
  }

  /**
   * @dev Auxiliary function to lookup an element in a sorted (asc) array of elements
   *
   * @dev This function finds the closest element in an array to the value
   *      of interest (not exceeding that value) and returns its index within an array
   *
   * @dev An array to search in is `votingPowerHistory[_to][i].blockNumber`,
   *      it is sorted in ascending order (blockNumber increases)
   *
   * @param _to an address of the delegate to get an array for
   * @param n value of interest to look for
   * @return an index of the closest element in an array to the value
   *      of interest (not exceeding that value)
   */
  function __binaryLookup(address _to, uint256 n) private view returns(uint256) {
    // get a link to an array of voting power history records for an address specified
    VotingPowerRecord[] storage history = votingPowerHistory[_to];

    // left bound of the search interval, originally start of the array
    uint256 i = 0;

    // right bound of the search interval, originally end of the array
    uint256 j = history.length - 1;

    // the iteration process narrows down the bounds by
    // splitting the interval in a half oce per each iteration
    while(j > i) {
      // get an index in the middle of the interval [i, j]
      uint256 k = j - (j - i) / 2;

      // read an element to compare it with the value of interest
      VotingPowerRecord memory cp = history[k];

      // if we've got a strict equal - we're lucky and done
      if(cp.blockNumber == n) {
        // just return the result - index `k`
        return k;
      }
      // if the value of interest is bigger - move left bound to the middle
      else if (cp.blockNumber < n) {
        // move left bound `i` to the middle position `k`
        i = k;
      }
      // otherwise, when the value of interest is smaller - move right bound to the middle
      else {
        // move right bound `j` to the middle position `k - 1`:
        // element at position `k` is bigger and cannot be the result
        j = k - 1;
      }
    }

    // reaching that point means no exact match found
    // since we're interested in the element which is not bigger than the
    // element of interest, we return the lower bound `i`
    return i;
  }
}

// ===== End: DAO Support (Compound-like voting delegation) =====

File 2 of 4 : AddressUtils.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

/**
 * @title Address Utils
 *
 * @dev Utility library of inline functions on addresses
 *
 * @author Basil Gorin
 */
library AddressUtils {

  /**
   * @notice Checks if the target address is a contract
   * @dev This function will return false if invoked during the constructor of a contract,
   *      as the code is not actually created until after the constructor finishes.
   * @param addr address to check
   * @return whether the target address is a contract
   */
  function isContract(address addr) internal view returns (bool) {
    // a variable to load `extcodesize` to
    uint256 size = 0;

    // XXX Currently there is no better way to check if there is a contract in an address
    // than to check the size of the code at that address.
    // See https://ethereum.stackexchange.com/a/14016/36603 for more details about how this works.
    // TODO: Check this again before the Serenity release, because all addresses will be contracts.
    // solium-disable-next-line security/no-inline-assembly
    assembly {
      // retrieve the size of the code at address `addr`
      size := extcodesize(addr)
    }

    // positive size indicates a smart contract address
    return size > 0;
  }

}

File 3 of 4 : AccessControl.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

/**
 * @title Access Control List
 *
 * @notice Access control smart contract provides an API to check
 *      if specific operation is permitted globally and/or
 *      if particular user has a permission to execute it.
 *
 * @notice It deals with two main entities: features and roles.
 *
 * @notice Features are designed to be used to enable/disable specific
 *      functions (public functions) of the smart contract for everyone.
 * @notice User roles are designed to restrict access to specific
 *      functions (restricted functions) of the smart contract to some users.
 *
 * @notice Terms "role", "permissions" and "set of permissions" have equal meaning
 *      in the documentation text and may be used interchangeably.
 * @notice Terms "permission", "single permission" implies only one permission bit set.
 *
 * @dev This smart contract is designed to be inherited by other
 *      smart contracts which require access control management capabilities.
 *
 * @author Basil Gorin
 */
contract AccessControl {
  /**
   * @notice Access manager is responsible for assigning the roles to users,
   *      enabling/disabling global features of the smart contract
   * @notice Access manager can add, remove and update user roles,
   *      remove and update global features
   *
   * @dev Role ROLE_ACCESS_MANAGER allows modifying user roles and global features
   * @dev Role ROLE_ACCESS_MANAGER has single bit at position 255 enabled
   */
  uint256 public constant ROLE_ACCESS_MANAGER = 0x8000000000000000000000000000000000000000000000000000000000000000;

  /**
   * @dev Bitmask representing all the possible permissions (super admin role)
   * @dev Has all the bits are enabled (2^256 - 1 value)
   */
  uint256 private constant FULL_PRIVILEGES_MASK = type(uint256).max; // before 0.8.0: uint256(-1) overflows to 0xFFFF...

  /**
   * @notice Privileged addresses with defined roles/permissions
   * @notice In the context of ERC20/ERC721 tokens these can be permissions to
   *      allow minting or burning tokens, transferring on behalf and so on
   *
   * @dev Maps user address to the permissions bitmask (role), where each bit
   *      represents a permission
   * @dev Bitmask 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
   *      represents all possible permissions
   * @dev Zero address mapping represents global features of the smart contract
   */
  mapping(address => uint256) public userRoles;

  /**
   * @dev Fired in updateRole() and updateFeatures()
   *
   * @param _by operator which called the function
   * @param _to address which was granted/revoked permissions
   * @param _requested permissions requested
   * @param _actual permissions effectively set
   */
  event RoleUpdated(address indexed _by, address indexed _to, uint256 _requested, uint256 _actual);

  /**
   * @notice Creates an access control instance,
   *      setting contract creator to have full privileges
   */
  constructor() {
    // contract creator has full privileges
    userRoles[msg.sender] = FULL_PRIVILEGES_MASK;
  }

  /**
   * @notice Retrieves globally set of features enabled
   *
   * @dev Auxiliary getter function to maintain compatibility with previous
   *      versions of the Access Control List smart contract, where
   *      features was a separate uint256 public field
   *
   * @return 256-bit bitmask of the features enabled
   */
  function features() public view returns(uint256) {
    // according to new design features are stored in zero address
    // mapping of `userRoles` structure
    return userRoles[address(0)];
  }

  /**
   * @notice Updates set of the globally enabled features (`features`),
   *      taking into account sender's permissions
   *
   * @dev Requires transaction sender to have `ROLE_ACCESS_MANAGER` permission
   * @dev Function is left for backward compatibility with older versions
   *
   * @param _mask bitmask representing a set of features to enable/disable
   */
  function updateFeatures(uint256 _mask) public {
    // delegate call to `updateRole`
    updateRole(address(0), _mask);
  }

  /**
   * @notice Updates set of permissions (role) for a given user,
   *      taking into account sender's permissions.
   *
   * @dev Setting role to zero is equivalent to removing an all permissions
   * @dev Setting role to `FULL_PRIVILEGES_MASK` is equivalent to
   *      copying senders' permissions (role) to the user
   * @dev Requires transaction sender to have `ROLE_ACCESS_MANAGER` permission
   *
   * @param operator address of a user to alter permissions for or zero
   *      to alter global features of the smart contract
   * @param role bitmask representing a set of permissions to
   *      enable/disable for a user specified
   */
  function updateRole(address operator, uint256 role) public {
    // caller must have a permission to update user roles
    require(isSenderInRole(ROLE_ACCESS_MANAGER), "insufficient privileges (ROLE_ACCESS_MANAGER required)");

    // evaluate the role and reassign it
    userRoles[operator] = evaluateBy(msg.sender, userRoles[operator], role);

    // fire an event
    emit RoleUpdated(msg.sender, operator, role, userRoles[operator]);
  }

  /**
   * @notice Determines the permission bitmask an operator can set on the
   *      target permission set
   * @notice Used to calculate the permission bitmask to be set when requested
   *     in `updateRole` and `updateFeatures` functions
   *
   * @dev Calculated based on:
   *      1) operator's own permission set read from userRoles[operator]
   *      2) target permission set - what is already set on the target
   *      3) desired permission set - what do we want set target to
   *
   * @dev Corner cases:
   *      1) Operator is super admin and its permission set is `FULL_PRIVILEGES_MASK`:
   *        `desired` bitset is returned regardless of the `target` permission set value
   *        (what operator sets is what they get)
   *      2) Operator with no permissions (zero bitset):
   *        `target` bitset is returned regardless of the `desired` value
   *        (operator has no authority and cannot modify anything)
   *
   * @dev Example:
   *      Consider an operator with the permissions bitmask     00001111
   *      is about to modify the target permission set          01010101
   *      Operator wants to set that permission set to          00110011
   *      Based on their role, an operator has the permissions
   *      to update only lowest 4 bits on the target, meaning that
   *      high 4 bits of the target set in this example is left
   *      unchanged and low 4 bits get changed as desired:      01010011
   *
   * @param operator address of the contract operator which is about to set the permissions
   * @param target input set of permissions to operator is going to modify
   * @param desired desired set of permissions operator would like to set
   * @return resulting set of permissions given operator will set
   */
  function evaluateBy(address operator, uint256 target, uint256 desired) public view returns(uint256) {
    // read operator's permissions
    uint256 p = userRoles[operator];

    // taking into account operator's permissions,
    // 1) enable the permissions desired on the `target`
    target |= p & desired;
    // 2) disable the permissions desired on the `target`
    target &= FULL_PRIVILEGES_MASK ^ (p & (FULL_PRIVILEGES_MASK ^ desired));

    // return calculated result
    return target;
  }

  /**
   * @notice Checks if requested set of features is enabled globally on the contract
   *
   * @param required set of features to check against
   * @return true if all the features requested are enabled, false otherwise
   */
  function isFeatureEnabled(uint256 required) public view returns(bool) {
    // delegate call to `__hasRole`, passing `features` property
    return __hasRole(features(), required);
  }

  /**
   * @notice Checks if transaction sender `msg.sender` has all the permissions required
   *
   * @param required set of permissions (role) to check against
   * @return true if all the permissions requested are enabled, false otherwise
   */
  function isSenderInRole(uint256 required) public view returns(bool) {
    // delegate call to `isOperatorInRole`, passing transaction sender
    return isOperatorInRole(msg.sender, required);
  }

  /**
   * @notice Checks if operator has all the permissions (role) required
   *
   * @param operator address of the user to check role for
   * @param required set of permissions (role) to check
   * @return true if all the permissions requested are enabled, false otherwise
   */
  function isOperatorInRole(address operator, uint256 required) public view returns(bool) {
    // delegate call to `__hasRole`, passing operator's permissions (role)
    return __hasRole(userRoles[operator], required);
  }

  /**
   * @dev Checks if role `actual` contains all the permissions required `required`
   *
   * @param actual existent role
   * @param required required role
   * @return true if actual has required role (all permissions), false otherwise
   */
  function __hasRole(uint256 actual, uint256 required) internal pure returns(bool) {
    // check the bitmask for the role required and return the result
    return actual & required == required;
  }
}

File 4 of 4 : ERC20Receiver.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

/**
 * @title ERC20 token receiver interface
 *
 * @dev Interface for any contract that wants to support safe transfers
 *      from ERC20 token smart contracts.
 * @dev Inspired by ERC721 and ERC223 token standards
 *
 * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
 * @dev See https://github.com/ethereum/EIPs/issues/223
 *
 * @author Basil Gorin
 */
interface ERC20Receiver {
  /**
   * @notice Handle the receipt of a ERC20 token(s)
   * @dev The ERC20 smart contract calls this function on the recipient
   *      after a successful transfer (`safeTransferFrom`).
   *      This function MAY throw to revert and reject the transfer.
   *      Return of other than the magic value MUST result in the transaction being reverted.
   * @notice The contract address is always the message sender.
   *      A wallet/broker/auction application MUST implement the wallet interface
   *      if it will accept safe transfers.
   * @param _operator The address which called `safeTransferFrom` function
   * @param _from The address which previously owned the token
   * @param _value amount of tokens which is being transferred
   * @param _data additional data with no specified format
   * @return `bytes4(keccak256("onERC20Received(address,address,uint256,bytes)"))` unless throwing
   */
  function onERC20Received(address _operator, address _from, uint256 _value, bytes calldata _data) external returns(bytes4);
}

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

Contract Security Audit

Contract ABI

[{"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":"_owner","type":"address"},{"indexed":true,"internalType":"address","name":"_spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_oldValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Approved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_by","type":"address"},{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Burnt","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_of","type":"address"},{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_by","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_by","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_requested","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_actual","type":"uint256"}],"name":"RoleUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_by","type":"address"},{"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":"Transferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_of","type":"address"},{"indexed":false,"internalType":"uint256","name":"_fromVal","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_toVal","type":"uint256"}],"name":"VotingPowerChanged","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":[],"name":"FEATURE_BURNS_ON_BEHALF","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEATURE_DELEGATIONS","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEATURE_DELEGATIONS_ON_BEHALF","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEATURE_OWN_BURNS","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEATURE_TRANSFERS","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEATURE_TRANSFERS_ON_BEHALF","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEATURE_UNSAFE_TRANSFERS","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROLE_ACCESS_MANAGER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROLE_ERC20_RECEIVER","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROLE_ERC20_SENDER","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROLE_TOKEN_CREATOR","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROLE_TOKEN_DESTROYER","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"remaining","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":"_value","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"uint256","name":"_exp","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateWithSig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"target","type":"uint256"},{"internalType":"uint256","name":"desired","type":"uint256"}],"name":"evaluateBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"features","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_of","type":"address"}],"name":"getVotingPower","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_of","type":"address"},{"internalType":"uint256","name":"_blockNum","type":"uint256"}],"name":"getVotingPowerAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_of","type":"address"}],"name":"getVotingPowerHistory","outputs":[{"components":[{"internalType":"uint64","name":"blockNumber","type":"uint64"},{"internalType":"uint192","name":"votingPower","type":"uint192"}],"internalType":"struct EscrowedIlluvium2.VotingPowerRecord[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_of","type":"address"}],"name":"getVotingPowerHistoryLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"required","type":"uint256"}],"name":"isFeatureEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"required","type":"uint256"}],"name":"isOperatorInRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"required","type":"uint256"}],"name":"isSenderInRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"mint","outputs":[],"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":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"transferAllowances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"unsafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mask","type":"uint256"}],"name":"updateFeatures","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"role","type":"uint256"}],"name":"updateRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRoles","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"votingDelegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"votingPowerHistory","outputs":[{"internalType":"uint64","name":"blockNumber","type":"uint64"},{"internalType":"uint192","name":"votingPower","type":"uint192"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550615340806100836000396000f3fe608060405234801561001057600080fd5b50600436106102a05760003560e01c806384b34a3111610167578063c5ff500c116100ce578063e7a324dc11610087578063e7a324dc146108c6578063e98f5ba7146108e4578063eaeded5f14610902578063f63c2f8214610932578063f822d5aa14610950578063fcc2c07814610980576102a0565b8063c5ff500c146107de578063c688d693146107fc578063ce9517cf1461082c578063d5bb7f671461085c578063dd62ed3e14610878578063e62cac76146108a8576102a0565b8063a9059cbb11610120578063a9059cbb1461070a578063ae5b102e1461073a578063ae682e2e14610756578063b88d4fde14610774578063bb4d443614610790578063c0d6568d146107c0576102a0565b806384b34a31146106345780638d4e57e6146106645780638f6fba8c1461068257806395d89b41146106a05780639dc29fac146106be578063a457c2d7146106da576102a0565b8063395093511161020b57806363152a50116101c457806363152a501461051357806370a0823114610543578063725f36261461057357806374d5e100146105a35780637ecebe00146105d35780637fd491b014610603576102a0565b806339509351146104415780633e9c5f7e1461047157806340c10f191461048f578063523fba7f146104ab57806359b961ef146104db5780635c19a95c146104f7576102a0565b80631e0fa2341161025d5780631e0fa2341461036957806320606b701461039957806323b872dd146103b75780632b521416146103e75780632d4c39ea14610405578063313ce56714610423576102a0565b806306fdde03146102a5578063095ea7b3146102c357806315d2c225146102f357806318160ddd1461030f5780631993f5541461032d5780631a0b04ea1461034b575b600080fd5b6102ad6109b0565b6040516102ba919061441b565b60405180910390f35b6102dd60048036038101906102d89190613b7b565b6109e9565b6040516102ea9190614316565b60405180910390f35b61030d60048036038101906103089190613c06565b610c33565b005b610317610f7e565b604051610324919061477d565b60405180910390f35b610335610f84565b60405161034291906147c1565b60405180910390f35b610353610f89565b60405161036091906147c1565b60405180910390f35b610383600480360381019061037e9190613a4c565b610f8e565b604051610390919061428d565b60405180910390f35b6103a1610fc1565b6040516103ae9190614331565b60405180910390f35b6103d160048036038101906103cc9190613ab1565b610fe5565b6040516103de9190614316565b60405180910390f35b6103ef611066565b6040516103fc919061477d565b60405180910390f35b61040d6110ac565b60405161041a91906147c1565b60405180910390f35b61042b6110b1565b6040516104389190614805565b60405180910390f35b61045b60048036038101906104569190613b7b565b6110b6565b6040516104689190614316565b60405180910390f35b6104796111a3565b60405161048691906147c1565b60405180910390f35b6104a960048036038101906104a49190613b7b565b6111a8565b005b6104c560048036038101906104c09190613a4c565b61154a565b6040516104d2919061477d565b60405180910390f35b6104f560048036038101906104f09190613ab1565b611562565b005b610511600480360381019061050c9190613a4c565b611e4d565b005b61052d60048036038101906105289190613a75565b611ea9565b60405161053a919061477d565b60405180910390f35b61055d60048036038101906105589190613a4c565b611ece565b60405161056a919061477d565b60405180910390f35b61058d60048036038101906105889190613cb8565b611f17565b60405161059a9190614316565b60405180910390f35b6105bd60048036038101906105b89190613a4c565b611f31565b6040516105ca919061477d565b60405180910390f35b6105ed60048036038101906105e89190613a4c565b611f49565b6040516105fa919061477d565b60405180910390f35b61061d60048036038101906106189190613b7b565b611f61565b60405161062b9291906147dc565b60405180910390f35b61064e60048036038101906106499190613a4c565b611fd6565b60405161065b919061477d565b60405180910390f35b61066c612022565b60405161067991906147c1565b60405180910390f35b61068a612029565b60405161069791906147c1565b60405180910390f35b6106a861202e565b6040516106b5919061441b565b60405180910390f35b6106d860048036038101906106d39190613b7b565b612067565b005b6106f460048036038101906106ef9190613b7b565b6127b6565b6040516107019190614316565b60405180910390f35b610724600480360381019061071f9190613b7b565b6128dc565b6040516107319190614316565b60405180910390f35b610754600480360381019061074f9190613b7b565b6128f1565b005b61075e612a8d565b60405161076b919061477d565b60405180910390f35b61078e60048036038101906107899190613b00565b612ab1565b005b6107aa60048036038101906107a59190613a4c565b612bee565b6040516107b7919061477d565b60405180910390f35b6107c8612ce3565b6040516107d591906147c1565b60405180910390f35b6107e6612ce8565b6040516107f391906147c1565b60405180910390f35b61081660048036038101906108119190613b7b565b612cef565b6040516108239190614316565b60405180910390f35b61084660048036038101906108419190613a4c565b612d41565b60405161085391906142f4565b60405180910390f35b61087660048036038101906108719190613cb8565b612e6f565b005b610892600480360381019061088d9190613a75565b612e7d565b60405161089f919061477d565b60405180910390f35b6108b0612f04565b6040516108bd91906147c1565b60405180910390f35b6108ce612f0b565b6040516108db9190614331565b60405180910390f35b6108ec612f2f565b6040516108f991906147c1565b60405180910390f35b61091c60048036038101906109179190613b7b565b612f36565b604051610929919061477d565b60405180910390f35b61093a61316f565b60405161094791906147c1565b60405180910390f35b61096a60048036038101906109659190613bb7565b613174565b604051610977919061477d565b60405180910390f35b61099a60048036038101906109959190613cb8565b613215565b6040516109a79190614316565b60405180910390f35b6040518060400160405280601381526020017f457363726f77656420496c6c757669756d20320000000000000000000000000081525081565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a51906144bd565b60405180910390fd5b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f71594b34a69973da9bff6f72cc0aad2c51069b6b8e9c70c0648b58d10d7bd84b8386604051610bbb929190614798565b60405180910390a38373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92585604051610c20919061477d565b60405180910390a3600191505092915050565b610c43604063ffffffff16611f17565b610c82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c79906144dd565b60405180910390fd5b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666040518060400160405280601381526020017f457363726f77656420496c6c757669756d203200000000000000000000000000815250805190602001204630604051602001610cf79493929190614391565b60405160208183030381529060405280519060200120905060007fff41620983935eb4d4a3c7384a066ca8c1d10cef9a5eca9eb97ca735cd14a755888888604051602001610d48949392919061434c565b60405160208183030381529060405280519060200120905060008282604051602001610d75929190614256565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610db294939291906143d6565b6020604051602081039080840390855afa158015610dd4573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e479061445d565b60405180910390fd5b600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548914610ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec89061455d565b60405180910390fd5b874210610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a9061471d565b60405180910390fd5b600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610f6390614af3565b9190505550610f72818b613228565b50505050505050505050565b60015481565b600481565b600881565b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610ff7600463ffffffff16611f17565b806110115750611010836204000063ffffffff16612cef565b5b8061102a57506110296208000063ffffffff16613215565b5b1561103f5761103a848484611562565b61105b565b61105a84848460405180602001604052806000815250612ab1565b5b600190509392505050565b60008060008073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b604081565b601281565b600080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905080838261114591906148f2565b11611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c906145bd565b60405180910390fd5b61119a84848361119591906148f2565b6109e9565b91505092915050565b602081565b6111ba6201000063ffffffff16613215565b6111f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f09061457d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611269576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112609061475d565b60405180910390fd5b6001548160015461127a91906148f2565b116112ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b19061461d565b60405180910390fd5b77ffffffffffffffffffffffffffffffffffffffffffffffff8016816001546112e391906148f2565b1115611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b9061449d565b60405180910390fd5b806001600082825461133691906148f2565b9250508190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461138c91906148f2565b925050819055506113fe6000600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836133d0565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f9d228d69b5fdb8d273a2336f8fb8612d039631024ea9bf09c424a9503aa078f08360405161145b919061477d565b60405180910390a38173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f769254a71d2f67d8ac6cb44f2803c0d05cfbcf9effadb6a984f10ff9de3df6c3846040516114d8919061477d565b60405180910390a48173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161153e919061477d565b60405180910390a35050565b60026020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480156115a957506115a8600163ffffffff16611f17565b5b806115f857503373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156115f757506115f6600263ffffffff16611f17565b5b5b3373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614611666576040518060400160405280602081526020017f7472616e7366657273206f6e20626568616c66206172652064697361626c656481525061169d565b6040518060400160405280601681526020017f7472616e7366657273206172652064697361626c6564000000000000000000008152505b906116de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d5919061441b565b60405180910390fd5b50600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561174f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117469061467d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b69061443d565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561182e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611825906146fd565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561189d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611894906144fd565b60405180910390fd5b6000811415611910578173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611903919061477d565b60405180910390a3611e48565b3373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611b6f576000600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fe906145fd565b60405180910390fd5b8181611a139190614979565b905080600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f71594b34a69973da9bff6f72cc0aad2c51069b6b8e9c70c0648b58d10d7bd84b8484611af191906148f2565b84604051611b00929190614798565b60405180910390a33373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611b65919061477d565b60405180910390a3505b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611bf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be89061453d565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c409190614979565b9250508190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c9691906148f2565b92505081905550611d66600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836133d0565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f769254a71d2f67d8ac6cb44f2803c0d05cfbcf9effadb6a984f10ff9de3df6c384604051611dda919061477d565b60405180910390a48173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e3f919061477d565b60405180910390a35b505050565b611e5d602063ffffffff16611f17565b611e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e93906146dd565b60405180910390fd5b611ea63382613228565b50565b6006602052816000526040600020602052806000526040600020600091509150505481565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000611f2a611f24611066565b836134d8565b9050919050565b60006020528060005260406000206000915090505481565b60056020528060005260406000206000915090505481565b60046020528160005260406000208181548110611f7d57600080fd5b90600052602060002001600091509150508060000160009054906101000a900467ffffffffffffffff16908060000160089054906101000a900477ffffffffffffffffffffffffffffffffffffffffffffffff16905082565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b6201000081565b600281565b6040518060400160405280600581526020017f73494c563200000000000000000000000000000000000000000000000000000081525081565b6120796202000063ffffffff16613215565b61245a573373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161480156120c457506120c3600863ffffffff16611f17565b5b8061211357503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156121125750612111601063ffffffff16611f17565b5b5b3373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612181576040518060400160405280601c81526020017f6275726e73206f6e20626568616c66206172652064697361626c6564000000008152506121b8565b6040518060400160405280601281526020017f6275726e73206172652064697361626c656400000000000000000000000000008152505b906121f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f0919061441b565b60405180910390fd5b503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612459576000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156122f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e89061463d565b60405180910390fd5b81816122fd9190614979565b905080600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f71594b34a69973da9bff6f72cc0aad2c51069b6b8e9c70c0648b58d10d7bd84b84846123db91906148f2565b846040516123ea929190614798565b60405180910390a33373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161244f919061477d565b60405180910390a3505b5b600081141561249e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124959061459d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561250e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125059061465d565b60405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612590576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125879061447d565b60405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125df9190614979565b9250508190555080600160008282546125f89190614979565b9250508190555061266a600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000836133d0565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe8a89cc6e5096f9d9f43de82c077c1f4cfe707c0e0c2032176c68813b9ae6a5c836040516126c7919061477d565b60405180910390a3600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f769254a71d2f67d8ac6cb44f2803c0d05cfbcf9effadb6a984f10ff9de3df6c384604051612744919061477d565b60405180910390a4600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516127aa919061477d565b60405180910390a35050565b600080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000831161287b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612872906145dd565b60405180910390fd5b828110156128be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b59061473d565b60405180910390fd5b6128d38484836128ce9190614979565b6109e9565b91505092915050565b60006128e9338484610fe5565b905092915050565b61291a7f8000000000000000000000000000000000000000000000000000000000000000613215565b612959576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129509061469d565b60405180910390fd5b6129a2336000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483613174565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f5a10526456f5116c0b7b80582c217d666243fd51b6a2d92c8011e601c2462e5f836000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054604051612a81929190614798565b60405180910390a35050565b7f800000000000000000000000000000000000000000000000000000000000000081565b612abc848484611562565b612ac5836134e7565b15612be85760008373ffffffffffffffffffffffffffffffffffffffff16634fc35859338786866040518563ffffffff1660e01b8152600401612b0b94939291906142a8565b602060405180830381600087803b158015612b2557600080fd5b505af1158015612b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b5d9190613c8f565b9050634fc3585960e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdd906146bd565b60405180910390fd5b505b50505050565b600080600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000818054905014612cbe578060018280549050612c509190614979565b81548110612c87577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160000160089054906101000a900477ffffffffffffffffffffffffffffffffffffffffffffffff16612cc1565b60005b77ffffffffffffffffffffffffffffffffffffffffffffffff16915050919050565b600181565b6204000081565b6000612d396000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836134d8565b905092915050565b6060600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015612e64578382906000526020600020016040518060400160405290816000820160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160089054906101000a900477ffffffffffffffffffffffffffffffffffffffffffffffff1677ffffffffffffffffffffffffffffffffffffffffffffffff1677ffffffffffffffffffffffffffffffffffffffffffffffff168152505081526020019060010190612da2565b505050509050919050565b612e7a6000826128f1565b50565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6202000081565b7fff41620983935eb4d4a3c7384a066ca8c1d10cef9a5eca9eb97ca735cd14a75581565b6208000081565b6000438210612f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f719061451d565b60405180910390fd5b6000600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081805490501415612fd4576000915050613169565b828160018380549050612fe79190614979565b8154811061301e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff16116130605761305884612bee565b915050613169565b828160008154811061309b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1611156130d7576000915050613169565b806130e285856134fe565b81548110613119577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160000160089054906101000a900477ffffffffffffffffffffffffffffffffffffffffffffffff1677ffffffffffffffffffffffffffffffffffffffffffffffff169150505b92915050565b601081565b6000806000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811684179350827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1881167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1884169350839150509392505050565b60006132213383612cef565b9050919050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506133598284836133d0565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a450505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061340a5750600081145b15613414576134d3565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461347357600061345384612bee565b9050600082826134639190614979565b90506134708583836136d3565b50505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134d25760006134b283612bee565b9050600082826134c291906148f2565b90506134cf8483836136d3565b50505b5b505050565b60008182841614905092915050565b60008060009050823b905060008111915050919050565b600080600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600080600183805490506135569190614979565b90505b818111156136c6576000600283836135719190614979565b61357b9190614948565b826135869190614979565b905060008482815481106135c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020016040518060400160405290816000820160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160089054906101000a900477ffffffffffffffffffffffffffffffffffffffffffffffff1677ffffffffffffffffffffffffffffffffffffffffffffffff1677ffffffffffffffffffffffffffffffffffffffffffffffff1681525050905086816000015167ffffffffffffffff1614156136915781955050505050506136cd565b86816000015167ffffffffffffffff1610156136af578193506136bf565b6001826136bc9190614979565b92505b5050613559565b8193505050505b92915050565b6000600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081805490501415801561379e57504381600183805490506137399190614979565b81548110613770577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff16145b15613845578181600183805490506137b69190614979565b815481106137ed577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160000160086101000a81548177ffffffffffffffffffffffffffffffffffffffffffffffff021916908377ffffffffffffffffffffffffffffffffffffffffffffffff160217905550613925565b8060405180604001604052804367ffffffffffffffff1681526020018477ffffffffffffffffffffffffffffffffffffffffffffffff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060208201518160000160086101000a81548177ffffffffffffffffffffffffffffffffffffffffffffffff021916908377ffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505b8373ffffffffffffffffffffffffffffffffffffffff167f53ed7954de66613e30dd29b46ab783aa594e6309d021d8854c76bb3325d03aa3848460405161396d929190614798565b60405180910390a250505050565b600061398e61398984614845565b614820565b9050828152602081018484840111156139a657600080fd5b6139b1848285614a80565b509392505050565b6000813590506139c881615297565b92915050565b6000813590506139dd816152ae565b92915050565b6000815190506139f2816152c5565b92915050565b600082601f830112613a0957600080fd5b8135613a1984826020860161397b565b91505092915050565b600081359050613a31816152dc565b92915050565b600081359050613a46816152f3565b92915050565b600060208284031215613a5e57600080fd5b6000613a6c848285016139b9565b91505092915050565b60008060408385031215613a8857600080fd5b6000613a96858286016139b9565b9250506020613aa7858286016139b9565b9150509250929050565b600080600060608486031215613ac657600080fd5b6000613ad4868287016139b9565b9350506020613ae5868287016139b9565b9250506040613af686828701613a22565b9150509250925092565b60008060008060808587031215613b1657600080fd5b6000613b24878288016139b9565b9450506020613b35878288016139b9565b9350506040613b4687828801613a22565b925050606085013567ffffffffffffffff811115613b6357600080fd5b613b6f878288016139f8565b91505092959194509250565b60008060408385031215613b8e57600080fd5b6000613b9c858286016139b9565b9250506020613bad85828601613a22565b9150509250929050565b600080600060608486031215613bcc57600080fd5b6000613bda868287016139b9565b9350506020613beb86828701613a22565b9250506040613bfc86828701613a22565b9150509250925092565b60008060008060008060c08789031215613c1f57600080fd5b6000613c2d89828a016139b9565b9650506020613c3e89828a01613a22565b9550506040613c4f89828a01613a22565b9450506060613c6089828a01613a37565b9350506080613c7189828a016139ce565b92505060a0613c8289828a016139ce565b9150509295509295509295565b600060208284031215613ca157600080fd5b6000613caf848285016139e3565b91505092915050565b600060208284031215613cca57600080fd5b6000613cd884828501613a22565b91505092915050565b6000613ced83836141be565b60408301905092915050565b613d02816149ad565b82525050565b6000613d1382614886565b613d1d81856148b4565b9350613d2883614876565b8060005b83811015613d59578151613d408882613ce1565b9750613d4b836148a7565b925050600181019050613d2c565b5085935050505092915050565b613d6f816149bf565b82525050565b613d7e816149cb565b82525050565b613d95613d90826149cb565b614b3c565b82525050565b6000613da682614891565b613db081856148c5565b9350613dc0818560208601614a8f565b613dc981614bd3565b840191505092915050565b6000613ddf8261489c565b613de981856148d6565b9350613df9818560208601614a8f565b613e0281614bd3565b840191505092915050565b6000613e1a6023836148d6565b9150613e2582614be4565b604082019050919050565b6000613e3d6011836148d6565b9150613e4882614c33565b602082019050919050565b6000613e606022836148d6565b9150613e6b82614c5c565b604082019050919050565b6000613e83601f836148d6565b9150613e8e82614cab565b602082019050919050565b6000613ea66022836148d6565b9150613eb182614cd4565b604082019050919050565b6000613ec96022836148d6565b9150613ed482614d23565b604082019050919050565b6000613eec6002836148e7565b9150613ef782614d72565b600282019050919050565b6000613f0f603f836148d6565b9150613f1a82614d9b565b604082019050919050565b6000613f326012836148d6565b9150613f3d82614dea565b602082019050919050565b6000613f556026836148d6565b9150613f6082614e13565b604082019050919050565b6000613f78600d836148d6565b9150613f8382614e62565b602082019050919050565b6000613f9b6035836148d6565b9150613fa682614e8b565b604082019050919050565b6000613fbe600f836148d6565b9150613fc982614eda565b602082019050919050565b6000613fe16033836148d6565b9150613fec82614f03565b604082019050919050565b6000614004601c836148d6565b915061400f82614f52565b602082019050919050565b60006140276028836148d6565b915061403282614f7b565b604082019050919050565b600061404a6026836148d6565b915061405582614fca565b604082019050919050565b600061406d6024836148d6565b915061407882615019565b604082019050919050565b60006140906021836148d6565b915061409b82615068565b604082019050919050565b60006140b36025836148d6565b91506140be826150b7565b604082019050919050565b60006140d66036836148d6565b91506140e182615106565b604082019050919050565b60006140f96020836148d6565b915061410482615155565b602082019050919050565b600061411c6018836148d6565b91506141278261517e565b602082019050919050565b600061413f602f836148d6565b915061414a826151a7565b604082019050919050565b60006141626011836148d6565b915061416d826151f6565b602082019050919050565b60006141856025836148d6565b91506141908261521f565b604082019050919050565b60006141a8601f836148d6565b91506141b38261526e565b602082019050919050565b6040820160008201516141d46000850182614229565b5060208201516141e760208501826141ed565b50505050565b6141f681614a21565b82525050565b61420581614a21565b82525050565b61421481614a45565b82525050565b61422381614a4f565b82525050565b61423281614a5f565b82525050565b61424181614a5f565b82525050565b61425081614a73565b82525050565b600061426182613edf565b915061426d8285613d84565b60208201915061427d8284613d84565b6020820191508190509392505050565b60006020820190506142a26000830184613cf9565b92915050565b60006080820190506142bd6000830187613cf9565b6142ca6020830186613cf9565b6142d7604083018561420b565b81810360608301526142e98184613d9b565b905095945050505050565b6000602082019050818103600083015261430e8184613d08565b905092915050565b600060208201905061432b6000830184613d66565b92915050565b60006020820190506143466000830184613d75565b92915050565b60006080820190506143616000830187613d75565b61436e6020830186613cf9565b61437b604083018561420b565b614388606083018461420b565b95945050505050565b60006080820190506143a66000830187613d75565b6143b36020830186613d75565b6143c0604083018561420b565b6143cd6060830184613cf9565b95945050505050565b60006080820190506143eb6000830187613d75565b6143f86020830186614247565b6144056040830185613d75565b6144126060830184613d75565b95945050505050565b600060208201905081810360008301526144358184613dd4565b905092915050565b6000602082019050818103600083015261445681613e0d565b9050919050565b6000602082019050818103600083015261447681613e30565b9050919050565b6000602082019050818103600083015261449681613e53565b9050919050565b600060208201905081810360008301526144b681613e76565b9050919050565b600060208201905081810360008301526144d681613e99565b9050919050565b600060208201905081810360008301526144f681613ebc565b9050919050565b6000602082019050818103600083015261451681613f02565b9050919050565b6000602082019050818103600083015261453681613f25565b9050919050565b6000602082019050818103600083015261455681613f48565b9050919050565b6000602082019050818103600083015261457681613f6b565b9050919050565b6000602082019050818103600083015261459681613f8e565b9050919050565b600060208201905081810360008301526145b681613fb1565b9050919050565b600060208201905081810360008301526145d681613fd4565b9050919050565b600060208201905081810360008301526145f681613ff7565b9050919050565b600060208201905081810360008301526146168161401a565b9050919050565b600060208201905081810360008301526146368161403d565b9050919050565b6000602082019050818103600083015261465681614060565b9050919050565b6000602082019050818103600083015261467681614083565b9050919050565b60006020820190508181036000830152614696816140a6565b9050919050565b600060208201905081810360008301526146b6816140c9565b9050919050565b600060208201905081810360008301526146d6816140ec565b9050919050565b600060208201905081810360008301526146f68161410f565b9050919050565b6000602082019050818103600083015261471681614132565b9050919050565b6000602082019050818103600083015261473681614155565b9050919050565b6000602082019050818103600083015261475681614178565b9050919050565b600060208201905081810360008301526147768161419b565b9050919050565b6000602082019050614792600083018461420b565b92915050565b60006040820190506147ad600083018561420b565b6147ba602083018461420b565b9392505050565b60006020820190506147d6600083018461421a565b92915050565b60006040820190506147f16000830185614238565b6147fe60208301846141fc565b9392505050565b600060208201905061481a6000830184614247565b92915050565b600061482a61483b565b90506148368282614ac2565b919050565b6000604051905090565b600067ffffffffffffffff8211156148605761485f614ba4565b5b61486982614bd3565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006148fd82614a45565b915061490883614a45565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561493d5761493c614b46565b5b828201905092915050565b600061495382614a45565b915061495e83614a45565b92508261496e5761496d614b75565b5b828204905092915050565b600061498482614a45565b915061498f83614a45565b9250828210156149a2576149a1614b46565b5b828203905092915050565b60006149b882614a01565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600077ffffffffffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614aad578082015181840152602081019050614a92565b83811115614abc576000848401525b50505050565b614acb82614bd3565b810181811067ffffffffffffffff82111715614aea57614ae9614ba4565b5b80604052505050565b6000614afe82614a45565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b3157614b30614b46565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f696e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f746f74616c20737570706c79206f766572666c6f77202875696e743139322900600082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f64656c65676174696f6e73206f6e20626568616c66206172652064697361626c60008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f696e76616c696420726563697069656e7420287472616e7366657220746f207460008201527f686520746f6b656e20736d61727420636f6e747261637420697473656c662900602082015250565b7f6e6f74207965742064657465726d696e65640000000000000000000000000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f696e76616c6964206e6f6e636500000000000000000000000000000000000000600082015250565b7f696e73756666696369656e742070726976696c656765732028524f4c455f544f60008201527f4b454e5f43524541544f52207265717569726564290000000000000000000000602082015250565b7f7a65726f2076616c7565206275726e0000000000000000000000000000000000600082015250565b7f7a65726f2076616c756520617070726f76616c20696e637265617365206f722060008201527f61726974686d65746963206f766572666c6f7700000000000000000000000000602082015250565b7f7a65726f2076616c756520617070726f76616c20646563726561736500000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f7a65726f2076616c7565206d696e74206f722061726974686d65746963206f7660008201527f6572666c6f770000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f696e73756666696369656e742070726976696c656765732028524f4c455f414360008201527f434553535f4d414e414745522072657175697265642900000000000000000000602082015250565b7f696e76616c6964206f6e4552433230526563656976656420726573706f6e7365600082015250565b7f64656c65676174696f6e73206172652064697361626c65640000000000000000600082015250565b7f73656e64657220616e6420726563697069656e7420617265207468652073616d60008201527f6520285f66726f6d203d205f746f290000000000000000000000000000000000602082015250565b7f7369676e61747572652065787069726564000000000000000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6152a0816149ad565b81146152ab57600080fd5b50565b6152b7816149cb565b81146152c257600080fd5b50565b6152ce816149d5565b81146152d957600080fd5b50565b6152e581614a45565b81146152f057600080fd5b50565b6152fc81614a73565b811461530757600080fd5b5056fea264697066735822122080dcaabafe53b430fd2f25df0afcb8fbddf2abce3d28e6142b65214faab0a6bc64736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102a05760003560e01c806384b34a3111610167578063c5ff500c116100ce578063e7a324dc11610087578063e7a324dc146108c6578063e98f5ba7146108e4578063eaeded5f14610902578063f63c2f8214610932578063f822d5aa14610950578063fcc2c07814610980576102a0565b8063c5ff500c146107de578063c688d693146107fc578063ce9517cf1461082c578063d5bb7f671461085c578063dd62ed3e14610878578063e62cac76146108a8576102a0565b8063a9059cbb11610120578063a9059cbb1461070a578063ae5b102e1461073a578063ae682e2e14610756578063b88d4fde14610774578063bb4d443614610790578063c0d6568d146107c0576102a0565b806384b34a31146106345780638d4e57e6146106645780638f6fba8c1461068257806395d89b41146106a05780639dc29fac146106be578063a457c2d7146106da576102a0565b8063395093511161020b57806363152a50116101c457806363152a501461051357806370a0823114610543578063725f36261461057357806374d5e100146105a35780637ecebe00146105d35780637fd491b014610603576102a0565b806339509351146104415780633e9c5f7e1461047157806340c10f191461048f578063523fba7f146104ab57806359b961ef146104db5780635c19a95c146104f7576102a0565b80631e0fa2341161025d5780631e0fa2341461036957806320606b701461039957806323b872dd146103b75780632b521416146103e75780632d4c39ea14610405578063313ce56714610423576102a0565b806306fdde03146102a5578063095ea7b3146102c357806315d2c225146102f357806318160ddd1461030f5780631993f5541461032d5780631a0b04ea1461034b575b600080fd5b6102ad6109b0565b6040516102ba919061441b565b60405180910390f35b6102dd60048036038101906102d89190613b7b565b6109e9565b6040516102ea9190614316565b60405180910390f35b61030d60048036038101906103089190613c06565b610c33565b005b610317610f7e565b604051610324919061477d565b60405180910390f35b610335610f84565b60405161034291906147c1565b60405180910390f35b610353610f89565b60405161036091906147c1565b60405180910390f35b610383600480360381019061037e9190613a4c565b610f8e565b604051610390919061428d565b60405180910390f35b6103a1610fc1565b6040516103ae9190614331565b60405180910390f35b6103d160048036038101906103cc9190613ab1565b610fe5565b6040516103de9190614316565b60405180910390f35b6103ef611066565b6040516103fc919061477d565b60405180910390f35b61040d6110ac565b60405161041a91906147c1565b60405180910390f35b61042b6110b1565b6040516104389190614805565b60405180910390f35b61045b60048036038101906104569190613b7b565b6110b6565b6040516104689190614316565b60405180910390f35b6104796111a3565b60405161048691906147c1565b60405180910390f35b6104a960048036038101906104a49190613b7b565b6111a8565b005b6104c560048036038101906104c09190613a4c565b61154a565b6040516104d2919061477d565b60405180910390f35b6104f560048036038101906104f09190613ab1565b611562565b005b610511600480360381019061050c9190613a4c565b611e4d565b005b61052d60048036038101906105289190613a75565b611ea9565b60405161053a919061477d565b60405180910390f35b61055d60048036038101906105589190613a4c565b611ece565b60405161056a919061477d565b60405180910390f35b61058d60048036038101906105889190613cb8565b611f17565b60405161059a9190614316565b60405180910390f35b6105bd60048036038101906105b89190613a4c565b611f31565b6040516105ca919061477d565b60405180910390f35b6105ed60048036038101906105e89190613a4c565b611f49565b6040516105fa919061477d565b60405180910390f35b61061d60048036038101906106189190613b7b565b611f61565b60405161062b9291906147dc565b60405180910390f35b61064e60048036038101906106499190613a4c565b611fd6565b60405161065b919061477d565b60405180910390f35b61066c612022565b60405161067991906147c1565b60405180910390f35b61068a612029565b60405161069791906147c1565b60405180910390f35b6106a861202e565b6040516106b5919061441b565b60405180910390f35b6106d860048036038101906106d39190613b7b565b612067565b005b6106f460048036038101906106ef9190613b7b565b6127b6565b6040516107019190614316565b60405180910390f35b610724600480360381019061071f9190613b7b565b6128dc565b6040516107319190614316565b60405180910390f35b610754600480360381019061074f9190613b7b565b6128f1565b005b61075e612a8d565b60405161076b919061477d565b60405180910390f35b61078e60048036038101906107899190613b00565b612ab1565b005b6107aa60048036038101906107a59190613a4c565b612bee565b6040516107b7919061477d565b60405180910390f35b6107c8612ce3565b6040516107d591906147c1565b60405180910390f35b6107e6612ce8565b6040516107f391906147c1565b60405180910390f35b61081660048036038101906108119190613b7b565b612cef565b6040516108239190614316565b60405180910390f35b61084660048036038101906108419190613a4c565b612d41565b60405161085391906142f4565b60405180910390f35b61087660048036038101906108719190613cb8565b612e6f565b005b610892600480360381019061088d9190613a75565b612e7d565b60405161089f919061477d565b60405180910390f35b6108b0612f04565b6040516108bd91906147c1565b60405180910390f35b6108ce612f0b565b6040516108db9190614331565b60405180910390f35b6108ec612f2f565b6040516108f991906147c1565b60405180910390f35b61091c60048036038101906109179190613b7b565b612f36565b604051610929919061477d565b60405180910390f35b61093a61316f565b60405161094791906147c1565b60405180910390f35b61096a60048036038101906109659190613bb7565b613174565b604051610977919061477d565b60405180910390f35b61099a60048036038101906109959190613cb8565b613215565b6040516109a79190614316565b60405180910390f35b6040518060400160405280601381526020017f457363726f77656420496c6c757669756d20320000000000000000000000000081525081565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a51906144bd565b60405180910390fd5b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f71594b34a69973da9bff6f72cc0aad2c51069b6b8e9c70c0648b58d10d7bd84b8386604051610bbb929190614798565b60405180910390a38373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92585604051610c20919061477d565b60405180910390a3600191505092915050565b610c43604063ffffffff16611f17565b610c82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c79906144dd565b60405180910390fd5b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666040518060400160405280601381526020017f457363726f77656420496c6c757669756d203200000000000000000000000000815250805190602001204630604051602001610cf79493929190614391565b60405160208183030381529060405280519060200120905060007fff41620983935eb4d4a3c7384a066ca8c1d10cef9a5eca9eb97ca735cd14a755888888604051602001610d48949392919061434c565b60405160208183030381529060405280519060200120905060008282604051602001610d75929190614256565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610db294939291906143d6565b6020604051602081039080840390855afa158015610dd4573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e479061445d565b60405180910390fd5b600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548914610ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec89061455d565b60405180910390fd5b874210610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a9061471d565b60405180910390fd5b600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610f6390614af3565b9190505550610f72818b613228565b50505050505050505050565b60015481565b600481565b600881565b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610ff7600463ffffffff16611f17565b806110115750611010836204000063ffffffff16612cef565b5b8061102a57506110296208000063ffffffff16613215565b5b1561103f5761103a848484611562565b61105b565b61105a84848460405180602001604052806000815250612ab1565b5b600190509392505050565b60008060008073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b604081565b601281565b600080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905080838261114591906148f2565b11611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c906145bd565b60405180910390fd5b61119a84848361119591906148f2565b6109e9565b91505092915050565b602081565b6111ba6201000063ffffffff16613215565b6111f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f09061457d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611269576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112609061475d565b60405180910390fd5b6001548160015461127a91906148f2565b116112ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b19061461d565b60405180910390fd5b77ffffffffffffffffffffffffffffffffffffffffffffffff8016816001546112e391906148f2565b1115611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b9061449d565b60405180910390fd5b806001600082825461133691906148f2565b9250508190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461138c91906148f2565b925050819055506113fe6000600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836133d0565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f9d228d69b5fdb8d273a2336f8fb8612d039631024ea9bf09c424a9503aa078f08360405161145b919061477d565b60405180910390a38173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f769254a71d2f67d8ac6cb44f2803c0d05cfbcf9effadb6a984f10ff9de3df6c3846040516114d8919061477d565b60405180910390a48173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161153e919061477d565b60405180910390a35050565b60026020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480156115a957506115a8600163ffffffff16611f17565b5b806115f857503373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156115f757506115f6600263ffffffff16611f17565b5b5b3373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614611666576040518060400160405280602081526020017f7472616e7366657273206f6e20626568616c66206172652064697361626c656481525061169d565b6040518060400160405280601681526020017f7472616e7366657273206172652064697361626c6564000000000000000000008152505b906116de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d5919061441b565b60405180910390fd5b50600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561174f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117469061467d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b69061443d565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561182e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611825906146fd565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561189d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611894906144fd565b60405180910390fd5b6000811415611910578173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611903919061477d565b60405180910390a3611e48565b3373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611b6f576000600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fe906145fd565b60405180910390fd5b8181611a139190614979565b905080600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f71594b34a69973da9bff6f72cc0aad2c51069b6b8e9c70c0648b58d10d7bd84b8484611af191906148f2565b84604051611b00929190614798565b60405180910390a33373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611b65919061477d565b60405180910390a3505b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611bf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be89061453d565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c409190614979565b9250508190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c9691906148f2565b92505081905550611d66600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836133d0565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f769254a71d2f67d8ac6cb44f2803c0d05cfbcf9effadb6a984f10ff9de3df6c384604051611dda919061477d565b60405180910390a48173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e3f919061477d565b60405180910390a35b505050565b611e5d602063ffffffff16611f17565b611e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e93906146dd565b60405180910390fd5b611ea63382613228565b50565b6006602052816000526040600020602052806000526040600020600091509150505481565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000611f2a611f24611066565b836134d8565b9050919050565b60006020528060005260406000206000915090505481565b60056020528060005260406000206000915090505481565b60046020528160005260406000208181548110611f7d57600080fd5b90600052602060002001600091509150508060000160009054906101000a900467ffffffffffffffff16908060000160089054906101000a900477ffffffffffffffffffffffffffffffffffffffffffffffff16905082565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b6201000081565b600281565b6040518060400160405280600581526020017f73494c563200000000000000000000000000000000000000000000000000000081525081565b6120796202000063ffffffff16613215565b61245a573373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161480156120c457506120c3600863ffffffff16611f17565b5b8061211357503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156121125750612111601063ffffffff16611f17565b5b5b3373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612181576040518060400160405280601c81526020017f6275726e73206f6e20626568616c66206172652064697361626c6564000000008152506121b8565b6040518060400160405280601281526020017f6275726e73206172652064697361626c656400000000000000000000000000008152505b906121f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f0919061441b565b60405180910390fd5b503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612459576000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156122f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e89061463d565b60405180910390fd5b81816122fd9190614979565b905080600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f71594b34a69973da9bff6f72cc0aad2c51069b6b8e9c70c0648b58d10d7bd84b84846123db91906148f2565b846040516123ea929190614798565b60405180910390a33373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161244f919061477d565b60405180910390a3505b5b600081141561249e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124959061459d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561250e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125059061465d565b60405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612590576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125879061447d565b60405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125df9190614979565b9250508190555080600160008282546125f89190614979565b9250508190555061266a600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000836133d0565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe8a89cc6e5096f9d9f43de82c077c1f4cfe707c0e0c2032176c68813b9ae6a5c836040516126c7919061477d565b60405180910390a3600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f769254a71d2f67d8ac6cb44f2803c0d05cfbcf9effadb6a984f10ff9de3df6c384604051612744919061477d565b60405180910390a4600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516127aa919061477d565b60405180910390a35050565b600080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000831161287b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612872906145dd565b60405180910390fd5b828110156128be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b59061473d565b60405180910390fd5b6128d38484836128ce9190614979565b6109e9565b91505092915050565b60006128e9338484610fe5565b905092915050565b61291a7f8000000000000000000000000000000000000000000000000000000000000000613215565b612959576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129509061469d565b60405180910390fd5b6129a2336000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483613174565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f5a10526456f5116c0b7b80582c217d666243fd51b6a2d92c8011e601c2462e5f836000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054604051612a81929190614798565b60405180910390a35050565b7f800000000000000000000000000000000000000000000000000000000000000081565b612abc848484611562565b612ac5836134e7565b15612be85760008373ffffffffffffffffffffffffffffffffffffffff16634fc35859338786866040518563ffffffff1660e01b8152600401612b0b94939291906142a8565b602060405180830381600087803b158015612b2557600080fd5b505af1158015612b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b5d9190613c8f565b9050634fc3585960e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdd906146bd565b60405180910390fd5b505b50505050565b600080600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000818054905014612cbe578060018280549050612c509190614979565b81548110612c87577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160000160089054906101000a900477ffffffffffffffffffffffffffffffffffffffffffffffff16612cc1565b60005b77ffffffffffffffffffffffffffffffffffffffffffffffff16915050919050565b600181565b6204000081565b6000612d396000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836134d8565b905092915050565b6060600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015612e64578382906000526020600020016040518060400160405290816000820160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160089054906101000a900477ffffffffffffffffffffffffffffffffffffffffffffffff1677ffffffffffffffffffffffffffffffffffffffffffffffff1677ffffffffffffffffffffffffffffffffffffffffffffffff168152505081526020019060010190612da2565b505050509050919050565b612e7a6000826128f1565b50565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6202000081565b7fff41620983935eb4d4a3c7384a066ca8c1d10cef9a5eca9eb97ca735cd14a75581565b6208000081565b6000438210612f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f719061451d565b60405180910390fd5b6000600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081805490501415612fd4576000915050613169565b828160018380549050612fe79190614979565b8154811061301e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff16116130605761305884612bee565b915050613169565b828160008154811061309b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1611156130d7576000915050613169565b806130e285856134fe565b81548110613119577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160000160089054906101000a900477ffffffffffffffffffffffffffffffffffffffffffffffff1677ffffffffffffffffffffffffffffffffffffffffffffffff169150505b92915050565b601081565b6000806000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811684179350827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1881167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1884169350839150509392505050565b60006132213383612cef565b9050919050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506133598284836133d0565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a450505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061340a5750600081145b15613414576134d3565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461347357600061345384612bee565b9050600082826134639190614979565b90506134708583836136d3565b50505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134d25760006134b283612bee565b9050600082826134c291906148f2565b90506134cf8483836136d3565b50505b5b505050565b60008182841614905092915050565b60008060009050823b905060008111915050919050565b600080600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600080600183805490506135569190614979565b90505b818111156136c6576000600283836135719190614979565b61357b9190614948565b826135869190614979565b905060008482815481106135c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020016040518060400160405290816000820160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160089054906101000a900477ffffffffffffffffffffffffffffffffffffffffffffffff1677ffffffffffffffffffffffffffffffffffffffffffffffff1677ffffffffffffffffffffffffffffffffffffffffffffffff1681525050905086816000015167ffffffffffffffff1614156136915781955050505050506136cd565b86816000015167ffffffffffffffff1610156136af578193506136bf565b6001826136bc9190614979565b92505b5050613559565b8193505050505b92915050565b6000600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081805490501415801561379e57504381600183805490506137399190614979565b81548110613770577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff16145b15613845578181600183805490506137b69190614979565b815481106137ed577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160000160086101000a81548177ffffffffffffffffffffffffffffffffffffffffffffffff021916908377ffffffffffffffffffffffffffffffffffffffffffffffff160217905550613925565b8060405180604001604052804367ffffffffffffffff1681526020018477ffffffffffffffffffffffffffffffffffffffffffffffff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060208201518160000160086101000a81548177ffffffffffffffffffffffffffffffffffffffffffffffff021916908377ffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505b8373ffffffffffffffffffffffffffffffffffffffff167f53ed7954de66613e30dd29b46ab783aa594e6309d021d8854c76bb3325d03aa3848460405161396d929190614798565b60405180910390a250505050565b600061398e61398984614845565b614820565b9050828152602081018484840111156139a657600080fd5b6139b1848285614a80565b509392505050565b6000813590506139c881615297565b92915050565b6000813590506139dd816152ae565b92915050565b6000815190506139f2816152c5565b92915050565b600082601f830112613a0957600080fd5b8135613a1984826020860161397b565b91505092915050565b600081359050613a31816152dc565b92915050565b600081359050613a46816152f3565b92915050565b600060208284031215613a5e57600080fd5b6000613a6c848285016139b9565b91505092915050565b60008060408385031215613a8857600080fd5b6000613a96858286016139b9565b9250506020613aa7858286016139b9565b9150509250929050565b600080600060608486031215613ac657600080fd5b6000613ad4868287016139b9565b9350506020613ae5868287016139b9565b9250506040613af686828701613a22565b9150509250925092565b60008060008060808587031215613b1657600080fd5b6000613b24878288016139b9565b9450506020613b35878288016139b9565b9350506040613b4687828801613a22565b925050606085013567ffffffffffffffff811115613b6357600080fd5b613b6f878288016139f8565b91505092959194509250565b60008060408385031215613b8e57600080fd5b6000613b9c858286016139b9565b9250506020613bad85828601613a22565b9150509250929050565b600080600060608486031215613bcc57600080fd5b6000613bda868287016139b9565b9350506020613beb86828701613a22565b9250506040613bfc86828701613a22565b9150509250925092565b60008060008060008060c08789031215613c1f57600080fd5b6000613c2d89828a016139b9565b9650506020613c3e89828a01613a22565b9550506040613c4f89828a01613a22565b9450506060613c6089828a01613a37565b9350506080613c7189828a016139ce565b92505060a0613c8289828a016139ce565b9150509295509295509295565b600060208284031215613ca157600080fd5b6000613caf848285016139e3565b91505092915050565b600060208284031215613cca57600080fd5b6000613cd884828501613a22565b91505092915050565b6000613ced83836141be565b60408301905092915050565b613d02816149ad565b82525050565b6000613d1382614886565b613d1d81856148b4565b9350613d2883614876565b8060005b83811015613d59578151613d408882613ce1565b9750613d4b836148a7565b925050600181019050613d2c565b5085935050505092915050565b613d6f816149bf565b82525050565b613d7e816149cb565b82525050565b613d95613d90826149cb565b614b3c565b82525050565b6000613da682614891565b613db081856148c5565b9350613dc0818560208601614a8f565b613dc981614bd3565b840191505092915050565b6000613ddf8261489c565b613de981856148d6565b9350613df9818560208601614a8f565b613e0281614bd3565b840191505092915050565b6000613e1a6023836148d6565b9150613e2582614be4565b604082019050919050565b6000613e3d6011836148d6565b9150613e4882614c33565b602082019050919050565b6000613e606022836148d6565b9150613e6b82614c5c565b604082019050919050565b6000613e83601f836148d6565b9150613e8e82614cab565b602082019050919050565b6000613ea66022836148d6565b9150613eb182614cd4565b604082019050919050565b6000613ec96022836148d6565b9150613ed482614d23565b604082019050919050565b6000613eec6002836148e7565b9150613ef782614d72565b600282019050919050565b6000613f0f603f836148d6565b9150613f1a82614d9b565b604082019050919050565b6000613f326012836148d6565b9150613f3d82614dea565b602082019050919050565b6000613f556026836148d6565b9150613f6082614e13565b604082019050919050565b6000613f78600d836148d6565b9150613f8382614e62565b602082019050919050565b6000613f9b6035836148d6565b9150613fa682614e8b565b604082019050919050565b6000613fbe600f836148d6565b9150613fc982614eda565b602082019050919050565b6000613fe16033836148d6565b9150613fec82614f03565b604082019050919050565b6000614004601c836148d6565b915061400f82614f52565b602082019050919050565b60006140276028836148d6565b915061403282614f7b565b604082019050919050565b600061404a6026836148d6565b915061405582614fca565b604082019050919050565b600061406d6024836148d6565b915061407882615019565b604082019050919050565b60006140906021836148d6565b915061409b82615068565b604082019050919050565b60006140b36025836148d6565b91506140be826150b7565b604082019050919050565b60006140d66036836148d6565b91506140e182615106565b604082019050919050565b60006140f96020836148d6565b915061410482615155565b602082019050919050565b600061411c6018836148d6565b91506141278261517e565b602082019050919050565b600061413f602f836148d6565b915061414a826151a7565b604082019050919050565b60006141626011836148d6565b915061416d826151f6565b602082019050919050565b60006141856025836148d6565b91506141908261521f565b604082019050919050565b60006141a8601f836148d6565b91506141b38261526e565b602082019050919050565b6040820160008201516141d46000850182614229565b5060208201516141e760208501826141ed565b50505050565b6141f681614a21565b82525050565b61420581614a21565b82525050565b61421481614a45565b82525050565b61422381614a4f565b82525050565b61423281614a5f565b82525050565b61424181614a5f565b82525050565b61425081614a73565b82525050565b600061426182613edf565b915061426d8285613d84565b60208201915061427d8284613d84565b6020820191508190509392505050565b60006020820190506142a26000830184613cf9565b92915050565b60006080820190506142bd6000830187613cf9565b6142ca6020830186613cf9565b6142d7604083018561420b565b81810360608301526142e98184613d9b565b905095945050505050565b6000602082019050818103600083015261430e8184613d08565b905092915050565b600060208201905061432b6000830184613d66565b92915050565b60006020820190506143466000830184613d75565b92915050565b60006080820190506143616000830187613d75565b61436e6020830186613cf9565b61437b604083018561420b565b614388606083018461420b565b95945050505050565b60006080820190506143a66000830187613d75565b6143b36020830186613d75565b6143c0604083018561420b565b6143cd6060830184613cf9565b95945050505050565b60006080820190506143eb6000830187613d75565b6143f86020830186614247565b6144056040830185613d75565b6144126060830184613d75565b95945050505050565b600060208201905081810360008301526144358184613dd4565b905092915050565b6000602082019050818103600083015261445681613e0d565b9050919050565b6000602082019050818103600083015261447681613e30565b9050919050565b6000602082019050818103600083015261449681613e53565b9050919050565b600060208201905081810360008301526144b681613e76565b9050919050565b600060208201905081810360008301526144d681613e99565b9050919050565b600060208201905081810360008301526144f681613ebc565b9050919050565b6000602082019050818103600083015261451681613f02565b9050919050565b6000602082019050818103600083015261453681613f25565b9050919050565b6000602082019050818103600083015261455681613f48565b9050919050565b6000602082019050818103600083015261457681613f6b565b9050919050565b6000602082019050818103600083015261459681613f8e565b9050919050565b600060208201905081810360008301526145b681613fb1565b9050919050565b600060208201905081810360008301526145d681613fd4565b9050919050565b600060208201905081810360008301526145f681613ff7565b9050919050565b600060208201905081810360008301526146168161401a565b9050919050565b600060208201905081810360008301526146368161403d565b9050919050565b6000602082019050818103600083015261465681614060565b9050919050565b6000602082019050818103600083015261467681614083565b9050919050565b60006020820190508181036000830152614696816140a6565b9050919050565b600060208201905081810360008301526146b6816140c9565b9050919050565b600060208201905081810360008301526146d6816140ec565b9050919050565b600060208201905081810360008301526146f68161410f565b9050919050565b6000602082019050818103600083015261471681614132565b9050919050565b6000602082019050818103600083015261473681614155565b9050919050565b6000602082019050818103600083015261475681614178565b9050919050565b600060208201905081810360008301526147768161419b565b9050919050565b6000602082019050614792600083018461420b565b92915050565b60006040820190506147ad600083018561420b565b6147ba602083018461420b565b9392505050565b60006020820190506147d6600083018461421a565b92915050565b60006040820190506147f16000830185614238565b6147fe60208301846141fc565b9392505050565b600060208201905061481a6000830184614247565b92915050565b600061482a61483b565b90506148368282614ac2565b919050565b6000604051905090565b600067ffffffffffffffff8211156148605761485f614ba4565b5b61486982614bd3565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006148fd82614a45565b915061490883614a45565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561493d5761493c614b46565b5b828201905092915050565b600061495382614a45565b915061495e83614a45565b92508261496e5761496d614b75565b5b828204905092915050565b600061498482614a45565b915061498f83614a45565b9250828210156149a2576149a1614b46565b5b828203905092915050565b60006149b882614a01565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600077ffffffffffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614aad578082015181840152602081019050614a92565b83811115614abc576000848401525b50505050565b614acb82614bd3565b810181811067ffffffffffffffff82111715614aea57614ae9614ba4565b5b80604052505050565b6000614afe82614a45565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b3157614b30614b46565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f696e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f746f74616c20737570706c79206f766572666c6f77202875696e743139322900600082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f64656c65676174696f6e73206f6e20626568616c66206172652064697361626c60008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f696e76616c696420726563697069656e7420287472616e7366657220746f207460008201527f686520746f6b656e20736d61727420636f6e747261637420697473656c662900602082015250565b7f6e6f74207965742064657465726d696e65640000000000000000000000000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f696e76616c6964206e6f6e636500000000000000000000000000000000000000600082015250565b7f696e73756666696369656e742070726976696c656765732028524f4c455f544f60008201527f4b454e5f43524541544f52207265717569726564290000000000000000000000602082015250565b7f7a65726f2076616c7565206275726e0000000000000000000000000000000000600082015250565b7f7a65726f2076616c756520617070726f76616c20696e637265617365206f722060008201527f61726974686d65746963206f766572666c6f7700000000000000000000000000602082015250565b7f7a65726f2076616c756520617070726f76616c20646563726561736500000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f7a65726f2076616c7565206d696e74206f722061726974686d65746963206f7660008201527f6572666c6f770000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f696e73756666696369656e742070726976696c656765732028524f4c455f414360008201527f434553535f4d414e414745522072657175697265642900000000000000000000602082015250565b7f696e76616c6964206f6e4552433230526563656976656420726573706f6e7365600082015250565b7f64656c65676174696f6e73206172652064697361626c65640000000000000000600082015250565b7f73656e64657220616e6420726563697069656e7420617265207468652073616d60008201527f6520285f66726f6d203d205f746f290000000000000000000000000000000000602082015250565b7f7369676e61747572652065787069726564000000000000000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6152a0816149ad565b81146152ab57600080fd5b50565b6152b7816149cb565b81146152c257600080fd5b50565b6152ce816149d5565b81146152d957600080fd5b50565b6152e581614a45565b81146152f057600080fd5b50565b6152fc81614a73565b811461530757600080fd5b5056fea264697066735822122080dcaabafe53b430fd2f25df0afcb8fbddf2abce3d28e6142b65214faab0a6bc64736f6c63430008040033

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.