Contract 0xf24be6c063bee7c7844dd90a21fdf7d783d41a94 2

 

Contract Overview

WingSwap: WIS Token
Balance:
0 FTM

FTM Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x56499b736d662148741faa25bb4d7c0df699c8ce98a0076660ef0f77cdbd53d7Transfer451345142022-08-18 1:16:515 hrs 51 mins ago0xae1d12d4262dd627976635d84d79025e04e5ac7f IN  WingSwap: WIS Token0 FTM0.004213743992
0x486fce1358f13fbf5f4fa12c3f4cceb4fad925bcdb1e944b3540dd36e6ab2238Approve451199112022-08-17 20:03:4311 hrs 4 mins ago0x4e01438fa7ce59626f720b1dbb46474a76041751 IN  WingSwap: WIS Token0 FTM0.000147540661
0x8b3a0daee9e4d7292ff8cd3ea83bb0f0e916ad8f9c836306076b0943b76eb7b1Transfer450877882022-08-17 8:51:5622 hrs 16 mins ago0xd7b8ff1459277c5c827f7e1b761a20c54d687296 IN  WingSwap: WIS Token0 FTM0.000179191746
0x5771cc74f7f862c53262e7ede67d6d1e6ae4a3dfb7061dca84664761ca051bacApprove450281232022-08-16 12:36:341 day 18 hrs ago0x3b79cc2e6f03c26d67ad25710f03ff2883e143eb IN  WingSwap: WIS Token0 FTM0.00009399
0x1158a48b397617aef55fc55da2f911ff186b84c557ddfa0a853de3de8507ee71Approve450192992022-08-16 9:37:051 day 21 hrs ago0x86e947bfaf7b21829543e1c8f8b53a5dd93f38e3 IN  WingSwap: WIS Token0 FTM0.000916408809
0x8ad70408fecc3218dcc0937bd5d8ea2595eb79941729e422971d18ad323b09f9Approve449945032022-08-16 1:11:112 days 5 hrs ago0xffd72ee4733f40aff95bb1004b1945887fb493cd IN  WingSwap: WIS Token0 FTM0.000166735237
0xa2bf0e7abd2748deb1e15c1d3c4365ca08fc2774dc148269f8ff6fd1eff00a5fApprove449935102022-08-16 0:50:592 days 6 hrs ago0x7b8541cf2083a33c13cd93a536ada9cd1a9d0010 IN  WingSwap: WIS Token0 FTM0.000082492722
0x171d1572f6169d81e6deeb67c5adceda9c8abb755b183b9f57fe81630954a5abApprove449412262022-08-15 6:33:133 days 35 mins ago0xe68a215b8dd829c1fa8096d4dff74ba9972a93e3 IN  WingSwap: WIS Token0 FTM0.000170986994
0x65190a0c60020b9a1e437f2e33ebe8286edb48aee6a301b7d40d9a40ff7e53fcApprove449051242022-08-14 18:12:523 days 12 hrs ago0xe087e491aee404c189e893c0e06f3e23a8575ccc IN  WingSwap: WIS Token0 FTM0.00009310653
0xd9dcbe1d20341687d54286afe2323454a0b2361774be842d19a4e97ea8c99132Approve449050992022-08-14 18:12:223 days 12 hrs ago0xe087e491aee404c189e893c0e06f3e23a8575ccc IN  WingSwap: WIS Token0 FTM0.000094036995
0x1eed3bf6d73e487aee406f7973a2ebcc805b3eec68cbacd94e1d7d4eab0d8b8eApprove448856142022-08-14 11:24:103 days 19 hrs ago0xa5025fb8366e17b3db66f10d281b3d6527c441df IN  WingSwap: WIS Token0 FTM0.0000731975
0xbb4371fb91e299c24a2772e893994036cc0401ee45d442238c534d4526d8f1c7Approve448855952022-08-14 11:23:483 days 19 hrs ago0xa5025fb8366e17b3db66f10d281b3d6527c441df IN  WingSwap: WIS Token0 FTM0.0001279225
0x2f5445c38e573d08566453703df1d37f1450a1d3fee8db0c4f6c6d4f21d79af4Approve448835002022-08-14 10:42:013 days 20 hrs ago0xee44fda9aa6921eaab4bb1f9a254635463f8665d IN  WingSwap: WIS Token0 FTM0.000075702022
0x1c700caccb25deea8319c4ec28d41880b463849eff9ac18a7885aa57935ccc87Transfer448294612022-08-13 16:43:414 days 14 hrs ago0x5b7f18c219088bc67f454c15cc294705df05c4d1 IN  WingSwap: WIS Token0 FTM0.000062718878
0xb1589d4a416b1e972934379322793f7168dff3be8f4933d854ed99422eff8dfeUnlock447989872022-08-13 6:18:545 days 49 mins ago0x7b18f4c08e54b6a5732bb9dcc31c4c4093dec704 IN  WingSwap: WIS Token0 FTM0.000466272604
0x1aa57607f71dc25c6806ddec8f23d238fe6e7b7ed5906963cf3bf89bb6d01c5aApprove446934892022-08-11 18:00:486 days 13 hrs ago0xe7d6454f4779154b436dcea0edc7824cd589d352 IN  WingSwap: WIS Token0 FTM0.00014012396
0xcb90dd32b98cd1e7bd973fc2d737a1a6c8f5a21f51c6dbb0d9082d2a9858399dApprove446195212022-08-10 15:45:537 days 15 hrs ago0xc3d8ef09cbe096a43245613a134415807bce0246 IN  WingSwap: WIS Token0 FTM0.000320861371
0xb8791443425462604dc54734a113f0d0874a35e91ea06d132b20a169260e87cfApprove445444192022-08-09 12:49:528 days 18 hrs ago0xf0b080f40b276f5fcfa28763fabcaf20c68ceeef IN  WingSwap: WIS Token0 FTM0.000095225941
0xbd1827382be8357c3a425330355953048df06006aa660886629c5fe53ce4964dTransfer445439462022-08-09 12:40:578 days 18 hrs ago0x8b3f9ccc9ecc10315d7e71360803a5bd35463804 IN  WingSwap: WIS Token0 FTM0.000258398726
0x468e968b1cc70ef2f044f7c5d646d2e02f05e6199c22cffeac39b4a3a32599d8Transfer445409742022-08-09 11:41:108 days 19 hrs ago0xf2eedbbebda6e35e24b690fc50b390f56d90da39 IN  WingSwap: WIS Token0 FTM0.000628995402
0x23775679ed48282ed6688d09541952e23edb9042e7b565b8870d999cd591f259Approve445270752022-08-09 6:38:409 days 29 mins ago0xedbd53698af07d89cadba17e6f10e1872e60db07 IN  WingSwap: WIS Token0 FTM0.000129650049
0xf95b43d9cf06abcbbb28633ad31e0d984118bbd77e26f2e7ed2968fdd118d2f8Transfer445268772022-08-09 6:34:479 days 33 mins ago0xa35d511d91a8558a6b33e337d48b2be91691e946 IN  WingSwap: WIS Token0 FTM0.00621797
0x49088c821ecb8b4e5344c6875bbc8bafb47a93174f3bc7573585a79427c895fbApprove444866252022-08-08 16:34:229 days 14 hrs ago0x6b3f1b5a69fa55f0170d4732f450c183350bb760 IN  WingSwap: WIS Token0 FTM0.000158936657
0xe75090260643c5ba6f34fc995c9a2be5e839171809d89f35d0ee7c0f67240e6cApprove444865952022-08-08 16:33:419 days 14 hrs ago0x6b3f1b5a69fa55f0170d4732f450c183350bb760 IN  WingSwap: WIS Token0 FTM0.000158856255
0x658360e59255b6a70921ee6d319c32733a9ac49e1a546fdfd3d44d045cc046ceApprove443409862022-08-06 12:13:1011 days 18 hrs ago0xadb68dde7cd1cc04b164b446cfbe189aa7426f69 IN  WingSwap: WIS Token0 FTM0.000116325
[ Download CSV Export 

OVERVIEW

WingSwap is a DeFi platform that provides both AMM and integrated NFT Farming on Fantom blockchain network.

Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xf038ef1b28475ab4f86bc8ea55ac809d1ad51c0ab22fe5e8bec8f88568e42394231721822021-11-26 9:19:30264 days 21 hrs ago WingSwap: Deployer  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WING

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 168 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 6 : WING.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.6.12;

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

abstract contract BPContract {
  function protect(
    address sender,
    address receiver,
    uint256 amount
  ) external virtual;
}

contract WING is ERC20("WingSwap", "WIS"), Ownable {
  /// @dev private state variables
  uint256 private _totalLock;
  mapping(address => uint256) private _locks;
  mapping(address => uint256) private _lastUnlockBlock;

  /// @dev public mutable state variables
  uint256 public cap;
  address public governor;
  uint256 public startReleaseBlock;
  uint256 public endReleaseBlock;

  /// @dev events
  event Lock(address indexed to, uint256 value);
  event CapChanged(uint256 prevCap, uint256 newCap);
  event GovernorChanged(address prevGovernor, address newGovernor);

  constructor(
    address _governor,
    uint256 _startReleaseBlock,
    uint256 _endReleaseBlock
  ) public {
    require(
      _governor != address(0) && _governor != address(1),
      "WING::constructor::_governor must not be address(0) or address(1)"
    );
    require(_endReleaseBlock > _startReleaseBlock, "WING::constructor::endReleaseBlock < startReleaseBlock");
    _setupDecimals(18);
    cap = uint256(-1);
    governor = _governor;
    startReleaseBlock = _startReleaseBlock;
    endReleaseBlock = _endReleaseBlock;
  }

  modifier onlyGovernor() {
    require(_msgSender() == governor, "WING::onlyGovernor::not governor");
    _;
  }

  function changeTimeReleaseBlock(uint256 _startReleaseBlock, uint256 _endReleaseBlock) onlyGovernor external {
    require(_endReleaseBlock > _startReleaseBlock, "WING::changeTimeReleaseBlock::endReleaseBlock < startReleaseBlock");
    startReleaseBlock = _startReleaseBlock;
    endReleaseBlock = _endReleaseBlock;
  }

  /// @dev Return unlocked WING
  function unlockedSupply() external view returns (uint256) {
    return totalSupply().sub(totalLock());
  }

  /// @dev Return totalLocked WING
  function totalLock() public view returns (uint256) {
    return _totalLock;
  }

  /// @dev Set cap. Cap must lower than previous cap. Only Governor can adjust
  /// @param _cap The new cap
  function setCap(uint256 _cap) external onlyGovernor {
    require(_cap < cap, "WING::setCap::_cap must < cap");
    uint256 prevCap = cap;
    cap = _cap;
    emit CapChanged(prevCap, cap);
  }

  /// @dev Set a new governor
  /// @param _governor The new governor
  function setGovernor(address _governor) external onlyGovernor {
    require(governor != _governor, "WING::setGovernor::no self set");
    address prevGov = governor;
    governor = _governor;
    emit GovernorChanged(prevGov, governor);
  }

  /// @dev A function to mint WING. This will be called by an owner only.
  /// @param _to The address of the account to get this newly mint WING
  /// @param _amount The amount to be minted
  function mint(address _to, uint256 _amount) external onlyOwner {
    require(totalSupply().add(_amount) < cap, "WING::mint::cap exceeded");
    _mint(_to, _amount);
    _moveDelegates(address(0), _delegates[_to], _amount);
  }

  /// @dev A generic transfer function with moveDelegates
  /// @param _recipient The address of the account that will be credited
  /// @param _amount The amount to be moved
  function transfer(address _recipient, uint256 _amount) public virtual override returns (bool) {
    _transfer(_msgSender(), _recipient, _amount);
    _moveDelegates(_delegates[_msgSender()], _delegates[_recipient], _amount);
    return true;
  }

  /// @dev A generic transferFrom function with moveDelegates
  /// @param _sender The address of the account that will be debited
  /// @param _recipient The address of the account that will be credited
  /// @param _amount The amount to be moved
  function transferFrom(
    address _sender,
    address _recipient,
    uint256 _amount
  ) public virtual override returns (bool) {
    _transfer(_sender, _recipient, _amount);
    _approve(
      _sender,
      _msgSender(),
      allowance(_sender, _msgSender()).sub(_amount, "WING::transferFrom::transfer amount exceeds allowance")
    );
    _moveDelegates(_delegates[_sender], _delegates[_recipient], _amount);
    return true;
  }

  /// @dev Return the total balance (locked + unlocked) of a given account
  /// @param _account The address that you want to know the total balance
  function totalBalanceOf(address _account) external view returns (uint256) {
    return _locks[_account].add(balanceOf(_account));
  }

  /// @dev Return the locked WING of a given account
  /// @param _account The address that you want to know the locked WING
  function lockOf(address _account) external view returns (uint256) {
    return _locks[_account];
  }

  /// @dev Return unlock for a given account
  /// @param _account The address that you want to know the last unlock block
  function lastUnlockBlock(address _account) external view returns (uint256) {
    return _lastUnlockBlock[_account];
  }

  /// @dev Lock WING based-on the command from MasterChef
  /// @param _account The address that will own this locked amount
  /// @param _amount The locked amount
  function lock(address _account, uint256 _amount) external onlyOwner {
    require(_account != address(this), "WING::lock::no lock to token address");
    require(_account != address(0), "WING::lock::no lock to address(0)");
    require(_amount <= balanceOf(_account), "WING::lock::no lock over balance");

    _transfer(_account, address(this), _amount);

    _locks[_account] = _locks[_account].add(_amount);
    _totalLock = _totalLock.add(_amount);

    if (_lastUnlockBlock[_account] < startReleaseBlock) {
      _lastUnlockBlock[_account] = startReleaseBlock;
    }

    emit Lock(_account, _amount);
  }

  /// @dev Return how many WING is unlocked for a given account
  /// @param _account The address that want to check canUnlockAmount
  function canUnlockAmount(address _account) public view returns (uint256) {
    // When block number less than startReleaseBlock, no WINGs can be unlocked
    if (block.number < startReleaseBlock) {
      return 0;
    }
    // When block number more than endReleaseBlock, all locked WINGs can be unlocked
    else if (block.number >= endReleaseBlock) {
      return _locks[_account];
    }
    // When block number is more than startReleaseBlock but less than endReleaseBlock,
    // some WINGs can be released
    else {
      uint256 releasedBlock = block.number.sub(_lastUnlockBlock[_account]);
      uint256 blockLeft = endReleaseBlock.sub(_lastUnlockBlock[_account]);
      return _locks[_account].mul(releasedBlock).div(blockLeft);
    }
  }

  /// @dev Claim unlocked WING after the release schedule is reached
  function unlock() external {
    require(_locks[msg.sender] > 0, "WING::unlock::no locked WING");

    uint256 amount = canUnlockAmount(msg.sender);

    _transfer(address(this), msg.sender, amount);
    _locks[msg.sender] = _locks[msg.sender].sub(amount);
    _lastUnlockBlock[msg.sender] = block.number;
    _totalLock = _totalLock.sub(amount);
  }

  /// @dev Move both locked and unlocked WING to another account
  /// @param _to The address to be received locked and unlocked WING
  function transferAll(address _to) external {
    require(msg.sender != _to, "WING::transferAll::no self-transferAll");

    _locks[_to] = _locks[_to].add(_locks[msg.sender]);

    if (_lastUnlockBlock[_to] < startReleaseBlock) {
      _lastUnlockBlock[_to] = startReleaseBlock;
    } else if (block.number < endReleaseBlock) {
      uint256 fromUnlocked = canUnlockAmount(msg.sender);
      uint256 toUnlocked = canUnlockAmount(_to);
      uint256 numerator = block
        .number
        .mul(_locks[msg.sender])
        .add(block.number.mul(_locks[_to]))
        .sub(endReleaseBlock.mul(fromUnlocked))
        .sub(endReleaseBlock.mul(toUnlocked));
      uint256 denominator = _locks[msg.sender].add(_locks[_to]).sub(fromUnlocked).sub(toUnlocked);
      _lastUnlockBlock[_to] = numerator.div(denominator);
    }

    _locks[msg.sender] = 0;
    _lastUnlockBlock[msg.sender] = 0;

    _moveDelegates(_delegates[_msgSender()], _delegates[_to], balanceOf(_msgSender()));
    _transfer(msg.sender, _to, balanceOf(_msgSender()));
  }

  // Copied and modified from YAM code:
  // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
  // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
  // Which is copied and modified from COMPOUND:
  // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

  mapping(address => address) internal _delegates;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  function _delegate(address delegator, address delegatee) internal {
    address currentDelegate = _delegates[delegator];
    uint256 delegatorBalance = balanceOf(delegator); // balance of underlying WINGs (not scaled);
    _delegates[delegator] = delegatee;

    emit DelegateChanged(delegator, currentDelegate, delegatee);

    _moveDelegates(currentDelegate, delegatee, delegatorBalance);
  }

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

      if (dstRep != address(0)) {
        // increase new representative
        uint32 dstRepNum = numCheckpoints[dstRep];
        uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
        uint256 dstRepNew = dstRepOld.add(amount);
        _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
      }
    }
  }

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

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

    emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
  }

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

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

  BPContract public BP;
  bool public bpEnabled;
  bool public BPDisabledForever = false;

  function setBPAddress(address _bp) external onlyGovernor {
    BP = BPContract(_bp);
  }

  function setBpEnabled(bool _enabled) external onlyGovernor {
    bpEnabled = _enabled;
  }

  function setBotProtectionDisableForever() external onlyGovernor {
    require(BPDisabledForever == false);
    BPDisabledForever = true;
  }

  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 amount
  ) internal virtual override {
    if (bpEnabled && !BPDisabledForever) {
      BP.protect(from, to, amount);
    }
  }
}

File 2 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

File 3 of 6 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../../utils/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.sol";

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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

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

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

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

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

File 4 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 5 of 6 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_governor","type":"address"},{"internalType":"uint256","name":"_startReleaseBlock","type":"uint256"},{"internalType":"uint256","name":"_endReleaseBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"prevCap","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newCap","type":"uint256"}],"name":"CapChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"prevGovernor","type":"address"},{"indexed":false,"internalType":"address","name":"newGovernor","type":"address"}],"name":"GovernorChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Lock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BP","outputs":[{"internalType":"contract BPContract","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BPDisabledForever","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bpEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"canUnlockAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startReleaseBlock","type":"uint256"},{"internalType":"uint256","name":"_endReleaseBlock","type":"uint256"}],"name":"changeTimeReleaseBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endReleaseBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"lastUnlockBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"lockOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","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":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bp","type":"address"}],"name":"setBPAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setBotProtectionDisableForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setBpEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cap","type":"uint256"}],"name":"setCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_governor","type":"address"}],"name":"setGovernor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startReleaseBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"totalBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLock","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":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"transferAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526011805460ff60a81b191690553480156200001e57600080fd5b5060405162002f7d38038062002f7d833981810160405260608110156200004457600080fd5b508051602080830151604093840151845180860186526008815267057696e67537761760c41b818501908152865180880190975260038088526257495360e81b958801959095528151959693959294919392620000a392919062000224565b508051620000b990600490602084019062000224565b50506005805460ff19166012179055506000620000d56200020a565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160a01b038316158015906200014e57506001600160a01b038316600114155b6200018b5760405162461bcd60e51b815260040180806020018281038252604181526020018062002f3c6041913960600191505060405180910390fd5b818111620001cb5760405162461bcd60e51b815260040180806020018281038252603681526020018062002f066036913960400191505060405180910390fd5b620001d760126200020e565b600019600955600a80546001600160a01b0319166001600160a01b039490941693909317909255600b55600c55620002c0565b3390565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200026757805160ff191683800117855562000297565b8280016001018555821562000297579182015b82811115620002975782518255916020019190600101906200027a565b50620002a5929150620002a9565b5090565b5b80821115620002a55760008155600101620002aa565b612c3680620002d06000396000f3fe608060405234801561001057600080fd5b50600436106102955760003560e01c806370a0823111610167578063a9059cbb116100ce578063d39b7e4f11610087578063d39b7e4f146107e2578063dd62ed3e14610808578063e7a324dc14610836578063f1127ed81461083e578063f2fde38b14610890578063fd3d27b8146108b657610295565b8063a9059cbb14610713578063b4b5ea571461073f578063c3cda52014610765578063c42cf535146107ac578063c818c280146107d2578063ce4079ef146107da57610295565b80638da5cb5b116101205780638da5cb5b146106a157806395d89b41146106a95780639cfdbd5e146106b1578063a3a7e7f3146106b9578063a457c2d7146106df578063a69df4b51461070b57610295565b806370a08231146105f3578063715018a614610619578063782d6fe1146106215780637ecebe001461064d5780637ee416151461067357806389a2867c1461067b57610295565b8063346168051161020b5780634b0ee02a116101c45780634b0ee02a146104f9578063587cde1e1461051f5780635a46d3b5146105455780635c19a95c1461056b578063621d5a35146105915780636fcfff45146105b457610295565b8063346168051461046c578063355274ea14610474578063395093511461047c5780633a1aae35146104a857806340c10f19146104b057806347786d37146104dc57610295565b806320606b701161025d57806320606b70146103bb578063206a8a22146103c357806323b872dd146103e457806326898da91461041a578063282d3fdf14610422578063313ce5671461044e57610295565b806306fdde031461029a578063095ea7b3146103175780630c340a241461035757806318160ddd1461037b578063202b176014610395575b600080fd5b6102a26108be565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102dc5781810151838201526020016102c4565b50505050905090810190601f1680156103095780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103436004803603604081101561032d57600080fd5b506001600160a01b038135169060200135610954565b604080519115158252519081900360200190f35b61035f610972565b604080516001600160a01b039092168252519081900360200190f35b610383610981565b60408051918252519081900360200190f35b610383600480360360208110156103ab57600080fd5b50356001600160a01b0316610987565b610383610a4d565b6103e2600480360360208110156103d957600080fd5b50351515610a71565b005b610343600480360360608110156103fa57600080fd5b506001600160a01b03813581169160208101359091169060400135610aec565b610343610b7b565b6103e26004803603604081101561043857600080fd5b506001600160a01b038135169060200135610b8b565b610456610db0565b6040805160ff9092168252519081900360200190f35b610343610db9565b610383610dc9565b6103436004803603604081101561049257600080fd5b506001600160a01b038135169060200135610dcf565b610383610e1d565b6103e2600480360360408110156104c657600080fd5b506001600160a01b038135169060200135610e23565b6103e2600480360360208110156104f257600080fd5b5035610f1f565b6103836004803603602081101561050f57600080fd5b50356001600160a01b0316611019565b61035f6004803603602081101561053557600080fd5b50356001600160a01b0316611046565b6103836004803603602081101561055b57600080fd5b50356001600160a01b0316611064565b6103e26004803603602081101561058157600080fd5b50356001600160a01b031661107f565b6103e2600480360360408110156105a757600080fd5b508035906020013561108c565b6105da600480360360208110156105ca57600080fd5b50356001600160a01b0316611132565b6040805163ffffffff9092168252519081900360200190f35b6103836004803603602081101561060957600080fd5b50356001600160a01b031661114a565b6103e2611165565b6103836004803603604081101561063757600080fd5b506001600160a01b038135169060200135611217565b6103836004803603602081101561066357600080fd5b50356001600160a01b031661141f565b610383611431565b6103836004803603602081101561069157600080fd5b50356001600160a01b0316611437565b61035f611452565b6102a2611466565b61035f6114c7565b6103e2600480360360208110156106cf57600080fd5b50356001600160a01b03166114d6565b610343600480360360408110156106f557600080fd5b506001600160a01b038135169060200135611721565b6103e2611789565b6103436004803603604081101561072957600080fd5b506001600160a01b03813516906020013561184d565b6103836004803603602081101561075557600080fd5b50356001600160a01b03166118ab565b6103e2600480360360c081101561077b57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a0013561190f565b6103e2600480360360208110156107c257600080fd5b50356001600160a01b0316611b82565b6103e2611ca4565b610383611d2d565b6103e2600480360360208110156107f857600080fd5b50356001600160a01b0316611d33565b6103836004803603604081101561081e57600080fd5b506001600160a01b0381358116916020013516611db2565b610383611ddd565b6108706004803603604081101561085457600080fd5b5080356001600160a01b0316906020013563ffffffff16611e01565b6040805163ffffffff909316835260208301919091528051918290030190f35b6103e2600480360360208110156108a657600080fd5b50356001600160a01b0316611e2e565b610383611f3c565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561094a5780601f1061091f5761010080835404028352916020019161094a565b820191906000526020600020905b81548152906001019060200180831161092d57829003601f168201915b5050505050905090565b6000610968610961611f56565b8484611f5a565b5060015b92915050565b600a546001600160a01b031681565b60025490565b6000600b5443101561099b57506000610a48565b600c5443106109c357506001600160a01b038116600090815260076020526040902054610a48565b6001600160a01b0382166000908152600860205260408120546109e7904390612046565b6001600160a01b038416600090815260086020526040812054600c549293509091610a1191612046565b6001600160a01b038516600090815260076020526040902054909150610a43908290610a3d90856120a3565b906120fc565b925050505b919050565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b600a546001600160a01b0316610a85611f56565b6001600160a01b031614610ace576040805162461bcd60e51b81526020600482018190526024820152600080516020612a53833981519152604482015290519081900360640190fd5b60118054911515600160a01b0260ff60a01b19909216919091179055565b6000610af9848484612163565b610b3f84610b05611f56565b610b3a85604051806060016040528060358152602001612afc60359139610b338a610b2e611f56565b611db2565b91906122be565b611f5a565b6001600160a01b038085166000908152600d6020526040808220548684168352912054610b7192918216911684612355565b5060019392505050565b601154600160a01b900460ff1681565b610b93611f56565b6001600160a01b0316610ba4611452565b6001600160a01b031614610bed576040805162461bcd60e51b81526020600482018190526024820152600080516020612a94833981519152604482015290519081900360640190fd5b6001600160a01b038216301415610c355760405162461bcd60e51b81526004018080602001828103825260248152602001806129af6024913960400191505060405180910390fd5b6001600160a01b038216610c7a5760405162461bcd60e51b8152600401808060200182810382526021815260200180612b7a6021913960400191505060405180910390fd5b610c838261114a565b811115610cd7576040805162461bcd60e51b815260206004820181905260248201527f57494e473a3a6c6f636b3a3a6e6f206c6f636b206f7665722062616c616e6365604482015290519081900360640190fd5b610ce2823083612163565b6001600160a01b038216600090815260076020526040902054610d059082612497565b6001600160a01b038316600090815260076020526040902055600654610d2b9082612497565b600655600b546001600160a01b0383166000908152600860205260409020541015610d6d57600b546001600160a01b0383166000908152600860205260409020555b6040805182815290516001600160a01b038416917f625fed9875dada8643f2418b838ae0bc78d9a148a18eee4ee1979ff0f3f5d427919081900360200190a25050565b60055460ff1690565b601154600160a81b900460ff1681565b60095481565b6000610968610ddc611f56565b84610b3a8560016000610ded611f56565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612497565b60065490565b610e2b611f56565b6001600160a01b0316610e3c611452565b6001600160a01b031614610e85576040805162461bcd60e51b81526020600482018190526024820152600080516020612a94833981519152604482015290519081900360640190fd5b600954610e9a82610e94610981565b90612497565b10610eec576040805162461bcd60e51b815260206004820152601860248201527f57494e473a3a6d696e743a3a6361702065786365656465640000000000000000604482015290519081900360640190fd5b610ef682826124f1565b6001600160a01b038083166000908152600d6020526040812054610f1b921683612355565b5050565b600a546001600160a01b0316610f33611f56565b6001600160a01b031614610f7c576040805162461bcd60e51b81526020600482018190526024820152600080516020612a53833981519152604482015290519081900360640190fd5b6009548110610fd2576040805162461bcd60e51b815260206004820152601d60248201527f57494e473a3a7365744361703a3a5f636170206d757374203c20636170000000604482015290519081900360640190fd5b6009805490829055604080518281526020810184905281517f7338f3784ceb8f9456bac0c4a69f1c6354dc325fa6455e3e3f6a8a9bf9249a7c929181900390910190a15050565b600061096c6110278361114a565b6001600160a01b03841660009081526007602052604090205490612497565b6001600160a01b039081166000908152600d60205260409020541690565b6001600160a01b031660009081526007602052604090205490565b61108933826125e1565b50565b600a546001600160a01b03166110a0611f56565b6001600160a01b0316146110e9576040805162461bcd60e51b81526020600482018190526024820152600080516020612a53833981519152604482015290519081900360640190fd5b8181116111275760405162461bcd60e51b8152600401808060200182810382526041815260200180612b9b6041913960600191505060405180910390fd5b600b91909155600c55565b600f6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b61116d611f56565b6001600160a01b031661117e611452565b6001600160a01b0316146111c7576040805162461bcd60e51b81526020600482018190526024820152600080516020612a94833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b60004382106112575760405162461bcd60e51b815260040180806020018281038252602781526020018061291a6027913960400191505060405180910390fd5b6001600160a01b0383166000908152600f602052604090205463ffffffff168061128557600091505061096c565b6001600160a01b0384166000908152600e6020908152604080832063ffffffff6000198601811685529252909120541683106112f4576001600160a01b0384166000908152600e602090815260408083206000199490940163ffffffff1683529290522060010154905061096c565b6001600160a01b0384166000908152600e6020908152604080832083805290915290205463ffffffff1683101561132f57600091505061096c565b600060001982015b8163ffffffff168163ffffffff1611156113e857600282820363ffffffff160481036113616128df565b506001600160a01b0387166000908152600e6020908152604080832063ffffffff8086168552908352928190208151808301909252805490931680825260019093015491810191909152908714156113c35760200151945061096c9350505050565b805163ffffffff168711156113da578193506113e1565b6001820392505b5050611337565b506001600160a01b0385166000908152600e6020908152604080832063ffffffff9094168352929052206001015491505092915050565b60106020526000908152604090205481565b600b5481565b6001600160a01b031660009081526008602052604090205490565b60055461010090046001600160a01b031690565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561094a5780601f1061091f5761010080835404028352916020019161094a565b6011546001600160a01b031681565b336001600160a01b038216141561151e5760405162461bcd60e51b81526004018080602001828103825260268152602001806129896026913960400191505060405180910390fd5b33600090815260076020526040808220546001600160a01b038416835291205461154791612497565b6001600160a01b038216600090815260076020908152604080832093909355600b54600890915291902054101561159957600b546001600160a01b038216600090815260086020526040902055611694565b600c544310156116945760006115ae33610987565b905060006115bb83610987565b905060006116316115d783600c546120a390919063ffffffff16565b600c5461162b906115e890876120a3565b6001600160a01b03881660009081526007602052604090205461162b906116109043906120a3565b33600090815260076020526040902054610e949043906120a3565b90612046565b6001600160a01b0385166000908152600760205260408082205433835290822054929350909161166a91859161162b9188918391612497565b905061167682826120fc565b6001600160a01b038616600090815260086020526040902055505050505b3360009081526007602090815260408083208390556008909152812081905561170c90600d906116c2611f56565b6001600160a01b03908116825260208083019390935260409182016000908120548683168252600d90945291909120549181169116611707611702611f56565b61114a565b612355565b611089338261171c611702611f56565b612163565b600061096861172e611f56565b84610b3a85604051806060016040528060258152602001612bdc6025913960016000611758611f56565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906122be565b336000908152600760205260409020546117ea576040805162461bcd60e51b815260206004820152601c60248201527f57494e473a3a756e6c6f636b3a3a6e6f206c6f636b65642057494e4700000000604482015290519081900360640190fd5b60006117f533610987565b9050611802303383612163565b3360009081526007602052604090205461181c9082612046565b3360009081526007602090815260408083209390935560089052204390556006546118479082612046565b60065550565b600061186161185a611f56565b8484612163565b610968600d6000611870611f56565b6001600160a01b03908116825260208083019390935260409182016000908120548883168252600d9094529190912054918116911684612355565b6001600160a01b0381166000908152600f602052604081205463ffffffff16806118d6576000611908565b6001600160a01b0383166000908152600e6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86661193a6108be565b80519060200120611949612676565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa158015611a7c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611ace5760405162461bcd60e51b81526004018080602001828103825260268152602001806129f96026913960400191505060405180910390fd5b6001600160a01b03811660009081526010602052604090208054600181019091558914611b2c5760405162461bcd60e51b8152600401808060200182810382526022815260200180612ab46022913960400191505060405180910390fd5b87421115611b6b5760405162461bcd60e51b8152600401808060200182810382526026815260200180612ad66026913960400191505060405180910390fd5b611b75818b6125e1565b505050505b505050505050565b600a546001600160a01b0316611b96611f56565b6001600160a01b031614611bdf576040805162461bcd60e51b81526020600482018190526024820152600080516020612a53833981519152604482015290519081900360640190fd5b600a546001600160a01b0382811691161415611c42576040805162461bcd60e51b815260206004820152601e60248201527f57494e473a3a736574476f7665726e6f723a3a6e6f2073656c66207365740000604482015290519081900360640190fd5b600a80546001600160a01b038381166001600160a01b0319831617928390556040805192821680845293909116602083015280517fde4b3f61490b74c0ed6237523974fe299126bbbf8a8a7482fd220104c59b0c849281900390910190a15050565b600a546001600160a01b0316611cb8611f56565b6001600160a01b031614611d01576040805162461bcd60e51b81526020600482018190526024820152600080516020612a53833981519152604482015290519081900360640190fd5b601154600160a81b900460ff1615611d1857600080fd5b6011805460ff60a81b1916600160a81b179055565b600c5481565b600a546001600160a01b0316611d47611f56565b6001600160a01b031614611d90576040805162461bcd60e51b81526020600482018190526024820152600080516020612a53833981519152604482015290519081900360640190fd5b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600e6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b611e36611f56565b6001600160a01b0316611e47611452565b6001600160a01b031614611e90576040805162461bcd60e51b81526020600482018190526024820152600080516020612a94833981519152604482015290519081900360640190fd5b6001600160a01b038116611ed55760405162461bcd60e51b81526004018080602001828103825260268152602001806129416026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000611f51611f49610e1d565b61162b610981565b905090565b3390565b6001600160a01b038316611f9f5760405162461bcd60e51b8152600401808060200182810382526024815260200180612b566024913960400191505060405180910390fd5b6001600160a01b038216611fe45760405162461bcd60e51b81526004018080602001828103825260228152602001806129676022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60008282111561209d576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000826120b25750600061096c565b828202828482816120bf57fe5b04146119085760405162461bcd60e51b8152600401808060200182810382526021815260200180612a736021913960400191505060405180910390fd5b6000808211612152576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161215b57fe5b049392505050565b6001600160a01b0383166121a85760405162461bcd60e51b8152600401808060200182810382526025815260200180612b316025913960400191505060405180910390fd5b6001600160a01b0382166121ed5760405162461bcd60e51b81526004018080602001828103825260238152602001806128f76023913960400191505060405180910390fd5b6121f883838361267a565b612235816040518060600160405280602681526020016129d3602691396001600160a01b03861660009081526020819052604090205491906122be565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546122649082612497565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561234d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156123125781810151838201526020016122fa565b50505050905090810190601f16801561233f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b816001600160a01b0316836001600160a01b0316141580156123775750600081115b15612492576001600160a01b03831615612409576001600160a01b0383166000908152600f602052604081205463ffffffff1690816123b75760006123e9565b6001600160a01b0385166000908152600e6020908152604080832063ffffffff60001987011684529091529020600101545b905060006123f78285612046565b90506124058684848461271c565b5050505b6001600160a01b03821615612492576001600160a01b0382166000908152600f602052604081205463ffffffff169081612444576000612476565b6001600160a01b0384166000908152600e6020908152604080832063ffffffff60001987011684529091529020600101545b905060006124848285612497565b9050611b7a8584848461271c565b505050565b600082820183811015611908576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b03821661254c576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6125586000838361267a565b6002546125659082612497565b6002556001600160a01b03821660009081526020819052604090205461258b9082612497565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038083166000908152600d6020526040812054909116906126088461114a565b6001600160a01b038581166000818152600d602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4612670828483612355565b50505050565b4690565b601154600160a01b900460ff16801561269d5750601154600160a81b900460ff16155b156124925760115460408051637e2f3afd60e01b81526001600160a01b03868116600483015285811660248301526044820185905291519190921691637e2f3afd91606480830192600092919082900301818387803b1580156126ff57600080fd5b505af1158015612713573d6000803e3d6000fd5b50505050505050565b600061274043604051806060016040528060348152602001612a1f60349139612881565b905060008463ffffffff1611801561278957506001600160a01b0385166000908152600e6020908152604080832063ffffffff6000198901811685529252909120548282169116145b156127c6576001600160a01b0385166000908152600e6020908152604080832063ffffffff60001989011684529091529020600101829055612837565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600e84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600f9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b60008164010000000084106128d75760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156123125781810151838201526020016122fa565b509192915050565b60408051808201909152600080825260208201529056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737357494e473a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e65644f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737357494e473a3a7472616e73666572416c6c3a3a6e6f2073656c662d7472616e73666572416c6c57494e473a3a6c6f636b3a3a6e6f206c6f636b20746f20746f6b656e206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636557494e473a3a64656c656761746542795369673a20696e76616c6964207369676e617475726557494e473a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747357494e473a3a6f6e6c79476f7665726e6f723a3a6e6f7420676f7665726e6f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657257494e473a3a64656c656761746542795369673a20696e76616c6964206e6f6e636557494e473a3a64656c656761746542795369673a207369676e6174757265206578706972656457494e473a3a7472616e7366657246726f6d3a3a7472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737357494e473a3a6c6f636b3a3a6e6f206c6f636b20746f206164647265737328302957494e473a3a6368616e676554696d6552656c65617365426c6f636b3a3a656e6452656c65617365426c6f636b203c20737461727452656c65617365426c6f636b45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122000d1ceaf78988ae0cdee8e9d00b03c7731b5a08d9254031620806f92ccfb485464736f6c634300060c003357494e473a3a636f6e7374727563746f723a3a656e6452656c65617365426c6f636b203c20737461727452656c65617365426c6f636b57494e473a3a636f6e7374727563746f723a3a5f676f7665726e6f72206d757374206e6f742062652061646472657373283029206f7220616464726573732831290000000000000000000000001171668b8717845c4761daf51d25020ec1eddfb80000000000000000000000000000000000000000000000000000000002ed16500000000000000000000000000000000000000000000000000000000002ee67d0

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

0000000000000000000000001171668b8717845c4761daf51d25020ec1eddfb80000000000000000000000000000000000000000000000000000000002ed16500000000000000000000000000000000000000000000000000000000002ee67d0

-----Decoded View---------------
Arg [0] : _governor (address): 0x1171668b8717845c4761daf51d25020ec1eddfb8
Arg [1] : _startReleaseBlock (uint256): 49092176
Arg [2] : _endReleaseBlock (uint256): 49178576

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000001171668b8717845c4761daf51d25020ec1eddfb8
Arg [1] : 0000000000000000000000000000000000000000000000000000000002ed1650
Arg [2] : 0000000000000000000000000000000000000000000000000000000002ee67d0


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.