Contract 0x30a63025504a6b9fa7e61a61a7e09894abefccfe

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xaa5f1a1790da6ee4170c9cae822ae68397b5500349962d4c5e7f2631cfc354850x60806040514222982022-11-25 8:36:108 days 4 hrs agoEqualizer DEX: Deployer IN  Create: MasterChef0 FTM0.1457752
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xaa5f1a1790da6ee4170c9cae822ae68397b5500349962d4c5e7f2631cfc35485514222982022-11-25 8:36:108 days 4 hrs ago Equalizer DEX: Deployer  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterChef

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2022-11-25
*/

// File: contracts/interfaces/IVotingEscrow.sol


pragma solidity 0.8.9;

interface IVotingEscrow {

    struct Point {
        int128 bias;
        int128 slope; // # -dweight / dt
        uint256 ts;
        uint256 blk; // block
    }

    function token() external view returns (address);
    function team() external returns (address);
    function epoch() external view returns (uint);
    function point_history(uint loc) external view returns (Point memory);
    function user_point_history(uint tokenId, uint loc) external view returns (Point memory);
    function user_point_epoch(uint tokenId) external view returns (uint);

    function ownerOf(uint) external view returns (address);
    function isApprovedOrOwner(address, uint) external view returns (bool);
    function transferFrom(address, address, uint) external;

    function voting(uint tokenId) external;
    function abstain(uint tokenId) external;
    function attach(uint tokenId) external;
    function detach(uint tokenId) external;

    function checkpoint() external;
    function deposit_for(uint tokenId, uint value) external;
    function create_lock_for(uint, uint, address) external returns (uint);

    function balanceOfNFT(uint) external view returns (uint);
    function totalSupply() external view returns (uint);
}

// File: contracts/interfaces/IEqual.sol


pragma solidity 0.8.9;

interface IEqual {
    function totalSupply() external view returns (uint);
    function balanceOf(address) external view returns (uint);
    function approve(address spender, uint value) external returns (bool);
    function transfer(address, uint) external returns (bool);
    function transferFrom(address,address,uint) external returns (bool);
    function mint(address, uint) external returns (bool);
    function minter() external returns (address);
}

// File: contracts/interfaces/IERC20.sol


pragma solidity 0.8.9;

interface IERC20 {
    function totalSupply() external view returns (uint256);
    function transfer(address recipient, uint amount) external returns (bool);
    function decimals() external view returns (uint8);
    function symbol() external view returns (string memory);
    function balanceOf(address) external view returns (uint);
    function transferFrom(address sender, address recipient, uint amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint);
    function approve(address spender, uint value) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint value);
    event Approval(address indexed owner, address indexed spender, uint value);
}

// File: @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;


/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

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

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original
     * initialization step. This is essential to configure modules that are added through upgrades and that require
     * initialization.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized < type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }
}

// File: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^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 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 ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

// File: @openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;



/**
 * @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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

// File: contracts/MasterChef.sol


pragma solidity ^0.8.0;





// The biggest change made is using per second instead of per block for rewards
// This is due to Fantoms extremely inconsistent block times
//
// Note that it's ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance smart contract once c is sufficiently
// distributed and the community can show to govern itself.

contract MasterChef is OwnableUpgradeable {
    // Info of each user.
    struct UserInfo {
        uint256 amount;     // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        uint256 pendingReward;
        //
        // We do some fancy math here. Basically, any point in time, the amount of EQUAL
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accEQUALPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accEQUALPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. EQUALs to distribute per block.
        uint256 lastRewardTime;  // Last block time that EQUALs distribution occurs.
        uint256 accEQUALPerShare; // Accumulated EQUALs per share, times 1e12. See below.
    }

    IEqual public equal;
    IVotingEscrow public ve;

    // EQUAL tokens created per second.
    uint256 public equalPerSecond;
 
    uint256 public constant MAX_ALLOC_POINT = 4000;
    uint256 public constant LOCK = 86400 * 7 * 26;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping (uint256 => mapping (address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint;
    // The block time when EQUAL mining starts.
    uint256 public startTime;
    // The block time when EQUAL mining stops.
    uint256 public endTime;

    bool public paused;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event Harvest(address indexed user, uint256 totalReward, uint256 tokenId);
    event Paused(address indexed operator);
    event Unpaused(address indexed operator);
    
    function initialize(
        address _ve,
        uint256 _equalPerSecond,
        uint256 _startTime,
        uint256 _endTime
    ) public initializer {
        __Ownable_init();
        equal = IEqual(IVotingEscrow(_ve).token());
        ve = IVotingEscrow(_ve);
        equalPerSecond = _equalPerSecond;
        startTime = _startTime;
        endTime = _endTime;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    function checkForDuplicate(IERC20 _lpToken) internal view {
        uint256 length = poolInfo.length;
        for (uint256 _pid = 0; _pid < length; _pid++) {
            require(poolInfo[_pid].lpToken != _lpToken, "add: pool already exists!!!!");
        }
    }

    // Add a new lp to the pool. Can only be called by the owner.
    function add(uint256 _allocPoint, IERC20 _lpToken) external onlyOwner {
        require(_allocPoint <= MAX_ALLOC_POINT, "add: too many alloc points!!");

        checkForDuplicate(_lpToken); // ensure you cant add duplicate pools

        massUpdatePools();

        uint256 lastRewardTime = block.timestamp > startTime ? block.timestamp : startTime;
        totalAllocPoint = totalAllocPoint + _allocPoint;
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardTime: lastRewardTime,
            accEQUALPerShare: 0
        }));
    }

    // Update the given pool's EQUAL allocation point. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint) external onlyOwner {
        require(_allocPoint <= MAX_ALLOC_POINT, "add: too many alloc points!!");

        massUpdatePools();

        totalAllocPoint = totalAllocPoint - poolInfo[_pid].allocPoint + _allocPoint;
        poolInfo[_pid].allocPoint = _allocPoint;
    }

    // Return reward multiplier over the given _from to _to timestamp.
    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
        _from = _from > startTime ? _from : startTime;
        if (_to < startTime || _from >= endTime) {
            return 0;
        } else if (_to <= endTime) {
            return _to - _from;
        } else {
            return endTime - _from;
        }
    }

    // View function to see pending EQUALs on frontend.
    function pendingEQUAL(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accEQUALPerShare = pool.accEQUALPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.timestamp > pool.lastRewardTime && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardTime, block.timestamp);
            uint256 equalReward = multiplier * equalPerSecond * pool.allocPoint / totalAllocPoint;
            accEQUALPerShare = accEQUALPerShare + (equalReward * 1e12 / lpSupply);
        }
        // modified;  return user.amount * accEQUALPerShare / 1e12 - user.rewardDebt
        return user.amount * accEQUALPerShare / 1e12 - user.rewardDebt + user.pendingReward;
    }

    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.timestamp <= pool.lastRewardTime) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardTime = block.timestamp;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardTime, block.timestamp);
        uint256 equalReward = multiplier * equalPerSecond * pool.allocPoint / totalAllocPoint;

        // IEqual(equal).mint(address(this), equalReward);

        pool.accEQUALPerShare = pool.accEQUALPerShare + (equalReward * 1e12 / lpSupply);
        pool.lastRewardTime = block.timestamp;
    }

    // Deposit LP tokens to MasterChef for EQUAL allocation.
    function deposit(uint256 _pid, uint256 _amount) public {
        require(!paused, "Paused");
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        updatePool(_pid);

        uint256 pending = user.amount * pool.accEQUALPerShare / 1e12 - user.rewardDebt;
    
        user.amount = user.amount + _amount;
        user.rewardDebt = user.amount * pool.accEQUALPerShare / 1e12;
        user.pendingReward = user.pendingReward + pending; // added
        // modified
        /* if(pending > 0) {
            safeEQUALTransfer(msg.sender, pending);
        } */
        pool.lpToken.transferFrom(address(msg.sender), address(this), _amount);

        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public {  
        require(!paused, "Paused");
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        require(user.amount >= _amount, "withdraw: not good");

        updatePool(_pid);

        uint256 pending = user.amount * pool.accEQUALPerShare / 1e12 - user.rewardDebt;

        user.amount = user.amount - _amount;
        user.rewardDebt = user.amount * pool.accEQUALPerShare / 1e12;
        user.pendingReward = user.pendingReward + pending; // added
        // modified
        /* if(pending > 0) {
            safeEQUALTransfer(msg.sender, pending);
        } */
        pool.lpToken.transfer(address(msg.sender), _amount);
        
        emit Withdraw(msg.sender, _pid, _amount);
    }

    function harvestAll() public {
        require(!paused, "Paused");
        uint256 length = poolInfo.length;
        uint calc;
        uint pending;
        UserInfo storage user;
        PoolInfo storage pool;
        uint totalPending;
        for (uint256 pid = 0; pid < length; ++pid) {
            user = userInfo[pid][msg.sender];
            if (user.amount > 0) {
                pool = poolInfo[pid];
                updatePool(pid);

                calc = user.amount * pool.accEQUALPerShare / 1e12;
                pending = calc - user.rewardDebt + user.pendingReward; // modified; pending = calc - user.rewardDebt;
                user.rewardDebt = calc;

                if(pending > 0) {
                    totalPending += pending;
                }
            }
        }
        uint256 tokenId;
        if (totalPending > 0) {
            // modified
            // safeEQUALTransfer(msg.sender, totalPending); 
            equal.approve(address(ve), totalPending);
            tokenId = ve.create_lock_for(totalPending, LOCK, msg.sender); // added
        }
        emit Harvest(msg.sender, totalPending, tokenId);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public {
        require(!paused, "Paused");
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        uint oldUserAmount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;

        pool.lpToken.transfer(address(msg.sender), oldUserAmount);
        emit EmergencyWithdraw(msg.sender, _pid, oldUserAmount);
    }

    // Safe EQUAL transfer function, just in case if rounding error causes pool to not have enough EQUALs.
    function safeEQUALTransfer(address _to, uint256 _amount) internal {
        uint256 equalBal = equal.balanceOf(address(this));
        if (_amount > equalBal) {
            equal.transfer(_to, equalBal);
        } else {
            equal.transfer(_to, _amount);
        }
    }

    /// @notice set start & end time for airdrop
    /// @param _startTime start time (in seconds)
    /// @param _duration staking duration (in days) 
    function setTime(uint256 _startTime, uint256 _duration) external onlyOwner {
        require(_startTime > block.timestamp, "Invalid start time");
        startTime = _startTime;
        endTime = _startTime + _duration * 1 days;
    }

    /// @notice set equalPerSecond value
    function setEqualPerSecond(uint256 _equalPerSecond) external onlyOwner {
        equalPerSecond = _equalPerSecond;
    }

    function pause() external onlyOwner {
        require(!paused, "Already paused");
        paused = true;
        emit Paused(msg.sender);
    }

    function unpause() external onlyOwner {
        require(paused, "not paused");
        paused = false;
        emit Unpaused(msg.sender);
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalReward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Harvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","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":"operator","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"LOCK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ALLOC_POINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"equal","outputs":[{"internalType":"contract IEqual","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"equalPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvestAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ve","type":"address"},{"internalType":"uint256","name":"_equalPerSecond","type":"uint256"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingEQUAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accEQUALPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_equalPerSecond","type":"uint256"}],"name":"setEqualPerSecond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"setTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"pendingReward","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ve","outputs":[{"internalType":"contract IVotingEscrow","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50611968806100206000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80635c975abb116101045780638dbb1e3a116100a2578063a4f0d7d011610071578063a4f0d7d014610400578063e2bbb1581461040a578063f2fde38b1461041d578063f958d1f91461043057600080fd5b80638dbb1e3a1461037d5780638ed955b91461039057806393f1a40b14610398578063a0355eca146103ed57600080fd5b8063715018a6116100de578063715018a61461035357806378e979251461035b5780638456cb59146103645780638da5cb5b1461036c57600080fd5b80635c975abb1461031b578063630b5ba1146103385780636a4a4ffb1461034057600080fd5b80632b8bbbe81161017c578063441a3e701161014b578063441a3e70146102cf5780634ec81af1146102e257806351eb05a6146102f55780635312ea8e1461030857600080fd5b80632b8bbbe8146102985780633197cbb6146102ab5780633e456ec9146102b45780633f4ba83a146102c757600080fd5b80631ab06ee5116101b85780631ab06ee51461023c5780631e228514146102515780631f8507161461027c5780632a1727061461028f57600080fd5b8063081e3eda146101df5780631526fe27146101f657806317caf6f114610233575b600080fd5b6068545b6040519081526020015b60405180910390f35b6102096102043660046116d9565b610439565b604080516001600160a01b03909516855260208501939093529183015260608201526080016101ed565b6101e3606a5481565b61024f61024a3660046116f2565b61047d565b005b606554610264906001600160a01b031681565b6040516001600160a01b0390911681526020016101ed565b606654610264906001600160a01b031681565b6101e360675481565b61024f6102a6366004611729565b610554565b6101e3606c5481565b6101e36102c2366004611729565b6106d3565b61024f610863565b61024f6102dd3660046116f2565b6108e1565b61024f6102f0366004611759565b610ad5565b61024f6103033660046116d9565b610c99565b61024f6103163660046116d9565b610dd8565b606d546103289060ff1681565b60405190151581526020016101ed565b61024f610f0a565b61024f61034e3660046116d9565b610f35565b61024f610f42565b6101e3606b5481565b61024f610f56565b6033546001600160a01b0316610264565b6101e361038b3660046116f2565b610fdc565b61024f61103a565b6103d26103a6366004611729565b606960209081526000928352604080842090915290825290208054600182015460029092015490919083565b604080519384526020840192909252908201526060016101ed565b61024f6103fb3660046116f2565b611293565b6101e362eff10081565b61024f6104183660046116f2565b611302565b61024f61042b366004611794565b6114ab565b6101e3610fa081565b6068818154811061044957600080fd5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b610485611524565b610fa08111156104dc5760405162461bcd60e51b815260206004820152601c60248201527f6164643a20746f6f206d616e7920616c6c6f6320706f696e747321210000000060448201526064015b60405180910390fd5b6104e4610f0a565b80606883815481106104f8576104f86117b8565b906000526020600020906004020160010154606a5461051791906117e4565b61052191906117fb565b606a81905550806068838154811061053b5761053b6117b8565b9060005260206000209060040201600101819055505050565b61055c611524565b610fa08211156105ae5760405162461bcd60e51b815260206004820152601c60248201527f6164643a20746f6f206d616e7920616c6c6f6320706f696e747321210000000060448201526064016104d3565b6105b78161157e565b6105bf610f0a565b6000606b5442116105d257606b546105d4565b425b905082606a546105e491906117fb565b606a55604080516080810182526001600160a01b0393841681526020810194855290810191825260006060820181815260688054600181018255925291517fa2153420d844928b4421650203c77babc8b33d7f2e7b450e2966db0c22097753600490920291820180546001600160a01b031916919095161790935592517fa2153420d844928b4421650203c77babc8b33d7f2e7b450e2966db0c22097754830155517fa2153420d844928b4421650203c77babc8b33d7f2e7b450e2966db0c2209775582015590517fa2153420d844928b4421650203c77babc8b33d7f2e7b450e2966db0c2209775690910155565b600080606884815481106106e9576106e96117b8565b600091825260208083208784526069825260408085206001600160a01b038981168752935280852060049485029092016003810154815492516370a0823160e01b8152309681019690965290965091949193919216906370a082319060240160206040518083038186803b15801561076057600080fd5b505afa158015610774573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107989190611813565b90508360020154421180156107ac57508015155b1561081a5760006107c1856002015442610fdc565b90506000606a548660010154606754846107db919061182c565b6107e5919061182c565b6107ef919061184b565b9050826108018264e8d4a5100061182c565b61080b919061184b565b61081590856117fb565b935050505b60028301546001840154845464e8d4a510009061083890869061182c565b610842919061184b565b61084c91906117e4565b61085691906117fb565b9450505050505b92915050565b61086b611524565b606d5460ff166108aa5760405162461bcd60e51b815260206004820152600a6024820152691b9bdd081c185d5cd95960b21b60448201526064016104d3565b606d805460ff1916905560405133907f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa90600090a2565b606d5460ff16156109045760405162461bcd60e51b81526004016104d39061186d565b600060688381548110610919576109196117b8565b6000918252602080832086845260698252604080852033865290925292208054600490920290920192508311156109875760405162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b60448201526064016104d3565b61099084610c99565b6000816001015464e8d4a51000846003015484600001546109b1919061182c565b6109bb919061184b565b6109c591906117e4565b82549091506109d59085906117e4565b808355600384015464e8d4a51000916109ee919061182c565b6109f8919061184b565b60018301556002820154610a0d9082906117fb565b6002830155825460405163a9059cbb60e01b8152336004820152602481018690526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b158015610a5d57600080fd5b505af1158015610a71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a95919061188d565b50604051848152859033907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568906020015b60405180910390a35050505050565b600054610100900460ff1615808015610af55750600054600160ff909116105b80610b0f5750303b158015610b0f575060005460ff166001145b610b725760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016104d3565b6000805460ff191660011790558015610b95576000805461ff0019166101001790555b610b9d611628565b846001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610bd657600080fd5b505afa158015610bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0e91906118af565b606580546001600160a01b03199081166001600160a01b0393841617909155606680549091169187169190911790556067849055606b839055606c8290558015610c92576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b600060688281548110610cae57610cae6117b8565b9060005260206000209060040201905080600201544211610ccd575050565b80546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610d1057600080fd5b505afa158015610d24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d489190611813565b905080610d5a57504260029091015550565b6000610d6a836002015442610fdc565b90506000606a54846001015460675484610d84919061182c565b610d8e919061182c565b610d98919061184b565b905082610daa8264e8d4a5100061182c565b610db4919061184b565b8460030154610dc391906117fb565b60038501555050426002909201919091555050565b606d5460ff1615610dfb5760405162461bcd60e51b81526004016104d39061186d565b600060688281548110610e1057610e106117b8565b600091825260208083208584526069825260408085203380875293528085208054868255600182019690965560049485029092018054915163a9059cbb60e01b8152948501939093526024840185905291945092916001600160a01b039091169063a9059cbb90604401602060405180830381600087803b158015610e9457600080fd5b505af1158015610ea8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecc919061188d565b50604051818152849033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959060200160405180910390a350505050565b60685460005b81811015610f3157610f2181610c99565b610f2a816118cc565b9050610f10565b5050565b610f3d611524565b606755565b610f4a611524565b610f546000611657565b565b610f5e611524565b606d5460ff1615610fa25760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481c185d5cd95960921b60448201526064016104d3565b606d805460ff1916600117905560405133907f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25890600090a2565b6000606b548311610fef57606b54610ff1565b825b9250606b548210806110055750606c548310155b156110125750600061085d565b606c54821161102c5761102583836117e4565b905061085d565b82606c5461102591906117e4565b606d5460ff161561105d5760405162461bcd60e51b81526004016104d39061186d565b606854600080808080805b8681101561112d576000818152606960209081526040808320338452909152902080549094501561111d57606881815481106110a6576110a66117b8565b906000526020600020906004020192506110bf81610c99565b6003830154845464e8d4a51000916110d69161182c565b6110e0919061184b565b955083600201548460010154876110f791906117e4565b61110191906117fb565b600185018790559450841561111d5761111a85836117fb565b91505b611126816118cc565b9050611068565b506000811561124f5760655460665460405163095ea7b360e01b81526001600160a01b0391821660048201526024810185905291169063095ea7b390604401602060405180830381600087803b15801561118657600080fd5b505af115801561119a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111be919061188d565b5060665460405163d4e54c3b60e01b81526004810184905262eff10060248201523360448201526001600160a01b039091169063d4e54c3b90606401602060405180830381600087803b15801561121457600080fd5b505af1158015611228573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124c9190611813565b90505b604080518381526020810183905233917f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954910160405180910390a250505050505050565b61129b611524565b4282116112df5760405162461bcd60e51b8152602060048201526012602482015271496e76616c69642073746172742074696d6560701b60448201526064016104d3565b606b8290556112f1816201518061182c565b6112fb90836117fb565b606c555050565b606d5460ff16156113255760405162461bcd60e51b81526004016104d39061186d565b60006068838154811061133a5761133a6117b8565b6000918252602080832086845260698252604080852033865290925292206004909102909101915061136b84610c99565b6000816001015464e8d4a510008460030154846000015461138c919061182c565b611396919061184b565b6113a091906117e4565b82549091506113b09085906117fb565b808355600384015464e8d4a51000916113c9919061182c565b6113d3919061184b565b600183015560028201546113e89082906117fb565b600283015582546040516323b872dd60e01b8152336004820152306024820152604481018690526001600160a01b03909116906323b872dd90606401602060405180830381600087803b15801561143e57600080fd5b505af1158015611452573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611476919061188d565b50604051848152859033907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1590602001610ac6565b6114b3611524565b6001600160a01b0381166115185760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104d3565b61152181611657565b50565b6033546001600160a01b03163314610f545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104d3565b60685460005b8181101561162357826001600160a01b0316606882815481106115a9576115a96117b8565b60009182526020909120600490910201546001600160a01b031614156116115760405162461bcd60e51b815260206004820152601c60248201527f6164643a20706f6f6c20616c726561647920657869737473212121210000000060448201526064016104d3565b8061161b816118cc565b915050611584565b505050565b600054610100900460ff1661164f5760405162461bcd60e51b81526004016104d3906118e7565b610f546116a9565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166116d05760405162461bcd60e51b81526004016104d3906118e7565b610f5433611657565b6000602082840312156116eb57600080fd5b5035919050565b6000806040838503121561170557600080fd5b50508035926020909101359150565b6001600160a01b038116811461152157600080fd5b6000806040838503121561173c57600080fd5b82359150602083013561174e81611714565b809150509250929050565b6000806000806080858703121561176f57600080fd5b843561177a81611714565b966020860135965060408601359560600135945092505050565b6000602082840312156117a657600080fd5b81356117b181611714565b9392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156117f6576117f66117ce565b500390565b6000821982111561180e5761180e6117ce565b500190565b60006020828403121561182557600080fd5b5051919050565b6000816000190483118215151615611846576118466117ce565b500290565b60008261186857634e487b7160e01b600052601260045260246000fd5b500490565b60208082526006908201526514185d5cd95960d21b604082015260600190565b60006020828403121561189f57600080fd5b815180151581146117b157600080fd5b6000602082840312156118c157600080fd5b81516117b181611714565b60006000198214156118e0576118e06117ce565b5060010190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea26469706673582212200b03df455aeb1515e329313c73ecabf35cd37d06d89c40cf6f03a383ca00179964736f6c63430008090033

Deployed ByteCode Sourcemap

21188:11525:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24082:95;24154:8;:15;24082:95;;;160:25:1;;;148:2;133:18;24082:95:0;;;;;;;;22797:26;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;644:32:1;;;626:51;;708:2;693:18;;686:34;;;;736:18;;;729:34;794:2;779:18;;772:34;613:3;598:19;22797:26:0;381:431:1;23040:30:0;;;;;;25242:325;;;;;;:::i;:::-;;:::i;:::-;;22525:19;;;;;-1:-1:-1;;;;;22525:19:0;;;;;;-1:-1:-1;;;;;1248:32:1;;;1230:51;;1218:2;1203:18;22525:19:0;1070:217:1;22551:23:0;;;;;-1:-1:-1;;;;;22551:23:0;;;22624:29;;;;;;24527:618;;;;;;:::i;:::-;;:::i;23205:22::-;;;;;;26069:855;;;;;;:::i;:::-;;:::i;32563:147::-;;;:::i;28905:828::-;;;;;;:::i;:::-;;:::i;23689:385::-;;;;;;:::i;:::-;;:::i;27263:747::-;;;;;;:::i;:::-;;:::i;30986:440::-;;;;;;:::i;:::-;;:::i;23236:18::-;;;;;;;;;;;;2965:14:1;;2958:22;2940:41;;2928:2;2913:18;23236::0;2800:187:1;27007:180:0;;;:::i;32278:122::-;;;;;;:::i;:::-;;:::i;19631:103::-;;;:::i;23126:24::-;;;;;;32408:147;;;:::i;18983:87::-;19056:6;;-1:-1:-1;;;;;19056:6:0;18983:87;;25647:357;;;;;;:::i;:::-;;:::i;29741:1174::-;;;:::i;22879:66::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3402:25:1;;;3458:2;3443:18;;3436:34;;;;3486:18;;;3479:34;3390:2;3375:18;22879:66:0;3200:319:1;31990:238:0;;;;;;:::i;:::-;;:::i;22716:45::-;;22747:14;22716:45;;28080:773;;;;;;:::i;:::-;;:::i;19889:201::-;;;;;;:::i;:::-;;:::i;22663:46::-;;22705:4;22663:46;;22797:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22797:26:0;;;;-1:-1:-1;22797:26:0;;;:::o;25242:325::-;18869:13;:11;:13::i;:::-;22705:4:::1;25328:11;:30;;25320:71;;;::::0;-1:-1:-1;;;25320:71:0;;3986:2:1;25320:71:0::1;::::0;::::1;3968:21:1::0;4025:2;4005:18;;;3998:30;4064;4044:18;;;4037:58;4112:18;;25320:71:0::1;;;;;;;;;25404:17;:15;:17::i;:::-;25498:11;25470:8;25479:4;25470:14;;;;;;;;:::i;:::-;;;;;;;;;;;:25;;;25452:15;;:43;;;;:::i;:::-;:57;;;;:::i;:::-;25434:15;:75;;;;25548:11;25520:8;25529:4;25520:14;;;;;;;;:::i;:::-;;;;;;;;;;;:25;;:39;;;;25242:325:::0;;:::o;24527:618::-;18869:13;:11;:13::i;:::-;22705:4:::1;24616:11;:30;;24608:71;;;::::0;-1:-1:-1;;;24608:71:0;;3986:2:1;24608:71:0::1;::::0;::::1;3968:21:1::0;4025:2;4005:18;;;3998:30;4064;4044:18;;;4037:58;4112:18;;24608:71:0::1;3784:352:1::0;24608:71:0::1;24692:27;24710:8;24692:17;:27::i;:::-;24771:17;:15;:17::i;:::-;24801:22;24844:9;;24826:15;:27;:57;;24874:9;;24826:57;;;24856:15;24826:57;24801:82;;24930:11;24912:15;;:29;;;;:::i;:::-;24894:15;:47:::0;24966:170:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;24966:170:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;24966:170:0;;;;;;24952:8:::1;:185:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;24952:185:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;24527:618::o;26069:855::-;26143:7;26163:21;26187:8;26196:4;26187:14;;;;;;;;:::i;:::-;;;;;;;;;26236;;;:8;:14;;;;;;-1:-1:-1;;;;;26236:21:0;;;;;;;;;;26187:14;;;;;;;26295:21;;;;26346:12;;:37;;-1:-1:-1;;;26346:37:0;;26377:4;26346:37;;;1230:51:1;;;;26187:14:0;;-1:-1:-1;26236:21:0;;26295;;26187:14;;26346:12;;:22;;1203:18:1;;26346:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26327:56;;26416:4;:19;;;26398:15;:37;:54;;;;-1:-1:-1;26439:13:0;;;26398:54;26394:343;;;26469:18;26490:51;26504:4;:19;;;26525:15;26490:13;:51::i;:::-;26469:72;;26556:19;26626:15;;26608:4;:15;;;26591:14;;26578:10;:27;;;;:::i;:::-;:45;;;;:::i;:::-;:63;;;;:::i;:::-;26556:85;-1:-1:-1;26716:8:0;26695:18;26556:85;26709:4;26695:18;:::i;:::-;:29;;;;:::i;:::-;26675:50;;:16;:50;:::i;:::-;26656:69;;26454:283;;26394:343;26898:18;;;;26880:15;;;;26840:11;;26873:4;;26840:30;;26854:16;;26840:30;:::i;:::-;:37;;;;:::i;:::-;:55;;;;:::i;:::-;:76;;;;:::i;:::-;26833:83;;;;;;26069:855;;;;;:::o;32563:147::-;18869:13;:11;:13::i;:::-;32620:6:::1;::::0;::::1;;32612:29;;;::::0;-1:-1:-1;;;32612:29:0;;5454:2:1;32612:29:0::1;::::0;::::1;5436:21:1::0;5493:2;5473:18;;;5466:30;-1:-1:-1;;;5512:18:1;;;5505:40;5562:18;;32612:29:0::1;5252:334:1::0;32612:29:0::1;32652:6;:14:::0;;-1:-1:-1;;32652:14:0::1;::::0;;32682:20:::1;::::0;32691:10:::1;::::0;32682:20:::1;::::0;32661:5:::1;::::0;32682:20:::1;32563:147::o:0;28905:828::-;28983:6;;;;28982:7;28974:26;;;;-1:-1:-1;;;28974:26:0;;;;;;;:::i;:::-;29011:21;29035:8;29044:4;29035:14;;;;;;;;:::i;:::-;;;;;;;;;29084;;;:8;:14;;;;;;29099:10;29084:26;;;;;;;29131:11;;29035:14;;;;;;;;-1:-1:-1;29131:22:0;-1:-1:-1;29131:22:0;29123:53;;;;-1:-1:-1;;;29123:53:0;;6127:2:1;29123:53:0;;;6109:21:1;6166:2;6146:18;;;6139:30;-1:-1:-1;;;6185:18:1;;;6178:48;6243:18;;29123:53:0;5925:342:1;29123:53:0;29189:16;29200:4;29189:10;:16::i;:::-;29218:15;29281:4;:15;;;29274:4;29250;:21;;;29236:4;:11;;;:35;;;;:::i;:::-;:42;;;;:::i;:::-;:60;;;;:::i;:::-;29323:11;;29218:78;;-1:-1:-1;29323:21:0;;29337:7;;29323:21;:::i;:::-;29309:35;;;29387:21;;;;29411:4;;29373:35;;29387:21;29373:35;:::i;:::-;:42;;;;:::i;:::-;29355:15;;;:60;29447:18;;;;:28;;29468:7;;29447:28;:::i;:::-;29426:18;;;:49;29613:12;;:51;;-1:-1:-1;;;29613:51:0;;29643:10;29613:51;;;6446::1;6513:18;;;6506:34;;;-1:-1:-1;;;;;29613:12:0;;;;:21;;6419:18:1;;29613:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;29690:35:0;;160:25:1;;;29711:4:0;;29699:10;;29690:35;;148:2:1;133:18;29690:35:0;;;;;;;;28961:772;;;28905:828;;:::o;23689:385::-;13524:19;13547:13;;;;;;13546:14;;13594:34;;;;-1:-1:-1;13612:12:0;;13627:1;13612:12;;;;:16;13594:34;13593:108;;;-1:-1:-1;13673:4:0;4286:19;:23;;;13634:66;;-1:-1:-1;13683:12:0;;;;;:17;13634:66;13571:204;;;;-1:-1:-1;;;13571:204:0;;7035:2:1;13571:204:0;;;7017:21:1;7074:2;7054:18;;;7047:30;7113:34;7093:18;;;7086:62;-1:-1:-1;;;7164:18:1;;;7157:44;7218:19;;13571:204:0;6833:410:1;13571:204:0;13786:12;:16;;-1:-1:-1;;13786:16:0;13801:1;13786:16;;;13813:67;;;;13848:13;:20;;-1:-1:-1;;13848:20:0;;;;;13813:67;23858:16:::1;:14;:16::i;:::-;23914:3;-1:-1:-1::0;;;;;23900:24:0::1;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;23885:5;:42:::0;;-1:-1:-1;;;;;;23885:42:0;;::::1;-1:-1:-1::0;;;;;23885:42:0;;::::1;;::::0;;;23938:2:::1;:23:::0;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;23972:14:::1;:32:::0;;;24015:9:::1;:22:::0;;;24048:7:::1;:18:::0;;;13902:102;;;;13953:5;13937:21;;-1:-1:-1;;13937:21:0;;;13978:14;;-1:-1:-1;7664:36:1;;13978:14:0;;7652:2:1;7637:18;13978:14:0;;;;;;;13902:102;13513:498;23689:385;;;;:::o;27263:747::-;27315:21;27339:8;27348:4;27339:14;;;;;;;;:::i;:::-;;;;;;;;;;;27315:38;;27387:4;:19;;;27368:15;:38;27364:77;;27423:7;27263:747;:::o;27364:77::-;27470:12;;:37;;-1:-1:-1;;;27470:37:0;;27501:4;27470:37;;;1230:51:1;27451:16:0;;-1:-1:-1;;;;;27470:12:0;;:22;;1203:18:1;;27470:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27451:56;-1:-1:-1;27522:13:0;27518:104;;-1:-1:-1;27574:15:0;27552:19;;;;:37;-1:-1:-1;27263:747:0:o;27518:104::-;27632:18;27653:51;27667:4;:19;;;27688:15;27653:13;:51::i;:::-;27632:72;;27715:19;27785:15;;27767:4;:15;;;27750:14;;27737:10;:27;;;;:::i;:::-;:45;;;;:::i;:::-;:63;;;;:::i;:::-;27715:85;-1:-1:-1;27945:8:0;27924:18;27715:85;27938:4;27924:18;:::i;:::-;:29;;;;:::i;:::-;27899:4;:21;;;:55;;;;:::i;:::-;27875:21;;;:79;-1:-1:-1;;27987:15:0;27965:19;;;;:37;;;;-1:-1:-1;;27263:747:0:o;30986:440::-;31054:6;;;;31053:7;31045:26;;;;-1:-1:-1;;;31045:26:0;;;;;;;:::i;:::-;31082:21;31106:8;31115:4;31106:14;;;;;;;;:::i;:::-;;;;;;;;;31155;;;:8;:14;;;;;;31170:10;31155:26;;;;;;;;31215:11;;31237:15;;;-1:-1:-1;31263:15:0;;:19;;;;31106:14;;;;;;;31295:12;;:57;;-1:-1:-1;;;31295:57:0;;;;;6446:51:1;;;;6513:18;;;6506:34;;;31106:14:0;;-1:-1:-1;31155:26:0;31215:11;-1:-1:-1;;;;;31295:12:0;;;;:21;;6419:18:1;;31295:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;31368:50:0;;160:25:1;;;31398:4:0;;31386:10;;31368:50;;148:2:1;133:18;31368:50:0;;;;;;;31034:392;;;30986:440;:::o;27007:180::-;27069:8;:15;27052:14;27095:85;27123:6;27117:3;:12;27095:85;;;27153:15;27164:3;27153:10;:15::i;:::-;27131:5;;;:::i;:::-;;;27095:85;;;;27041:146;27007:180::o;32278:122::-;18869:13;:11;:13::i;:::-;32360:14:::1;:32:::0;32278:122::o;19631:103::-;18869:13;:11;:13::i;:::-;19696:30:::1;19723:1;19696:18;:30::i;:::-;19631:103::o:0;32408:147::-;18869:13;:11;:13::i;:::-;32464:6:::1;::::0;::::1;;32463:7;32455:34;;;::::0;-1:-1:-1;;;32455:34:0;;8053:2:1;32455:34:0::1;::::0;::::1;8035:21:1::0;8092:2;8072:18;;;8065:30;-1:-1:-1;;;8111:18:1;;;8104:44;8165:18;;32455:34:0::1;7851:338:1::0;32455:34:0::1;32500:6;:13:::0;;-1:-1:-1;;32500:13:0::1;32509:4;32500:13;::::0;;32529:18:::1;::::0;32536:10:::1;::::0;32529:18:::1;::::0;32500:6:::1;::::0;32529:18:::1;32408:147::o:0;25647:357::-;25719:7;25755:9;;25747:5;:17;:37;;25775:9;;25747:37;;;25767:5;25747:37;25739:45;;25805:9;;25799:3;:15;:35;;;;25827:7;;25818:5;:16;;25799:35;25795:202;;;-1:-1:-1;25858:1:0;25851:8;;25795:202;25888:7;;25881:3;:14;25877:120;;25919:11;25925:5;25919:3;:11;:::i;:::-;25912:18;;;;25877:120;25980:5;25970:7;;:15;;;;:::i;29741:1174::-;29790:6;;;;29789:7;29781:26;;;;-1:-1:-1;;;29781:26:0;;;;;;;:::i;:::-;29835:8;:15;29818:14;;;;;;29996:558;30024:6;30018:3;:12;29996:558;;;30061:13;;;;:8;:13;;;;;;;;30075:10;30061:25;;;;;;;30105:11;;30061:25;;-1:-1:-1;30105:15:0;30101:442;;30148:8;30157:3;30148:13;;;;;;;;:::i;:::-;;;;;;;;;;;30141:20;;30180:15;30191:3;30180:10;:15::i;:::-;30237:21;;;;30223:11;;30261:4;;30223:35;;;:::i;:::-;:42;;;;:::i;:::-;30216:49;;30319:4;:18;;;30301:4;:15;;;30294:4;:22;;;;:::i;:::-;:43;;;;:::i;:::-;30403:15;;;:22;;;30284:53;-1:-1:-1;30449:11:0;;30446:82;;30485:23;30501:7;30485:23;;:::i;:::-;;;30446:82;30032:5;;;:::i;:::-;;;29996:558;;;-1:-1:-1;30564:15:0;30594:16;;30590:260;;30714:5;;30736:2;;30714:40;;-1:-1:-1;;;30714:40:0;;-1:-1:-1;;;;;30736:2:0;;;30714:40;;;6446:51:1;6513:18;;;6506:34;;;30714:5:0;;;:13;;6419:18:1;;30714:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;30779:2:0;;:50;;-1:-1:-1;;;30779:50:0;;;;;8396:25:1;;;22747:14:0;8437:18:1;;;8430:34;30818:10:0;8480:18:1;;;8473:60;-1:-1:-1;;;;;30779:2:0;;;;:18;;8369::1;;30779:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;30769:60;;30590:260;30865:42;;;8718:25:1;;;8774:2;8759:18;;8752:34;;;30873:10:0;;30865:42;;8691:18:1;30865:42:0;;;;;;;29770:1145;;;;;;;29741:1174::o;31990:238::-;18869:13;:11;:13::i;:::-;32097:15:::1;32084:10;:28;32076:59;;;::::0;-1:-1:-1;;;32076:59:0;;8999:2:1;32076:59:0::1;::::0;::::1;8981:21:1::0;9038:2;9018:18;;;9011:30;-1:-1:-1;;;9057:18:1;;;9050:48;9115:18;;32076:59:0::1;8797:342:1::0;32076:59:0::1;32146:9;:22:::0;;;32202:18:::1;:9:::0;32214:6:::1;32202:18;:::i;:::-;32189:31;::::0;:10;:31:::1;:::i;:::-;32179:7;:41:::0;-1:-1:-1;;31990:238:0:o;28080:773::-;28155:6;;;;28154:7;28146:26;;;;-1:-1:-1;;;28146:26:0;;;;;;;:::i;:::-;28183:21;28207:8;28216:4;28207:14;;;;;;;;:::i;:::-;;;;;;;;;28256;;;:8;:14;;;;;;28271:10;28256:26;;;;;;;28207:14;;;;;;;;-1:-1:-1;28295:16:0;28265:4;28295:10;:16::i;:::-;28324:15;28387:4;:15;;;28380:4;28356;:21;;;28342:4;:11;;;:35;;;;:::i;:::-;:42;;;;:::i;:::-;:60;;;;:::i;:::-;28433:11;;28324:78;;-1:-1:-1;28433:21:0;;28447:7;;28433:21;:::i;:::-;28419:35;;;28497:21;;;;28521:4;;28483:35;;28497:21;28483:35;:::i;:::-;:42;;;;:::i;:::-;28465:15;;;:60;28557:18;;;;:28;;28578:7;;28557:28;:::i;:::-;28536:18;;;:49;28723:12;;:70;;-1:-1:-1;;;28723:70:0;;28757:10;28723:70;;;9384:34:1;28778:4:0;9434:18:1;;;9427:43;9486:18;;;9479:34;;;-1:-1:-1;;;;;28723:12:0;;;;:25;;9319:18:1;;28723:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;28811:34:0;;160:25:1;;;28831:4:0;;28819:10;;28811:34;;148:2:1;133:18;28811:34:0;14:177:1;19889:201:0;18869:13;:11;:13::i;:::-;-1:-1:-1;;;;;19978:22:0;::::1;19970:73;;;::::0;-1:-1:-1;;;19970:73:0;;9726:2:1;19970:73:0::1;::::0;::::1;9708:21:1::0;9765:2;9745:18;;;9738:30;9804:34;9784:18;;;9777:62;-1:-1:-1;;;9855:18:1;;;9848:36;9901:19;;19970:73:0::1;9524:402:1::0;19970:73:0::1;20054:28;20073:8;20054:18;:28::i;:::-;19889:201:::0;:::o;19148:132::-;19056:6;;-1:-1:-1;;;;;19056:6:0;17101:10;19212:23;19204:68;;;;-1:-1:-1;;;19204:68:0;;10133:2:1;19204:68:0;;;10115:21:1;;;10152:18;;;10145:30;10211:34;10191:18;;;10184:62;10263:18;;19204:68:0;9931:356:1;24185:267:0;24271:8;:15;24254:14;24297:148;24327:6;24320:4;:13;24297:148;;;24392:8;-1:-1:-1;;;;;24366:34:0;:8;24375:4;24366:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:22;-1:-1:-1;;;;;24366:22:0;:34;;24358:75;;;;-1:-1:-1;;;24358:75:0;;10494:2:1;24358:75:0;;;10476:21:1;10533:2;10513:18;;;10506:30;10572;10552:18;;;10545:58;10620:18;;24358:75:0;10292:352:1;24358:75:0;24335:6;;;;:::i;:::-;;;;24297:148;;;;24243:209;24185:267;:::o;18526:97::-;15365:13;;;;;;;15357:69;;;;-1:-1:-1;;;15357:69:0;;;;;;;:::i;:::-;18589:26:::1;:24;:26::i;20250:191::-:0;20343:6;;;-1:-1:-1;;;;;20360:17:0;;;-1:-1:-1;;;;;;20360:17:0;;;;;;;20393:40;;20343:6;;;20360:17;20343:6;;20393:40;;20324:16;;20393:40;20313:128;20250:191;:::o;18631:113::-;15365:13;;;;;;;15357:69;;;;-1:-1:-1;;;15357:69:0;;;;;;;:::i;:::-;18704:32:::1;17101:10:::0;18704:18:::1;:32::i;196:180:1:-:0;255:6;308:2;296:9;287:7;283:23;279:32;276:52;;;324:1;321;314:12;276:52;-1:-1:-1;347:23:1;;196:180;-1:-1:-1;196:180:1:o;817:248::-;885:6;893;946:2;934:9;925:7;921:23;917:32;914:52;;;962:1;959;952:12;914:52;-1:-1:-1;;985:23:1;;;1055:2;1040:18;;;1027:32;;-1:-1:-1;817:248:1:o;1521:139::-;-1:-1:-1;;;;;1604:31:1;;1594:42;;1584:70;;1650:1;1647;1640:12;1665:337;1747:6;1755;1808:2;1796:9;1787:7;1783:23;1779:32;1776:52;;;1824:1;1821;1814:12;1776:52;1860:9;1847:23;1837:33;;1920:2;1909:9;1905:18;1892:32;1933:39;1966:5;1933:39;:::i;:::-;1991:5;1981:15;;;1665:337;;;;;:::o;2335:460::-;2421:6;2429;2437;2445;2498:3;2486:9;2477:7;2473:23;2469:33;2466:53;;;2515:1;2512;2505:12;2466:53;2554:9;2541:23;2573:39;2606:5;2573:39;:::i;:::-;2631:5;2683:2;2668:18;;2655:32;;-1:-1:-1;2734:2:1;2719:18;;2706:32;;2785:2;2770:18;2757:32;;-1:-1:-1;2335:460:1;-1:-1:-1;;;2335:460:1:o;3524:255::-;3583:6;3636:2;3624:9;3615:7;3611:23;3607:32;3604:52;;;3652:1;3649;3642:12;3604:52;3691:9;3678:23;3710:39;3743:5;3710:39;:::i;:::-;3768:5;3524:255;-1:-1:-1;;;3524:255:1:o;4141:127::-;4202:10;4197:3;4193:20;4190:1;4183:31;4233:4;4230:1;4223:15;4257:4;4254:1;4247:15;4273:127;4334:10;4329:3;4325:20;4322:1;4315:31;4365:4;4362:1;4355:15;4389:4;4386:1;4379:15;4405:125;4445:4;4473:1;4470;4467:8;4464:34;;;4478:18;;:::i;:::-;-1:-1:-1;4515:9:1;;4405:125::o;4535:128::-;4575:3;4606:1;4602:6;4599:1;4596:13;4593:39;;;4612:18;;:::i;:::-;-1:-1:-1;4648:9:1;;4535:128::o;4668:184::-;4738:6;4791:2;4779:9;4770:7;4766:23;4762:32;4759:52;;;4807:1;4804;4797:12;4759:52;-1:-1:-1;4830:16:1;;4668:184;-1:-1:-1;4668:184:1:o;4857:168::-;4897:7;4963:1;4959;4955:6;4951:14;4948:1;4945:21;4940:1;4933:9;4926:17;4922:45;4919:71;;;4970:18;;:::i;:::-;-1:-1:-1;5010:9:1;;4857:168::o;5030:217::-;5070:1;5096;5086:132;;5140:10;5135:3;5131:20;5128:1;5121:31;5175:4;5172:1;5165:15;5203:4;5200:1;5193:15;5086:132;-1:-1:-1;5232:9:1;;5030:217::o;5591:329::-;5793:2;5775:21;;;5832:1;5812:18;;;5805:29;-1:-1:-1;;;5865:2:1;5850:18;;5843:36;5911:2;5896:18;;5591:329::o;6551:277::-;6618:6;6671:2;6659:9;6650:7;6646:23;6642:32;6639:52;;;6687:1;6684;6677:12;6639:52;6719:9;6713:16;6772:5;6765:13;6758:21;6751:5;6748:32;6738:60;;6794:1;6791;6784:12;7248:259;7318:6;7371:2;7359:9;7350:7;7346:23;7342:32;7339:52;;;7387:1;7384;7377:12;7339:52;7419:9;7413:16;7438:39;7471:5;7438:39;:::i;7711:135::-;7750:3;-1:-1:-1;;7771:17:1;;7768:43;;;7791:18;;:::i;:::-;-1:-1:-1;7838:1:1;7827:13;;7711:135::o;10649:407::-;10851:2;10833:21;;;10890:2;10870:18;;;10863:30;10929:34;10924:2;10909:18;;10902:62;-1:-1:-1;;;10995:2:1;10980:18;;10973:41;11046:3;11031:19;;10649:407::o

Swarm Source

ipfs://0b03df455aeb1515e329313c73ecabf35cd37d06d89c40cf6f03a383ca001799
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.