Contract 0xE86CeE843a5CE2F40575544B1fFc43CB1701D9ae 2

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x327f964a04178059e2982b0d5f5014d1817157ef58fa479a43a4142bdf2f2df5Get Reward288852762022-01-24 5:47:5731 mins ago0x5ff92581fa55e9f03a53d33fae494385293515e6 IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.056171853478
0x9438428950488ef2a831e5dfbc093bcffd75647475a37f1b36d69bc031966dc4Get Reward288786612022-01-24 3:39:052 hrs 40 mins ago0x0d189e57fac1a3d533b3a2c9cbc17c20c79eeb2d IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.036822615716
0x88d266bc38060488e144e6af37daee86fa854df0488fe2df1724557b8b144e30Withdraw288439612022-01-23 18:57:0411 hrs 22 mins ago0xe85fc09d80e47c9dddd85147546361a6990fbabf IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.104650371672
0xbf1d831619e6ead952748b2487b9c333141e62e653d19da4c182d3c3aee82d98Get Reward288424312022-01-23 18:30:0511 hrs 49 mins ago0xe85fc09d80e47c9dddd85147546361a6990fbabf IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.046641031447
0x2a6aa0de6d70d57f523cc880738b29495990e47af273b675e6a23a8157c6efadGet Reward288372692022-01-23 17:17:2213 hrs 1 min ago0x9f617e6f8433b2ec4c6e48c89f36614df4ce938f IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.04854276938
0x6334a99a59ff598db705d9dd01a07e21892b590ad9929b6c24843036ccea6d67Withdraw288362092022-01-23 17:01:4113 hrs 17 mins ago0x93b009962ec5dcbdc4367962866f793ed0304aa1 IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.066470820157
0xe93d64ceda425eae2b80bffc151b5b141445d6e0c1d68bc7ccc428387c7adbf4Deposit288345072022-01-23 16:37:3113 hrs 41 mins ago0x93b009962ec5dcbdc4367962866f793ed0304aa1 IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.079439647075
0xd6bf52731911a945b5d63552f78261b547de780edeef78317b6eee3c3d2f7667Withdraw288342172022-01-23 16:33:1213 hrs 46 mins ago0x0ac694617ad9d784dce9e8a3b4eff07dc1dd6fe0 IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.079683292704
0x424cdf1c2cf9a4ce9bbea2961980ea20dae74015580fae8cfcced47458634598Deposit288293922022-01-23 15:21:3014 hrs 57 mins ago0xd124c140d25e6bc67be05db19946525d9dd37850 IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.094847352294
0xcc0831f5412556de59d17b60c82908f4ab80bf2aa66db7d0bd3f0e19fb6c628dGet Reward288234722022-01-23 13:42:0416 hrs 37 mins ago0xef69f677a2bba38b65725ad247cc4edc45519edb IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.059792796726
0xbfb2092944cf209c74c3ad2dc8fa4f07cbd2076fa95f1a3ea0d90083186e4e0eGet Reward288223152022-01-23 13:20:1316 hrs 59 mins ago0x0a2d3dd46e44acec0da085268502880bb384bcc0 IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.048898468111
0xcd7bf3ec30446ddff8d418ec6cdb05f908956747ff431f0653e2aa78c1cccbe5Get Reward288007482022-01-23 7:45:2322 hrs 33 mins ago0x44eda39d3cbcb04c90acd211aa20f8aa0cb99b58 IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.047079762981
0x3666212a5b4d9e31f5b9e649383bcc9efb45cc836a1cfe4423f60df45d9508edWithdraw288003482022-01-23 7:39:1022 hrs 40 mins ago0x44eda39d3cbcb04c90acd211aa20f8aa0cb99b58 IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.057718145119
0x2b08082dff7faf6819a5e54792a4fdee0e6ae4d7453c2db3aa03ca28da27a61dGet Reward287930182022-01-23 5:50:201 day 29 mins ago0x9f617e6f8433b2ec4c6e48c89f36614df4ce938f IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.04521070214
0x2cfaa035dc97429a806a766c3871d66231fa50b462a2b5dfb72f3b16d315b313Get Reward287784792022-01-23 2:16:481 day 4 hrs ago0x4243502311e81b06d1e656a35f0619ac2f278a63 IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.066885910246
0xc4939c6d6152f243d2e0b4f420b74e72e6cf8713897cd6cf0d72130675f320ddWithdraw287766102022-01-23 1:50:011 day 4 hrs ago0x94a057cd2a9e87b7192c4b32a59a70989975d13f IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.054697870987
0xa6a392c4397107f8cf771435fb7fcac1e90ced05b105a4aaa114d1befab26644Withdraw287744632022-01-23 1:22:081 day 4 hrs ago0x37dd83ebde2d144bf68be9a6686a3c9bda6ff73d IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.120867215145
0xe11bbbd62eb6f34c66882551455572a0d3b49efe43afe2c90d38bc5fa72dae2eGet Reward287725952022-01-23 0:57:591 day 5 hrs ago0x9ade37bfc833c6aae9f7b7b023bdbe7627352fbb IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.12691239904
0x7339e7b03a770acf777356786ee634101e99c1274dfe975c2ce6a2ff9001a2efGet Reward287705192022-01-23 0:15:431 day 6 hrs ago0x94a057cd2a9e87b7192c4b32a59a70989975d13f IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.106950822275
0x3d2227d3b4fb8fc87903e26d56410ba2b9367d51c31ea1d148431cf24c0c453fGet Reward287642152022-01-22 22:42:431 day 7 hrs ago0x0d32c795aa46a64621122822bff73cceb68fe27a IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.103496496
0x23781c2556d3b757e8efda0da88f474dd0adaf51517663c2e427a653e1a70f93Deposit287261272022-01-22 12:48:091 day 17 hrs ago0xfa713713b1acd89a00e6b35512161630d5ea90de IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.227199424822
0x9d943741aa9f2265375ffc42311d20d13c168a6628f5ab0ac0fbff904145669aGet Reward287182942022-01-22 10:47:311 day 19 hrs ago0x2cea08ab72f022659025946940dd59cb6a6fac94 IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.20456060134
0xfa6dbb097eb744d008c0f7a937ca5768a3a667e2b9a494039d38546bd70efebfDeposit287137532022-01-22 9:22:471 day 20 hrs ago0x0d3450a8110d7fc8adad757bbd976a0aec7501e0 IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.243483063923
0x8463234c45eee9ce9def324630c7034b2f8c5c45e20722512a01439cbd180bcbGet Reward287050142022-01-22 6:48:011 day 23 hrs ago0x07e629bdd7ba5e73d3b49eb6542db39388859e83 IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.183106723392
0x5132d27046e5b1ce1e4da0f5c0c94bb954af8a3f6a311805ff2afa85f4ab8138Get Reward286844162022-01-22 1:14:182 days 5 hrs ago0xef69f677a2bba38b65725ad247cc4edc45519edb IN  0xe86cee843a5ce2f40575544b1ffc43cb1701d9ae0 FTM0.161081860736
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xed2336e6ced2a569bab92a212aad48757204eebec19f2a42fd4f04d1bbaaab5f136926692021-08-03 19:03:42173 days 11 hrs ago 0x420b17f69618610de18cacd1499460efb29e1d8f  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Gauge

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2021-09-02
*/

/**
 *Submitted for verification at FtmScan.com on 2021-09-02
*/

pragma solidity ^0.6.7;


// 
//^0.7.5;
library SafeMath {
    function add(uint a, uint b) internal pure returns (uint) {
        uint c = a + b;
        require(c >= a, "add: +");

        return c;
    }
    function add(uint a, uint b, string memory errorMessage) internal pure returns (uint) {
        uint c = a + b;
        require(c >= a, errorMessage);

        return c;
    }
    function sub(uint a, uint b) internal pure returns (uint) {
        return sub(a, b, "sub: -");
    }
    function sub(uint a, uint b, string memory errorMessage) internal pure returns (uint) {
        require(b <= a, errorMessage);
        uint c = a - b;

        return c;
    }
    function mul(uint a, uint b) internal pure returns (uint) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint c = a * b;
        require(c / a == b, "mul: *");

        return c;
    }
    function mul(uint a, uint b, string memory errorMessage) internal pure returns (uint) {
        if (a == 0) {
            return 0;
        }

        uint c = a * b;
        require(c / a == b, errorMessage);

        return c;
    }
    function div(uint a, uint b) internal pure returns (uint) {
        return div(a, b, "div: /");
    }
    function div(uint a, uint b, string memory errorMessage) internal pure returns (uint) {
        require(b > 0, errorMessage);
        uint c = a / b;

        return c;
    }
}

library Address {
    function isContract(address account) internal view returns (bool) {
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != 0x0 && codehash != accountHash);
    }
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-call-value
        (bool success, ) = recipient.call{value:amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
}

library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

/**
 * @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 () public {
        _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;
    }
}

interface IGaugeProxy {
    function getTreasury() external view returns (address);
    function getDepositFeeRate() external view returns (uint256);
}

contract Gauge is ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IERC20 public SPIRIT;
    IERC20 public inSPIRIT;

    IERC20 public immutable TOKEN;
    address public immutable DISTRIBUTION;
    uint256 public constant DURATION = 7 days;

    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;

    modifier onlyDistribution() {
        require(msg.sender == DISTRIBUTION, "Caller is not RewardsDistribution contract");
        _;
    }

    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;

    uint256 private _totalSupply;
    uint public derivedSupply;
    mapping(address => uint256) private _balances;
    mapping(address => uint256) public derivedBalances;
    mapping(address => uint) private _base;

    constructor(address _spirit, address _inSpirit, address _token) public {
        SPIRIT = IERC20(_spirit);
        inSPIRIT = IERC20(_inSpirit);
        TOKEN = IERC20(_token);
        DISTRIBUTION = msg.sender;
    }

    function totalSupply() external view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) external view returns (uint256) {
        return _balances[account];
    }

    function lastTimeRewardApplicable() public view returns (uint256) {
        return Math.min(block.timestamp, periodFinish);
    }

    function rewardPerToken() public view returns (uint256) {
        if (derivedSupply == 0) {
            return 0;
        }

        if (_totalSupply == 0) {
            return rewardPerTokenStored;
        }
        return
            rewardPerTokenStored.add(
                lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRate).mul(1e18).div(derivedSupply)
            );
    }

    function derivedBalance(address account) public view returns (uint) {
        if(inSPIRIT.totalSupply() == 0) return 0;
        uint _balance = _balances[account];
        uint _derived = _balance.mul(40).div(100);
        uint _adjusted = (_totalSupply.mul(inSPIRIT.balanceOf(account)).div(inSPIRIT.totalSupply())).mul(60).div(100);
        return Math.min(_derived.add(_adjusted), _balance);
    }

    function kick(address account) public {
        uint _derivedBalance = derivedBalances[account];
        derivedSupply = derivedSupply.sub(_derivedBalance);
        _derivedBalance = derivedBalance(account);
        derivedBalances[account] = _derivedBalance;
        derivedSupply = derivedSupply.add(_derivedBalance);
    }

    function earned(address account) public view returns (uint256) {
        return derivedBalances[account].mul(rewardPerToken().sub(userRewardPerTokenPaid[account])).div(1e18).add(rewards[account]);
    }

    function getRewardForDuration() external view returns (uint256) {
        return rewardRate.mul(DURATION);
    }

    function depositAll() external {
        _deposit(TOKEN.balanceOf(msg.sender), msg.sender);
    }

    function deposit(uint256 amount) external {
        _deposit(amount, msg.sender);
    }

    function depositFor(uint256 amount, address account) external {
        _deposit(amount, account);
    }

    function _deposit(uint amount, address account) internal nonReentrant updateReward(account) {
        IGaugeProxy guageProxy = IGaugeProxy(DISTRIBUTION);
        address treasury = guageProxy.getTreasury();
        uint256 depositFeeRate = guageProxy.getDepositFeeRate();

        require(treasury != address(0x0), "deposit(Gauge): treasury haven't been set");
        require(amount > 0, "deposit(Gauge): cannot stake 0");

        uint256 feeAmount = amount.mul(depositFeeRate).div(10000);
        uint256 userAmount = amount.sub(feeAmount);

        _balances[account] = _balances[account].add(userAmount);
        _totalSupply = _totalSupply.add(userAmount);

        TOKEN.safeTransferFrom(account, address(this), amount);
        TOKEN.safeTransfer(treasury, feeAmount);

        emit Staked(account, userAmount);
    }

    function withdrawAll() external {
        _withdraw(_balances[msg.sender]);
    }

    function withdraw(uint256 amount) external {
        _withdraw(amount);
    }

    function _withdraw(uint amount) internal nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot withdraw 0");
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        TOKEN.safeTransfer(msg.sender, amount);
        emit Withdrawn(msg.sender, amount);
    }

    function getReward() public nonReentrant updateReward(msg.sender) {
        uint256 reward = rewards[msg.sender];
        if (reward > 0) {
            rewards[msg.sender] = 0;
            SPIRIT.safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, reward);
        }
    }

    function exit() external {
       _withdraw(_balances[msg.sender]);
        getReward();
    }

    function notifyRewardAmount(uint256 reward) external onlyDistribution updateReward(address(0)) {
        SPIRIT.safeTransferFrom(DISTRIBUTION, address(this), reward);
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(DURATION);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(DURATION);
        }

        // Ensure the provided reward amount is not more than the balance in the contract.
        // This keeps the reward rate in the right range, preventing overflows due to
        // very high values of rewardRate in the earned and rewardsPerToken functions;
        // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow.
        uint balance = SPIRIT.balanceOf(address(this));
        require(rewardRate <= balance.div(DURATION), "Provided reward too high");

        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(DURATION);
        emit RewardAdded(reward);
    }

    modifier updateReward(address account) {
        rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = lastTimeRewardApplicable();
        if (account != address(0)) {
            rewards[account] = earned(account);
            userRewardPerTokenPaid[account] = rewardPerTokenStored;
        }
        _;
        if (account != address(0)) {
            kick(account);
        }
    }

    event RewardAdded(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);
}

// 
//^0.7.5;
interface MasterChef {
    function deposit(uint, uint) external;
    function withdraw(uint, uint) external;
    function userInfo(uint, address) external view returns (uint, uint);
}

contract ProtocolGovernance {
    /// @notice governance address for the governance contract
    address public governance;
    address public pendingGovernance;

    /**
     * @notice Allows governance to change governance (for future upgradability)
     * @param _governance new governance address to set
     */
    function setGovernance(address _governance) external {
        require(msg.sender == governance, "setGovernance: !gov");
        pendingGovernance = _governance;
    }

    /**
     * @notice Allows pendingGovernance to accept their role as governance (protection pattern)
     */
    function acceptGovernance() external {
        require(msg.sender == pendingGovernance, "acceptGovernance: !pendingGov");
        governance = pendingGovernance;
    }
}

contract MasterDill {
    using SafeMath for uint;

    /// @notice EIP-20 token name for this token
    string public constant name = "Master inSPIRIT";

    /// @notice EIP-20 token symbol for this token
    string public constant symbol = "minSPIRIT";

    /// @notice EIP-20 token decimals for this token
    uint8 public constant decimals = 18;

    /// @notice Total number of tokens in circulation
    uint public totalSupply = 1e18;

    mapping (address => mapping (address => uint)) internal allowances;
    mapping (address => uint) internal balances;

    /// @notice The standard EIP-20 transfer event
    event Transfer(address indexed from, address indexed to, uint amount);

    /// @notice The standard EIP-20 approval event
    event Approval(address indexed owner, address indexed spender, uint amount);

    constructor() public {
        balances[msg.sender] = 1e18;
        emit Transfer(address(0x0), msg.sender, 1e18);
    }

    /**
     * @notice Get the number of tokens `spender` is approved to spend on behalf of `account`
     * @param account The address of the account holding the funds
     * @param spender The address of the account spending the funds
     * @return The number of tokens approved
     */
    function allowance(address account, address spender) external view returns (uint) {
        return allowances[account][spender];
    }

    /**
     * @notice Approve `spender` to transfer up to `amount` from `src`
     * @dev This will overwrite the approval amount for `spender`
     *  and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve)
     * @param spender The address of the account which may transfer tokens
     * @param amount The number of tokens that are approved (2^256-1 means infinite)
     * @return Whether or not the approval succeeded
     */
    function approve(address spender, uint amount) external returns (bool) {
        allowances[msg.sender][spender] = amount;

        emit Approval(msg.sender, spender, amount);
        return true;
    }

    /**
     * @notice Get the number of tokens held by the `account`
     * @param account The address of the account to get the balance of
     * @return The number of tokens held
     */
    function balanceOf(address account) external view returns (uint) {
        return balances[account];
    }

    /**
     * @notice Transfer `amount` tokens from `msg.sender` to `dst`
     * @param dst The address of the destination account
     * @param amount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transfer(address dst, uint amount) external returns (bool) {
        _transferTokens(msg.sender, dst, amount);
        return true;
    }

    /**
     * @notice Transfer `amount` tokens from `src` to `dst`
     * @param src The address of the source account
     * @param dst The address of the destination account
     * @param amount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transferFrom(address src, address dst, uint amount) external returns (bool) {
        address spender = msg.sender;
        uint spenderAllowance = allowances[src][spender];

        if (spender != src && spenderAllowance != uint(-1)) {
            uint newAllowance = spenderAllowance.sub(amount, "transferFrom: exceeds spender allowance");
            allowances[src][spender] = newAllowance;

            emit Approval(src, spender, newAllowance);
        }

        _transferTokens(src, dst, amount);
        return true;
    }

    function _transferTokens(address src, address dst, uint amount) internal {
        require(src != address(0), "_transferTokens: zero address");
        require(dst != address(0), "_transferTokens: zero address");

        balances[src] = balances[src].sub(amount, "_transferTokens: exceeds balance");
        balances[dst] = balances[dst].add(amount, "_transferTokens: overflows");
        emit Transfer(src, dst, amount);
    }
}

contract GaugeProxy is ProtocolGovernance {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;


    MasterChef public MASTER;
    IERC20 public inSPIRIT;
    IERC20 public SPIRIT;
    IERC20 public immutable TOKEN; // mInSpirit

    uint public pid = uint(-1); // -1 means 0xFFF....F and hasn't been set yet
    uint public totalWeight;
    uint256 public depositFeeRate = 0;      // EX: 3000 = 30% : MAXIMUM-2000

    address[] internal _tokens;
    address public treasury;
    mapping(address => address) public gauges; // token => gauge
    mapping(address => uint) public weights; // token => weight
    mapping(address => mapping(address => uint)) public votes; // msg.sender => votes
    mapping(address => address[]) public tokenVote;// msg.sender => token
    mapping(address => uint) public usedWeights;  // msg.sender => total voting weight of user

    constructor(
        address _masterChef,
        address _spirit,
        address _inSpirit,
        address _treasury,
        uint256 _depositFeeRate
    ) public {
        MASTER = MasterChef(_masterChef);
        SPIRIT = IERC20(_spirit);
        inSPIRIT = IERC20(_inSpirit);
        TOKEN = IERC20(address(new MasterDill()));
        governance = msg.sender;
        treasury = _treasury;
        depositFeeRate = _depositFeeRate;
    }

    function tokens() external view returns (address[] memory) {
        return _tokens;
    }

    function getGauge(address _token) external view returns (address) {
        return gauges[_token];
    }

    // Reset votes to 0
    function reset() external {
        _reset(msg.sender);
    }

    // Reset votes to 0
    function _reset(address _owner) internal {
        address[] storage _tokenVote = tokenVote[_owner];
        uint256 _tokenVoteCnt = _tokenVote.length;

        for (uint i = 0; i < _tokenVoteCnt; i ++) {
            address _token = _tokenVote[i];
            uint _votes = votes[_owner][_token];

            if (_votes > 0) {
                totalWeight = totalWeight.sub(_votes);
                weights[_token] = weights[_token].sub(_votes);

                votes[_owner][_token] = 0;
            }
        }

        delete tokenVote[_owner];
    }

    // Adjusts _owner's votes according to latest _owner's inSPIRIT balance
    function poke(address _owner) public {
        address[] memory _tokenVote = tokenVote[_owner];
        uint256 _tokenCnt = _tokenVote.length;
        uint256[] memory _weights = new uint[](_tokenCnt);

        uint256 _prevUsedWeight = usedWeights[_owner];
        uint256 _weight = inSPIRIT.balanceOf(_owner);

        for (uint256 i = 0; i < _tokenCnt; i ++) {
            uint256 _prevWeight = votes[_owner][_tokenVote[i]];
            _weights[i] = _prevWeight.mul(_weight).div(_prevUsedWeight);
        }

        _vote(_owner, _tokenVote, _weights);
    }

    function _vote(address _owner, address[] memory _tokenVote, uint256[] memory _weights) internal {
        // _weights[i] = percentage * 100
        _reset(_owner);
        uint256 _tokenCnt = _tokenVote.length;
        uint256 _weight = inSPIRIT.balanceOf(_owner);
        uint256 _totalVoteWeight = 0;
        uint256 _usedWeight = 0;

        for (uint256 i = 0; i < _tokenCnt; i ++) {
            _totalVoteWeight = _totalVoteWeight.add(_weights[i]);
        }

        for (uint256 i = 0; i < _tokenCnt; i ++) {
            address _token = _tokenVote[i];
            address _gauge = gauges[_token];
            uint256 _tokenWeight = _weights[i].mul(_weight).div(_totalVoteWeight);

            if (_gauge != address(0x0)) {
                _usedWeight = _usedWeight.add(_tokenWeight);
                totalWeight = totalWeight.add(_tokenWeight);
                weights[_token] = weights[_token].add(_tokenWeight);
                tokenVote[_owner].push(_token);
                votes[_owner][_token] = _tokenWeight;
            }
        }

        usedWeights[_owner] = _usedWeight;
    }

    // Vote with inSPIRIT on a gauge
    function vote(address[] calldata _tokenVote, uint256[] calldata _weights) external {
        require(_tokenVote.length == _weights.length);
        _vote(msg.sender, _tokenVote, _weights);
    }

    // Add new token gauge
    function addGauge(address _token) external returns(address){
        require(msg.sender == governance, "!gov");
        require(treasury != address(0x0), "addGauge: treaury should be set before every action");
        require(gauges[_token] == address(0x0), "exists");
        gauges[_token] = address(new Gauge(address(SPIRIT), address(inSPIRIT), _token));
        _tokens.push(_token);
        return gauges[_token];
    }


    // Sets MasterChef PID
    function setPID(uint _pid) external {
        require(msg.sender == governance, "!gov");
        pid = _pid;
    }

    // Deposits minSPIRIT into MasterChef
    function deposit() public {
        require(pid != uint(-1), "pid not initialized");
        IERC20 _token = TOKEN;
        uint _balance = _token.balanceOf(address(this));
        _token.safeApprove(address(MASTER), 0);
        _token.safeApprove(address(MASTER), _balance);

        MASTER.deposit(pid, _balance);
    }

    // Fetches Spirit
    function collect() public {
        (uint _locked,) = MASTER.userInfo(pid, address(this));
        MASTER.withdraw(pid, _locked);
        deposit();
    }

    function length() external view returns (uint) {
        return _tokens.length;
    }

    function distribute() external {
        collect();
        uint _balance = SPIRIT.balanceOf(address(this));
        if (_balance > 0 && totalWeight > 0) {
            for (uint i = 0; i < _tokens.length; i++) {
                address _token = _tokens[i];
                address _gauge = gauges[_token];
                uint _reward = _balance.mul(weights[_token]).div(totalWeight);
                if (_reward > 0) {
                    SPIRIT.safeApprove(_gauge, 0);
                    SPIRIT.safeApprove(_gauge, _reward);
                    Gauge(_gauge).notifyRewardAmount(_reward);
                }
            }
        }
    }

    function getDepositFeeRate() external view returns (uint256) {
        return depositFeeRate;
    }

    function updateDepositFeeRate(uint256 _depositFeeRate) external {
        require(msg.sender == governance, "updateDepositFeeRate: permission is denied!");
        require(_depositFeeRate <= 2000, "updateDepositFeeRate: cannot execeed the 20%!");
        depositFeeRate = _depositFeeRate;
    }

    function getTreasury() external view returns (address) {
        return treasury;
    }

    function updateTreasury(address _treasury) external {
        require(msg.sender == governance, "updateTreasury: permission is denied!");
        treasury = _treasury;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_spirit","type":"address"},{"internalType":"address","name":"_inSpirit","type":"address"},{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"DISTRIBUTION","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SPIRIT","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"depositFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"derivedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"derivedBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"derivedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inSPIRIT","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"kick","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526000600355600060045534801561001a57600080fd5b506040516129f43803806129f48339818101604052606081101561003d57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190505050600160008190555082600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250503373ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050505060805160601c60a05160601c61284b6101a9600039806108a55280610a3152806110605280611db152508061109752806115cf5280611b6c52806120d2528061211e525061284b6000f3fe608060405234801561001057600080fd5b50600436106101ce5760003560e01c806382bfefc811610104578063cd3daf9d116100a2578063df136d6511610071578063df136d65146106a9578063e9fad8ee146106c7578063ebe2b12b146106d1578063f05cc5b6146106ef576101ce565b8063cd3daf9d1461060b578063d35e254414610629578063d7da4bb014610681578063de5f62681461069f576101ce565b806396c55175116100de57806396c5517514610547578063a7fa806b1461058b578063b6b55f25146105bf578063c8f33c91146105ed576101ce565b806382bfefc8146104b1578063853828b6146104e55780638b876347146104ef576101ce565b80633c6b16ab1161017157806370a082311161014b57806370a08231146103e95780637b0a47ee146104415780637c91e4eb1461045f57806380faa57d14610493576101ce565b80633c6b16ab146103595780633d18b9121461038757806363fb415b14610391576101ce565b80631be05289116101ad5780631be05289146102a15780631c1f78eb146102bf5780632e1a7d4d146102dd57806336efd16f1461030b576101ce565b80628cc262146101d35780630700037d1461022b57806318160ddd14610283575b600080fd5b610215600480360360208110156101e957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610723565b6040518082815260200191505060405180910390f35b61026d6004803603602081101561024157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610841565b6040518082815260200191505060405180910390f35b61028b610859565b6040518082815260200191505060405180910390f35b6102a9610863565b6040518082815260200191505060405180910390f35b6102c761086a565b6040518082815260200191505060405180910390f35b610309600480360360208110156102f357600080fd5b8101908080359060200190929190505050610889565b005b6103576004803603604081101561032157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610895565b005b6103856004803603602081101561036f57600080fd5b81019080803590602001909291905050506108a3565b005b61038f610d1a565b005b6103d3600480360360208110156103a757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ff7565b6040518082815260200191505060405180910390f35b61042b600480360360208110156103ff57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061100f565b6040518082815260200191505060405180910390f35b610449611058565b6040518082815260200191505060405180910390f35b61046761105e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61049b611082565b6040518082815260200191505060405180910390f35b6104b9611095565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104ed6110b9565b005b6105316004803603602081101561050557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611103565b6040518082815260200191505060405180910390f35b6105896004803603602081101561055d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061111b565b005b6105936111e8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105eb600480360360208110156105d557600080fd5b810190808035906020019092919050505061120e565b005b6105f561121b565b6040518082815260200191505060405180910390f35b610613611221565b6040518082815260200191505060405180910390f35b61066b6004803603602081101561063f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112c3565b6040518082815260200191505060405180910390f35b6106896115c4565b6040518082815260200191505060405180910390f35b6106a76115ca565b005b6106b1611697565b6040518082815260200191505060405180910390f35b6106cf61169d565b005b6106d96116ef565b6040518082815260200191505060405180910390f35b6106f76116f5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600061083a600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461082c670de0b6b3a764000061081e6107d0600760008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107c2611221565b61171b90919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461176590919063ffffffff16565b61180890919063ffffffff16565b61185290919063ffffffff16565b9050919050565b60086020528060005260406000206000915090505481565b6000600954905090565b62093a8081565b600061088462093a8060045461176590919063ffffffff16565b905090565b610892816118da565b50565b61089f8282611c48565b5050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610947576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806127c2602a913960400191505060405180910390fd5b6000610951611221565b60068190555061095f611082565b600581905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a2c576109a281610723565b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600654600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b610a9b7f00000000000000000000000000000000000000000000000000000000000000003084600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612200909392919063ffffffff16565b6003544210610ac557610aba62093a808361180890919063ffffffff16565b600481905550610b28565b6000610adc4260035461171b90919063ffffffff16565b90506000610af56004548361176590919063ffffffff16565b9050610b1f62093a80610b11838761185290919063ffffffff16565b61180890919063ffffffff16565b60048190555050505b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610bb357600080fd5b505afa158015610bc7573d6000803e3d6000fd5b505050506040513d6020811015610bdd57600080fd5b81019080805190602001909291905050509050610c0662093a808261180890919063ffffffff16565b6004541115610c7d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f76696465642072657761726420746f6f2068696768000000000000000081525060200191505060405180910390fd5b42600581905550610c9a62093a804261185290919063ffffffff16565b6003819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d836040518082815260200191505060405180910390a150600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d1657610d158161111b565b5b5050565b60026000541415610d93576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033610da4611221565b600681905550610db2611082565b600581905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e7f57610df581610723565b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600654600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115610fad576000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610f5e3382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122c19092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fec57610feb8161111b565b5b506001600081905550565b600c6020528060005260406000206000915090505481565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60045481565b7f000000000000000000000000000000000000000000000000000000000000000081565b600061109042600354612363565b905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b611101600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118da565b565b60076020528060005260406000206000915090505481565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905061117481600a5461171b90919063ffffffff16565b600a81905550611183826112c3565b905080600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506111de81600a5461185290919063ffffffff16565b600a819055505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112188133611c48565b50565b60055481565b600080600a54141561123657600090506112c0565b6000600954141561124b5760065490506112c0565b6112bd6112ac600a5461129e670de0b6b3a7640000611290600454611282600554611274611082565b61171b90919063ffffffff16565b61176590919063ffffffff16565b61176590919063ffffffff16565b61180890919063ffffffff16565b60065461185290919063ffffffff16565b90505b90565b600080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561132e57600080fd5b505afa158015611342573d6000803e3d6000fd5b505050506040513d602081101561135857600080fd5b8101908080519060200190929190505050141561137857600090506115bf565b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006113e560646113d760288561176590919063ffffffff16565b61180890919063ffffffff16565b9050600061159b606461158d603c61157f600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561145e57600080fd5b505afa158015611472573d6000803e3d6000fd5b505050506040513d602081101561148857600080fd5b8101908080519060200190929190505050611571600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a082318d6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561152557600080fd5b505afa158015611539573d6000803e3d6000fd5b505050506040513d602081101561154f57600080fd5b810190808051906020019092919050505060095461176590919063ffffffff16565b61180890919063ffffffff16565b61176590919063ffffffff16565b61180890919063ffffffff16565b90506115b96115b3828461185290919063ffffffff16565b84612363565b93505050505b919050565b600a5481565b6116957f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561165457600080fd5b505afa158015611668573d6000803e3d6000fd5b505050506040513d602081101561167e57600080fd5b810190808051906020019092919050505033611c48565b565b60065481565b6116e5600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118da565b6116ed610d1a565b565b60035481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061175d83836040518060400160405280600681526020017f7375623a202d000000000000000000000000000000000000000000000000000081525061237c565b905092915050565b6000808314156117785760009050611802565b600082840290508284828161178957fe5b04146117fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f6d756c3a202a000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b809150505b92915050565b600061184a83836040518060400160405280600681526020017f6469763a202f000000000000000000000000000000000000000000000000000081525061243c565b905092915050565b6000808284019050838110156118d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f6164643a202b000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b8091505092915050565b60026000541415611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033611964611221565b600681905550611972611082565b600581905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a3f576119b581610723565b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600654600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211611ab5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b611aca8260095461171b90919063ffffffff16565b600981905550611b2282600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461171b90919063ffffffff16565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611bb033837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166122c19092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a2600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c3c57611c3b8161111b565b5b50600160008190555050565b60026000541415611cc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555080611cd2611221565b600681905550611ce0611082565b600581905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611dad57611d2381610723565b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600654600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60007f0000000000000000000000000000000000000000000000000000000000000000905060008173ffffffffffffffffffffffffffffffffffffffff16633b19e84a6040518163ffffffff1660e01b815260040160206040518083038186803b158015611e1a57600080fd5b505afa158015611e2e573d6000803e3d6000fd5b505050506040513d6020811015611e4457600080fd5b8101908080519060200190929190505050905060008273ffffffffffffffffffffffffffffffffffffffff1663d7459b996040518163ffffffff1660e01b815260040160206040518083038186803b158015611e9f57600080fd5b505afa158015611eb3573d6000803e3d6000fd5b505050506040513d6020811015611ec957600080fd5b81019080805190602001909291905050509050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f62576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806127996029913960400191505060405180910390fd5b60008611611fd8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f6465706f736974284761756765293a2063616e6e6f74207374616b652030000081525060200191505060405180910390fd5b6000612001612710611ff3848a61176590919063ffffffff16565b61180890919063ffffffff16565b90506000612018828961171b90919063ffffffff16565b905061206c81600b60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461185290919063ffffffff16565b600b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506120c48160095461185290919063ffffffff16565b60098190555061211787308a7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16612200909392919063ffffffff16565b61216284837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166122c19092919063ffffffff16565b8673ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d826040518082815260200191505060405180910390a25050505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146121f3576121f28161111b565b5b5060016000819055505050565b6122bb846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612502565b50505050565b61235e8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612502565b505050565b60008183106123725781612374565b825b905092915050565b6000838311158290612429576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156123ee5780820151818401526020810190506123d3565b50505050905090810190601f16801561241b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906124e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156124ad578082015181840152602081019050612492565b50505050905090810190601f1680156124da5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816124f457fe5b049050809150509392505050565b6125218273ffffffffffffffffffffffffffffffffffffffff1661274d565b612593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106125e257805182526020820191506020810190506020830392506125bf565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612644576040519150601f19603f3d011682016040523d82523d6000602084013e612649565b606091505b5091509150816126c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b600081511115612747578080602001905160208110156126e057600080fd5b8101908080519060200190929190505050612746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806127ec602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b821415801561278f5750808214155b9250505091905056fe6465706f736974284761756765293a20747265617375727920686176656e2774206265656e2073657443616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212207ef151f0814dc644efac582786d2d40d93a0ff777ee6c5447f8eac660e9decb364736f6c634300060c00330000000000000000000000005cc61a78f164885776aa610fb0fe1257df78e59b0000000000000000000000002fbff41a9efaeae77538bd63f1ea489494acdc08000000000000000000000000613bf4e46b4817015c01c6bb31c7ae9edaadc26e

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

0000000000000000000000005cc61a78f164885776aa610fb0fe1257df78e59b0000000000000000000000002fbff41a9efaeae77538bd63f1ea489494acdc08000000000000000000000000613bf4e46b4817015c01c6bb31c7ae9edaadc26e

-----Decoded View---------------
Arg [0] : _spirit (address): 0x5cc61a78f164885776aa610fb0fe1257df78e59b
Arg [1] : _inSpirit (address): 0x2fbff41a9efaeae77538bd63f1ea489494acdc08
Arg [2] : _token (address): 0x613bf4e46b4817015c01c6bb31c7ae9edaadc26e

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000005cc61a78f164885776aa610fb0fe1257df78e59b
Arg [1] : 0000000000000000000000002fbff41a9efaeae77538bd63f1ea489494acdc08
Arg [2] : 000000000000000000000000613bf4e46b4817015c01c6bb31c7ae9edaadc26e


Deployed ByteCode Sourcemap

8719:6893:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11408:204;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9382:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9886:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8966:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11620:114;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13002:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;11946:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;13861:1113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;13447:301;;;:::i;:::-;;9552:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9987:112;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9054:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8922:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;10107:131;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8886:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;12911:83;;;:::i;:::-;;9318:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11069:331;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;8828:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;11849:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;9090:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10246:402;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10656:405;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9468:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11742:99;;;:::i;:::-;;9126:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13756:97;;;:::i;:::-;;9016:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8855:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;11408:204;11462:7;11489:115;11587:7;:16;11595:7;11587:16;;;;;;;;;;;;;;;;11489:93;11577:4;11489:83;11518:53;11539:22;:31;11562:7;11539:31;;;;;;;;;;;;;;;;11518:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;11489:15;:24;11505:7;11489:24;;;;;;;;;;;;;;;;:28;;:83;;;;:::i;:::-;:87;;:93;;;;:::i;:::-;:97;;:115;;;;:::i;:::-;11482:122;;11408:204;;;:::o;9382:42::-;;;;;;;;;;;;;;;;;:::o;9886:93::-;9932:7;9959:12;;9952:19;;9886:93;:::o;8966:41::-;9001:6;8966:41;:::o;11620:114::-;11675:7;11702:24;9001:6;11702:10;;:14;;:24;;;;:::i;:::-;11695:31;;11620:114;:::o;13002:79::-;13056:17;13066:6;13056:9;:17::i;:::-;13002:79;:::o;11946:106::-;12019:25;12028:6;12036:7;12019:8;:25::i;:::-;11946:106;;:::o;13861:1113::-;9231:12;9217:26;;:10;:26;;;9209:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13952:1:::1;15055:16;:14;:16::i;:::-;15032:20;:39;;;;15099:26;:24;:26::i;:::-;15082:14;:43;;;;15159:1;15140:21;;:7;:21;;;15136:157;;15197:15;15204:7;15197:6;:15::i;:::-;15178:7;:16;15186:7;15178:16;;;;;;;;;;;;;;;:34;;;;15261:20;;15227:22;:31;15250:7;15227:31;;;;;;;;;;;;;;;:54;;;;15136:157;13967:60:::2;13991:12;14013:4;14020:6;13967;;;;;;;;;;;:23;;;;:60;;;;;;:::i;:::-;14061:12;;14042:15;:31;14038:304;;14103:20;9001:6;14103;:10;;:20;;;;:::i;:::-;14090:10;:33;;;;14038:304;;;14156:17;14176:33;14193:15;14176:12;;:16;;:33;;;;:::i;:::-;14156:53;;14224:16;14243:25;14257:10;;14243:9;:13;;:25;;;;:::i;:::-;14224:44;;14296:34;9001:6;14296:20;14307:8;14296:6;:10;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;14283:10;:47;;;;14038:304;;;14702:12;14717:6;;;;;;;;;;;:16;;;14742:4;14717:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;14702:46;;14781:21;9001:6;14781:7;:11;;:21;;;;:::i;:::-;14767:10;;:35;;14759:72;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;14861:15;14844:14;:32;;;;14902:29;9001:6;14902:15;:19;;:29;;;;:::i;:::-;14887:12;:44;;;;14947:19;14959:6;14947:19;;;;;;;;;;;;;;;;;;15303:1;15338::::1;15319:21;;:7;:21;;;15315:67;;15357:13;15362:7;15357:4;:13::i;:::-;15315:67;9301:1;13861:1113:::0;:::o;13447:301::-;7608:1;8212:7;;:19;;8204:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7608:1;8345:7;:18;;;;13501:10:::1;15055:16;:14;:16::i;:::-;15032:20;:39;;;;15099:26;:24;:26::i;:::-;15082:14;:43;;;;15159:1;15140:21;;:7;:21;;;15136:157;;15197:15;15204:7;15197:6;:15::i;:::-;15178:7;:16;15186:7;15178:16;;;;;;;;;;;;;;;:34;;;;15261:20;;15227:22;:31;15250:7;15227:31;;;;;;;;;;;;;;;:54;;;;15136:157;13524:14:::2;13541:7;:19;13549:10;13541:19;;;;;;;;;;;;;;;;13524:36;;13584:1;13575:6;:10;13571:170;;;13624:1;13602:7;:19;13610:10;13602:19;;;;;;;;;;;;;;;:23;;;;13640:39;13660:10;13672:6;13640;;;;;;;;;;;:19;;;;:39;;;;;:::i;:::-;13710:10;13699:30;;;13722:6;13699:30;;;;;;;;;;;;;;;;;;13571:170;15303:1;15338::::1;15319:21;;:7;:21;;;15315:67;;15357:13;15362:7;15357:4;:13::i;:::-;15315:67;8376:1;7564::::0;8524:7;:22;;;;13447:301::o;9552:50::-;;;;;;;;;;;;;;;;;:::o;9987:112::-;10046:7;10073:9;:18;10083:7;10073:18;;;;;;;;;;;;;;;;10066:25;;9987:112;;;:::o;9054:29::-;;;;:::o;8922:37::-;;;:::o;10107:131::-;10164:7;10191:39;10200:15;10217:12;;10191:8;:39::i;:::-;10184:46;;10107:131;:::o;8886:29::-;;;:::o;12911:83::-;12954:32;12964:9;:21;12974:10;12964:21;;;;;;;;;;;;;;;;12954:9;:32::i;:::-;12911:83::o;9318:57::-;;;;;;;;;;;;;;;;;:::o;11069:331::-;11118:20;11141:15;:24;11157:7;11141:24;;;;;;;;;;;;;;;;11118:47;;11192:34;11210:15;11192:13;;:17;;:34;;;;:::i;:::-;11176:13;:50;;;;11255:23;11270:7;11255:14;:23::i;:::-;11237:41;;11316:15;11289;:24;11305:7;11289:24;;;;;;;;;;;;;;;:42;;;;11358:34;11376:15;11358:13;;:17;;:34;;;;:::i;:::-;11342:13;:50;;;;11069:331;;:::o;8828:20::-;;;;;;;;;;;;;:::o;11849:89::-;11902:28;11911:6;11919:10;11902:8;:28::i;:::-;11849:89;:::o;9090:29::-;;;;:::o;10246:402::-;10293:7;10334:1;10317:13;;:18;10313:59;;;10359:1;10352:8;;;;10313:59;10404:1;10388:12;;:17;10384:77;;;10429:20;;10422:27;;;;10384:77;10491:149;10534:91;10611:13;;10534:72;10601:4;10534:62;10585:10;;10534:46;10565:14;;10534:26;:24;:26::i;:::-;:30;;:46;;;;:::i;:::-;:50;;:62;;;;:::i;:::-;:66;;:72;;;;:::i;:::-;:76;;:91;;;;:::i;:::-;10491:20;;:24;;:149;;;;:::i;:::-;10471:169;;10246:402;;:::o;10656:405::-;10718:4;10764:1;10738:8;;;;;;;;;;;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:27;10735:40;;;10774:1;10767:8;;;;10735:40;10786:13;10802:9;:18;10812:7;10802:18;;;;;;;;;;;;;;;;10786:34;;10831:13;10847:25;10868:3;10847:16;10860:2;10847:8;:12;;:16;;;;:::i;:::-;:20;;:25;;;;:::i;:::-;10831:41;;10883:14;10900:92;10988:3;10900:83;10980:2;10901:73;10951:8;;;;;;;;;;;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10901:45;10918:8;;;;;;;;;;;:18;;;10937:7;10918:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10901:12;;:16;;:45;;;;:::i;:::-;:49;;:73;;;;:::i;:::-;10900:79;;:83;;;;:::i;:::-;:87;;:92;;;;:::i;:::-;10883:109;;11010:43;11019:23;11032:9;11019:8;:12;;:23;;;;:::i;:::-;11044:8;11010;:43::i;:::-;11003:50;;;;;10656:405;;;;:::o;9468:25::-;;;;:::o;11742:99::-;11784:49;11793:5;:15;;;11809:10;11793:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11822:10;11784:8;:49::i;:::-;11742:99::o;9126:35::-;;;;:::o;13756:97::-;13791:32;13801:9;:21;13811:10;13801:21;;;;;;;;;;;;;;;;13791:9;:32::i;:::-;13834:11;:9;:11::i;:::-;13756:97::o;9016:31::-;;;;:::o;8855:22::-;;;;;;;;;;;;;:::o;479:103::-;531:4;555:19;559:1;562;555:19;;;;;;;;;;;;;;;;;:3;:19::i;:::-;548:26;;479:103;;;;:::o;774:432::-;826:4;1073:1;1068;:6;1064:47;;;1098:1;1091:8;;;;1064:47;1123:6;1136:1;1132;:5;1123:14;;1165:1;1160;1156;:5;;;;;;:10;1148:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1197:1;1190:8;;;774:432;;;;;:::o;1461:103::-;1513:4;1537:19;1541:1;1544;1537:19;;;;;;;;;;;;;;;;;:3;:19::i;:::-;1530:26;;1461:103;;;;:::o;139:148::-;191:4;208:6;221:1;217;:5;208:14;;246:1;241;:6;;233:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;278:1;271:8;;;139:148;;;;:::o;13089:350::-;7608:1;8212:7;;:19;;8204:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7608:1;8345:7;:18;;;;13156:10:::1;15055:16;:14;:16::i;:::-;15032:20;:39;;;;15099:26;:24;:26::i;:::-;15082:14;:43;;;;15159:1;15140:21;;:7;:21;;;15136:157;;15197:15;15204:7;15197:6;:15::i;:::-;15178:7;:16;15186:7;15178:16;;;;;;;;;;;;;;;:34;;;;15261:20;;15227:22;:31;15250:7;15227:31;;;;;;;;;;;;;;;:54;;;;15136:157;13196:1:::2;13187:6;:10;13179:40;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;13245:24;13262:6;13245:12;;:16;;:24;;;;:::i;:::-;13230:12;:39;;;;13304:33;13330:6;13304:9;:21;13314:10;13304:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;13280:9;:21;13290:10;13280:21;;;;;;;;;;;;;;;:57;;;;13348:38;13367:10;13379:6;13348:5;:18;;;;:38;;;;;:::i;:::-;13412:10;13402:29;;;13424:6;13402:29;;;;;;;;;;;;;;;;;;15338:1:::1;15319:21;;:7;:21;;;15315:67;;15357:13;15362:7;15357:4;:13::i;:::-;15315:67;8376:1;7564::::0;8524:7;:22;;;;13089:350;:::o;12060:843::-;7608:1;8212:7;;:19;;8204:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7608:1;8345:7;:18;;;;12143:7:::1;15055:16;:14;:16::i;:::-;15032:20;:39;;;;15099:26;:24;:26::i;:::-;15082:14;:43;;;;15159:1;15140:21;;:7;:21;;;15136:157;;15197:15;15204:7;15197:6;:15::i;:::-;15178:7;:16;15186:7;15178:16;;;;;;;;;;;;;;;:34;;;;15261:20;;15227:22;:31;15250:7;15227:31;;;;;;;;;;;;;;;:54;;;;15136:157;12163:22:::2;12200:12;12163:50;;12224:16;12243:10;:22;;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;12224:43;;12278:22;12303:10;:28;;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;12278:55;;12374:3;12354:24;;:8;:24;;;;12346:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12452:1;12443:6;:10;12435:53;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;12501:17;12521:37;12552:5;12521:26;12532:14;12521:6;:10;;:26;;;;:::i;:::-;:30;;:37;;;;:::i;:::-;12501:57;;12569:18;12590:21;12601:9;12590:6;:10;;:21;;;;:::i;:::-;12569:42;;12645:34;12668:10;12645:9;:18;12655:7;12645:18;;;;;;;;;;;;;;;;:22;;:34;;;;:::i;:::-;12624:9;:18;12634:7;12624:18;;;;;;;;;;;;;;;:55;;;;12705:28;12722:10;12705:12;;:16;;:28;;;;:::i;:::-;12690:12;:43;;;;12746:54;12769:7;12786:4;12793:6;12746:5;:22;;;;:54;;;;;;:::i;:::-;12811:39;12830:8;12840:9;12811:5;:18;;;;:39;;;;;:::i;:::-;12875:7;12868:27;;;12884:10;12868:27;;;;;;;;;;;;;;;;;;15303:1;;;;;15338::::1;15319:21;;:7;:21;;;15315:67;;15357:13;15362:7;15357:4;:13::i;:::-;15315:67;8376:1;7564::::0;8524:7;:22;;;;12060:843;;:::o;3461:204::-;3562:95;3581:5;3611:27;;;3640:4;3646:2;3650:5;3588:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3562:18;:95::i;:::-;3461:204;;;;:::o;3277:176::-;3360:85;3379:5;3409:23;;;3434:2;3438:5;3386:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3360:18;:85::i;:::-;3277:176;;;:::o;5532:106::-;5590:7;5621:1;5617;:5;:13;;5629:1;5617:13;;;5625:1;5617:13;5610:20;;5532:106;;;;:::o;588:180::-;668:4;698:1;693;:6;;701:12;685:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;725:6;738:1;734;:5;725:14;;759:1;752:8;;;588:180;;;;;:::o;1570:179::-;1650:4;1679:1;1675;:5;1682:12;1667:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1706:6;1719:1;1715;:5;;;;;;1706:14;;1740:1;1733:8;;;1570:179;;;;;:::o;4657:598::-;4745:27;4753:5;4745:25;;;:27::i;:::-;4737:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4882:12;4896:23;4931:5;4923:19;;4943:4;4923:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4881:67;;;;4967:7;4959:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5048:1;5028:10;:17;:21;5024:224;;;5170:10;5159:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5151:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5024:224;4657:598;;;;:::o;1779:374::-;1839:4;1856:16;1883:19;1905:66;1883:88;;;;2074:7;2062:20;2050:32;;2114:3;2102:15;;:8;:15;;:42;;;;;2133:11;2121:8;:23;;2102:42;2094:51;;;;1779:374;;;:::o

Swarm Source

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

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

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