Contract 0xe517bab69A1A63A01C492d49E1d466385b1b1c0D

Contract Overview

Snowball: StableVault Gauge
Balance:
0 AVAX

AVAX Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x4d6997beff73162607f24e5035bac32602589dc28d75bbebdd1e4f0ed93e297eGet Reward54122782021-10-09 10:54:02219 days 20 hrs ago0xe3666187c7fbd30ea514a00747f27bef2df27d69 IN  Snowball: StableVault Gauge0 AVAX0.00237945 25
0x22740acdc9a53ad7b82addfafa7d9db65dfc00881e98f493e7ed1b55735e88b4Withdraw54122702021-10-09 10:53:46219 days 20 hrs ago0xe3666187c7fbd30ea514a00747f27bef2df27d69 IN  Snowball: StableVault Gauge0 AVAX0.003668575 25
0xc5dc12b3080e9471ad3a543c0a94a917458d78fcf09f6f4d905d84aa0d988247Get Reward48204862021-09-25 8:29:24233 days 22 hrs ago0xcf354a0012160bc5dae441c49f0b2d7e4a4ffc96 IN  Snowball: StableVault Gauge0 AVAX0.00280695 25
0x08c8bf6220c5d529b4c02dc749b0426d9af1c99e2b352fee7251ec457c56d707Withdraw48204752021-09-25 8:29:01233 days 22 hrs ago0xcf354a0012160bc5dae441c49f0b2d7e4a4ffc96 IN  Snowball: StableVault Gauge0 AVAX0.003668875 25
0xd256129d5a26f62586ef0e3d31c52ac47c529f45c5a7fe0633db21d7b80c138cGet Reward45121742021-09-18 12:33:58240 days 18 hrs ago0x6a340b2b5482bc0c865ec704adae5a758fbf8f9e IN  Snowball: StableVault Gauge0 AVAX0.00954363 85
0x142d365d6a6fd9e3da0e9ec4881e5a07a4250042afed0a7bc5a5ef2dd43a9c31Withdraw45121662021-09-18 12:33:40240 days 18 hrs ago0x6a340b2b5482bc0c865ec704adae5a758fbf8f9e IN  Snowball: StableVault Gauge0 AVAX0.012534754482 85.412793314
0x8504290c5a753485d9cb10e113ca3d6f57f8b24e6161f0f6acfcc50efaf13302Get Reward44144202021-09-16 11:35:45242 days 19 hrs ago0x3f7167999518137b21a2f6f973cc81bf92333598 IN  Snowball: StableVault Gauge0 AVAX0.00954363 85
0xe29ebf146e1d0da71679b20d1121bf143e392ad7b30e0afded04b3e2e0ea4971Withdraw44144152021-09-16 11:35:33242 days 19 hrs ago0x3f7167999518137b21a2f6f973cc81bf92333598 IN  Snowball: StableVault Gauge0 AVAX0.012475195 85
0x401d84735ed3c82051b98c834b35f14fbef15833ce49ab9caaed2fa25918e12aGet Reward43817252021-09-15 19:12:28243 days 11 hrs ago0xdb042a2ff578633f241fcd010eb4ac775f0eabc2 IN  Snowball: StableVault Gauge0 AVAX0.025374828226
0xd31a51e9542201cec98ea37765f148e3c6d8dd5e270e0172a17423a7db75dda9Withdraw43817052021-09-15 19:11:53243 days 11 hrs ago0xdb042a2ff578633f241fcd010eb4ac775f0eabc2 IN  Snowball: StableVault Gauge0 AVAX0.033169342226
0x54c1ee430dea3503530ad2a87e66feb0c4651cde78e1331eec64b50deeae0bc8Get Reward42206662021-09-12 12:31:40246 days 18 hrs ago0xc0e9ec12f342b279676f8f0cb4268b2f147f1cfb IN  Snowball: StableVault Gauge0 AVAX0.00954363 85
0x95510d5ac6e6a214e988071af4a0886eb45bed9668d443081b25362c934941f4Withdraw42206412021-09-12 12:30:59246 days 18 hrs ago0xc0e9ec12f342b279676f8f0cb4268b2f147f1cfb IN  Snowball: StableVault Gauge0 AVAX0.012816225027 87.32361517
0x0d475dbf4bdd3530a5f4dd9a0076fa2a63307a7b9156c1ec8a799a9376b9ba5fGet Reward41899802021-09-11 23:37:22247 days 7 hrs ago0x1d4fbe5f17c4ac33d7ffe3a3445b6ce20f20c6a5 IN  Snowball: StableVault Gauge0 AVAX0.017235162154 181.083466289
0xd9c66ccf6d714563385916167e23eeda5f1d1c869df7a60158aa9d1d0cecb60eWithdraw41899722021-09-11 23:37:11247 days 7 hrs ago0x1d4fbe5f17c4ac33d7ffe3a3445b6ce20f20c6a5 IN  Snowball: StableVault Gauge0 AVAX0.029870603531 203.557263595
0x54681b709c3f7f8938bd299738149c9035bb1701ab40288e1735e7d70175b033Get Reward41168122021-09-10 15:36:56248 days 15 hrs ago0xcf38e220cf2914e892e3c7712c54f72e804a8bb7 IN  Snowball: StableVault Gauge0 AVAX0.00887374585
0xfdb304f6334836e2321dd296511bf4150023bf1186f7fd8a20049c2ebe7be7d6Withdraw41167992021-09-10 15:36:29248 days 15 hrs ago0xcf38e220cf2914e892e3c7712c54f72e804a8bb7 IN  Snowball: StableVault Gauge0 AVAX0.01330705366485.315845359
0x973f7bdb26036f98ca3987fb1c77dc9e05cc93127a0f60f8cbe56148b13eed62Get Reward40278492021-09-08 19:35:22250 days 11 hrs ago0xc7dcb30550c2a41149aabf6a729e8554e6606f85 IN  Snowball: StableVault Gauge0 AVAX0.0095436385
0x3b1af948bad72b65595d1b8621912984281d50f8bfc2a20fe87ee474c549560bWithdraw40278412021-09-08 19:35:01250 days 11 hrs ago0xc7dcb30550c2a41149aabf6a729e8554e6606f85 IN  Snowball: StableVault Gauge0 AVAX0.01102169585
0x2116e56181aa15434dce8859c1243befa22b9a4eb83729d65b71f4d386396d86Get Reward39610912021-09-07 11:58:54251 days 19 hrs ago0x2895960ce3a6fdc1e872cca72874d4eb31c0eeae IN  Snowball: StableVault Gauge0 AVAX0.0095436385
0xb88eaeb439af3d777c50f996580c0b80459db2326291cd94abbd5493e028862cWithdraw39610852021-09-07 11:58:39251 days 19 hrs ago0x2895960ce3a6fdc1e872cca72874d4eb31c0eeae IN  Snowball: StableVault Gauge0 AVAX0.01247519585
0x43b88ea06139435e5c9c749e377fe84194e2ca051d906b3b3bcc5293ced3027cGet Reward39172632021-09-06 11:27:42252 days 19 hrs ago0x7bdb0edb0c4d66ffff7c0aac2a3b5726897b994f IN  Snowball: StableVault Gauge0 AVAX0.00954363 85
0x851560f10dcb5c0760c5b60a37fc8420a30fc877da3fdad34472de17589c6d22Withdraw39172492021-09-06 11:27:18252 days 19 hrs ago0x7bdb0edb0c4d66ffff7c0aac2a3b5726897b994f IN  Snowball: StableVault Gauge0 AVAX0.012474175 85
0x618d6751059253eba27e8175396b20999be903920d5c768f713772f1a0aafbf4Get Reward38850852021-09-05 17:27:56253 days 13 hrs ago0x1506d1fc81a1b5505115884bc7b792f19f4ca2fc IN  Snowball: StableVault Gauge0 AVAX0.00954363 85
0xade20c8a4a6c8ebdcc9f801b0cac3daa5ac13bcfe1d3c871d1b5b001014bb8caWithdraw38850782021-09-05 17:27:35253 days 13 hrs ago0x1506d1fc81a1b5505115884bc7b792f19f4ca2fc IN  Snowball: StableVault Gauge0 AVAX0.011020675 85
0x5cd0526fe8945328e02b2647f662ff633de414a6ac0340e593b63e9e2da15ecfGet Reward38191662021-09-03 21:57:56255 days 9 hrs ago0x4c28b7a52cf9b44b7f775a0660fb09c41694ee7b IN  Snowball: StableVault Gauge0 AVAX0.00809013 85
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xc2f74c1b318184d106c6abdfba78f577ccefe7ad1f451d688d548ceecfd003f129484122021-08-11 18:01:48278 days 13 hrs ago 0xfc371ba1e7874ad893408d7b581f3c8471f03d2c  Contract Creation0 AVAX
[ 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, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at snowtrace.io on 2021-11-05
*/

// SPDX-License-Identifier: MIT
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;
    }
}

contract Gauge is ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    
	//Mainnet testnet
    IERC20 public constant SNOWBALL = IERC20(0xC38f41A296A4493Ff429F1238e030924A1542e50);
    IERC20 public constant SNOWCONE = IERC20(0x83952E7ab4aca74ca96217D6F8f7591BEaD6D64E);
    address public constant TREASURY = address(0x294aB3200ef36200db84C4128b7f1b4eec71E38a);
    
    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 _token) public {
        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 (_totalSupply == 0) {
            return rewardPerTokenStored;
        }
        return
            rewardPerTokenStored.add(
                lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRate).mul(1e18).div(derivedSupply)
            );
    }
    
    function derivedBalance(address account) public view returns (uint) {
        uint _balance = _balances[account];
        uint _derived = _balance.mul(40).div(100);
        uint _adjusted = (_totalSupply.mul(SNOWCONE.balanceOf(account)).div(SNOWCONE.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) {
        require(amount > 0, "Cannot stake 0");
        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Staked(account, amount);
        TOKEN.safeTransferFrom(account, address(this), amount);
    }
    
    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;
            SNOWBALL.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)) {
        SNOWBALL.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 = SNOWBALL.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);
}

interface IceQueen {
    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 MakeSnowCones {
    using SafeMath for uint;

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

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

    /// @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;
    
    IceQueen public constant MASTER = IceQueen(0xB12531a2d758c7a8BF09f44FC88E646E1BF9D375);
    IERC20 public constant SNOWCONE = IERC20(0x83952E7ab4aca74ca96217D6F8f7591BEaD6D64E);
    IERC20 public constant SNOWBALL = IERC20(0xC38f41A296A4493Ff429F1238e030924A1542e50);
    
    IERC20 public immutable TOKEN;
    
    uint public pid;
    uint public totalWeight;
    
    address[] internal _tokens;
    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
    
    function tokens() external view returns (address[] memory) {
        return _tokens;
    }
    
    function getGauge(address _token) external view returns (address) {
        return gauges[_token];
    }
    
    constructor() public {
        TOKEN = IERC20(address(new MakeSnowCones()));
        governance = msg.sender;
    }
    
    // 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 SNOWCONE 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 = SNOWCONE.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 = SNOWCONE.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 SNOWCONE on a gauge
    // _tokenVote: the array of tokens which will recieve tokens
    // _weights: the weights to associate with the tokens listed in _tokenVote
    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 {
        require(msg.sender == governance, "!gov");
        require(gauges[_token] == address(0x0), "exists");
        gauges[_token] = address(new Gauge(_token));
        _tokens.push(_token);
    }
    
    
    // Sets IceQueen PID
    function setPID(uint _pid) external {
        require(msg.sender == governance, "!gov");
        require(pid == 0, "pid has already been set");
        require(_pid > 0, "invalid pid");
        pid = _pid;
    }
    
    
    // Deposits mSNOWCONES into IceQueen
    function deposit() public {
        require(pid > 0, "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 Snowball
    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 = SNOWBALL.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) {
                    SNOWBALL.safeApprove(_gauge, 0);
                    SNOWBALL.safeApprove(_gauge, _reward);
                    Gauge(_gauge).notifyRewardAmount(_reward);
                }
            }
        }
    }
}

Contract ABI

[{"inputs":[{"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":"SNOWBALL","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNOWCONE","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":[],"name":"TREASURY","outputs":[{"internalType":"address","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":[{"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"}]

60c06040526000600155600060025534801561001a57600080fd5b5060405161260e38038061260e8339818101604052602081101561003d57600080fd5b810190808051906020019092919050505060016000819055508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250503373ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250505060805160601c60a05160601c612507610107600039806108fc5280610a8852806110a55250806110dc52806115095280611a985280611e5552506125076000f3fe608060405234801561001057600080fd5b50600436106101d95760003560e01c806380faa57d11610104578063cd3daf9d116100a2578063df136d6511610071578063df136d65146106e8578063e9fad8ee14610706578063ebe2b12b14610710578063ecb7347f1461072e576101d9565b8063cd3daf9d1461064a578063d35e254414610668578063d7da4bb0146106c0578063de5f6268146106de576101d9565b80638b876347116100de5780638b8763471461056257806396c55175146105ba578063b6b55f25146105fe578063c8f33c911461062c576101d9565b806380faa57d1461050657806382bfefc814610524578063853828b614610558576101d9565b806336efd16f1161017c5780636efc0e6f1161014b5780636efc0e6f1461042857806370a082311461045c5780637b0a47ee146104b45780637c91e4eb146104d2576101d9565b806336efd16f1461034a5780633c6b16ab146103985780633d18b912146103c657806363fb415b146103d0576101d9565b80631be05289116101b85780631be05289146102ac5780631c1f78eb146102ca5780632d2c5565146102e85780632e1a7d4d1461031c576101d9565b80628cc262146101de5780630700037d1461023657806318160ddd1461028e575b600080fd5b610220600480360360208110156101f457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610762565b6040518082815260200191505060405180910390f35b6102786004803603602081101561024c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610880565b6040518082815260200191505060405180910390f35b610296610898565b6040518082815260200191505060405180910390f35b6102b46108a2565b6040518082815260200191505060405180910390f35b6102d26108a9565b6040518082815260200191505060405180910390f35b6102f06108c8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103486004803603602081101561033257600080fd5b81019080803590602001909291905050506108e0565b005b6103966004803603604081101561036057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108ec565b005b6103c4600480360360208110156103ae57600080fd5b81019080803590602001909291905050506108fa565b005b6103ce610d55565b005b610412600480360360208110156103e657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611024565b6040518082815260200191505060405180910390f35b61043061103c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61049e6004803603602081101561047257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611054565b6040518082815260200191505060405180910390f35b6104bc61109d565b6040518082815260200191505060405180910390f35b6104da6110a3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61050e6110c7565b6040518082815260200191505060405180910390f35b61052c6110da565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105606110fe565b005b6105a46004803603602081101561057857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611148565b6040518082815260200191505060405180910390f35b6105fc600480360360208110156105d057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611160565b005b61062a6004803603602081101561061457600080fd5b810190808035906020019092919050505061122d565b005b61063461123a565b6040518082815260200191505060405180910390f35b610652611240565b6040518082815260200191505060405180910390f35b6106aa6004803603602081101561067e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112ce565b6040518082815260200191505060405180910390f35b6106c86114fe565b6040518082815260200191505060405180910390f35b6106e6611504565b005b6106f06115d1565b6040518082815260200191505060405180910390f35b61070e6115d7565b005b610718611629565b6040518082815260200191505060405180910390f35b61073661162f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000610879600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461086b670de0b6b3a764000061085d61080f600560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610801611240565b61164790919063ffffffff16565b600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461169190919063ffffffff16565b61173490919063ffffffff16565b61177e90919063ffffffff16565b9050919050565b60066020528060005260406000206000915090505481565b6000600754905090565b62093a8081565b60006108c362093a8060025461169190919063ffffffff16565b905090565b73294ab3200ef36200db84c4128b7f1b4eec71e38a81565b6108e981611806565b50565b6108f68282611b74565b5050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461099e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061247e602a913960400191505060405180910390fd5b60006109a8611240565b6004819055506109b66110c7565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a83576109f981610762565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b610ae47f0000000000000000000000000000000000000000000000000000000000000000308473c38f41a296a4493ff429f1238e030924a1542e5073ffffffffffffffffffffffffffffffffffffffff16611ee5909392919063ffffffff16565b6001544210610b0e57610b0362093a808361173490919063ffffffff16565b600281905550610b71565b6000610b254260015461164790919063ffffffff16565b90506000610b3e6002548361169190919063ffffffff16565b9050610b6862093a80610b5a838761177e90919063ffffffff16565b61173490919063ffffffff16565b60028190555050505b600073c38f41a296a4493ff429f1238e030924a1542e5073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610bee57600080fd5b505afa158015610c02573d6000803e3d6000fd5b505050506040513d6020811015610c1857600080fd5b81019080805190602001909291905050509050610c4162093a808261173490919063ffffffff16565b6002541115610cb8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f76696465642072657761726420746f6f2068696768000000000000000081525060200191505060405180910390fd5b42600381905550610cd562093a804261177e90919063ffffffff16565b6001819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d836040518082815260200191505060405180910390a150600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d5157610d5081611160565b5b5050565b60026000541415610dce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033610ddf611240565b600481905550610ded6110c7565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610eba57610e3081610762565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115610fda576000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610f8b338273c38f41a296a4493ff429f1238e030924a1542e5073ffffffffffffffffffffffffffffffffffffffff16611fa69092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110195761101881611160565b5b506001600081905550565b600a6020528060005260406000206000915090505481565b7383952e7ab4aca74ca96217d6f8f7591bead6d64e81565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60025481565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006110d542600154612048565b905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b611146600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611806565b565b60056020528060005260406000206000915090505481565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506111b98160085461164790919063ffffffff16565b6008819055506111c8826112ce565b905080600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112238160085461177e90919063ffffffff16565b6008819055505050565b6112378133611b74565b50565b60035481565b60008060075414156112565760045490506112cb565b6112c86112b76008546112a9670de0b6b3a764000061129b60025461128d60035461127f6110c7565b61164790919063ffffffff16565b61169190919063ffffffff16565b61169190919063ffffffff16565b61173490919063ffffffff16565b60045461177e90919063ffffffff16565b90505b90565b600080600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600061133c606461132e60288561169190919063ffffffff16565b61173490919063ffffffff16565b905060006114d660646114c8603c6114ba7383952e7ab4aca74ca96217d6f8f7591bead6d64e73ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156113a757600080fd5b505afa1580156113bb573d6000803e3d6000fd5b505050506040513d60208110156113d157600080fd5b81019080805190602001909291905050506114ac7383952e7ab4aca74ca96217d6f8f7591bead6d64e73ffffffffffffffffffffffffffffffffffffffff166370a082318d6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561146057600080fd5b505afa158015611474573d6000803e3d6000fd5b505050506040513d602081101561148a57600080fd5b810190808051906020019092919050505060075461169190919063ffffffff16565b61173490919063ffffffff16565b61169190919063ffffffff16565b61173490919063ffffffff16565b90506114f46114ee828461177e90919063ffffffff16565b84612048565b9350505050919050565b60085481565b6115cf7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561158e57600080fd5b505afa1580156115a2573d6000803e3d6000fd5b505050506040513d60208110156115b857600080fd5b810190808051906020019092919050505033611b74565b565b60045481565b61161f600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611806565b611627610d55565b565b60015481565b73c38f41a296a4493ff429f1238e030924a1542e5081565b600061168983836040518060400160405280600681526020017f7375623a202d0000000000000000000000000000000000000000000000000000815250612061565b905092915050565b6000808314156116a4576000905061172e565b60008284029050828482816116b557fe5b0414611729576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f6d756c3a202a000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b809150505b92915050565b600061177683836040518060400160405280600681526020017f6469763a202f0000000000000000000000000000000000000000000000000000815250612121565b905092915050565b6000808284019050838110156117fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f6164643a202b000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b8091505092915050565b6002600054141561187f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033611890611240565b60048190555061189e6110c7565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461196b576118e181610762565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600082116119e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b6119f68260075461164790919063ffffffff16565b600781905550611a4e82600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461164790919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611adc33837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611fa69092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a2600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b6857611b6781611160565b5b50600160008190555050565b60026000541415611bed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555080611bfe611240565b600481905550611c0c6110c7565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611cd957611c4f81610762565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008311611d4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b611d648360075461177e90919063ffffffff16565b600781905550611dbc83600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461177e90919063ffffffff16565b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d846040518082815260200191505060405180910390a2611e9a8230857f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611ee5909392919063ffffffff16565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611ed857611ed781611160565b5b5060016000819055505050565b611fa0846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506121e7565b50505050565b6120438363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506121e7565b505050565b60008183106120575781612059565b825b905092915050565b600083831115829061210e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156120d35780820151818401526020810190506120b8565b50505050905090810190601f1680156121005780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906121cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612192578082015181840152602081019050612177565b50505050905090810190601f1680156121bf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816121d957fe5b049050809150509392505050565b6122068273ffffffffffffffffffffffffffffffffffffffff16612432565b612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106122c757805182526020820191506020810190506020830392506122a4565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612329576040519150601f19603f3d011682016040523d82523d6000602084013e61232e565b606091505b5091509150816123a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b60008151111561242c578080602001905160208110156123c557600080fd5b810190808051906020019092919050505061242b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806124a8602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b82141580156124745750808214155b9250505091905056fe43616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220f61424694072b9cca24498f144239791d47707f3401fb8147c8de755c0a1b3df64736f6c634300060c0033000000000000000000000000b91124ecef333f17354add2a8b944c76979fe3ec

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

000000000000000000000000b91124ecef333f17354add2a8b944c76979fe3ec

-----Decoded View---------------
Arg [0] : _token (address): 0xb91124ecef333f17354add2a8b944c76979fe3ec

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b91124ecef333f17354add2a8b944c76979fe3ec


Deployed ByteCode Sourcemap

8516:6491:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11248:204;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9438:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9840:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9010:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11460:114;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8831:86;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;12383:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;11798:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;13252:1117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;12832:303;;;:::i;:::-;;9608:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8740:84;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;9941:112;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9102:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8966:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;10061:131;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8930:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;12292:83;;;:::i;:::-;;9374:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10909:331;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;11697:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;9138:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10200:331;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10543:354;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9524:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11586:99;;;:::i;:::-;;9174:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13143:97;;;:::i;:::-;;9064:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8649:84;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;11248:204;11302:7;11329:115;11427:7;:16;11435:7;11427:16;;;;;;;;;;;;;;;;11329:93;11417:4;11329:83;11358:53;11379:22;:31;11402:7;11379:31;;;;;;;;;;;;;;;;11358:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;11329:15;:24;11345:7;11329:24;;;;;;;;;;;;;;;;:28;;:83;;;;:::i;:::-;:87;;:93;;;;:::i;:::-;:97;;:115;;;;:::i;:::-;11322:122;;11248:204;;;:::o;9438:42::-;;;;;;;;;;;;;;;;;:::o;9840:93::-;9886:7;9913:12;;9906:19;;9840:93;:::o;9010:41::-;9045:6;9010:41;:::o;11460:114::-;11515:7;11542:24;9045:6;11542:10;;:14;;:24;;;;:::i;:::-;11535:31;;11460:114;:::o;8831:86::-;8874:42;8831:86;:::o;12383:79::-;12437:17;12447:6;12437:9;:17::i;:::-;12383:79;:::o;11798:106::-;11871:25;11880:6;11888:7;11871:8;:25::i;:::-;11798:106;;:::o;13252:1117::-;9283:12;9269:26;;:10;:26;;;9261:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13343:1:::1;14450:16;:14;:16::i;:::-;14427:20;:39;;;;14494:26;:24;:26::i;:::-;14477:14;:43;;;;14554:1;14535:21;;:7;:21;;;14531:157;;14592:15;14599:7;14592:6;:15::i;:::-;14573:7;:16;14581:7;14573:16;;;;;;;;;;;;;;;:34;;;;14656:20;;14622:22;:31;14645:7;14622:31;;;;;;;;;;;;;;;:54;;;;14531:157;13358:62:::2;13384:12;13406:4;13413:6;8690:42;13358:25;;;;:62;;;;;;:::i;:::-;13454:12;;13435:15;:31;13431:304;;13496:20;9045:6;13496;:10;;:20;;;;:::i;:::-;13483:10;:33;;;;13431:304;;;13549:17;13569:33;13586:15;13569:12;;:16;;:33;;;;:::i;:::-;13549:53;;13617:16;13636:25;13650:10;;13636:9;:13;;:25;;;;:::i;:::-;13617:44;;13689:34;9045:6;13689:20;13700:8;13689:6;:10;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;13676:10;:47;;;;13431:304;;;14095:12;8690:42;14110:18;;;14137:4;14110:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;14095:48;;14176:21;9045:6;14176:7;:11;;:21;;;;:::i;:::-;14162:10;;:35;;14154:72;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;14256:15;14239:14;:32;;;;14297:29;9045:6;14297:15;:19;;:29;;;;:::i;:::-;14282:12;:44;;;;14342:19;14354:6;14342:19;;;;;;;;;;;;;;;;;;14698:1;14733::::1;14714:21;;:7;:21;;;14710:67;;14752:13;14757:7;14752:4;:13::i;:::-;14710:67;9353:1;13252:1117:::0;:::o;12832:303::-;7563:1;8167:7;;:19;;8159:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7563:1;8300:7;:18;;;;12886:10:::1;14450:16;:14;:16::i;:::-;14427:20;:39;;;;14494:26;:24;:26::i;:::-;14477:14;:43;;;;14554:1;14535:21;;:7;:21;;;14531:157;;14592:15;14599:7;14592:6;:15::i;:::-;14573:7;:16;14581:7;14573:16;;;;;;;;;;;;;;;:34;;;;14656:20;;14622:22;:31;14645:7;14622:31;;;;;;;;;;;;;;;:54;;;;14531:157;12909:14:::2;12926:7;:19;12934:10;12926:19;;;;;;;;;;;;;;;;12909:36;;12969:1;12960:6;:10;12956:172;;;13009:1;12987:7;:19;12995:10;12987:19;;;;;;;;;;;;;;;:23;;;;13025:41;13047:10;13059:6;8690:42;13025:21;;;;:41;;;;;:::i;:::-;13097:10;13086:30;;;13109:6;13086:30;;;;;;;;;;;;;;;;;;12956:172;14698:1;14733::::1;14714:21;;:7;:21;;;14710:67;;14752:13;14757:7;14752:4;:13::i;:::-;14710:67;8331:1;7519::::0;8479:7;:22;;;;12832:303::o;9608:50::-;;;;;;;;;;;;;;;;;:::o;8740:84::-;8781:42;8740:84;:::o;9941:112::-;10000:7;10027:9;:18;10037:7;10027:18;;;;;;;;;;;;;;;;10020:25;;9941:112;;;:::o;9102:29::-;;;;:::o;8966:37::-;;;:::o;10061:131::-;10118:7;10145:39;10154:15;10171:12;;10145:8;:39::i;:::-;10138:46;;10061:131;:::o;8930:29::-;;;:::o;12292:83::-;12335:32;12345:9;:21;12355:10;12345:21;;;;;;;;;;;;;;;;12335:9;:32::i;:::-;12292:83::o;9374:57::-;;;;;;;;;;;;;;;;;:::o;10909:331::-;10958:20;10981:15;:24;10997:7;10981:24;;;;;;;;;;;;;;;;10958:47;;11032:34;11050:15;11032:13;;:17;;:34;;;;:::i;:::-;11016:13;:50;;;;11095:23;11110:7;11095:14;:23::i;:::-;11077:41;;11156:15;11129;:24;11145:7;11129:24;;;;;;;;;;;;;;;:42;;;;11198:34;11216:15;11198:13;;:17;;:34;;;;:::i;:::-;11182:13;:50;;;;10909:331;;:::o;11697:89::-;11750:28;11759:6;11767:10;11750:8;:28::i;:::-;11697:89;:::o;9138:29::-;;;;:::o;10200:331::-;10247:7;10287:1;10271:12;;:17;10267:77;;;10312:20;;10305:27;;;;10267:77;10374:149;10417:91;10494:13;;10417:72;10484:4;10417:62;10468:10;;10417:46;10448:14;;10417:26;:24;:26::i;:::-;:30;;:46;;;;:::i;:::-;:50;;:62;;;;:::i;:::-;:66;;:72;;;;:::i;:::-;:76;;:91;;;;:::i;:::-;10374:20;;:24;;:149;;;;:::i;:::-;10354:169;;10200:331;;:::o;10543:354::-;10605:4;10622:13;10638:9;:18;10648:7;10638:18;;;;;;;;;;;;;;;;10622:34;;10667:13;10683:25;10704:3;10683:16;10696:2;10683:8;:12;;:16;;;;:::i;:::-;:20;;:25;;;;:::i;:::-;10667:41;;10719:14;10736:92;10824:3;10736:83;10816:2;10737:73;8781:42;10787:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10737:45;8781:42;10754:18;;;10773:7;10754:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10737:12;;:16;;:45;;;;:::i;:::-;:49;;:73;;;;:::i;:::-;10736:79;;:83;;;;:::i;:::-;:87;;:92;;;;:::i;:::-;10719:109;;10846:43;10855:23;10868:9;10855:8;:12;;:23;;;;:::i;:::-;10880:8;10846;:43::i;:::-;10839:50;;;;;10543:354;;;:::o;9524:25::-;;;;:::o;11586:99::-;11628:49;11637:5;:15;;;11653:10;11637:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11666:10;11628:8;:49::i;:::-;11586:99::o;9174:35::-;;;;:::o;13143:97::-;13178:32;13188:9;:21;13198:10;13188:21;;;;;;;;;;;;;;;;13178:9;:32::i;:::-;13221:11;:9;:11::i;:::-;13143:97::o;9064:31::-;;;;:::o;8649:84::-;8690:42;8649:84;:::o;434:103::-;486:4;510:19;514:1;517;510:19;;;;;;;;;;;;;;;;;:3;:19::i;:::-;503:26;;434:103;;;;:::o;729:432::-;781:4;1028:1;1023;:6;1019:47;;;1053:1;1046:8;;;;1019:47;1078:6;1091:1;1087;:5;1078:14;;1120:1;1115;1111;:5;;;;;;:10;1103:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1152:1;1145:8;;;729:432;;;;;:::o;1416:103::-;1468:4;1492:19;1496:1;1499;1492:19;;;;;;;;;;;;;;;;;:3;:19::i;:::-;1485:26;;1416:103;;;;:::o;94:148::-;146:4;163:6;176:1;172;:5;163:14;;201:1;196;:6;;188:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;233:1;226:8;;;94:148;;;;:::o;12474:350::-;7563:1;8167:7;;:19;;8159:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7563:1;8300:7;:18;;;;12541:10:::1;14450:16;:14;:16::i;:::-;14427:20;:39;;;;14494:26;:24;:26::i;:::-;14477:14;:43;;;;14554:1;14535:21;;:7;:21;;;14531:157;;14592:15;14599:7;14592:6;:15::i;:::-;14573:7;:16;14581:7;14573:16;;;;;;;;;;;;;;;:34;;;;14656:20;;14622:22;:31;14645:7;14622:31;;;;;;;;;;;;;;;:54;;;;14531:157;12581:1:::2;12572:6;:10;12564:40;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;12630:24;12647:6;12630:12;;:16;;:24;;;;:::i;:::-;12615:12;:39;;;;12689:33;12715:6;12689:9;:21;12699:10;12689:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;12665:9;:21;12675:10;12665:21;;;;;;;;;;;;;;;:57;;;;12733:38;12752:10;12764:6;12733:5;:18;;;;:38;;;;;:::i;:::-;12797:10;12787:29;;;12809:6;12787:29;;;;;;;;;;;;;;;;;;14733:1:::1;14714:21;;:7;:21;;;14710:67;;14752:13;14757:7;14752:4;:13::i;:::-;14710:67;8331:1;7519::::0;8479:7;:22;;;;12474:350;:::o;11916:364::-;7563:1;8167:7;;:19;;8159:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7563:1;8300:7;:18;;;;11999:7:::1;14450:16;:14;:16::i;:::-;14427:20;:39;;;;14494:26;:24;:26::i;:::-;14477:14;:43;;;;14554:1;14535:21;;:7;:21;;;14531:157;;14592:15;14599:7;14592:6;:15::i;:::-;14573:7;:16;14581:7;14573:16;;;;;;;;;;;;;;;:34;;;;14656:20;;14622:22;:31;14645:7;14622:31;;;;;;;;;;;;;;;:54;;;;14531:157;12036:1:::2;12027:6;:10;12019:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;12082:24;12099:6;12082:12;;:16;;:24;;;;:::i;:::-;12067:12;:39;;;;12138:30;12161:6;12138:9;:18;12148:7;12138:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;12117:9;:18;12127:7;12117:18;;;;;;;;;;;;;;;:51;;;;12191:7;12184:23;;;12200:6;12184:23;;;;;;;;;;;;;;;;;;12218:54;12241:7;12258:4;12265:6;12218:5;:22;;;;:54;;;;;;:::i;:::-;14733:1:::1;14714:21;;:7;:21;;;14710:67;;14752:13;14757:7;14752:4;:13::i;:::-;14710:67;8331:1;7519::::0;8479:7;:22;;;;11916:364;;:::o;3416:204::-;3517:95;3536:5;3566:27;;;3595:4;3601:2;3605:5;3543:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3517:18;:95::i;:::-;3416:204;;;;:::o;3232:176::-;3315:85;3334:5;3364:23;;;3389:2;3393:5;3341:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3315:18;:85::i;:::-;3232:176;;;:::o;5487:106::-;5545:7;5576:1;5572;:5;:13;;5584:1;5572:13;;;5580:1;5572:13;5565:20;;5487:106;;;;:::o;543:180::-;623:4;653:1;648;:6;;656:12;640:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;680:6;693:1;689;:5;680:14;;714:1;707:8;;;543:180;;;;;:::o;1525:179::-;1605:4;1634:1;1630;:5;1637:12;1622:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1661:6;1674:1;1670;:5;;;;;;1661:14;;1695:1;1688:8;;;1525:179;;;;;:::o;4612:598::-;4700:27;4708:5;4700:25;;;:27::i;:::-;4692:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4837:12;4851:23;4886:5;4878:19;;4898:4;4878:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4836:67;;;;4922:7;4914:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5003:1;4983:10;:17;:21;4979:224;;;5125:10;5114:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5106:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4979:224;4612:598;;;;:::o;1734:374::-;1794:4;1811:16;1838:19;1860:66;1838:88;;;;2029:7;2017:20;2005:32;;2069:3;2057:15;;:8;:15;;:42;;;;;2088:11;2076:8;:23;;2057:42;2049:51;;;;1734:374;;;:::o

Swarm Source

ipfs://f61424694072b9cca24498f144239791d47707f3401fb8147c8de755c0a1b3df
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.