MOVR Price: $2.22 (-3.89%)

Contract

0xD96a0539e4c89ba73Cc8a3A8Cc9f0e9ea3db29e3

Overview

MOVR Balance

Moonriver Chain LogoMoonriver Chain LogoMoonriver Chain Logo0 MOVR

MOVR Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Claim24651332022-08-29 10:35:301248 days ago1661769330IN
0xD96a0539...ea3db29e3
0 MOVR0.000116323
Redeem19364262022-06-01 3:10:241338 days ago1654053024IN
0xD96a0539...ea3db29e3
0 MOVR0.000121223
Claim19364262022-06-01 3:10:241338 days ago1654053024IN
0xD96a0539...ea3db29e3
0 MOVR0.000116323
Claim15529232022-03-04 8:20:301427 days ago1646382030IN
0xD96a0539...ea3db29e3
0 MOVR0.000155094
Claim15233992022-02-25 1:43:481434 days ago1645753428IN
0xD96a0539...ea3db29e3
0 MOVR0.000164083
Redeem14184312022-02-01 23:10:361457 days ago1643757036IN
0xD96a0539...ea3db29e3
0 MOVR0.000137463
Claim14184172022-02-01 23:07:421457 days ago1643756862IN
0xD96a0539...ea3db29e3
0 MOVR0.00006533
Redeem13015142022-01-15 11:38:121474 days ago1642246692IN
0xD96a0539...ea3db29e3
0 MOVR0.000137463
Claim13015102022-01-15 11:37:121474 days ago1642246632IN
0xD96a0539...ea3db29e3
0 MOVR0.00006533
Redeem12675592022-01-10 9:15:421479 days ago1641806142IN
0xD96a0539...ea3db29e3
0 MOVR0.000137463
Claim12675472022-01-10 9:12:421479 days ago1641805962IN
0xD96a0539...ea3db29e3
0 MOVR0.00006533
Redeem12348222022-01-05 13:05:481484 days ago1641387948IN
0xD96a0539...ea3db29e3
0 MOVR0.000079863
Claim12336072022-01-05 8:46:361484 days ago1641372396IN
0xD96a0539...ea3db29e3
0 MOVR0.00006533
Claim11672692021-12-26 12:28:361494 days ago1640521716IN
0xD96a0539...ea3db29e3
0 MOVR0.00006533
Redeem11672622021-12-26 12:26:541494 days ago1640521614IN
0xD96a0539...ea3db29e3
0 MOVR0.00013753
Redeem11629132021-12-25 21:00:001495 days ago1640466000IN
0xD96a0539...ea3db29e3
0 MOVR0.000137463
Claim11629122021-12-25 20:59:481495 days ago1640465988IN
0xD96a0539...ea3db29e3
0 MOVR0.00006533
Redeem11621162021-12-25 18:10:481495 days ago1640455848IN
0xD96a0539...ea3db29e3
0 MOVR0.00013753
Claim11620982021-12-25 18:07:001495 days ago1640455620IN
0xD96a0539...ea3db29e3
0 MOVR0.00006533
Redeem11603712021-12-25 12:00:541495 days ago1640433654IN
0xD96a0539...ea3db29e3
0 MOVR0.00013753
Claim11603102021-12-25 11:48:061495 days ago1640432886IN
0xD96a0539...ea3db29e3
0 MOVR0.00006533
Claim11481642021-12-23 16:32:061497 days ago1640277126IN
0xD96a0539...ea3db29e3
0 MOVR0.00006533
Redeem11480292021-12-23 16:00:241497 days ago1640275224IN
0xD96a0539...ea3db29e3
0 MOVR0.000137463
Claim11467182021-12-23 11:16:421497 days ago1640258202IN
0xD96a0539...ea3db29e3
0 MOVR0.00006533
Claim11308932021-12-21 3:10:541500 days ago1640056254IN
0xD96a0539...ea3db29e3
0 MOVR0.000021761.000001
View all transactions

View more zero value Internal Transactions in Advanced View mode

Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xa8Bb6b5E...0379dB055
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Stake

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at moonriver.moonscan.io on 2022-04-19
*/

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol



pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol



pragma solidity ^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: contracts/libraries/AdminUpgradeable.sol



pragma solidity >=0.8.0;

abstract contract AdminUpgradeable {
    address public admin;
    address public adminCandidate;

    function _initializeAdmin(address _admin) internal {
        require(admin == address(0), "admin already set");

        admin = _admin;
    }

    function candidateConfirm() external {
        require(msg.sender == adminCandidate, "not Candidate");
        emit AdminChanged(admin, adminCandidate);

        admin = adminCandidate;
        adminCandidate = address(0);
    }

    function setAdminCandidate(address _candidate) external onlyAdmin {
        adminCandidate = _candidate;
        emit Candidate(_candidate);
    }

    modifier onlyAdmin {
        require(msg.sender == admin, "not admin");
        _;
    }

    event Candidate(address indexed newAdmin);
    event AdminChanged(address indexed oldAdmin, address indexed newAdmin);
}
// File: contracts/core/interfaces/IFactory.sol



pragma solidity >=0.8.0;

interface IFactory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint256
    );
    event PairCreateLocked(
        address indexed caller
    );
    event PairCreateUnlocked(
        address indexed caller
    );
    event BootstrapSetted(
        address indexed tokenA,
        address indexed tokenB,
        address indexed bootstrap
    );
    event FeetoUpdated(
        address indexed feeto
    );
    event FeeBasePointUpdated(
        uint8 basePoint
    );

    function feeto() external view returns (address);

    function feeBasePoint() external view returns (uint8);

    function lockForPairCreate() external view returns (bool);

    function getPair(address tokenA, address tokenB)
        external
        view
        returns (address pair);
    
    function getBootstrap(address tokenA, address tokenB)
        external
        view
        returns (address bootstrap);

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

    function createPair(address tokenA, address tokenB)
        external
        returns (address pair);
}

// File: contracts/core/interfaces/IPair.sol



pragma solidity >=0.8.0;

interface IPair {
    event Mint(address indexed sender, uint256 amount0, uint256 amount1);
    event Burn(
        address indexed sender,
        uint256 amount0,
        uint256 amount1,
        address indexed to
    );
    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (uint112 reserve0, uint112 reserve1);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to
    ) external;

    function initialize(address, address) external;
}

// File: contracts/libraries/Math.sol



pragma solidity >=0.8.0;

// a library for performing various math operations

library Math {
    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }

    function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x + y) >= x, "ds-math-add-overflow");
    }

    function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x - y) <= x, "ds-math-sub-underflow");
    }

    function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require(y == 0 || (z = x * y) / y == x, "ds-math-mul-overflow");
    }
}

// File: contracts/libraries/Helper.sol



pragma solidity >=0.8.0;




library Helper {
    using Math for uint256;

    function sortTokens(address tokenA, address tokenB)
        internal
        pure
        returns (address token0, address token1)
    {
        require(tokenA != tokenB, "Helper: IDENTICAL_ADDRESSES");
        (token0, token1) = tokenA < tokenB
            ? (tokenA, tokenB)
            : (tokenB, tokenA);
        require(token0 != address(0), "Helper: ZERO_ADDRESS");
    }

    function pairFor(
        address factory,
        address tokenA,
        address tokenB
    ) internal view returns (address pair) {
        return IFactory(factory).getPair(tokenA, tokenB);
    }

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) internal pure returns (uint256 amountB) {
        require(amountA > 0, "INSUFFICIENT_AMOUNT");
        require(reserveA > 0 && reserveB > 0, "INSUFFICIENT_LIQUIDITY");
        amountB = amountA.mul(reserveB) / reserveA;
    }

    function getReserves(
        address factory,
        address tokenA,
        address tokenB
    ) internal view returns (uint256 reserveA, uint256 reserveB) {
        (address token0, ) = sortTokens(tokenA, tokenB);
        (uint256 reserve0, uint256 reserve1) = IPair(
            pairFor(factory, tokenA, tokenB)
        ).getReserves();
        (reserveA, reserveB) = tokenA == token0
            ? (reserve0, reserve1)
            : (reserve1, reserve0);
    }

    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
        (bool success, bytes memory data) = token.call(
            abi.encodeWithSelector(0x23b872dd, from, to, value)
        );
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            "TransferHelper::transferFrom: transferFrom failed"
        );
    }

    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transfer(address,uint256)')));
        (bool success, bytes memory data) = token.call(
            abi.encodeWithSelector(0xa9059cbb, to, value)
        );
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            "TransferHelper::safeTransfer: transfer failed"
        );
    }

    function safeTransferNativeCurrency(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(
            success,
            "TransferHelper::safeTransferNativeCurrency: NativeCurrency transfer failed"
        );
    }

    // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) internal pure returns (uint256 amountOut) {
        require(amountIn > 0, "Helper: INSUFFICIENT_INPUT_AMOUNT");
        require(
            reserveIn > 0 && reserveOut > 0,
            "Helper: INSUFFICIENT_LIQUIDITY"
        );
        uint256 amountInWithFee = amountIn.mul(997);
        uint256 numerator = amountInWithFee.mul(reserveOut);
        uint256 denominator = reserveIn.mul(1000).add(amountInWithFee);
        amountOut = numerator / denominator;
    }

    // given an output amount of an asset and pair reserves, returns a required input amount of the other asset
    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) internal pure returns (uint256 amountIn) {
        require(amountOut > 0, "Helper: INSUFFICIENT_OUTPUT_AMOUNT");
        require(
            reserveIn > 0 && reserveOut > 0,
            "Helper: INSUFFICIENT_LIQUIDITY"
        );
        uint256 numerator = reserveIn.mul(amountOut).mul(1000);
        uint256 denominator = reserveOut.sub(amountOut).mul(997);
        amountIn = (numerator / denominator).add(1);
    }

    // performs chained getAmountOut calculations on any number of pairs
    function getAmountsOut(
        address factory,
        uint256 amountIn,
        address[] memory path
    ) internal view returns (uint256[] memory amounts) {
        require(path.length >= 2, "Helper: INVALID_PATH");
        amounts = new uint256[](path.length);
        amounts[0] = amountIn;
        for (uint256 i; i < path.length - 1; i++) {
            (uint256 reserveIn, uint256 reserveOut) = getReserves(
                factory,
                path[i],
                path[i + 1]
            );
            amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut);
        }
    }

    function getAmountsIn(
        address factory,
        uint256 amountOut,
        address[] memory path
    ) internal view returns (uint256[] memory amounts) {
        require(path.length >= 2, "Helper: INVALID_PATH");
        amounts = new uint256[](path.length);
        amounts[amounts.length - 1] = amountOut;
        for (uint256 i = path.length - 1; i > 0; i--) {
            (uint256 reserveIn, uint256 reserveOut) = getReserves(
                factory,
                path[i - 1],
                path[i]
            );
            amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut);
        }
    }
}

// File: contracts/periphery/Stake.sol


pragma solidity >=0.8.0;






contract Stake is ReentrancyGuard, AdminUpgradeable {
    using Math for uint256;

    // Info of each staker
    struct StakerInfo {
        uint256 stakedAmount;      // How many stake tokens the user has provided
        uint256 lastUpdatedBlock;  // Last block number that user behavior occurs
        uint256 accInterest;       // Accumulated interest the user has owned
    }

    // The STAKED TOKEN
    address public immutable STAKED_TOKEN;
    // The REWARD TOKEN
    address public immutable REWARD_TOKEN;
    // The block when stake starts
    uint256 public immutable START_BLOCK;
    // The block when stake ends
    uint256 public immutable END_BLOCK;
    // The total interest of whole stake
    uint256 public totalInterest;
    // The total staked amount of whole stake
    uint256 public totalStakedAmount;
    // The total reward amount of whole stake
    uint256 public totalRewardAmount;

    // Is stake paused
    bool private _stakePaused;

    // Info of each staker that stakes token
    mapping(address => StakerInfo) private _stakerInfos;

    event Staked(address indexed user, uint256 amount, uint256 interest);
    event Redeem(address indexed user, uint256 redeemAmount, uint256 interest);
    event RewardsClaimed(address indexed to, uint256 amount);
    event WithdrawExtraFunds(address indexed token, address indexed to, uint256 amount);
    event StakePaused(address indexed caller);
    event StakeUnpaused(address indexed caller);

    constructor(
        address _stakeToken,
        address _rewardToken,
        uint256 _startBlock,
        uint256 _endBlock
    ) {
        require(_startBlock >= block.number, 'INVALID_START_BLOCK');
        require(_endBlock > _startBlock, 'INVALID_STAKE_PERIOD');

        _initializeAdmin(msg.sender);
        STAKED_TOKEN = _stakeToken;
        REWARD_TOKEN = _rewardToken;
        START_BLOCK = _startBlock;
        END_BLOCK = _endBlock;
        totalRewardAmount = IERC20(_rewardToken).balanceOf(address(this));
        
        _stakePaused = false;
    }

    modifier beforeEndPeriod() {
        require(block.number < END_BLOCK, "OVER_PERIOD");
        _;
    }

    modifier whenStakeNotPaused() {
        require(!_stakePaused, "STAKE_PAUSED");
        _;
    }

    /**
     * @dev add reward amount by admin
     **/
    function addReward(uint256 amount) external onlyAdmin beforeEndPeriod {
        Helper.safeTransferFrom(
            REWARD_TOKEN,
            msg.sender,
            address(this),
            amount
        );
        totalRewardAmount = totalRewardAmount.add(amount);
    }

    /**
     * @dev remove reward amount by admin
     **/
    function removeReward(uint256 amount) external onlyAdmin beforeEndPeriod {
        require(amount <= totalRewardAmount, 'INSUFFICIENT_REWARD_AMOUNT');
        Helper.safeTransfer(REWARD_TOKEN, msg.sender, amount);
        totalRewardAmount = totalRewardAmount.sub(amount);
    }

    /**
     * @dev Return funds directly transfered to this contract, will not affect the portion of the amount 
     *      that participated in stake using `stake` function
     **/
    function withdrawExtraFunds(address token, address to, uint256 amount) external onlyAdmin {
        if (token == STAKED_TOKEN) {
            uint256 stakedBalance = IERC20(STAKED_TOKEN).balanceOf(address(this));
            require(stakedBalance.sub(amount) >= totalStakedAmount, 'INSUFFICIENT_STAKED_BALANCE');
        }
        if (token == REWARD_TOKEN) {
            uint256 rewardBalance = IERC20(REWARD_TOKEN).balanceOf(address(this));
            require(rewardBalance.sub(amount) >= totalRewardAmount, 'INSUFFICIENT_REWARD_BALANCE');
        }
        Helper.safeTransfer(token, to, amount);

        emit WithdrawExtraFunds(token, to, amount);
    }
    
    function getStakerInfo(address staker) 
        external 
        view 
        returns (uint256 stakedAmount, uint256 accInterest)  
    {
        StakerInfo memory stakerInfo = _stakerInfos[staker];
        stakedAmount = stakerInfo.stakedAmount;
        accInterest = stakerInfo.accInterest;
    }
    
    function pauseStake() external onlyAdmin {
        require(!_stakePaused, 'STAKE_PAUSED');
        _stakePaused = true;
        emit StakePaused(msg.sender);
    }

    function unpauseStake() external onlyAdmin {
        require(_stakePaused, 'STAKE_UNPAUSED');
        _stakePaused = false;
        emit StakeUnpaused(msg.sender);
    }

    /**
     * @dev Stakes tokens
     * @param amount Amount to stake
     **/
    function stake(uint256 amount) external beforeEndPeriod nonReentrant whenStakeNotPaused {
        require(amount > 0, 'INVALID_ZERO_AMOUNT');
        StakerInfo storage stakerInfo = _stakerInfos[msg.sender];

        Helper.safeTransferFrom(
            STAKED_TOKEN,
            msg.sender,
            address(this),
            amount
        );

        stakerInfo.lastUpdatedBlock = stakerInfo.lastUpdatedBlock < START_BLOCK
            ? START_BLOCK
            : block.number;

        uint256 addedInterest = amount.mul(END_BLOCK.sub(stakerInfo.lastUpdatedBlock));

        totalInterest = totalInterest.add(addedInterest);
        totalStakedAmount = totalStakedAmount.add(amount);

        stakerInfo.stakedAmount = stakerInfo.stakedAmount.add(amount);
        stakerInfo.accInterest = stakerInfo.accInterest.add(addedInterest);
        
        emit Staked(msg.sender, amount, addedInterest);
    }

    /**
     * @dev Redeems staked tokens
     * @param amount Amount to redeem
     **/
    function redeem(uint256 amount) external nonReentrant {
        require(amount > 0, 'INVALID_ZERO_AMOUNT');
        require(block.number > START_BLOCK, "STAKE_NOT_STARTED");

        StakerInfo storage stakerInfo = _stakerInfos[msg.sender];
        require(amount <= totalStakedAmount, 'INSUFFICIENT_TOTAL_STAKED_AMOUNT');
        require(amount <= stakerInfo.stakedAmount, 'INSUFFICIENT_STAKED_AMOUNT');

        stakerInfo.lastUpdatedBlock = block.number < END_BLOCK ? block.number : END_BLOCK;

        uint256 removedInterest = amount.mul(END_BLOCK.sub(stakerInfo.lastUpdatedBlock));

        totalInterest = totalInterest.sub(removedInterest);
        totalStakedAmount = totalStakedAmount.sub(amount);

        stakerInfo.stakedAmount = stakerInfo.stakedAmount.sub(amount);
        stakerInfo.accInterest = stakerInfo.accInterest.sub(removedInterest);

        Helper.safeTransfer(STAKED_TOKEN, msg.sender, amount);
        emit Redeem(msg.sender, amount, removedInterest);
    }

    /**
     * @dev Return the total amount of estimated rewards from an staker
     * @param staker The staker address
     * @return The rewards
     */
    function getEstimatedRewardsBalance(address staker) external view returns (uint256) {
        StakerInfo memory stakerInfo = _stakerInfos[staker];
        if (totalInterest != 0) {
            return totalRewardAmount.mul(stakerInfo.accInterest) / totalInterest;
        }
        return 0;
    }

    /**
     * @dev Claims all amount of `REWARD_TOKEN` calculated from staker interest
     **/
    function claim() external nonReentrant {
        require(block.number > END_BLOCK, "STAKE_NOT_FINISHED");
        require(totalInterest > 0, 'INVALID_ZERO_TOTAL_INTEREST');

        StakerInfo storage stakerInfo = _stakerInfos[msg.sender];
        require(stakerInfo.accInterest > 0, "INSUFFICIENT_ACCUMULATED_INTEREST");

        uint256 claimRewardAmount = totalRewardAmount.mul(stakerInfo.accInterest) / totalInterest;

        stakerInfo.accInterest = 0;
        stakerInfo.lastUpdatedBlock = block.number;

        Helper.safeTransfer(REWARD_TOKEN, msg.sender, claimRewardAmount);
        emit RewardsClaimed(msg.sender, claimRewardAmount);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_stakeToken","type":"address"},{"internalType":"address","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_endBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAdmin","type":"address"},{"indexed":true,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAdmin","type":"address"}],"name":"Candidate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"redeemAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"interest","type":"uint256"}],"name":"Redeem","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardsClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"StakePaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"StakeUnpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"interest","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawExtraFunds","type":"event"},{"inputs":[],"name":"END_BLOCK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARD_TOKEN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAKED_TOKEN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START_BLOCK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adminCandidate","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"candidateConfirm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"}],"name":"getEstimatedRewardsBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"}],"name":"getStakerInfo","outputs":[{"internalType":"uint256","name":"stakedAmount","type":"uint256"},{"internalType":"uint256","name":"accInterest","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"removeReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_candidate","type":"address"}],"name":"setAdminCandidate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRewardAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStakedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpauseStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawExtraFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

0x6101006040523480156200001257600080fd5b50604051620032d1380380620032d183398181016040528101906200003891906200031a565b60016000819055504382101562000086576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200007d90620004a5565b60405180910390fd5b818111620000cb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000c29062000461565b60405180910390fd5b620000dc336200021460201b60201c565b8373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508273ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508160c081815250508060e081815250508273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040162000195919062000444565b60206040518083038186803b158015620001ae57600080fd5b505afa158015620001c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001e991906200038c565b6005819055506000600660006101000a81548160ff02191690831515021790555050505050620005ca565b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614620002a8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200029f9062000483565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600081519050620002fd8162000596565b92915050565b6000815190506200031481620005b0565b92915050565b6000806000806080858703121562000337576200033662000516565b5b60006200034787828801620002ec565b94505060206200035a87828801620002ec565b93505060406200036d8782880162000303565b9250506060620003808782880162000303565b91505092959194509250565b600060208284031215620003a557620003a462000516565b5b6000620003b58482850162000303565b91505092915050565b620003c981620004d8565b82525050565b6000620003de601483620004c7565b9150620003eb826200051b565b602082019050919050565b600062000405601183620004c7565b9150620004128262000544565b602082019050919050565b60006200042c601383620004c7565b915062000439826200056d565b602082019050919050565b60006020820190506200045b6000830184620003be565b92915050565b600060208201905081810360008301526200047c81620003cf565b9050919050565b600060208201905081810360008301526200049e81620003f6565b9050919050565b60006020820190508181036000830152620004c0816200041d565b9050919050565b600082825260208201905092915050565b6000620004e582620004ec565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b7f494e56414c49445f5354414b455f504552494f44000000000000000000000000600082015250565b7f61646d696e20616c726561647920736574000000000000000000000000000000600082015250565b7f494e56414c49445f53544152545f424c4f434b00000000000000000000000000600082015250565b620005a181620004d8565b8114620005ad57600080fd5b50565b620005bb816200050c565b8114620005c757600080fd5b50565b60805160601c60a05160601c60c05160e051612c3b6200069660003960008181610c4601528181611002015281816111ef01528181611409015281816115b0015281816116a001528181611886015281816118ad01526118ea0152600081816103a1015281816113a1015281816113d201526117550152600081816108ea0152818161094001528181610db701528181611067015281816111cb015261165a01526000818161037d01528181610790015281816107e60152818161137801526119a10152612c3b6000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063733bdef0116100b8578063a694fc3a1161007c578063a694fc3a146102cd578063bc7a36d6146102e9578063c553173f14610307578063cd3ec1d614610323578063db006a7514610341578063f851a4401461035d57610137565b8063733bdef01461022857806374de4ec4146102595780638e73064f1461027557806396de7aa01461029357806399248ea7146102af57610137565b80634b7e9963116100ff5780634b7e9963146101aa5780634c524dcf146101c65780634e71d92d146101d0578063567e98f9146101da5780637169d717146101f857610137565b8063312f6b831461013c57806339b3e8261461015a5780633accfa6c146101785780633f0232301461019657806342810967146101a0575b600080fd5b61014461037b565b6040516101519190612278565b60405180910390f35b61016261039f565b60405161016f9190612593565b60405180910390f35b6101806103c3565b60405161018d9190612278565b60405180910390f35b61019e6103e9565b005b6101a86105be565b005b6101c460048036038101906101bf9190611e59565b6106fe565b005b6101ce610ab7565b005b6101d8610bf6565b005b6101e2610e37565b6040516101ef9190612593565b60405180910390f35b610212600480360381019061020d9190611e2c565b610e3d565b60405161021f9190612593565b60405180910390f35b610242600480360381019061023d9190611e2c565b610eed565b6040516102509291906125ae565b60405180910390f35b610273600480360381019061026e9190611ed9565b610f70565b005b61027d6110ac565b60405161028a9190612593565b60405180910390f35b6102ad60048036038101906102a89190611e2c565b6110b2565b005b6102b76111c9565b6040516102c49190612278565b60405180910390f35b6102e760048036038101906102e29190611ed9565b6111ed565b005b6102f1611518565b6040516102fe9190612593565b60405180910390f35b610321600480360381019061031c9190611ed9565b61151e565b005b61032b61169e565b6040516103389190612593565b60405180910390f35b61035b60048036038101906103569190611ed9565b6116c2565b005b610365611a24565b6040516103729190612278565b60405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610479576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047090612453565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f60405160405180910390a3600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461064e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610645906124d3565b60405180910390fd5b600660009054906101000a900460ff161561069e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610695906123f3565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167f68b4302d64f7ec1111df43865129a25b3996015e6a08cc2b75ee38a03859e98360405160405180910390a2565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461078e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610785906124d3565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108e85760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161083d9190612278565b60206040518083038186803b15801561085557600080fd5b505afa158015610869573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088d9190611f06565b90506004546108a58383611a4a90919063ffffffff16565b10156108e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108dd90612413565b60405180910390fd5b505b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a425760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109979190612278565b60206040518083038186803b1580156109af57600080fd5b505afa1580156109c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e79190611f06565b90506005546109ff8383611a4a90919063ffffffff16565b1015610a40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3790612573565b60405180910390fd5b505b610a4d838383611aa3565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8a6c315eda8825d8ef1d7fa12189135a387f6aabdea9f7004b793532e80fc35283604051610aaa9190612593565b60405180910390a3505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3e906124d3565b60405180910390fd5b600660009054906101000a900460ff16610b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8d90612433565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167fe6d1c89472d5b65159eb01bddaac9591566f6c294d3b605f02d8cc3d43ede01560405160405180910390a2565b60026000541415610c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3390612553565b60405180910390fd5b60026000819055507f00000000000000000000000000000000000000000000000000000000000000004311610ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d906124b3565b60405180910390fd5b600060035411610ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce290612393565b60405180910390fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816002015411610d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6c906123b3565b60405180910390fd5b6000600354610d938360020154600554611bd990919063ffffffff16565b610d9d9190612654565b905060008260020181905550438260010181905550610ddd7f00000000000000000000000000000000000000000000000000000000000000003383611aa3565b3373ffffffffffffffffffffffffffffffffffffffff167ffc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe82604051610e239190612593565b60405180910390a250506001600081905550565b60045481565b600080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820154815250509050600060035414610ee257600354610ed08260400151600554611bd990919063ffffffff16565b610eda9190612654565b915050610ee8565b60009150505b919050565b6000806000600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820154815250509050806000015192508060400151915050915091565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff7906124d3565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000004310611062576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611059906123d3565b60405180910390fd5b61108e7f0000000000000000000000000000000000000000000000000000000000000000333084611c46565b6110a381600554611d7f90919063ffffffff16565b60058190555050565b60055481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611142576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611139906124d3565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f8cc40b9abca4a505a92028908f9d913d621d18112c69412806506f02333f26b460405160405180910390a250565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f0000000000000000000000000000000000000000000000000000000000000000431061124f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611246906123d3565b60405180910390fd5b60026000541415611295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c90612553565b60405180910390fd5b6002600081905550600660009054906101000a900460ff16156112ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e4906123f3565b60405180910390fd5b60008111611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790612333565b60405180910390fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061139f7f0000000000000000000000000000000000000000000000000000000000000000333085611c46565b7f00000000000000000000000000000000000000000000000000000000000000008160010154106113d057436113f2565b7f00000000000000000000000000000000000000000000000000000000000000005b8160010181905550600061144561143683600101547f0000000000000000000000000000000000000000000000000000000000000000611a4a90919063ffffffff16565b84611bd990919063ffffffff16565b905061145c81600354611d7f90919063ffffffff16565b60038190555061147783600454611d7f90919063ffffffff16565b600481905550611494838360000154611d7f90919063ffffffff16565b82600001819055506114b3818360020154611d7f90919063ffffffff16565b82600201819055503373ffffffffffffffffffffffffffffffffffffffff167f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee9084836040516115039291906125ae565b60405180910390a25050600160008190555050565b60035481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a5906124d3565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000004310611610576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611607906123d3565b60405180910390fd5b600554811115611655576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164c906124f3565b60405180910390fd5b6116807f00000000000000000000000000000000000000000000000000000000000000003383611aa3565b61169581600554611a4a90919063ffffffff16565b60058190555050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60026000541415611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff90612553565b60405180910390fd5b600260008190555060008111611753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174a90612333565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000043116117b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ac90612533565b60405180910390fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060045482111561183d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183490612513565b60405180910390fd5b8060000154821115611884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187b90612473565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000043106118d1577f00000000000000000000000000000000000000000000000000000000000000006118d3565b435b8160010181905550600061192661191783600101547f0000000000000000000000000000000000000000000000000000000000000000611a4a90919063ffffffff16565b84611bd990919063ffffffff16565b905061193d81600354611a4a90919063ffffffff16565b60038190555061195883600454611a4a90919063ffffffff16565b600481905550611975838360000154611a4a90919063ffffffff16565b8260000181905550611994818360020154611a4a90919063ffffffff16565b82600201819055506119c77f00000000000000000000000000000000000000000000000000000000000000003385611aa3565b3373ffffffffffffffffffffffffffffffffffffffff167fe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a9298483604051611a0f9291906125ae565b60405180910390a25050600160008190555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000828284611a5991906126df565b9150811115611a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a94906122f3565b60405180910390fd5b92915050565b6000808473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401611ad59291906122ca565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051611b239190612261565b6000604051808303816000865af19150503d8060008114611b60576040519150601f19603f3d011682016040523d82523d6000602084013e611b65565b606091505b5091509150818015611b935750600081511480611b92575080806020019051810190611b919190611eac565b5b5b611bd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc990612493565b60405180910390fd5b5050505050565b600080821480611c01575082828385611bf29190612685565b925082611bff9190612654565b145b611c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3790612313565b60405180910390fd5b92915050565b6000808573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401611c7a93929190612293565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051611cc89190612261565b6000604051808303816000865af19150503d8060008114611d05576040519150601f19603f3d011682016040523d82523d6000602084013e611d0a565b606091505b5091509150818015611d385750600081511480611d37575080806020019051810190611d369190611eac565b5b5b611d77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6e90612373565b60405180910390fd5b505050505050565b6000828284611d8e91906125fe565b9150811015611dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc990612353565b60405180910390fd5b92915050565b600081359050611de781612bc0565b92915050565b600081519050611dfc81612bd7565b92915050565b600081359050611e1181612bee565b92915050565b600081519050611e2681612bee565b92915050565b600060208284031215611e4257611e416127ec565b5b6000611e5084828501611dd8565b91505092915050565b600080600060608486031215611e7257611e716127ec565b5b6000611e8086828701611dd8565b9350506020611e9186828701611dd8565b9250506040611ea286828701611e02565b9150509250925092565b600060208284031215611ec257611ec16127ec565b5b6000611ed084828501611ded565b91505092915050565b600060208284031215611eef57611eee6127ec565b5b6000611efd84828501611e02565b91505092915050565b600060208284031215611f1c57611f1b6127ec565b5b6000611f2a84828501611e17565b91505092915050565b611f3c81612713565b82525050565b6000611f4d826125d7565b611f5781856125e2565b9350611f6781856020860161275b565b80840191505092915050565b6000611f806015836125ed565b9150611f8b826127f1565b602082019050919050565b6000611fa36014836125ed565b9150611fae8261281a565b602082019050919050565b6000611fc66013836125ed565b9150611fd182612843565b602082019050919050565b6000611fe96014836125ed565b9150611ff48261286c565b602082019050919050565b600061200c6031836125ed565b915061201782612895565b604082019050919050565b600061202f601b836125ed565b915061203a826128e4565b602082019050919050565b60006120526021836125ed565b915061205d8261290d565b604082019050919050565b6000612075600b836125ed565b91506120808261295c565b602082019050919050565b6000612098600c836125ed565b91506120a382612985565b602082019050919050565b60006120bb601b836125ed565b91506120c6826129ae565b602082019050919050565b60006120de600e836125ed565b91506120e9826129d7565b602082019050919050565b6000612101600d836125ed565b915061210c82612a00565b602082019050919050565b6000612124601a836125ed565b915061212f82612a29565b602082019050919050565b6000612147602d836125ed565b915061215282612a52565b604082019050919050565b600061216a6012836125ed565b915061217582612aa1565b602082019050919050565b600061218d6009836125ed565b915061219882612aca565b602082019050919050565b60006121b0601a836125ed565b91506121bb82612af3565b602082019050919050565b60006121d36020836125ed565b91506121de82612b1c565b602082019050919050565b60006121f66011836125ed565b915061220182612b45565b602082019050919050565b6000612219601f836125ed565b915061222482612b6e565b602082019050919050565b600061223c601b836125ed565b915061224782612b97565b602082019050919050565b61225b81612751565b82525050565b600061226d8284611f42565b915081905092915050565b600060208201905061228d6000830184611f33565b92915050565b60006060820190506122a86000830186611f33565b6122b56020830185611f33565b6122c26040830184612252565b949350505050565b60006040820190506122df6000830185611f33565b6122ec6020830184612252565b9392505050565b6000602082019050818103600083015261230c81611f73565b9050919050565b6000602082019050818103600083015261232c81611f96565b9050919050565b6000602082019050818103600083015261234c81611fb9565b9050919050565b6000602082019050818103600083015261236c81611fdc565b9050919050565b6000602082019050818103600083015261238c81611fff565b9050919050565b600060208201905081810360008301526123ac81612022565b9050919050565b600060208201905081810360008301526123cc81612045565b9050919050565b600060208201905081810360008301526123ec81612068565b9050919050565b6000602082019050818103600083015261240c8161208b565b9050919050565b6000602082019050818103600083015261242c816120ae565b9050919050565b6000602082019050818103600083015261244c816120d1565b9050919050565b6000602082019050818103600083015261246c816120f4565b9050919050565b6000602082019050818103600083015261248c81612117565b9050919050565b600060208201905081810360008301526124ac8161213a565b9050919050565b600060208201905081810360008301526124cc8161215d565b9050919050565b600060208201905081810360008301526124ec81612180565b9050919050565b6000602082019050818103600083015261250c816121a3565b9050919050565b6000602082019050818103600083015261252c816121c6565b9050919050565b6000602082019050818103600083015261254c816121e9565b9050919050565b6000602082019050818103600083015261256c8161220c565b9050919050565b6000602082019050818103600083015261258c8161222f565b9050919050565b60006020820190506125a86000830184612252565b92915050565b60006040820190506125c36000830185612252565b6125d06020830184612252565b9392505050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600061260982612751565b915061261483612751565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156126495761264861278e565b5b828201905092915050565b600061265f82612751565b915061266a83612751565b92508261267a576126796127bd565b5b828204905092915050565b600061269082612751565b915061269b83612751565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156126d4576126d361278e565b5b828202905092915050565b60006126ea82612751565b91506126f583612751565b9250828210156127085761270761278e565b5b828203905092915050565b600061271e82612731565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101561277957808201518184015260208101905061275e565b83811115612788576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b7f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000600082015250565b7f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000600082015250565b7f494e56414c49445f5a45524f5f414d4f554e5400000000000000000000000000600082015250565b7f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000600082015250565b7f5472616e7366657248656c7065723a3a7472616e7366657246726f6d3a20747260008201527f616e7366657246726f6d206661696c6564000000000000000000000000000000602082015250565b7f494e56414c49445f5a45524f5f544f54414c5f494e5445524553540000000000600082015250565b7f494e53554646494349454e545f414343554d554c415445445f494e544552455360008201527f5400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f5645525f504552494f44000000000000000000000000000000000000000000600082015250565b7f5354414b455f5041555345440000000000000000000000000000000000000000600082015250565b7f494e53554646494349454e545f5354414b45445f42414c414e43450000000000600082015250565b7f5354414b455f554e504155534544000000000000000000000000000000000000600082015250565b7f6e6f742043616e64696461746500000000000000000000000000000000000000600082015250565b7f494e53554646494349454e545f5354414b45445f414d4f554e54000000000000600082015250565b7f5472616e7366657248656c7065723a3a736166655472616e736665723a20747260008201527f616e73666572206661696c656400000000000000000000000000000000000000602082015250565b7f5354414b455f4e4f545f46494e49534845440000000000000000000000000000600082015250565b7f6e6f742061646d696e0000000000000000000000000000000000000000000000600082015250565b7f494e53554646494349454e545f5245574152445f414d4f554e54000000000000600082015250565b7f494e53554646494349454e545f544f54414c5f5354414b45445f414d4f554e54600082015250565b7f5354414b455f4e4f545f53544152544544000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f494e53554646494349454e545f5245574152445f42414c414e43450000000000600082015250565b612bc981612713565b8114612bd457600080fd5b50565b612be081612725565b8114612beb57600080fd5b50565b612bf781612751565b8114612c0257600080fd5b5056fea26469706673582212206ebcadbd391643aeef99cb42597da97e79f9c1b05881fdb86553db4702b2739764736f6c6343000807003300000000000000000000000083e73cc91f6dac35812ceb5f3da42cf57f33b4ee0000000000000000000000000f47ba9d9bde3442b42175e51d6a367928a1173b00000000000000000000000000000000000000000000000000000000000f23700000000000000000000000000000000000000000000000000000000000105842

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101375760003560e01c8063733bdef0116100b8578063a694fc3a1161007c578063a694fc3a146102cd578063bc7a36d6146102e9578063c553173f14610307578063cd3ec1d614610323578063db006a7514610341578063f851a4401461035d57610137565b8063733bdef01461022857806374de4ec4146102595780638e73064f1461027557806396de7aa01461029357806399248ea7146102af57610137565b80634b7e9963116100ff5780634b7e9963146101aa5780634c524dcf146101c65780634e71d92d146101d0578063567e98f9146101da5780637169d717146101f857610137565b8063312f6b831461013c57806339b3e8261461015a5780633accfa6c146101785780633f0232301461019657806342810967146101a0575b600080fd5b61014461037b565b6040516101519190612278565b60405180910390f35b61016261039f565b60405161016f9190612593565b60405180910390f35b6101806103c3565b60405161018d9190612278565b60405180910390f35b61019e6103e9565b005b6101a86105be565b005b6101c460048036038101906101bf9190611e59565b6106fe565b005b6101ce610ab7565b005b6101d8610bf6565b005b6101e2610e37565b6040516101ef9190612593565b60405180910390f35b610212600480360381019061020d9190611e2c565b610e3d565b60405161021f9190612593565b60405180910390f35b610242600480360381019061023d9190611e2c565b610eed565b6040516102509291906125ae565b60405180910390f35b610273600480360381019061026e9190611ed9565b610f70565b005b61027d6110ac565b60405161028a9190612593565b60405180910390f35b6102ad60048036038101906102a89190611e2c565b6110b2565b005b6102b76111c9565b6040516102c49190612278565b60405180910390f35b6102e760048036038101906102e29190611ed9565b6111ed565b005b6102f1611518565b6040516102fe9190612593565b60405180910390f35b610321600480360381019061031c9190611ed9565b61151e565b005b61032b61169e565b6040516103389190612593565b60405180910390f35b61035b60048036038101906103569190611ed9565b6116c2565b005b610365611a24565b6040516103729190612278565b60405180910390f35b7f00000000000000000000000083e73cc91f6dac35812ceb5f3da42cf57f33b4ee81565b7f00000000000000000000000000000000000000000000000000000000000f237081565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610479576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047090612453565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f60405160405180910390a3600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461064e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610645906124d3565b60405180910390fd5b600660009054906101000a900460ff161561069e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610695906123f3565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167f68b4302d64f7ec1111df43865129a25b3996015e6a08cc2b75ee38a03859e98360405160405180910390a2565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461078e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610785906124d3565b60405180910390fd5b7f00000000000000000000000083e73cc91f6dac35812ceb5f3da42cf57f33b4ee73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108e85760007f00000000000000000000000083e73cc91f6dac35812ceb5f3da42cf57f33b4ee73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161083d9190612278565b60206040518083038186803b15801561085557600080fd5b505afa158015610869573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088d9190611f06565b90506004546108a58383611a4a90919063ffffffff16565b10156108e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108dd90612413565b60405180910390fd5b505b7f0000000000000000000000000f47ba9d9bde3442b42175e51d6a367928a1173b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a425760007f0000000000000000000000000f47ba9d9bde3442b42175e51d6a367928a1173b73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109979190612278565b60206040518083038186803b1580156109af57600080fd5b505afa1580156109c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e79190611f06565b90506005546109ff8383611a4a90919063ffffffff16565b1015610a40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3790612573565b60405180910390fd5b505b610a4d838383611aa3565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8a6c315eda8825d8ef1d7fa12189135a387f6aabdea9f7004b793532e80fc35283604051610aaa9190612593565b60405180910390a3505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3e906124d3565b60405180910390fd5b600660009054906101000a900460ff16610b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8d90612433565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167fe6d1c89472d5b65159eb01bddaac9591566f6c294d3b605f02d8cc3d43ede01560405160405180910390a2565b60026000541415610c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3390612553565b60405180910390fd5b60026000819055507f00000000000000000000000000000000000000000000000000000000001058424311610ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d906124b3565b60405180910390fd5b600060035411610ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce290612393565b60405180910390fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816002015411610d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6c906123b3565b60405180910390fd5b6000600354610d938360020154600554611bd990919063ffffffff16565b610d9d9190612654565b905060008260020181905550438260010181905550610ddd7f0000000000000000000000000f47ba9d9bde3442b42175e51d6a367928a1173b3383611aa3565b3373ffffffffffffffffffffffffffffffffffffffff167ffc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe82604051610e239190612593565b60405180910390a250506001600081905550565b60045481565b600080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820154815250509050600060035414610ee257600354610ed08260400151600554611bd990919063ffffffff16565b610eda9190612654565b915050610ee8565b60009150505b919050565b6000806000600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820154815250509050806000015192508060400151915050915091565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff7906124d3565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000001058424310611062576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611059906123d3565b60405180910390fd5b61108e7f0000000000000000000000000f47ba9d9bde3442b42175e51d6a367928a1173b333084611c46565b6110a381600554611d7f90919063ffffffff16565b60058190555050565b60055481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611142576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611139906124d3565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f8cc40b9abca4a505a92028908f9d913d621d18112c69412806506f02333f26b460405160405180910390a250565b7f0000000000000000000000000f47ba9d9bde3442b42175e51d6a367928a1173b81565b7f0000000000000000000000000000000000000000000000000000000000105842431061124f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611246906123d3565b60405180910390fd5b60026000541415611295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c90612553565b60405180910390fd5b6002600081905550600660009054906101000a900460ff16156112ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e4906123f3565b60405180910390fd5b60008111611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790612333565b60405180910390fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061139f7f00000000000000000000000083e73cc91f6dac35812ceb5f3da42cf57f33b4ee333085611c46565b7f00000000000000000000000000000000000000000000000000000000000f23708160010154106113d057436113f2565b7f00000000000000000000000000000000000000000000000000000000000f23705b8160010181905550600061144561143683600101547f0000000000000000000000000000000000000000000000000000000000105842611a4a90919063ffffffff16565b84611bd990919063ffffffff16565b905061145c81600354611d7f90919063ffffffff16565b60038190555061147783600454611d7f90919063ffffffff16565b600481905550611494838360000154611d7f90919063ffffffff16565b82600001819055506114b3818360020154611d7f90919063ffffffff16565b82600201819055503373ffffffffffffffffffffffffffffffffffffffff167f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee9084836040516115039291906125ae565b60405180910390a25050600160008190555050565b60035481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a5906124d3565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000001058424310611610576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611607906123d3565b60405180910390fd5b600554811115611655576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164c906124f3565b60405180910390fd5b6116807f0000000000000000000000000f47ba9d9bde3442b42175e51d6a367928a1173b3383611aa3565b61169581600554611a4a90919063ffffffff16565b60058190555050565b7f000000000000000000000000000000000000000000000000000000000010584281565b60026000541415611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff90612553565b60405180910390fd5b600260008190555060008111611753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174a90612333565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000f237043116117b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ac90612533565b60405180910390fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060045482111561183d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183490612513565b60405180910390fd5b8060000154821115611884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187b90612473565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000010584243106118d1577f00000000000000000000000000000000000000000000000000000000001058426118d3565b435b8160010181905550600061192661191783600101547f0000000000000000000000000000000000000000000000000000000000105842611a4a90919063ffffffff16565b84611bd990919063ffffffff16565b905061193d81600354611a4a90919063ffffffff16565b60038190555061195883600454611a4a90919063ffffffff16565b600481905550611975838360000154611a4a90919063ffffffff16565b8260000181905550611994818360020154611a4a90919063ffffffff16565b82600201819055506119c77f00000000000000000000000083e73cc91f6dac35812ceb5f3da42cf57f33b4ee3385611aa3565b3373ffffffffffffffffffffffffffffffffffffffff167fe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a9298483604051611a0f9291906125ae565b60405180910390a25050600160008190555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000828284611a5991906126df565b9150811115611a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a94906122f3565b60405180910390fd5b92915050565b6000808473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401611ad59291906122ca565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051611b239190612261565b6000604051808303816000865af19150503d8060008114611b60576040519150601f19603f3d011682016040523d82523d6000602084013e611b65565b606091505b5091509150818015611b935750600081511480611b92575080806020019051810190611b919190611eac565b5b5b611bd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc990612493565b60405180910390fd5b5050505050565b600080821480611c01575082828385611bf29190612685565b925082611bff9190612654565b145b611c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3790612313565b60405180910390fd5b92915050565b6000808573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401611c7a93929190612293565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051611cc89190612261565b6000604051808303816000865af19150503d8060008114611d05576040519150601f19603f3d011682016040523d82523d6000602084013e611d0a565b606091505b5091509150818015611d385750600081511480611d37575080806020019051810190611d369190611eac565b5b5b611d77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6e90612373565b60405180910390fd5b505050505050565b6000828284611d8e91906125fe565b9150811015611dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc990612353565b60405180910390fd5b92915050565b600081359050611de781612bc0565b92915050565b600081519050611dfc81612bd7565b92915050565b600081359050611e1181612bee565b92915050565b600081519050611e2681612bee565b92915050565b600060208284031215611e4257611e416127ec565b5b6000611e5084828501611dd8565b91505092915050565b600080600060608486031215611e7257611e716127ec565b5b6000611e8086828701611dd8565b9350506020611e9186828701611dd8565b9250506040611ea286828701611e02565b9150509250925092565b600060208284031215611ec257611ec16127ec565b5b6000611ed084828501611ded565b91505092915050565b600060208284031215611eef57611eee6127ec565b5b6000611efd84828501611e02565b91505092915050565b600060208284031215611f1c57611f1b6127ec565b5b6000611f2a84828501611e17565b91505092915050565b611f3c81612713565b82525050565b6000611f4d826125d7565b611f5781856125e2565b9350611f6781856020860161275b565b80840191505092915050565b6000611f806015836125ed565b9150611f8b826127f1565b602082019050919050565b6000611fa36014836125ed565b9150611fae8261281a565b602082019050919050565b6000611fc66013836125ed565b9150611fd182612843565b602082019050919050565b6000611fe96014836125ed565b9150611ff48261286c565b602082019050919050565b600061200c6031836125ed565b915061201782612895565b604082019050919050565b600061202f601b836125ed565b915061203a826128e4565b602082019050919050565b60006120526021836125ed565b915061205d8261290d565b604082019050919050565b6000612075600b836125ed565b91506120808261295c565b602082019050919050565b6000612098600c836125ed565b91506120a382612985565b602082019050919050565b60006120bb601b836125ed565b91506120c6826129ae565b602082019050919050565b60006120de600e836125ed565b91506120e9826129d7565b602082019050919050565b6000612101600d836125ed565b915061210c82612a00565b602082019050919050565b6000612124601a836125ed565b915061212f82612a29565b602082019050919050565b6000612147602d836125ed565b915061215282612a52565b604082019050919050565b600061216a6012836125ed565b915061217582612aa1565b602082019050919050565b600061218d6009836125ed565b915061219882612aca565b602082019050919050565b60006121b0601a836125ed565b91506121bb82612af3565b602082019050919050565b60006121d36020836125ed565b91506121de82612b1c565b602082019050919050565b60006121f66011836125ed565b915061220182612b45565b602082019050919050565b6000612219601f836125ed565b915061222482612b6e565b602082019050919050565b600061223c601b836125ed565b915061224782612b97565b602082019050919050565b61225b81612751565b82525050565b600061226d8284611f42565b915081905092915050565b600060208201905061228d6000830184611f33565b92915050565b60006060820190506122a86000830186611f33565b6122b56020830185611f33565b6122c26040830184612252565b949350505050565b60006040820190506122df6000830185611f33565b6122ec6020830184612252565b9392505050565b6000602082019050818103600083015261230c81611f73565b9050919050565b6000602082019050818103600083015261232c81611f96565b9050919050565b6000602082019050818103600083015261234c81611fb9565b9050919050565b6000602082019050818103600083015261236c81611fdc565b9050919050565b6000602082019050818103600083015261238c81611fff565b9050919050565b600060208201905081810360008301526123ac81612022565b9050919050565b600060208201905081810360008301526123cc81612045565b9050919050565b600060208201905081810360008301526123ec81612068565b9050919050565b6000602082019050818103600083015261240c8161208b565b9050919050565b6000602082019050818103600083015261242c816120ae565b9050919050565b6000602082019050818103600083015261244c816120d1565b9050919050565b6000602082019050818103600083015261246c816120f4565b9050919050565b6000602082019050818103600083015261248c81612117565b9050919050565b600060208201905081810360008301526124ac8161213a565b9050919050565b600060208201905081810360008301526124cc8161215d565b9050919050565b600060208201905081810360008301526124ec81612180565b9050919050565b6000602082019050818103600083015261250c816121a3565b9050919050565b6000602082019050818103600083015261252c816121c6565b9050919050565b6000602082019050818103600083015261254c816121e9565b9050919050565b6000602082019050818103600083015261256c8161220c565b9050919050565b6000602082019050818103600083015261258c8161222f565b9050919050565b60006020820190506125a86000830184612252565b92915050565b60006040820190506125c36000830185612252565b6125d06020830184612252565b9392505050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600061260982612751565b915061261483612751565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156126495761264861278e565b5b828201905092915050565b600061265f82612751565b915061266a83612751565b92508261267a576126796127bd565b5b828204905092915050565b600061269082612751565b915061269b83612751565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156126d4576126d361278e565b5b828202905092915050565b60006126ea82612751565b91506126f583612751565b9250828210156127085761270761278e565b5b828203905092915050565b600061271e82612731565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101561277957808201518184015260208101905061275e565b83811115612788576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b7f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000600082015250565b7f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000600082015250565b7f494e56414c49445f5a45524f5f414d4f554e5400000000000000000000000000600082015250565b7f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000600082015250565b7f5472616e7366657248656c7065723a3a7472616e7366657246726f6d3a20747260008201527f616e7366657246726f6d206661696c6564000000000000000000000000000000602082015250565b7f494e56414c49445f5a45524f5f544f54414c5f494e5445524553540000000000600082015250565b7f494e53554646494349454e545f414343554d554c415445445f494e544552455360008201527f5400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f5645525f504552494f44000000000000000000000000000000000000000000600082015250565b7f5354414b455f5041555345440000000000000000000000000000000000000000600082015250565b7f494e53554646494349454e545f5354414b45445f42414c414e43450000000000600082015250565b7f5354414b455f554e504155534544000000000000000000000000000000000000600082015250565b7f6e6f742043616e64696461746500000000000000000000000000000000000000600082015250565b7f494e53554646494349454e545f5354414b45445f414d4f554e54000000000000600082015250565b7f5472616e7366657248656c7065723a3a736166655472616e736665723a20747260008201527f616e73666572206661696c656400000000000000000000000000000000000000602082015250565b7f5354414b455f4e4f545f46494e49534845440000000000000000000000000000600082015250565b7f6e6f742061646d696e0000000000000000000000000000000000000000000000600082015250565b7f494e53554646494349454e545f5245574152445f414d4f554e54000000000000600082015250565b7f494e53554646494349454e545f544f54414c5f5354414b45445f414d4f554e54600082015250565b7f5354414b455f4e4f545f53544152544544000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f494e53554646494349454e545f5245574152445f42414c414e43450000000000600082015250565b612bc981612713565b8114612bd457600080fd5b50565b612be081612725565b8114612beb57600080fd5b50565b612bf781612751565b8114612c0257600080fd5b5056fea26469706673582212206ebcadbd391643aeef99cb42597da97e79f9c1b05881fdb86553db4702b2739764736f6c63430008070033

Deployed Bytecode Sourcemap

15880:7945:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16302:37;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16451:36;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5683:29;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5875:234;;;:::i;:::-;;20100:167;;;:::i;:::-;;19098:670;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;20275:173;;;:::i;:::-;;23157:665;;;:::i;:::-;;16693:32;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;22747:302;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19780:308;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;18265:284;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;16779:32;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6117:149;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;16371:37;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20540:933;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;16611:28;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18619:282;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;16528:34;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21574:1005;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;5656:20;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16302:37;;;:::o;16451:36::-;;;:::o;5683:29::-;;;;;;;;;;;;;:::o;5875:234::-;5945:14;;;;;;;;;;;5931:28;;:10;:28;;;5923:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;6013:14;;;;;;;;;;;5993:35;;6006:5;;;;;;;;;;;5993:35;;;;;;;;;;;;6049:14;;;;;;;;;;;6041:5;;:22;;;;;;;;;;;;;;;;;;6099:1;6074:14;;:27;;;;;;;;;;;;;;;;;;5875:234::o;20100:167::-;6326:5;;;;;;;;;;;6312:19;;:10;:19;;;6304:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;20161:12:::1;;;;;;;;;;;20160:13;20152:38;;;;;;;;;;;;:::i;:::-;;;;;;;;;20216:4;20201:12;;:19;;;;;;;;;;;;;;;;;;20248:10;20236:23;;;;;;;;;;;;20100:167::o:0;19098:670::-;6326:5;;;;;;;;;;;6312:19;;:10;:19;;;6304:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;19212:12:::1;19203:21;;:5;:21;;;19199:224;;;19241:21;19272:12;19265:30;;;19304:4;19265:45;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19241:69;;19362:17;;19333:25;19351:6;19333:13;:17;;:25;;;;:::i;:::-;:46;;19325:86;;;;;;;;;;;;:::i;:::-;;;;;;;;;19226:197;19199:224;19446:12;19437:21;;:5;:21;;;19433:224;;;19475:21;19506:12;19499:30;;;19538:4;19499:45;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19475:69;;19596:17;;19567:25;19585:6;19567:13;:17;;:25;;;;:::i;:::-;:46;;19559:86;;;;;;;;;;;;:::i;:::-;;;;;;;;;19460:197;19433:224;19667:38;19687:5;19694:2;19698:6;19667:19;:38::i;:::-;19749:2;19723:37;;19742:5;19723:37;;;19753:6;19723:37;;;;;;:::i;:::-;;;;;;;;19098:670:::0;;;:::o;20275:173::-;6326:5;;;;;;;;;;;6312:19;;:10;:19;;;6304:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;20337:12:::1;;;;;;;;;;;20329:39;;;;;;;;;;;;:::i;:::-;;;;;;;;;20394:5;20379:12;;:20;;;;;;;;;;;;;;;;;;20429:10;20415:25;;;;;;;;;;;;20275:173::o:0;23157:665::-;1747:1;2343:7;;:19;;2335:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;1747:1;2476:7;:18;;;;23230:9:::1;23215:12;:24;23207:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;23297:1;23281:13;;:17;23273:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;23343:29;23375:12;:24;23388:10;23375:24;;;;;;;;;;;;;;;23343:56;;23443:1;23418:10;:22;;;:26;23410:72;;;;;;;;;;;;:::i;:::-;;;;;;;;;23495:25;23571:13;;23523:45;23545:10;:22;;;23523:17;;:21;;:45;;;;:::i;:::-;:61;;;;:::i;:::-;23495:89;;23622:1;23597:10;:22;;:26;;;;23664:12;23634:10;:27;;:42;;;;23689:64;23709:12;23723:10;23735:17;23689:19;:64::i;:::-;23784:10;23769:45;;;23796:17;23769:45;;;;;;:::i;:::-;;;;;;;;23196:626;;1703:1:::0;2655:7;:22;;;;23157:665::o;16693:32::-;;;;:::o;22747:302::-;22822:7;22842:28;22873:12;:20;22886:6;22873:20;;;;;;;;;;;;;;;22842:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22925:1;22908:13;;:18;22904:119;;22998:13;;22950:45;22972:10;:22;;;22950:17;;:21;;:45;;;;:::i;:::-;:61;;;;:::i;:::-;22943:68;;;;;22904:119;23040:1;23033:8;;;22747:302;;;;:::o;19780:308::-;19872:20;19894:19;19933:28;19964:12;:20;19977:6;19964:20;;;;;;;;;;;;;;;19933:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20010:10;:23;;;19995:38;;20058:10;:22;;;20044:36;;19922:166;19780:308;;;:::o;18265:284::-;6326:5;;;;;;;;;;;6312:19;;:10;:19;;;6304:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;18046:9:::1;18031:12;:24;18023:48;;;;;;;;;;;;:::i;:::-;;;;;;;;;18346:135:::2;18384:12;18411:10;18444:4;18464:6;18346:23;:135::i;:::-;18512:29;18534:6;18512:17;;:21;;:29;;;;:::i;:::-;18492:17;:49;;;;18265:284:::0;:::o;16779:32::-;;;;:::o;6117:149::-;6326:5;;;;;;;;;;;6312:19;;:10;:19;;;6304:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;6211:10:::1;6194:14;;:27;;;;;;;;;;;;;;;;;;6247:10;6237:21;;;;;;;;;;;;6117:149:::0;:::o;16371:37::-;;;:::o;20540:933::-;18046:9;18031:12;:24;18023:48;;;;;;;;;;;;:::i;:::-;;;;;;;;;1747:1:::1;2343:7;;:19;;2335:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;1747:1;2476:7;:18;;;;18149:12:::2;;;;;;;;;;;18148:13;18140:38;;;;;;;;;;;;:::i;:::-;;;;;;;;;20656:1:::3;20647:6;:10;20639:42;;;;;;;;;;;;:::i;:::-;;;;;;;;;20692:29;20724:12;:24;20737:10;20724:24;;;;;;;;;;;;;;;20692:56;;20761:135;20799:12;20826:10;20859:4;20879:6;20761:23;:135::i;:::-;20969:11;20939:10;:27;;;:41;:96;;21023:12;20939:96;;;20996:11;20939:96;20909:10;:27;;:126;;;;21048:21;21072:54;21083:42;21097:10;:27;;;21083:9;:13;;:42;;;;:::i;:::-;21072:6;:10;;:54;;;;:::i;:::-;21048:78;;21155:32;21173:13;21155;;:17;;:32;;;;:::i;:::-;21139:13;:48;;;;21218:29;21240:6;21218:17;;:21;;:29;;;;:::i;:::-;21198:17;:49;;;;21286:35;21314:6;21286:10;:23;;;:27;;:35;;;;:::i;:::-;21260:10;:23;;:61;;;;21357:41;21384:13;21357:10;:22;;;:26;;:41;;;;:::i;:::-;21332:10;:22;;:66;;;;21431:10;21424:41;;;21443:6;21451:13;21424:41;;;;;;;:::i;:::-;;;;;;;;20628:845;;1703:1:::1;2655:7;:22;;;;20540:933:::0;:::o;16611:28::-;;;;:::o;18619:282::-;6326:5;;;;;;;;;;;6312:19;;:10;:19;;;6304:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;18046:9:::1;18031:12;:24;18023:48;;;;;;;;;;;;:::i;:::-;;;;;;;;;18721:17:::2;;18711:6;:27;;18703:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;18780:53;18800:12;18814:10;18826:6;18780:19;:53::i;:::-;18864:29;18886:6;18864:17;;:21;;:29;;;;:::i;:::-;18844:17;:49;;;;18619:282:::0;:::o;16528:34::-;;;:::o;21574:1005::-;1747:1;2343:7;;:19;;2335:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;1747:1;2476:7;:18;;;;21656:1:::1;21647:6;:10;21639:42;;;;;;;;;;;;:::i;:::-;;;;;;;;;21715:11;21700:12;:26;21692:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;21761:29;21793:12;:24;21806:10;21793:24;;;;;;;;;;;;;;;21761:56;;21846:17;;21836:6;:27;;21828:72;;;;;;;;;;;;:::i;:::-;;;;;;;;;21929:10;:23;;;21919:6;:33;;21911:72;;;;;;;;;;;;:::i;:::-;;;;;;;;;22041:9;22026:12;:24;:51;;22068:9;22026:51;;;22053:12;22026:51;21996:10;:27;;:81;;;;22090:23;22116:54;22127:42;22141:10;:27;;;22127:9;:13;;:42;;;;:::i;:::-;22116:6;:10;;:54;;;;:::i;:::-;22090:80;;22199:34;22217:15;22199:13;;:17;;:34;;;;:::i;:::-;22183:13;:50;;;;22264:29;22286:6;22264:17;;:21;;:29;;;;:::i;:::-;22244:17;:49;;;;22332:35;22360:6;22332:10;:23;;;:27;;:35;;;;:::i;:::-;22306:10;:23;;:61;;;;22403:43;22430:15;22403:10;:22;;;:26;;:43;;;;:::i;:::-;22378:10;:22;;:68;;;;22459:53;22479:12;22493:10;22505:6;22459:19;:53::i;:::-;22535:10;22528:43;;;22547:6;22555:15;22528:43;;;;;;;:::i;:::-;;;;;;;;21628:951;;1703:1:::0;2655:7;:22;;;;21574:1005;:::o;5656:20::-;;;;;;;;;;;;;:::o;9901:138::-;9959:9;10004:1;9998;9994;:5;;;;:::i;:::-;9990:9;;;9989:16;;9981:50;;;;;;;;;;;;:::i;:::-;;;;;;;;;9901:138;;;;:::o;12301:473::-;12487:12;12501:17;12522:5;:10;;12570;12582:2;12586:5;12547:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12522:81;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12486:117;;;;12636:7;:57;;;;;12663:1;12648:4;:11;:16;:44;;;;12679:4;12668:24;;;;;;;;;;;;:::i;:::-;12648:44;12636:57;12614:152;;;;;;;;;;;;:::i;:::-;;;;;;;;;12408:366;;12301:473;;;:::o;10047:151::-;10105:9;10140:1;10135;:6;:30;;;;10164:1;10159;10154;10150;:5;;;;:::i;:::-;10146:9;;;10145:15;;;;:::i;:::-;:20;10135:30;10127:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;10047:151;;;;:::o;11771:522::-;11996:12;12010:17;12031:5;:10;;12079;12091:4;12097:2;12101:5;12056:51;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12031:87;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11995:123;;;;12151:7;:57;;;;;12178:1;12163:4;:11;:16;:44;;;;12194:4;12183:24;;;;;;;;;;;;:::i;:::-;12163:44;12151:57;12129:156;;;;;;;;;;;;:::i;:::-;;;;;;;;;11905:388;;11771:522;;;;:::o;9756:137::-;9814:9;9859:1;9853;9849;:5;;;;:::i;:::-;9845:9;;;9844:16;;9836:49;;;;;;;;;;;;:::i;:::-;;;;;;;;;9756:137;;;;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:137::-;206:5;237:6;231:13;222:22;;253:30;277:5;253:30;:::i;:::-;152:137;;;;:::o;295:139::-;341:5;379:6;366:20;357:29;;395:33;422:5;395:33;:::i;:::-;295:139;;;;:::o;440:143::-;497:5;528:6;522:13;513:22;;544:33;571:5;544:33;:::i;:::-;440:143;;;;:::o;589:329::-;648:6;697:2;685:9;676:7;672:23;668:32;665:119;;;703:79;;:::i;:::-;665:119;823:1;848:53;893:7;884:6;873:9;869:22;848:53;:::i;:::-;838:63;;794:117;589:329;;;;:::o;924:619::-;1001:6;1009;1017;1066:2;1054:9;1045:7;1041:23;1037:32;1034:119;;;1072:79;;:::i;:::-;1034:119;1192:1;1217:53;1262:7;1253:6;1242:9;1238:22;1217:53;:::i;:::-;1207:63;;1163:117;1319:2;1345:53;1390:7;1381:6;1370:9;1366:22;1345:53;:::i;:::-;1335:63;;1290:118;1447:2;1473:53;1518:7;1509:6;1498:9;1494:22;1473:53;:::i;:::-;1463:63;;1418:118;924:619;;;;;:::o;1549:345::-;1616:6;1665:2;1653:9;1644:7;1640:23;1636:32;1633:119;;;1671:79;;:::i;:::-;1633:119;1791:1;1816:61;1869:7;1860:6;1849:9;1845:22;1816:61;:::i;:::-;1806:71;;1762:125;1549:345;;;;:::o;1900:329::-;1959:6;2008:2;1996:9;1987:7;1983:23;1979:32;1976:119;;;2014:79;;:::i;:::-;1976:119;2134:1;2159:53;2204:7;2195:6;2184:9;2180:22;2159:53;:::i;:::-;2149:63;;2105:117;1900:329;;;;:::o;2235:351::-;2305:6;2354:2;2342:9;2333:7;2329:23;2325:32;2322:119;;;2360:79;;:::i;:::-;2322:119;2480:1;2505:64;2561:7;2552:6;2541:9;2537:22;2505:64;:::i;:::-;2495:74;;2451:128;2235:351;;;;:::o;2592:118::-;2679:24;2697:5;2679:24;:::i;:::-;2674:3;2667:37;2592:118;;:::o;2716:373::-;2820:3;2848:38;2880:5;2848:38;:::i;:::-;2902:88;2983:6;2978:3;2902:88;:::i;:::-;2895:95;;2999:52;3044:6;3039:3;3032:4;3025:5;3021:16;2999:52;:::i;:::-;3076:6;3071:3;3067:16;3060:23;;2824:265;2716:373;;;;:::o;3095:366::-;3237:3;3258:67;3322:2;3317:3;3258:67;:::i;:::-;3251:74;;3334:93;3423:3;3334:93;:::i;:::-;3452:2;3447:3;3443:12;3436:19;;3095:366;;;:::o;3467:::-;3609:3;3630:67;3694:2;3689:3;3630:67;:::i;:::-;3623:74;;3706:93;3795:3;3706:93;:::i;:::-;3824:2;3819:3;3815:12;3808:19;;3467:366;;;:::o;3839:::-;3981:3;4002:67;4066:2;4061:3;4002:67;:::i;:::-;3995:74;;4078:93;4167:3;4078:93;:::i;:::-;4196:2;4191:3;4187:12;4180:19;;3839:366;;;:::o;4211:::-;4353:3;4374:67;4438:2;4433:3;4374:67;:::i;:::-;4367:74;;4450:93;4539:3;4450:93;:::i;:::-;4568:2;4563:3;4559:12;4552:19;;4211:366;;;:::o;4583:::-;4725:3;4746:67;4810:2;4805:3;4746:67;:::i;:::-;4739:74;;4822:93;4911:3;4822:93;:::i;:::-;4940:2;4935:3;4931:12;4924:19;;4583:366;;;:::o;4955:::-;5097:3;5118:67;5182:2;5177:3;5118:67;:::i;:::-;5111:74;;5194:93;5283:3;5194:93;:::i;:::-;5312:2;5307:3;5303:12;5296:19;;4955:366;;;:::o;5327:::-;5469:3;5490:67;5554:2;5549:3;5490:67;:::i;:::-;5483:74;;5566:93;5655:3;5566:93;:::i;:::-;5684:2;5679:3;5675:12;5668:19;;5327:366;;;:::o;5699:::-;5841:3;5862:67;5926:2;5921:3;5862:67;:::i;:::-;5855:74;;5938:93;6027:3;5938:93;:::i;:::-;6056:2;6051:3;6047:12;6040:19;;5699:366;;;:::o;6071:::-;6213:3;6234:67;6298:2;6293:3;6234:67;:::i;:::-;6227:74;;6310:93;6399:3;6310:93;:::i;:::-;6428:2;6423:3;6419:12;6412:19;;6071:366;;;:::o;6443:::-;6585:3;6606:67;6670:2;6665:3;6606:67;:::i;:::-;6599:74;;6682:93;6771:3;6682:93;:::i;:::-;6800:2;6795:3;6791:12;6784:19;;6443:366;;;:::o;6815:::-;6957:3;6978:67;7042:2;7037:3;6978:67;:::i;:::-;6971:74;;7054:93;7143:3;7054:93;:::i;:::-;7172:2;7167:3;7163:12;7156:19;;6815:366;;;:::o;7187:::-;7329:3;7350:67;7414:2;7409:3;7350:67;:::i;:::-;7343:74;;7426:93;7515:3;7426:93;:::i;:::-;7544:2;7539:3;7535:12;7528:19;;7187:366;;;:::o;7559:::-;7701:3;7722:67;7786:2;7781:3;7722:67;:::i;:::-;7715:74;;7798:93;7887:3;7798:93;:::i;:::-;7916:2;7911:3;7907:12;7900:19;;7559:366;;;:::o;7931:::-;8073:3;8094:67;8158:2;8153:3;8094:67;:::i;:::-;8087:74;;8170:93;8259:3;8170:93;:::i;:::-;8288:2;8283:3;8279:12;8272:19;;7931:366;;;:::o;8303:::-;8445:3;8466:67;8530:2;8525:3;8466:67;:::i;:::-;8459:74;;8542:93;8631:3;8542:93;:::i;:::-;8660:2;8655:3;8651:12;8644:19;;8303:366;;;:::o;8675:365::-;8817:3;8838:66;8902:1;8897:3;8838:66;:::i;:::-;8831:73;;8913:93;9002:3;8913:93;:::i;:::-;9031:2;9026:3;9022:12;9015:19;;8675:365;;;:::o;9046:366::-;9188:3;9209:67;9273:2;9268:3;9209:67;:::i;:::-;9202:74;;9285:93;9374:3;9285:93;:::i;:::-;9403:2;9398:3;9394:12;9387:19;;9046:366;;;:::o;9418:::-;9560:3;9581:67;9645:2;9640:3;9581:67;:::i;:::-;9574:74;;9657:93;9746:3;9657:93;:::i;:::-;9775:2;9770:3;9766:12;9759:19;;9418:366;;;:::o;9790:::-;9932:3;9953:67;10017:2;10012:3;9953:67;:::i;:::-;9946:74;;10029:93;10118:3;10029:93;:::i;:::-;10147:2;10142:3;10138:12;10131:19;;9790:366;;;:::o;10162:::-;10304:3;10325:67;10389:2;10384:3;10325:67;:::i;:::-;10318:74;;10401:93;10490:3;10401:93;:::i;:::-;10519:2;10514:3;10510:12;10503:19;;10162:366;;;:::o;10534:::-;10676:3;10697:67;10761:2;10756:3;10697:67;:::i;:::-;10690:74;;10773:93;10862:3;10773:93;:::i;:::-;10891:2;10886:3;10882:12;10875:19;;10534:366;;;:::o;10906:118::-;10993:24;11011:5;10993:24;:::i;:::-;10988:3;10981:37;10906:118;;:::o;11030:271::-;11160:3;11182:93;11271:3;11262:6;11182:93;:::i;:::-;11175:100;;11292:3;11285:10;;11030:271;;;;:::o;11307:222::-;11400:4;11438:2;11427:9;11423:18;11415:26;;11451:71;11519:1;11508:9;11504:17;11495:6;11451:71;:::i;:::-;11307:222;;;;:::o;11535:442::-;11684:4;11722:2;11711:9;11707:18;11699:26;;11735:71;11803:1;11792:9;11788:17;11779:6;11735:71;:::i;:::-;11816:72;11884:2;11873:9;11869:18;11860:6;11816:72;:::i;:::-;11898;11966:2;11955:9;11951:18;11942:6;11898:72;:::i;:::-;11535:442;;;;;;:::o;11983:332::-;12104:4;12142:2;12131:9;12127:18;12119:26;;12155:71;12223:1;12212:9;12208:17;12199:6;12155:71;:::i;:::-;12236:72;12304:2;12293:9;12289:18;12280:6;12236:72;:::i;:::-;11983:332;;;;;:::o;12321:419::-;12487:4;12525:2;12514:9;12510:18;12502:26;;12574:9;12568:4;12564:20;12560:1;12549:9;12545:17;12538:47;12602:131;12728:4;12602:131;:::i;:::-;12594:139;;12321:419;;;:::o;12746:::-;12912:4;12950:2;12939:9;12935:18;12927:26;;12999:9;12993:4;12989:20;12985:1;12974:9;12970:17;12963:47;13027:131;13153:4;13027:131;:::i;:::-;13019:139;;12746:419;;;:::o;13171:::-;13337:4;13375:2;13364:9;13360:18;13352:26;;13424:9;13418:4;13414:20;13410:1;13399:9;13395:17;13388:47;13452:131;13578:4;13452:131;:::i;:::-;13444:139;;13171:419;;;:::o;13596:::-;13762:4;13800:2;13789:9;13785:18;13777:26;;13849:9;13843:4;13839:20;13835:1;13824:9;13820:17;13813:47;13877:131;14003:4;13877:131;:::i;:::-;13869:139;;13596:419;;;:::o;14021:::-;14187:4;14225:2;14214:9;14210:18;14202:26;;14274:9;14268:4;14264:20;14260:1;14249:9;14245:17;14238:47;14302:131;14428:4;14302:131;:::i;:::-;14294:139;;14021:419;;;:::o;14446:::-;14612:4;14650:2;14639:9;14635:18;14627:26;;14699:9;14693:4;14689:20;14685:1;14674:9;14670:17;14663:47;14727:131;14853:4;14727:131;:::i;:::-;14719:139;;14446:419;;;:::o;14871:::-;15037:4;15075:2;15064:9;15060:18;15052:26;;15124:9;15118:4;15114:20;15110:1;15099:9;15095:17;15088:47;15152:131;15278:4;15152:131;:::i;:::-;15144:139;;14871:419;;;:::o;15296:::-;15462:4;15500:2;15489:9;15485:18;15477:26;;15549:9;15543:4;15539:20;15535:1;15524:9;15520:17;15513:47;15577:131;15703:4;15577:131;:::i;:::-;15569:139;;15296:419;;;:::o;15721:::-;15887:4;15925:2;15914:9;15910:18;15902:26;;15974:9;15968:4;15964:20;15960:1;15949:9;15945:17;15938:47;16002:131;16128:4;16002:131;:::i;:::-;15994:139;;15721:419;;;:::o;16146:::-;16312:4;16350:2;16339:9;16335:18;16327:26;;16399:9;16393:4;16389:20;16385:1;16374:9;16370:17;16363:47;16427:131;16553:4;16427:131;:::i;:::-;16419:139;;16146:419;;;:::o;16571:::-;16737:4;16775:2;16764:9;16760:18;16752:26;;16824:9;16818:4;16814:20;16810:1;16799:9;16795:17;16788:47;16852:131;16978:4;16852:131;:::i;:::-;16844:139;;16571:419;;;:::o;16996:::-;17162:4;17200:2;17189:9;17185:18;17177:26;;17249:9;17243:4;17239:20;17235:1;17224:9;17220:17;17213:47;17277:131;17403:4;17277:131;:::i;:::-;17269:139;;16996:419;;;:::o;17421:::-;17587:4;17625:2;17614:9;17610:18;17602:26;;17674:9;17668:4;17664:20;17660:1;17649:9;17645:17;17638:47;17702:131;17828:4;17702:131;:::i;:::-;17694:139;;17421:419;;;:::o;17846:::-;18012:4;18050:2;18039:9;18035:18;18027:26;;18099:9;18093:4;18089:20;18085:1;18074:9;18070:17;18063:47;18127:131;18253:4;18127:131;:::i;:::-;18119:139;;17846:419;;;:::o;18271:::-;18437:4;18475:2;18464:9;18460:18;18452:26;;18524:9;18518:4;18514:20;18510:1;18499:9;18495:17;18488:47;18552:131;18678:4;18552:131;:::i;:::-;18544:139;;18271:419;;;:::o;18696:::-;18862:4;18900:2;18889:9;18885:18;18877:26;;18949:9;18943:4;18939:20;18935:1;18924:9;18920:17;18913:47;18977:131;19103:4;18977:131;:::i;:::-;18969:139;;18696:419;;;:::o;19121:::-;19287:4;19325:2;19314:9;19310:18;19302:26;;19374:9;19368:4;19364:20;19360:1;19349:9;19345:17;19338:47;19402:131;19528:4;19402:131;:::i;:::-;19394:139;;19121:419;;;:::o;19546:::-;19712:4;19750:2;19739:9;19735:18;19727:26;;19799:9;19793:4;19789:20;19785:1;19774:9;19770:17;19763:47;19827:131;19953:4;19827:131;:::i;:::-;19819:139;;19546:419;;;:::o;19971:::-;20137:4;20175:2;20164:9;20160:18;20152:26;;20224:9;20218:4;20214:20;20210:1;20199:9;20195:17;20188:47;20252:131;20378:4;20252:131;:::i;:::-;20244:139;;19971:419;;;:::o;20396:::-;20562:4;20600:2;20589:9;20585:18;20577:26;;20649:9;20643:4;20639:20;20635:1;20624:9;20620:17;20613:47;20677:131;20803:4;20677:131;:::i;:::-;20669:139;;20396:419;;;:::o;20821:::-;20987:4;21025:2;21014:9;21010:18;21002:26;;21074:9;21068:4;21064:20;21060:1;21049:9;21045:17;21038:47;21102:131;21228:4;21102:131;:::i;:::-;21094:139;;20821:419;;;:::o;21246:222::-;21339:4;21377:2;21366:9;21362:18;21354:26;;21390:71;21458:1;21447:9;21443:17;21434:6;21390:71;:::i;:::-;21246:222;;;;:::o;21474:332::-;21595:4;21633:2;21622:9;21618:18;21610:26;;21646:71;21714:1;21703:9;21699:17;21690:6;21646:71;:::i;:::-;21727:72;21795:2;21784:9;21780:18;21771:6;21727:72;:::i;:::-;21474:332;;;;;:::o;21893:98::-;21944:6;21978:5;21972:12;21962:22;;21893:98;;;:::o;21997:147::-;22098:11;22135:3;22120:18;;21997:147;;;;:::o;22150:169::-;22234:11;22268:6;22263:3;22256:19;22308:4;22303:3;22299:14;22284:29;;22150:169;;;;:::o;22325:305::-;22365:3;22384:20;22402:1;22384:20;:::i;:::-;22379:25;;22418:20;22436:1;22418:20;:::i;:::-;22413:25;;22572:1;22504:66;22500:74;22497:1;22494:81;22491:107;;;22578:18;;:::i;:::-;22491:107;22622:1;22619;22615:9;22608:16;;22325:305;;;;:::o;22636:185::-;22676:1;22693:20;22711:1;22693:20;:::i;:::-;22688:25;;22727:20;22745:1;22727:20;:::i;:::-;22722:25;;22766:1;22756:35;;22771:18;;:::i;:::-;22756:35;22813:1;22810;22806:9;22801:14;;22636:185;;;;:::o;22827:348::-;22867:7;22890:20;22908:1;22890:20;:::i;:::-;22885:25;;22924:20;22942:1;22924:20;:::i;:::-;22919:25;;23112:1;23044:66;23040:74;23037:1;23034:81;23029:1;23022:9;23015:17;23011:105;23008:131;;;23119:18;;:::i;:::-;23008:131;23167:1;23164;23160:9;23149:20;;22827:348;;;;:::o;23181:191::-;23221:4;23241:20;23259:1;23241:20;:::i;:::-;23236:25;;23275:20;23293:1;23275:20;:::i;:::-;23270:25;;23314:1;23311;23308:8;23305:34;;;23319:18;;:::i;:::-;23305:34;23364:1;23361;23357:9;23349:17;;23181:191;;;;:::o;23378:96::-;23415:7;23444:24;23462:5;23444:24;:::i;:::-;23433:35;;23378:96;;;:::o;23480:90::-;23514:7;23557:5;23550:13;23543:21;23532:32;;23480:90;;;:::o;23576:126::-;23613:7;23653:42;23646:5;23642:54;23631:65;;23576:126;;;:::o;23708:77::-;23745:7;23774:5;23763:16;;23708:77;;;:::o;23791:307::-;23859:1;23869:113;23883:6;23880:1;23877:13;23869:113;;;23968:1;23963:3;23959:11;23953:18;23949:1;23944:3;23940:11;23933:39;23905:2;23902:1;23898:10;23893:15;;23869:113;;;24000:6;23997:1;23994:13;23991:101;;;24080:1;24071:6;24066:3;24062:16;24055:27;23991:101;23840:258;23791:307;;;:::o;24104:180::-;24152:77;24149:1;24142:88;24249:4;24246:1;24239:15;24273:4;24270:1;24263:15;24290:180;24338:77;24335:1;24328:88;24435:4;24432:1;24425:15;24459:4;24456:1;24449:15;24599:117;24708:1;24705;24698:12;24722:171;24862:23;24858:1;24850:6;24846:14;24839:47;24722:171;:::o;24899:170::-;25039:22;25035:1;25027:6;25023:14;25016:46;24899:170;:::o;25075:169::-;25215:21;25211:1;25203:6;25199:14;25192:45;25075:169;:::o;25250:170::-;25390:22;25386:1;25378:6;25374:14;25367:46;25250:170;:::o;25426:236::-;25566:34;25562:1;25554:6;25550:14;25543:58;25635:19;25630:2;25622:6;25618:15;25611:44;25426:236;:::o;25668:177::-;25808:29;25804:1;25796:6;25792:14;25785:53;25668:177;:::o;25851:220::-;25991:34;25987:1;25979:6;25975:14;25968:58;26060:3;26055:2;26047:6;26043:15;26036:28;25851:220;:::o;26077:161::-;26217:13;26213:1;26205:6;26201:14;26194:37;26077:161;:::o;26244:162::-;26384:14;26380:1;26372:6;26368:14;26361:38;26244:162;:::o;26412:177::-;26552:29;26548:1;26540:6;26536:14;26529:53;26412:177;:::o;26595:164::-;26735:16;26731:1;26723:6;26719:14;26712:40;26595:164;:::o;26765:163::-;26905:15;26901:1;26893:6;26889:14;26882:39;26765:163;:::o;26934:176::-;27074:28;27070:1;27062:6;27058:14;27051:52;26934:176;:::o;27116:232::-;27256:34;27252:1;27244:6;27240:14;27233:58;27325:15;27320:2;27312:6;27308:15;27301:40;27116:232;:::o;27354:168::-;27494:20;27490:1;27482:6;27478:14;27471:44;27354:168;:::o;27528:159::-;27668:11;27664:1;27656:6;27652:14;27645:35;27528:159;:::o;27693:176::-;27833:28;27829:1;27821:6;27817:14;27810:52;27693:176;:::o;27875:182::-;28015:34;28011:1;28003:6;27999:14;27992:58;27875:182;:::o;28063:167::-;28203:19;28199:1;28191:6;28187:14;28180:43;28063:167;:::o;28236:181::-;28376:33;28372:1;28364:6;28360:14;28353:57;28236:181;:::o;28423:177::-;28563:29;28559:1;28551:6;28547:14;28540:53;28423:177;:::o;28606:122::-;28679:24;28697:5;28679:24;:::i;:::-;28672:5;28669:35;28659:63;;28718:1;28715;28708:12;28659:63;28606:122;:::o;28734:116::-;28804:21;28819:5;28804:21;:::i;:::-;28797:5;28794:32;28784:60;;28840:1;28837;28830:12;28784:60;28734:116;:::o;28856:122::-;28929:24;28947:5;28929:24;:::i;:::-;28922:5;28919:35;28909:63;;28968:1;28965;28958:12;28909:63;28856:122;:::o

Swarm Source

ipfs://6ebcadbd391643aeef99cb42597da97e79f9c1b05881fdb86553db4702b27397

Block Transaction Gas Used Reward
view all blocks collator

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.