Contract 0xf24be6c063bee7c7844dd90a21fdf7d783d41a94 1

Contract Overview

WingSwap: WIS Token
Balance:
0 FTM

FTM Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xca68296c5e1e16806526292d3b3d4fdf6d015542bb0b7dbdee7c1d339c019679Approve289963212022-01-25 10:19:462 mins ago0x78fec582b1a163c36ddc2d6de6885131fc965f14 IN  WingSwap: WIS Token0 FTM0.031894183683
0xc556cb04cd07c88f4c0d73436d6c531030cbaa382308ed4583b9b02530f843fdApprove289962512022-01-25 10:18:383 mins ago0x78fec582b1a163c36ddc2d6de6885131fc965f14 IN  WingSwap: WIS Token0 FTM0.045597094985
0xcd1065fabf630a26abd2084045369270aa569758fe02987f1841d9da635715a8Approve289915742022-01-25 9:04:081 hr 18 mins ago0x7bcf36566d6e5eb22abc1074bce58415c301c884 IN  WingSwap: WIS Token0 FTM0.04552511064
0xd8ce0c04d1d2f3951ad20ad51efab591fe84bb760ec6a0ebdcdd7c453b49aacfApprove289865472022-01-25 7:30:242 hrs 52 mins ago0x86b67a0ce2809df64d5ad2908234217a714e438a IN  WingSwap: WIS Token0 FTM0.009538810972
0xb1cf4e69904497a0da02f591c0b0b342cd93c71401837ba710413efe5cfd291aApprove289858632022-01-25 7:20:363 hrs 1 min ago0xa5851a0ad5205d3c49f70c6b8f73a1b1cae259b1 IN  WingSwap: WIS Token0 FTM0.010407045174
0xc0f18d7a3151fe3f9d8196bc6a316f85f80a9f00d4a5a3c7b2b5a8fbc4d37079Approve289822092022-01-25 6:29:353 hrs 52 mins ago0xb6f8424f5ce9f4d542d24f28b6389a06839f9402 IN  WingSwap: WIS Token0 FTM0.009880392273
0xe1eb47ac9197486d8ed72d8080a89eb7e584b07d5294fa76868cc7c766246dfcApprove289819582022-01-25 6:25:563 hrs 56 mins ago0xb6f8424f5ce9f4d542d24f28b6389a06839f9402 IN  WingSwap: WIS Token0 FTM0.011255960527
0x17c92e30f3e9679e1d76ab8331b94165da56c62df89015102f335f95a6d65ca1Approve289756962022-01-25 4:51:055 hrs 31 mins ago0xb7871690ec3186eb4d0d1acb2ddec866276c7d05 IN  WingSwap: WIS Token0 FTM0.010521090645
0x5a2d9bb9f2c432d0f55cdd9aecef109b237c0fb367bad603202e6889154963afApprove289698372022-01-25 3:27:466 hrs 54 mins agoWingSwap: Deployer IN  WingSwap: WIS Token0 FTM0.008820558031
0xa3b121ed6f57772531d1e1eea6a2c68f74756016061df5607fb2814319d61342Approve289682942022-01-25 3:05:577 hrs 16 mins ago0x1aea589a4141e36675488e7257319151f60c4826 IN  WingSwap: WIS Token0 FTM0.012107675501
0x0befef3e948332521fb72bf8572cc29684c1836cabb89484a79b52534afe304cApprove289515932022-01-24 23:05:5311 hrs 16 mins ago0xe6bea4725ffc4a55e35282c51cab3908a2298101 IN  WingSwap: WIS Token0 FTM0.020060567307
0xb9b7e15f2a6e21371352951a06a72e83a38777f5284a7e3bdb8ebef8f6a9d39bTransfer289463562022-01-24 21:45:3312 hrs 36 mins ago0x2edb754e17212a71dc8c45771358597bbf466e59 IN  WingSwap: WIS Token0 FTM0.016548937264
0x58ff472e4d8946fc5d2a79ea367a4805a9a6dbed3bd8110776b58fe98172bc32Approve289402962022-01-24 20:13:2514 hrs 9 mins ago0x13e15b81617c587d13eb88b3b54670287eb71786 IN  WingSwap: WIS Token0 FTM0.022335051475
0x716d0a41a7f95bde70b5530bb4d9b749597e66ae0861740215883a2a3062c341Approve289401352022-01-24 20:11:1314 hrs 11 mins ago0x9a654a992ea991bbcbdcfb4af12ad2ce31e70929 IN  WingSwap: WIS Token0 FTM0.029935135373
0x9576788c04c93b8c64ac4128180eb0c9365a1d4282eb0a231d4439d5646bd572Approve289353292022-01-24 19:02:0015 hrs 20 mins ago0x073859cda73a56d92a13dbe2b4e0b34def4756e8 IN  WingSwap: WIS Token0 FTM0.056970063046
0xe8f814ebb8747fc223c08d7c2f64f7d677f0f805d7943b0c436ff95e4feccdf9Approve289344712022-01-24 18:44:2715 hrs 38 mins ago0x05de62a0f819fc7e04c6ead7e1285c2f56096274 IN  WingSwap: WIS Token0 FTM0.048425245123
0x427a0e1f860f39ad47ad12c7c43d8052cc00cd8208658735b5ef2e1697e8347aApprove289340152022-01-24 18:34:3115 hrs 48 mins ago0xf37d145c08bd8c9b9a3f975fe8d76d6061b2aa60 IN  WingSwap: WIS Token0 FTM0.02389803
0x7981e220ceec8de3b5b4c620ef26fd3674bee424164f15e8478d834c6fd553e6Approve289273752022-01-24 16:47:4517 hrs 34 mins ago0x7f3c138ef4a893e82c3f07cdda2a20a63b928dea IN  WingSwap: WIS Token0 FTM0.043092387209
0xbcc1ac2739331e1445139b2cf3166ec7960b1b822350f5a8bfea7672eeb76e36Approve289271602022-01-24 16:44:4817 hrs 37 mins ago0xfaa9dd71625979ae12ca8cb8b88b36e7a162a500 IN  WingSwap: WIS Token0 FTM0.035479807536
0x8bbf0538632e2acee43ea4191d7e7620fa0c090b30b54388ff32733d20059e36Approve289257302022-01-24 16:19:2018 hrs 3 mins ago0x75fc9e75e58ae70e7c65613d008e33ee4670dccf IN  WingSwap: WIS Token0 FTM0.03283981248
0x63d95e07c3b814b6694e8158157618244620af1dfa2f0620c9e05b4bb7b7e007Approve289214842022-01-24 15:15:2719 hrs 7 mins ago0xfaf465153feea7edd668c4257018cfcfb0fffa18 IN  WingSwap: WIS Token0 FTM0.036346561884
0xf0ee07e30093a4ba8efc41da3d6bdea4c89c1beb10762ab7e381c9cc5f1e9332Approve289211462022-01-24 15:09:4019 hrs 12 mins ago0x6fbe8a6c7a38445a2a5b567e7e22937cea407a3b IN  WingSwap: WIS Token0 FTM0.038887034049
0xabf2a3b6cb5585fa5a243ebff71456d87fc6918c716c9107abcfe1b6aaccc0e1Approve289210522022-01-24 15:07:2019 hrs 15 mins ago0x6fbe8a6c7a38445a2a5b567e7e22937cea407a3b IN  WingSwap: WIS Token0 FTM0.019813957363
0x42ceffdbfa41b80b34b451642af09f03f89f2ff65992ddda260f44114a74d663Approve289188902022-01-24 14:29:1819 hrs 53 mins ago0xe5f8116c9013e89dce387e616e39179a958ffa5a IN  WingSwap: WIS Token0 FTM0.021186435016
0xe2bb61f4fff16e05d7ce0c0cc09fb2ca3ef87d9429035862647309f9b4575c99Transfer289158892022-01-24 13:43:2720 hrs 39 mins ago0xb32fc7b40a89e0547bd16664a57fcfceecbeeeec IN  WingSwap: WIS Token0 FTM0.008835565526
[ Download CSV Export 

OVERVIEW

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

Latest 4 internal transactions
Parent Txn Hash Block From To Value
0x555f54c98a14e19cf8d1b83147e018a246f80086a1021baefd9ff89947acab62283466802022-01-18 13:33:416 days 20 hrs ago 0x80d4b1d3c3579e87e9b6b12661badc8344833ca2 WingSwap: WIS Token9.269696331477843261 FTM
0x4206a33af9944fd4e2c0bdb85ddbe02d534d07527a968e0e931a2d013a3dd315275282752022-01-10 6:30:1215 days 3 hrs ago 0xf50ee9fbc2466368604bf27588c1d2917108cdd1 WingSwap: WIS Token0.9918462477645 FTM
0x8c72c6ae68dbccf0ec29b472e017a60198f2b57185e867a87d7cd4987646dfdf243946372021-12-08 22:30:5947 days 11 hrs ago 0xebf4fbb9c81b84dd5cf89bc75588e5d0018501b3 WingSwap: WIS Token8.99 FTM
0xf038ef1b28475ab4f86bc8ea55ac809d1ad51c0ab22fe5e8bec8f88568e42394231721822021-11-26 9:19:3060 days 1 hr 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.