ETH Price: $3,828.11 (-0.50%)

Contract

0xA7BC844a76e727Ec5250f3849148c21F4b43CeEA
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Exit211028162024-11-02 22:04:1132 days ago1730585051IN
0xA7BC844a...F4b43CeEA
0 ETH0.000457493.62828804
Get Reward211028112024-11-02 22:03:1132 days ago1730584991IN
0xA7BC844a...F4b43CeEA
0 ETH0.000414454.09774224
Exit201568502024-06-23 20:43:23165 days ago1719175403IN
0xA7BC844a...F4b43CeEA
0 ETH0.00059163.55266441
Exit198213822024-05-07 23:11:11211 days ago1715123471IN
0xA7BC844a...F4b43CeEA
0 ETH0.000710594.4442685
Exit196973502024-04-20 14:54:59229 days ago1713624899IN
0xA7BC844a...F4b43CeEA
0 ETH0.001460129.77168449
Exit195449452024-03-30 6:17:47250 days ago1711779467IN
0xA7BC844a...F4b43CeEA
0 ETH0.0034354120.45596385
Exit193871802024-03-08 1:30:23272 days ago1709861423IN
0xA7BC844a...F4b43CeEA
0 ETH0.0077098648.15714346
Exit189059872023-12-31 14:14:11340 days ago1704032051IN
0xA7BC844a...F4b43CeEA
0 ETH0.0030934919.58528654
Exit188528352023-12-24 3:02:59347 days ago1703386979IN
0xA7BC844a...F4b43CeEA
0 ETH0.0031855917.99871584
Exit188474472023-12-23 8:53:23348 days ago1703321603IN
0xA7BC844a...F4b43CeEA
0 ETH0.004390625.62629917
Exit186103662023-11-20 3:37:59381 days ago1700451479IN
0xA7BC844a...F4b43CeEA
0 ETH0.0035762821.11997162
Exit185226442023-11-07 21:04:11393 days ago1699391051IN
0xA7BC844a...F4b43CeEA
0 ETH0.0044979436.70233523
Get Reward185226352023-11-07 21:02:11393 days ago1699390931IN
0xA7BC844a...F4b43CeEA
0 ETH0.0040801236.02471874
Exit183315222023-10-12 3:01:35420 days ago1697079695IN
0xA7BC844a...F4b43CeEA
0 ETH0.000933166.24505114
Exit183315192023-10-12 3:00:59420 days ago1697079659IN
0xA7BC844a...F4b43CeEA
0 ETH0.000834375.97067522
Get Reward183315172023-10-12 3:00:35420 days ago1697079635IN
0xA7BC844a...F4b43CeEA
0 ETH0.000614166.20969515
Get Reward182164152023-09-26 0:35:35436 days ago1695688535IN
0xA7BC844a...F4b43CeEA
0 ETH0.001022899.05519311
Get Reward178682992023-08-08 6:05:11485 days ago1691474711IN
0xA7BC844a...F4b43CeEA
0 ETH0.0027147623.99877621
Withdraw All178644552023-08-07 17:10:59486 days ago1691428259IN
0xA7BC844a...F4b43CeEA
0 ETH0.0055236140.14256665
Deposit173467172023-05-27 0:05:11558 days ago1685145911IN
0xA7BC844a...F4b43CeEA
0 ETH0.00423125.76519138
Exit171259842023-04-25 21:36:11589 days ago1682458571IN
0xA7BC844a...F4b43CeEA
0 ETH0.0060619436.40280138
Exit169017002023-03-25 3:06:23621 days ago1679713583IN
0xA7BC844a...F4b43CeEA
0 ETH0.0021510912.91760462
Exit168741102023-03-21 6:03:23625 days ago1679378603IN
0xA7BC844a...F4b43CeEA
0 ETH0.0016852210.12
Exit168643432023-03-19 21:11:11626 days ago1679260271IN
0xA7BC844a...F4b43CeEA
0 ETH0.005085830.54098107
Exit168584022023-03-19 1:07:47627 days ago1679188067IN
0xA7BC844a...F4b43CeEA
0 ETH0.002046212.2877423
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
126767792021-06-21 9:17:001263 days ago1624267020  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Gauge

Compiler Version
v0.6.7+commit.b8d736ae

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-06-30
*/

// 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;
    
    IERC20 public constant PICKLE = IERC20(0x429881672B9AE42b8EbA0E26cD9C73711b891Ca5);
    IERC20 public constant DILL = IERC20(0xbBCf169eE191A1Ba7371F30A1C344bFC498b29Cf);
    address public constant TREASURY = address(0x066419EaEf5DE53cc5da0d8702b990c5bc7D1AB3);
    
    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(DILL.balanceOf(account)).div(DILL.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;
            PICKLE.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)) {
        PICKLE.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 = PICKLE.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 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 DILL";

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

    /// @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 constant MASTER = MasterChef(0xbD17B1ce622d73bD438b9E658acA5996dc394b0d);
    IERC20 public constant DILL = IERC20(0xbBCf169eE191A1Ba7371F30A1C344bFC498b29Cf);
    IERC20 public constant PICKLE = IERC20(0x429881672B9AE42b8EbA0E26cD9C73711b891Ca5);
    
    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 MasterDill()));
        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 DILL 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 = DILL.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 = DILL.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 DILL 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 {
        require(msg.sender == governance, "!gov");
        require(gauges[_token] == address(0x0), "exists");
        gauges[_token] = address(new Gauge(_token));
        _tokens.push(_token);
    }
    
    
    // Sets MasterChef 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 mDILL into MasterChef
    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 Pickle
    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 = PICKLE.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) {
                    PICKLE.safeApprove(_gauge, 0);
                    PICKLE.safeApprove(_gauge, _reward);
                    Gauge(_gauge).notifyRewardAmount(_reward);
                }
            }
        }
    }
}

Contract Security Audit

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

60c06040526000600155600060025534801561001a57600080fd5b506040516127003803806127008339818101604052602081101561003d57600080fd5b810190808051906020019092919050505060016000819055508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250503373ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250505060805160601c60a05160601c6125f96101076000398061096a5280610af6528061112952508061116052806115bb5280611b485280611f0552506125f96000f3fe608060405234801561001057600080fd5b50600436106101d95760003560e01c806380faa57d11610104578063c8f33c91116100a2578063de5f626811610071578063de5f626814610780578063df136d651461078a578063e9fad8ee146107a8578063ebe2b12b146107b2576101d9565b8063c8f33c91146106ce578063cd3daf9d146106ec578063d35e25441461070a578063d7da4bb014610762576101d9565b80638b876347116100de5780638b876347146105ba57806396c5517514610612578063b6b55f2514610656578063c19048b214610684576101d9565b806380faa57d1461054857806382bfefc814610566578063853828b6146105b0576101d9565b806336efd16f1161017c57806363fb415b1161014b57806363fb415b1461043057806370a08231146104885780637b0a47ee146104e05780637c91e4eb146104fe576101d9565b806336efd16f146103605780633c6b16ab146103ae5780633d18b912146103dc5780634eb1fbeb146103e6576101d9565b80631be05289116101b85780631be05289146102ac5780631c1f78eb146102ca5780632d2c5565146102e85780632e1a7d4d14610332576101d9565b80628cc262146101de5780630700037d1461023657806318160ddd1461028e575b600080fd5b610220600480360360208110156101f457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107d0565b6040518082815260200191505060405180910390f35b6102786004803603602081101561024c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108ee565b6040518082815260200191505060405180910390f35b610296610906565b6040518082815260200191505060405180910390f35b6102b4610910565b6040518082815260200191505060405180910390f35b6102d2610917565b6040518082815260200191505060405180910390f35b6102f0610936565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61035e6004803603602081101561034857600080fd5b810190808035906020019092919050505061094e565b005b6103ac6004803603604081101561037657600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061095a565b005b6103da600480360360208110156103c457600080fd5b8101908080359060200190929190505050610968565b005b6103e4610dd9565b005b6103ee6110a8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104726004803603602081101561044657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110c0565b6040518082815260200191505060405180910390f35b6104ca6004803603602081101561049e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110d8565b6040518082815260200191505060405180910390f35b6104e8611121565b6040518082815260200191505060405180910390f35b610506611127565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61055061114b565b6040518082815260200191505060405180910390f35b61056e61115e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105b8611182565b005b6105fc600480360360208110156105d057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111cc565b6040518082815260200191505060405180910390f35b6106546004803603602081101561062857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111e4565b005b6106826004803603602081101561066c57600080fd5b81019080803590602001909291905050506112b1565b005b61068c6112be565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106d66112d6565b6040518082815260200191505060405180910390f35b6106f46112dc565b6040518082815260200191505060405180910390f35b61074c6004803603602081101561072057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061136a565b6040518082815260200191505060405180910390f35b61076a6115b0565b6040518082815260200191505060405180910390f35b6107886115b6565b005b610792611699565b6040518082815260200191505060405180910390f35b6107b061169f565b005b6107ba6116f1565b6040518082815260200191505060405180910390f35b60006108e7600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108d9670de0b6b3a76400006108cb61087d600560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461086f6112dc565b6116f790919063ffffffff16565b600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461174190919063ffffffff16565b6117e490919063ffffffff16565b61182e90919063ffffffff16565b9050919050565b60066020528060005260406000206000915090505481565b6000600754905090565b62093a8081565b600061093162093a8060025461174190919063ffffffff16565b905090565b73066419eaef5de53cc5da0d8702b990c5bc7d1ab381565b610957816118b6565b50565b6109648282611c24565b5050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612570602a913960400191505060405180910390fd5b6000610a166112dc565b600481905550610a2461114b565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610af157610a67816107d0565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b610b527f0000000000000000000000000000000000000000000000000000000000000000308473429881672b9ae42b8eba0e26cd9c73711b891ca573ffffffffffffffffffffffffffffffffffffffff16611f95909392919063ffffffff16565b6001544210610b7c57610b7162093a80836117e490919063ffffffff16565b600281905550610bdf565b6000610b93426001546116f790919063ffffffff16565b90506000610bac6002548361174190919063ffffffff16565b9050610bd662093a80610bc8838761182e90919063ffffffff16565b6117e490919063ffffffff16565b60028190555050505b600073429881672b9ae42b8eba0e26cd9c73711b891ca573ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610c7257600080fd5b505afa158015610c86573d6000803e3d6000fd5b505050506040513d6020811015610c9c57600080fd5b81019080805190602001909291905050509050610cc562093a80826117e490919063ffffffff16565b6002541115610d3c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f76696465642072657761726420746f6f2068696768000000000000000081525060200191505060405180910390fd5b42600381905550610d5962093a804261182e90919063ffffffff16565b6001819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d836040518082815260200191505060405180910390a150600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dd557610dd4816111e4565b5b5050565b60026000541415610e52576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033610e636112dc565b600481905550610e7161114b565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f3e57610eb4816107d0565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081111561105e576000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061100f338273429881672b9ae42b8eba0e26cd9c73711b891ca573ffffffffffffffffffffffffffffffffffffffff166120829092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461109d5761109c816111e4565b5b506001600081905550565b73bbcf169ee191a1ba7371f30a1c344bfc498b29cf81565b600a6020528060005260406000206000915090505481565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60025481565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006111594260015461213a565b905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6111ca600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118b6565b565b60056020528060005260406000206000915090505481565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905061123d816008546116f790919063ffffffff16565b60088190555061124c8261136a565b905080600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112a78160085461182e90919063ffffffff16565b6008819055505050565b6112bb8133611c24565b50565b73429881672b9ae42b8eba0e26cd9c73711b891ca581565b60035481565b60008060075414156112f2576004549050611367565b611364611353600854611345670de0b6b3a764000061133760025461132960035461131b61114b565b6116f790919063ffffffff16565b61174190919063ffffffff16565b61174190919063ffffffff16565b6117e490919063ffffffff16565b60045461182e90919063ffffffff16565b90505b90565b600080600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006113d860646113ca60288561174190919063ffffffff16565b6117e490919063ffffffff16565b90506000611588606461157a603c61156c73bbcf169ee191a1ba7371f30a1c344bfc498b29cf73ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561144357600080fd5b505afa158015611457573d6000803e3d6000fd5b505050506040513d602081101561146d57600080fd5b810190808051906020019092919050505061155e73bbcf169ee191a1ba7371f30a1c344bfc498b29cf73ffffffffffffffffffffffffffffffffffffffff166370a082318d6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561151257600080fd5b505afa158015611526573d6000803e3d6000fd5b505050506040513d602081101561153c57600080fd5b810190808051906020019092919050505060075461174190919063ffffffff16565b6117e490919063ffffffff16565b61174190919063ffffffff16565b6117e490919063ffffffff16565b90506115a66115a0828461182e90919063ffffffff16565b8461213a565b9350505050919050565b60085481565b6116977f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561165657600080fd5b505afa15801561166a573d6000803e3d6000fd5b505050506040513d602081101561168057600080fd5b810190808051906020019092919050505033611c24565b565b60045481565b6116e7600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118b6565b6116ef610dd9565b565b60015481565b600061173983836040518060400160405280600681526020017f7375623a202d0000000000000000000000000000000000000000000000000000815250612153565b905092915050565b60008083141561175457600090506117de565b600082840290508284828161176557fe5b04146117d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f6d756c3a202a000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b809150505b92915050565b600061182683836040518060400160405280600681526020017f6469763a202f0000000000000000000000000000000000000000000000000000815250612213565b905092915050565b6000808284019050838110156118ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f6164643a202b000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b8091505092915050565b6002600054141561192f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550336119406112dc565b60048190555061194e61114b565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a1b57611991816107d0565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211611a91576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b611aa6826007546116f790919063ffffffff16565b600781905550611afe82600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116f790919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611b8c33837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166120829092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a2600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c1857611c17816111e4565b5b50600160008190555050565b60026000541415611c9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555080611cae6112dc565b600481905550611cbc61114b565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d8957611cff816107d0565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008311611dff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b611e148360075461182e90919063ffffffff16565b600781905550611e6c83600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461182e90919063ffffffff16565b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d846040518082815260200191505060405180910390a2611f4a8230857f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611f95909392919063ffffffff16565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611f8857611f87816111e4565b5b5060016000819055505050565b61207c846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506122d9565b50505050565b6121358363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506122d9565b505050565b6000818310612149578161214b565b825b905092915050565b6000838311158290612200576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121c55780820151818401526020810190506121aa565b50505050905090810190601f1680156121f25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906122bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612284578082015181840152602081019050612269565b50505050905090810190601f1680156122b15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816122cb57fe5b049050809150509392505050565b6122f88273ffffffffffffffffffffffffffffffffffffffff16612524565b61236a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106123b95780518252602082019150602081019050602083039250612396565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461241b576040519150601f19603f3d011682016040523d82523d6000602084013e612420565b606091505b509150915081612498576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b60008151111561251e578080602001905160208110156124b757600080fd5b810190808051906020019092919050505061251d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061259a602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b82141580156125665750808214155b9250505091905056fe43616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122048b1b0bae75d61a2f1ad82d823da216b61664185b66f318e405af7a35087aba564736f6c6343000607003300000000000000000000000065b2532474f717d5a8ba38078b78106d56118bbb

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101d95760003560e01c806380faa57d11610104578063c8f33c91116100a2578063de5f626811610071578063de5f626814610780578063df136d651461078a578063e9fad8ee146107a8578063ebe2b12b146107b2576101d9565b8063c8f33c91146106ce578063cd3daf9d146106ec578063d35e25441461070a578063d7da4bb014610762576101d9565b80638b876347116100de5780638b876347146105ba57806396c5517514610612578063b6b55f2514610656578063c19048b214610684576101d9565b806380faa57d1461054857806382bfefc814610566578063853828b6146105b0576101d9565b806336efd16f1161017c57806363fb415b1161014b57806363fb415b1461043057806370a08231146104885780637b0a47ee146104e05780637c91e4eb146104fe576101d9565b806336efd16f146103605780633c6b16ab146103ae5780633d18b912146103dc5780634eb1fbeb146103e6576101d9565b80631be05289116101b85780631be05289146102ac5780631c1f78eb146102ca5780632d2c5565146102e85780632e1a7d4d14610332576101d9565b80628cc262146101de5780630700037d1461023657806318160ddd1461028e575b600080fd5b610220600480360360208110156101f457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107d0565b6040518082815260200191505060405180910390f35b6102786004803603602081101561024c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108ee565b6040518082815260200191505060405180910390f35b610296610906565b6040518082815260200191505060405180910390f35b6102b4610910565b6040518082815260200191505060405180910390f35b6102d2610917565b6040518082815260200191505060405180910390f35b6102f0610936565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61035e6004803603602081101561034857600080fd5b810190808035906020019092919050505061094e565b005b6103ac6004803603604081101561037657600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061095a565b005b6103da600480360360208110156103c457600080fd5b8101908080359060200190929190505050610968565b005b6103e4610dd9565b005b6103ee6110a8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104726004803603602081101561044657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110c0565b6040518082815260200191505060405180910390f35b6104ca6004803603602081101561049e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110d8565b6040518082815260200191505060405180910390f35b6104e8611121565b6040518082815260200191505060405180910390f35b610506611127565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61055061114b565b6040518082815260200191505060405180910390f35b61056e61115e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105b8611182565b005b6105fc600480360360208110156105d057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111cc565b6040518082815260200191505060405180910390f35b6106546004803603602081101561062857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111e4565b005b6106826004803603602081101561066c57600080fd5b81019080803590602001909291905050506112b1565b005b61068c6112be565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106d66112d6565b6040518082815260200191505060405180910390f35b6106f46112dc565b6040518082815260200191505060405180910390f35b61074c6004803603602081101561072057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061136a565b6040518082815260200191505060405180910390f35b61076a6115b0565b6040518082815260200191505060405180910390f35b6107886115b6565b005b610792611699565b6040518082815260200191505060405180910390f35b6107b061169f565b005b6107ba6116f1565b6040518082815260200191505060405180910390f35b60006108e7600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108d9670de0b6b3a76400006108cb61087d600560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461086f6112dc565b6116f790919063ffffffff16565b600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461174190919063ffffffff16565b6117e490919063ffffffff16565b61182e90919063ffffffff16565b9050919050565b60066020528060005260406000206000915090505481565b6000600754905090565b62093a8081565b600061093162093a8060025461174190919063ffffffff16565b905090565b73066419eaef5de53cc5da0d8702b990c5bc7d1ab381565b610957816118b6565b50565b6109648282611c24565b5050565b7f0000000000000000000000002e57627acf6c1812f99e274d0ac61b786c19e74f73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612570602a913960400191505060405180910390fd5b6000610a166112dc565b600481905550610a2461114b565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610af157610a67816107d0565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b610b527f0000000000000000000000002e57627acf6c1812f99e274d0ac61b786c19e74f308473429881672b9ae42b8eba0e26cd9c73711b891ca573ffffffffffffffffffffffffffffffffffffffff16611f95909392919063ffffffff16565b6001544210610b7c57610b7162093a80836117e490919063ffffffff16565b600281905550610bdf565b6000610b93426001546116f790919063ffffffff16565b90506000610bac6002548361174190919063ffffffff16565b9050610bd662093a80610bc8838761182e90919063ffffffff16565b6117e490919063ffffffff16565b60028190555050505b600073429881672b9ae42b8eba0e26cd9c73711b891ca573ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610c7257600080fd5b505afa158015610c86573d6000803e3d6000fd5b505050506040513d6020811015610c9c57600080fd5b81019080805190602001909291905050509050610cc562093a80826117e490919063ffffffff16565b6002541115610d3c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f76696465642072657761726420746f6f2068696768000000000000000081525060200191505060405180910390fd5b42600381905550610d5962093a804261182e90919063ffffffff16565b6001819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d836040518082815260200191505060405180910390a150600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dd557610dd4816111e4565b5b5050565b60026000541415610e52576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033610e636112dc565b600481905550610e7161114b565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f3e57610eb4816107d0565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081111561105e576000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061100f338273429881672b9ae42b8eba0e26cd9c73711b891ca573ffffffffffffffffffffffffffffffffffffffff166120829092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461109d5761109c816111e4565b5b506001600081905550565b73bbcf169ee191a1ba7371f30a1c344bfc498b29cf81565b600a6020528060005260406000206000915090505481565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60025481565b7f0000000000000000000000002e57627acf6c1812f99e274d0ac61b786c19e74f81565b60006111594260015461213a565b905090565b7f00000000000000000000000065b2532474f717d5a8ba38078b78106d56118bbb81565b6111ca600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118b6565b565b60056020528060005260406000206000915090505481565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905061123d816008546116f790919063ffffffff16565b60088190555061124c8261136a565b905080600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112a78160085461182e90919063ffffffff16565b6008819055505050565b6112bb8133611c24565b50565b73429881672b9ae42b8eba0e26cd9c73711b891ca581565b60035481565b60008060075414156112f2576004549050611367565b611364611353600854611345670de0b6b3a764000061133760025461132960035461131b61114b565b6116f790919063ffffffff16565b61174190919063ffffffff16565b61174190919063ffffffff16565b6117e490919063ffffffff16565b60045461182e90919063ffffffff16565b90505b90565b600080600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006113d860646113ca60288561174190919063ffffffff16565b6117e490919063ffffffff16565b90506000611588606461157a603c61156c73bbcf169ee191a1ba7371f30a1c344bfc498b29cf73ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561144357600080fd5b505afa158015611457573d6000803e3d6000fd5b505050506040513d602081101561146d57600080fd5b810190808051906020019092919050505061155e73bbcf169ee191a1ba7371f30a1c344bfc498b29cf73ffffffffffffffffffffffffffffffffffffffff166370a082318d6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561151257600080fd5b505afa158015611526573d6000803e3d6000fd5b505050506040513d602081101561153c57600080fd5b810190808051906020019092919050505060075461174190919063ffffffff16565b6117e490919063ffffffff16565b61174190919063ffffffff16565b6117e490919063ffffffff16565b90506115a66115a0828461182e90919063ffffffff16565b8461213a565b9350505050919050565b60085481565b6116977f00000000000000000000000065b2532474f717d5a8ba38078b78106d56118bbb73ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561165657600080fd5b505afa15801561166a573d6000803e3d6000fd5b505050506040513d602081101561168057600080fd5b810190808051906020019092919050505033611c24565b565b60045481565b6116e7600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118b6565b6116ef610dd9565b565b60015481565b600061173983836040518060400160405280600681526020017f7375623a202d0000000000000000000000000000000000000000000000000000815250612153565b905092915050565b60008083141561175457600090506117de565b600082840290508284828161176557fe5b04146117d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f6d756c3a202a000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b809150505b92915050565b600061182683836040518060400160405280600681526020017f6469763a202f0000000000000000000000000000000000000000000000000000815250612213565b905092915050565b6000808284019050838110156118ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f6164643a202b000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b8091505092915050565b6002600054141561192f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550336119406112dc565b60048190555061194e61114b565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a1b57611991816107d0565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211611a91576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b611aa6826007546116f790919063ffffffff16565b600781905550611afe82600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116f790919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611b8c33837f00000000000000000000000065b2532474f717d5a8ba38078b78106d56118bbb73ffffffffffffffffffffffffffffffffffffffff166120829092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a2600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c1857611c17816111e4565b5b50600160008190555050565b60026000541415611c9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555080611cae6112dc565b600481905550611cbc61114b565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d8957611cff816107d0565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008311611dff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b611e148360075461182e90919063ffffffff16565b600781905550611e6c83600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461182e90919063ffffffff16565b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d846040518082815260200191505060405180910390a2611f4a8230857f00000000000000000000000065b2532474f717d5a8ba38078b78106d56118bbb73ffffffffffffffffffffffffffffffffffffffff16611f95909392919063ffffffff16565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611f8857611f87816111e4565b5b5060016000819055505050565b61207c846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506122d9565b50505050565b6121358363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506122d9565b505050565b6000818310612149578161214b565b825b905092915050565b6000838311158290612200576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121c55780820151818401526020810190506121aa565b50505050905090810190601f1680156121f25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906122bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612284578082015181840152602081019050612269565b50505050905090810190601f1680156122b15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816122cb57fe5b049050809150509392505050565b6122f88273ffffffffffffffffffffffffffffffffffffffff16612524565b61236a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106123b95780518252602082019150602081019050602083039250612396565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461241b576040519150601f19603f3d011682016040523d82523d6000602084013e612420565b606091505b509150915081612498576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b60008151111561251e578080602001905160208110156124b757600080fd5b810190808051906020019092919050505061251d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061259a602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b82141580156125665750808214155b9250505091905056fe43616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122048b1b0bae75d61a2f1ad82d823da216b61664185b66f318e405af7a35087aba564736f6c63430006070033

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

00000000000000000000000065B2532474f717D5A8ba38078B78106D56118bbb

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000065B2532474f717D5A8ba38078B78106D56118bbb


Deployed Bytecode Sourcemap

8516:6451:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;8516:6451:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;11214:204:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;11214:204:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9412:42;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;9412:42:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9814:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8984:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11426:114;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8805:86;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;12349:79;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;12349:79:0;;;;;;;;;;;;;;;;;:::i;:::-;;11764:106;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;11764:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;13216:1113;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;13216:1113:0;;;;;;;;;;;;;;;;;:::i;:::-;;12798:301;;;:::i;:::-;;8718:80;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;9582:50;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;9582:50:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9915:112;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;9915:112:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9076:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8940:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;10035:131;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8904:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;12258:83;;;:::i;:::-;;9348:57;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;9348:57:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10875:331;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;10875:331:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;11663:89;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;11663:89:0;;;;;;;;;;;;;;;;;:::i;:::-;;8629:82;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;9112:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10174:331;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10517:346;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;10517:346:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9498:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11552:99;;;:::i;:::-;;9148:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13107:97;;;:::i;:::-;;9038:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11214:204;11268:7;11295:115;11393:7;:16;11401:7;11393:16;;;;;;;;;;;;;;;;11295:93;11383:4;11295:83;11324:53;11345:22;:31;11368:7;11345:31;;;;;;;;;;;;;;;;11324:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;11295:15;:24;11311:7;11295:24;;;;;;;;;;;;;;;;:28;;:83;;;;:::i;:::-;:87;;:93;;;;:::i;:::-;:97;;:115;;;;:::i;:::-;11288:122;;11214:204;;;:::o;9412:42::-;;;;;;;;;;;;;;;;;:::o;9814:93::-;9860:7;9887:12;;9880:19;;9814:93;:::o;8984:41::-;9019:6;8984:41;:::o;11426:114::-;11481:7;11508:24;9019:6;11508:10;;:14;;:24;;;;:::i;:::-;11501:31;;11426:114;:::o;8805:86::-;8848:42;8805:86;:::o;12349:79::-;12403:17;12413:6;12403:9;:17::i;:::-;12349:79;:::o;11764:106::-;11837:25;11846:6;11854:7;11837:8;:25::i;:::-;11764:106;;:::o;13216:1113::-;9257:12;9243:26;;:10;:26;;;9235:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13307:1:::1;14410:16;:14;:16::i;:::-;14387:20;:39;;;;14454:26;:24;:26::i;:::-;14437:14;:43;;;;14514:1;14495:21;;:7;:21;;;14491:157;;14552:15;14559:7;14552:6;:15::i;:::-;14533:7;:16;14541:7;14533:16;;;;;;;;;;;;;;;:34;;;;14616:20;;14582:22;:31;14605:7;14582:31;;;;;;;;;;;;;;;:54;;;;14491:157;13322:60:::2;13346:12;13368:4;13375:6;8668:42;13322:23;;;;:60;;;;;;:::i;:::-;13416:12;;13397:15;:31;13393:304;;13458:20;9019:6;13458;:10;;:20;;;;:::i;:::-;13445:10;:33;;;;13393:304;;;13511:17;13531:33;13548:15;13531:12;;:16;;:33;;;;:::i;:::-;13511:53;;13579:16;13598:25;13612:10;;13598:9;:13;;:25;;;;:::i;:::-;13579:44;;13651:34;9019:6;13651:20;13662:8;13651:6;:10;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;13638:10;:47;;;;13393:304;;;14057:12;8668:42;14072:16;;;14097:4;14072:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;14072:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;14072:31:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::2;4:2;14072:31:0;;;;;;;;;;;;;;;;14057:46;;14136:21;9019:6;14136:7;:11;;:21;;;;:::i;:::-;14122:10;;:35;;14114:72;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;14216:15;14199:14;:32;;;;14257:29;9019:6;14257:15;:19;;:29;;;;:::i;:::-;14242:12;:44;;;;14302:19;14314:6;14302:19;;;;;;;;;;;;;;;;;;14658:1;14693::::1;14674:21;;:7;:21;;;14670:67;;14712:13;14717:7;14712:4;:13::i;:::-;14670:67;9327:1;13216:1113:::0;:::o;12798:301::-;7563:1;8167:7;;:19;;8159:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7563:1;8300:7;:18;;;;12852:10:::1;14410:16;:14;:16::i;:::-;14387:20;:39;;;;14454:26;:24;:26::i;:::-;14437:14;:43;;;;14514:1;14495:21;;:7;:21;;;14491:157;;14552:15;14559:7;14552:6;:15::i;:::-;14533:7;:16;14541:7;14533:16;;;;;;;;;;;;;;;:34;;;;14616:20;;14582:22;:31;14605:7;14582:31;;;;;;;;;;;;;;;:54;;;;14491:157;12875:14:::2;12892:7;:19;12900:10;12892:19;;;;;;;;;;;;;;;;12875:36;;12935:1;12926:6;:10;12922:170;;;12975:1;12953:7;:19;12961:10;12953:19;;;;;;;;;;;;;;;:23;;;;12991:39;13011:10;13023:6;8668:42;12991:19;;;;:39;;;;;:::i;:::-;13061:10;13050:30;;;13073:6;13050:30;;;;;;;;;;;;;;;;;;12922:170;14658:1;14693::::1;14674:21;;:7;:21;;;14670:67;;14712:13;14717:7;14712:4;:13::i;:::-;14670:67;8331:1;7519::::0;8479:7;:22;;;;12798:301::o;8718:80::-;8755:42;8718:80;:::o;9582:50::-;;;;;;;;;;;;;;;;;:::o;9915:112::-;9974:7;10001:9;:18;10011:7;10001:18;;;;;;;;;;;;;;;;9994:25;;9915:112;;;:::o;9076:29::-;;;;:::o;8940:37::-;;;:::o;10035:131::-;10092:7;10119:39;10128:15;10145:12;;10119:8;:39::i;:::-;10112:46;;10035:131;:::o;8904:29::-;;;:::o;12258:83::-;12301:32;12311:9;:21;12321:10;12311:21;;;;;;;;;;;;;;;;12301:9;:32::i;:::-;12258:83::o;9348:57::-;;;;;;;;;;;;;;;;;:::o;10875:331::-;10924:20;10947:15;:24;10963:7;10947:24;;;;;;;;;;;;;;;;10924:47;;10998:34;11016:15;10998:13;;:17;;:34;;;;:::i;:::-;10982:13;:50;;;;11061:23;11076:7;11061:14;:23::i;:::-;11043:41;;11122:15;11095;:24;11111:7;11095:24;;;;;;;;;;;;;;;:42;;;;11164:34;11182:15;11164:13;;:17;;:34;;;;:::i;:::-;11148:13;:50;;;;10875:331;;:::o;11663:89::-;11716:28;11725:6;11733:10;11716:8;:28::i;:::-;11663:89;:::o;8629:82::-;8668:42;8629:82;:::o;9112:29::-;;;;:::o;10174:331::-;10221:7;10261:1;10245:12;;:17;10241:77;;;10286:20;;10279:27;;;;10241:77;10348:149;10391:91;10468:13;;10391:72;10458:4;10391:62;10442:10;;10391:46;10422:14;;10391:26;:24;:26::i;:::-;:30;;:46;;;;:::i;:::-;:50;;:62;;;;:::i;:::-;:66;;:72;;;;:::i;:::-;:76;;:91;;;;:::i;:::-;10348:20;;:24;;:149;;;;:::i;:::-;10328:169;;10174:331;;:::o;10517:346::-;10579:4;10596:13;10612:9;:18;10622:7;10612:18;;;;;;;;;;;;;;;;10596:34;;10641:13;10657:25;10678:3;10657:16;10670:2;10657:8;:12;;:16;;;;:::i;:::-;:20;;:25;;;;:::i;:::-;10641:41;;10693:14;10710:84;10790:3;10710:75;10782:2;10711:65;8755:42;10757:16;;;:18;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;10757:18:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;10757:18:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;10757:18:0;;;;;;;;;;;;;;;;10711:41;8755:42;10728:14;;;10743:7;10728:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;10728:23:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;10728:23:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;10728:23:0;;;;;;;;;;;;;;;;10711:12;;:16;;:41;;;;:::i;:::-;:45;;:65;;;;:::i;:::-;10710:71;;:75;;;;:::i;:::-;:79;;:84;;;;:::i;:::-;10693:101;;10812:43;10821:23;10834:9;10821:8;:12;;:23;;;;:::i;:::-;10846:8;10812;:43::i;:::-;10805:50;;;;;10517:346;;;:::o;9498:25::-;;;;:::o;11552:99::-;11594:49;11603:5;:15;;;11619:10;11603:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;11603:27:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11603:27:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;11603:27:0;;;;;;;;;;;;;;;;11632:10;11594:8;:49::i;:::-;11552:99::o;9148:35::-;;;;:::o;13107:97::-;13142:32;13152:9;:21;13162:10;13152:21;;;;;;;;;;;;;;;;13142:9;:32::i;:::-;13185:11;:9;:11::i;:::-;13107:97::o;9038:31::-;;;;:::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;12440:350::-;7563:1;8167:7;;:19;;8159:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7563:1;8300:7;:18;;;;12507:10:::1;14410:16;:14;:16::i;:::-;14387:20;:39;;;;14454:26;:24;:26::i;:::-;14437:14;:43;;;;14514:1;14495:21;;:7;:21;;;14491:157;;14552:15;14559:7;14552:6;:15::i;:::-;14533:7;:16;14541:7;14533:16;;;;;;;;;;;;;;;:34;;;;14616:20;;14582:22;:31;14605:7;14582:31;;;;;;;;;;;;;;;:54;;;;14491:157;12547:1:::2;12538:6;:10;12530:40;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;12596:24;12613:6;12596:12;;:16;;:24;;;;:::i;:::-;12581:12;:39;;;;12655:33;12681:6;12655:9;:21;12665:10;12655:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;12631:9;:21;12641:10;12631:21;;;;;;;;;;;;;;;:57;;;;12699:38;12718:10;12730:6;12699:5;:18;;;;:38;;;;;:::i;:::-;12763:10;12753:29;;;12775:6;12753:29;;;;;;;;;;;;;;;;;;14693:1:::1;14674:21;;:7;:21;;;14670:67;;14712:13;14717:7;14712:4;:13::i;:::-;14670:67;8331:1;7519::::0;8479:7;:22;;;;12440:350;:::o;11882:364::-;7563:1;8167:7;;:19;;8159:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7563:1;8300:7;:18;;;;11965:7:::1;14410:16;:14;:16::i;:::-;14387:20;:39;;;;14454:26;:24;:26::i;:::-;14437:14;:43;;;;14514:1;14495:21;;:7;:21;;;14491:157;;14552:15;14559:7;14552:6;:15::i;:::-;14533:7;:16;14541:7;14533:16;;;;;;;;;;;;;;;:34;;;;14616:20;;14582:22;:31;14605:7;14582:31;;;;;;;;;;;;;;;:54;;;;14491:157;12002:1:::2;11993:6;:10;11985:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;12048:24;12065:6;12048:12;;:16;;:24;;;;:::i;:::-;12033:12;:39;;;;12104:30;12127:6;12104:9;:18;12114:7;12104:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;12083:9;:18;12093:7;12083:18;;;;;;;;;;;;;;;:51;;;;12157:7;12150:23;;;12166:6;12150:23;;;;;;;;;;;;;;;;;;12184:54;12207:7;12224:4;12231:6;12184:5;:22;;;;:54;;;;;;:::i;:::-;14693:1:::1;14674:21;;:7;:21;;;14670:67;;14712:13;14717:7;14712:4;:13::i;:::-;14670:67;8331:1;7519::::0;8479:7;:22;;;;11882:364;;:::o;3416:204::-;3517:95;3536:5;3566:27;;;3595:4;3601:2;3605:5;3543:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;3543:68:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;3543:68:0;3517:18;:95::i;:::-;3416:204;;;;:::o;3232:176::-;3315:85;3334:5;3364:23;;;3389:2;3393:5;3341:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;3341:58:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;3341:58:0;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;640:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1622:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;4878:25:0;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;4836:67:0;;;;4922:7;4914:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5003:1;4983:10;:17;:21;4979:224;;;5125:10;5114:30;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;5114:30:0;;;;;;;;;;;;;;;;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://48b1b0bae75d61a2f1ad82d823da216b61664185b66f318e405af7a35087aba5

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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