Contract 0x3A8609840b47E8Bd4fc0108e2CDcD88aE30C4FF2 3

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x8a33358b7bbf7a6ce5d9d8d914cef1ec1472d28a3195051b61c283aed1218b2cWithdraw149017312022-06-17 14:04:19108 days 20 hrs ago0xd0b23f8e6d6f0fb85dafa9c6d2dc4a7f73849b39 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000285337869 ETH
0xcddf8a98ad53ade237678711796f6474046ecacc8543f80ae5e99dfdb98102d6Withdraw113576892022-05-06 19:44:04150 days 15 hrs ago0xc297434911d5a22eef2925a63e78d211a77c31c4 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000331151792 ETH
0x48a297e0d6725f91ff51beab9212624f9247cb032325f160e93c7d6301dc189cWithdraw110363362022-05-02 14:18:35154 days 20 hrs ago0x3e3672b23eb22946a31263d2d178bf0fb1f4bbfd IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000530899349 ETH
0xa7cff3b4561198b904c1d1dd7bd267d6a71020acd1e2e8449f3896d81a1eac50Withdraw109601042022-05-01 8:11:13156 days 2 hrs ago0x516b2d73a67a15b765c7538124dd55cbca5dfea1 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.001315551041 ETH
0xdd17893dd53615416fae2fffb692a19a1e826d4a8f1ca3044ceba84fe148c8e2Withdraw107656092022-04-28 19:33:50158 days 15 hrs ago0x699494c9395cfa554acfda910e337de5419a4ac9 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000470009883 ETH
0x76f68bccf72d1af8e9178df6b29c8687baf268ca16c2c175c2eddfae8c333f95Withdraw106868632022-04-27 19:59:37159 days 15 hrs ago0xf56036f6a5d9b9991c209dcbc9c40b2c1cd46540 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000369845533 ETH
0x38ea9ba578aa75d0358d79056797425af1b7e286e6f5507a708b44a7dd24b6b1Withdraw102236002022-04-21 1:19:20166 days 9 hrs ago0x12d3d411d010891a88bff2401bd73fa41fb1316e IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.00042104288 ETH
0xe3dfb6cf864defa7001ce7c46d8cd0302e6434830fc3f3c4a950de46e2fe4429Approve100491002022-04-18 20:23:31168 days 14 hrs ago0x18c32d617b4dbcc8f1f2d77842535f09ff56cb3e IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000203539519 ETH
0xfb897c9ebdca1f57f266173c7e3dff282ddd1e276783d5a7db27c6c1a714888cWithdraw95489892022-04-09 14:12:53177 days 20 hrs ago0x5914ba1314f6c1fb3a1cf1cb051f02e107ee4f57 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000368587428 ETH
0x62c29608106dd8e3ab6de808bb605c9fc7ea603fffad3bb31b3d5e178ac167f6Deposit95460952022-04-09 12:40:54177 days 22 hrs ago0xd0b23f8e6d6f0fb85dafa9c6d2dc4a7f73849b39 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000378156587 ETH
0x2a604a5812bba559777065913e7cf93dfa73e390232fd9717e910d5dfc624264Withdraw95459032022-04-09 12:34:58177 days 22 hrs ago0xd0b23f8e6d6f0fb85dafa9c6d2dc4a7f73849b39 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000387005927 ETH
0x5aa4dc6bfe1dbb41b6cd3849a68ba1d938ed29536cc8cae0e4d08ccad9b7a976Withdraw95155042022-04-08 18:19:45178 days 16 hrs ago0x12dec026d5826f95ba23957529b36a386e085583 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.00050750371 ETH
0xef2ce206031b17c33dea2d81a4a6382728e993c4524dd7b7d66dca0417334a54Deposit93937442022-04-06 12:57:17180 days 22 hrs ago0x12dec026d5826f95ba23957529b36a386e085583 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000518716858 ETH
0x971897d446406d89ba4ff67ffeb3ac2c51c570471cd59aa50972aec8bc113802Withdraw92087412022-04-03 0:21:37184 days 10 hrs ago0xc3e15e648ac0449181c078e98b25c5ec45237320 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.00038177926 ETH
0x398a33f61920cc75ed75d00807e851eb665f840107160a7d0d419b0147d43422Deposit92047052022-04-02 22:28:54184 days 12 hrs ago0xc3e15e648ac0449181c078e98b25c5ec45237320 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000439333423 ETH
0x6fecaab2cb39a14be431d54da82a1db15fbd1bf1393f75b7c3d1ec1dfa27b4c0Withdraw90665022022-04-01 21:05:04185 days 13 hrs ago0x12dec026d5826f95ba23957529b36a386e085583 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000428482635 ETH
0x21699e2bebb4fd02646c4e7dd604dddd7390d19867ea5d62b002fd66adbc785aDeposit90649132022-04-01 20:40:28185 days 14 hrs ago0x12dec026d5826f95ba23957529b36a386e085583 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000543879823 ETH
0xc28ef6381ad02c659f619b08bb527cb196470d8a86df2e51335824ee54d13a95Withdraw88416172022-03-29 16:52:35188 days 18 hrs ago0xb46693883abc08863aca9cc141c23661744b945b IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000315833599 ETH
0xbd6351ef9f073be0e9998f16288526ae43552c1c0c80930d6549a0c8bf377276Deposit87685462022-03-28 15:18:30189 days 19 hrs ago0xb46693883abc08863aca9cc141c23661744b945b IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000296652108 ETH
0x4e45fdbfc8ae4090fa7f07dbc60a3e27d9b18cdd7512747df792098018270fb0Withdraw86629252022-03-26 23:26:16191 days 11 hrs ago0x50ba55bf41580f0ba7df31d9d20b129e6d2df6ae IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000248011999 ETH
0x4343e5dd518231e401867f96640a3014a94919229b2cb1cce22732e5885d1314Deposit86462612022-03-26 15:43:41191 days 19 hrs ago0x50ba55bf41580f0ba7df31d9d20b129e6d2df6ae IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000309390167 ETH
0xbb7c05e6913da2a15590de070c7c57ca7b419f656e4d8eb3e0cc5026b03bfbc2Withdraw86456142022-03-26 15:29:31191 days 19 hrs ago0x50ba55bf41580f0ba7df31d9d20b129e6d2df6ae IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000277698768 ETH
0xae7dbda97cbeb5593a21a9d968ed86c711d7d9cd39163c893b56cb18ec062c4aDeposit86453892022-03-26 15:24:23191 days 19 hrs ago0x50ba55bf41580f0ba7df31d9d20b129e6d2df6ae IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000350456009 ETH
0x2035192582697e744ee00b44dbec6c8a4300d54d9f78e63c94cbe0f77d1e1653Withdraw85950372022-03-25 18:11:56192 days 16 hrs ago0xa2917120c698fb5f2a03e3fd3524bda85a3eaef6 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000314803025 ETH
0xbdc56814b673faa9c07499880717951096cbf48ce0b1e84a94b9e39a73587753Deposit85944232022-03-25 18:01:57192 days 17 hrs ago0xa2917120c698fb5f2a03e3fd3524bda85a3eaef6 IN  0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH0.000358979389 ETH
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xb20bebfebd5329c0151da4dd6ee14fcd38ab9cebff526728e3e9853df18ee329161826392022-06-28 7:46:3398 days 3 hrs ago Hundred Finance: Minter 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH
0xb20bebfebd5329c0151da4dd6ee14fcd38ab9cebff526728e3e9853df18ee329161826392022-06-28 7:46:3398 days 3 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: veHND0 ETH
0xb20bebfebd5329c0151da4dd6ee14fcd38ab9cebff526728e3e9853df18ee329161826392022-06-28 7:46:3398 days 3 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: veHND0 ETH
0xb20bebfebd5329c0151da4dd6ee14fcd38ab9cebff526728e3e9853df18ee329161826392022-06-28 7:46:3398 days 3 hrs ago Hundred Finance: Minter 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff20 ETH
0xb20bebfebd5329c0151da4dd6ee14fcd38ab9cebff526728e3e9853df18ee329161826392022-06-28 7:46:3398 days 3 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Gauge Controller0 ETH
0xb20bebfebd5329c0151da4dd6ee14fcd38ab9cebff526728e3e9853df18ee329161826392022-06-28 7:46:3398 days 3 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Reward Policy0 ETH
0xb20bebfebd5329c0151da4dd6ee14fcd38ab9cebff526728e3e9853df18ee329161826392022-06-28 7:46:3398 days 3 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Reward Policy0 ETH
0xb20bebfebd5329c0151da4dd6ee14fcd38ab9cebff526728e3e9853df18ee329161826392022-06-28 7:46:3398 days 3 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Gauge Controller0 ETH
0xb20bebfebd5329c0151da4dd6ee14fcd38ab9cebff526728e3e9853df18ee329161826392022-06-28 7:46:3398 days 3 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Reward Policy0 ETH
0xb20bebfebd5329c0151da4dd6ee14fcd38ab9cebff526728e3e9853df18ee329161826392022-06-28 7:46:3398 days 3 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Reward Policy0 ETH
0xb20bebfebd5329c0151da4dd6ee14fcd38ab9cebff526728e3e9853df18ee329161826392022-06-28 7:46:3398 days 3 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Gauge Controller0 ETH
0xb20bebfebd5329c0151da4dd6ee14fcd38ab9cebff526728e3e9853df18ee329161826392022-06-28 7:46:3398 days 3 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Reward Policy0 ETH
0x8a33358b7bbf7a6ce5d9d8d914cef1ec1472d28a3195051b61c283aed1218b2c149017312022-06-17 14:04:19108 days 20 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 0x6bb6ebcf3ac808e26545d59ea60f27a202ce85860 ETH
0x8a33358b7bbf7a6ce5d9d8d914cef1ec1472d28a3195051b61c283aed1218b2c149017312022-06-17 14:04:19108 days 20 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: veHND0 ETH
0x8a33358b7bbf7a6ce5d9d8d914cef1ec1472d28a3195051b61c283aed1218b2c149017312022-06-17 14:04:19108 days 20 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: veHND0 ETH
0x8a33358b7bbf7a6ce5d9d8d914cef1ec1472d28a3195051b61c283aed1218b2c149017312022-06-17 14:04:19108 days 20 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Reward Policy0 ETH
0x8a33358b7bbf7a6ce5d9d8d914cef1ec1472d28a3195051b61c283aed1218b2c149017312022-06-17 14:04:19108 days 20 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Gauge Controller0 ETH
0x8a33358b7bbf7a6ce5d9d8d914cef1ec1472d28a3195051b61c283aed1218b2c149017312022-06-17 14:04:19108 days 20 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Reward Policy0 ETH
0x8a33358b7bbf7a6ce5d9d8d914cef1ec1472d28a3195051b61c283aed1218b2c149017312022-06-17 14:04:19108 days 20 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Reward Policy0 ETH
0x8a33358b7bbf7a6ce5d9d8d914cef1ec1472d28a3195051b61c283aed1218b2c149017312022-06-17 14:04:19108 days 20 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Reward Policy0 ETH
0x8a33358b7bbf7a6ce5d9d8d914cef1ec1472d28a3195051b61c283aed1218b2c149017312022-06-17 14:04:19108 days 20 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Gauge Controller0 ETH
0x8a33358b7bbf7a6ce5d9d8d914cef1ec1472d28a3195051b61c283aed1218b2c149017312022-06-17 14:04:19108 days 20 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Reward Policy0 ETH
0x8a33358b7bbf7a6ce5d9d8d914cef1ec1472d28a3195051b61c283aed1218b2c149017312022-06-17 14:04:19108 days 20 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Reward Policy0 ETH
0x8a33358b7bbf7a6ce5d9d8d914cef1ec1472d28a3195051b61c283aed1218b2c149017312022-06-17 14:04:19108 days 20 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Reward Policy0 ETH
0x8a33358b7bbf7a6ce5d9d8d914cef1ec1472d28a3195051b61c283aed1218b2c149017312022-06-17 14:04:19108 days 20 hrs ago 0x3a8609840b47e8bd4fc0108e2cdcd88ae30c4ff2 Hundred Finance: Gauge Controller0 ETH
[ Download CSV Export 
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
Vyper_contract

Compiler Version
vyper:0.2.15

Optimization Enabled:
N/A

Other Settings:
, MIT license

Contract Source Code (Vyper language format)

# @version 0.2.15
"""
@title Liquidity Gauge v3.1
@author Hundred Finance (based on Curve Finance Liquidity Gauge v3)
@license MIT
"""

from vyper.interfaces import ERC20

implements: ERC20


interface RewardPolicyMaker:
    def future_epoch_time() -> uint256: nonpayable
    def rate_at(_timestamp: uint256) -> uint256: view
    def epoch_at(_timestamp: uint256) -> uint256: view
    def epoch_start_time(_epoch: uint256) -> uint256: view

interface Controller:
    def gauge_relative_weight(addr: address, time: uint256) -> uint256: view
    def voting_escrow() -> address: view
    def checkpoint_gauge(addr: address): nonpayable

interface Minter:
    def controller() -> address: view
    def minted(user: address, gauge: address) -> uint256: view

interface VotingEscrow:
    def user_point_epoch(addr: address) -> uint256: view
    def user_point_history__ts(addr: address, epoch: uint256) -> uint256: view

interface ERC20Extended:
    def symbol() -> String[26]: view


event Deposit:
    provider: indexed(address)
    value: uint256

event Withdraw:
    provider: indexed(address)
    value: uint256

event UpdateLiquidityLimit:
    user: address
    original_balance: uint256
    original_supply: uint256
    working_balance: uint256
    working_supply: uint256

event CommitOwnership:
    admin: address

event ApplyOwnership:
    admin: address

event Transfer:
    _from: indexed(address)
    _to: indexed(address)
    _value: uint256

event Approval:
    _owner: indexed(address)
    _spender: indexed(address)
    _value: uint256


MAX_REWARDS: constant(uint256) = 8
TOKENLESS_PRODUCTION: constant(uint256) = 40
WEEK: constant(uint256) = 604800
CLAIM_FREQUENCY: constant(uint256) = 3600

minter: public(address)
reward_policy_maker: public(address)
lp_token: public(address)
controller: public(address)
voting_escrow: public(address)

balanceOf: public(HashMap[address, uint256])
totalSupply: public(uint256)
allowance: public(HashMap[address, HashMap[address, uint256]])

name: public(String[64])
symbol: public(String[32])

working_balances: public(HashMap[address, uint256])
working_supply: public(uint256)

# The goal is to be able to calculate ∫(rate * balance / totalSupply dt) from 0 till checkpoint
# All values are kept in units of being multiplied by 1e18
period: public(int128)
period_timestamp: public(uint256[100000000000000000000000000000])

# 1e18 * ∫(rate(t) / totalSupply(t) dt) from 0 till checkpoint
integrate_inv_supply: public(uint256[100000000000000000000000000000])  # bump epoch when rate() changes

# 1e18 * ∫(rate(t) / totalSupply(t) dt) from (last_action) till checkpoint
integrate_inv_supply_of: public(HashMap[address, uint256])
integrate_checkpoint_of: public(HashMap[address, uint256])

# ∫(balance * rate(t) / totalSupply(t) dt) from 0 till checkpoint
# Units: rate * t = already number of coins per address to issue
integrate_fraction: public(HashMap[address, uint256])

# For tracking external rewards
reward_data: uint256
reward_tokens: public(address[MAX_REWARDS])

# deposit / withdraw / claim
reward_sigs: bytes32

# claimant -> default reward receiver
rewards_receiver: public(HashMap[address, address])

# reward token -> integral
reward_integral: public(HashMap[address, uint256])

# reward token -> claiming address -> integral
reward_integral_for: public(HashMap[address, HashMap[address, uint256]])

# user -> [uint128 claimable amount][uint128 claimed amount]
claim_data: HashMap[address, HashMap[address, uint256]]

admin: public(address)
future_admin: public(address)  # Can and will be a smart contract
is_killed: public(bool)


@external
def __init__(_lp_token: address, _minter: address, _admin: address, _reward_policy_maker: address):
    """
    @notice Contract constructor
    @param _lp_token Liquidity Pool contract address
    @param _minter Minter contract address
    @param _admin Admin who can kill the gauge
    """

    symbol: String[26] = ERC20Extended(_lp_token).symbol()
    self.name = concat(symbol, " Gauge Deposit")
    self.symbol = concat(symbol, "-gauge")

    controller: address = Minter(_minter).controller()

    self.lp_token = _lp_token
    self.minter = _minter
    self.admin = _admin
    self.reward_policy_maker = _reward_policy_maker
    self.controller = controller
    self.voting_escrow = Controller(controller).voting_escrow()

    self.period_timestamp[0] = block.timestamp


@view
@external
def decimals() -> uint256:
    """
    @notice Get the number of decimals for this token
    @dev Implemented as a view method to reduce gas costs
    @return uint256 decimal places
    """
    return 18


@view
@external
def integrate_checkpoint() -> uint256:
    return self.period_timestamp[self.period]


@internal
def _update_liquidity_limit(addr: address, l: uint256, L: uint256):
    """
    @notice Calculate limits which depend on the amount of CRV token per-user.
            Effectively it calculates working balances to apply amplification
            of CRV production by CRV
    @param addr User address
    @param l User's amount of liquidity (LP tokens)
    @param L Total amount of liquidity (LP tokens)
    """
    # To be called after totalSupply is updated
    _voting_escrow: address = self.voting_escrow
    voting_balance: uint256 = ERC20(_voting_escrow).balanceOf(addr)
    voting_total: uint256 = ERC20(_voting_escrow).totalSupply()

    lim: uint256 = l * TOKENLESS_PRODUCTION / 100
    if voting_total > 0:
        lim += L * voting_balance / voting_total * (100 - TOKENLESS_PRODUCTION) / 100

    lim = min(l, lim)
    old_bal: uint256 = self.working_balances[addr]
    self.working_balances[addr] = lim
    _working_supply: uint256 = self.working_supply + lim - old_bal
    self.working_supply = _working_supply

    log UpdateLiquidityLimit(addr, l, L, lim, _working_supply)


@internal
def _checkpoint_rewards( _user: address, _total_supply: uint256, _claim: bool, _receiver: address):
    """
    @notice Claim pending rewards and checkpoint rewards for a user
    """
    # load reward tokens and integrals into memory
    reward_tokens: address[MAX_REWARDS] = empty(address[MAX_REWARDS])
    reward_integrals: uint256[MAX_REWARDS] = empty(uint256[MAX_REWARDS])
    for i in range(MAX_REWARDS):
        token: address = self.reward_tokens[i]
        if token == ZERO_ADDRESS:
            break
        reward_tokens[i] = token
        reward_integrals[i] = self.reward_integral[token]

    reward_data: uint256 = self.reward_data
    if _total_supply != 0 and reward_data != 0 and block.timestamp > shift(reward_data, -160) + CLAIM_FREQUENCY:
        # track balances prior to claiming
        reward_balances: uint256[MAX_REWARDS] = empty(uint256[MAX_REWARDS])
        for i in range(MAX_REWARDS):
            token: address = self.reward_tokens[i]
            if token == ZERO_ADDRESS:
                break
            reward_balances[i] = ERC20(token).balanceOf(self)

        # claim from reward contract
        reward_contract: address = convert(reward_data % 2**160, address)
        raw_call(reward_contract, slice(self.reward_sigs, 8, 4))  # dev: bad claim sig
        self.reward_data = convert(reward_contract, uint256) + shift(block.timestamp, 160)

        # get balances after claim and calculate new reward integrals
        for i in range(MAX_REWARDS):
            token: address = reward_tokens[i]
            if token == ZERO_ADDRESS:
                break
            dI: uint256 = 10**18 * (ERC20(token).balanceOf(self) - reward_balances[i]) / _total_supply
            if dI > 0:
                reward_integrals[i] += dI
                self.reward_integral[token] = reward_integrals[i]

    if _user != ZERO_ADDRESS:

        receiver: address = _receiver
        if _claim and receiver == ZERO_ADDRESS:
            # if receiver is not explicitly declared, check for default receiver
            receiver = self.rewards_receiver[_user]
            if receiver == ZERO_ADDRESS:
                # direct claims to user if no default receiver is set
                receiver = _user

        # calculate new user reward integral and transfer any owed rewards
        user_balance: uint256 = self.balanceOf[_user]
        for i in range(MAX_REWARDS):
            token: address = reward_tokens[i]
            if token == ZERO_ADDRESS:
                break

            integral: uint256 = reward_integrals[i]
            integral_for: uint256 = self.reward_integral_for[token][_user]
            new_claimable: uint256 = 0
            if integral_for < integral:
                self.reward_integral_for[token][_user] = integral
                new_claimable = user_balance * (integral - integral_for) / 10**18

            claim_data: uint256 = self.claim_data[_user][token]
            total_claimable: uint256 = shift(claim_data, -128) + new_claimable
            if total_claimable > 0:
                total_claimed: uint256 = claim_data % 2 ** 128
                if _claim:
                    response: Bytes[32] = raw_call(
                        token,
                        concat(
                            method_id("transfer(address,uint256)"),
                            convert(receiver, bytes32),
                            convert(total_claimable, bytes32),
                        ),
                        max_outsize=32,
                    )
                    if len(response) != 0:
                        assert convert(response, bool)
                    # update amount claimed (lower order bytes)
                    self.claim_data[_user][token] = total_claimed + total_claimable
                elif new_claimable > 0:
                    # update total_claimable (higher order bytes)
                    self.claim_data[_user][token] = total_claimed + shift(total_claimable, 128)


@internal
def _checkpoint(addr: address):
    """
    @notice Checkpoint for a user
    @param addr User address
    """
    _period: int128 = self.period
    _period_time: uint256 = self.period_timestamp[_period]
    _integrate_inv_supply: uint256 = self.integrate_inv_supply[_period]

    _epoch: uint256 = RewardPolicyMaker(self.reward_policy_maker).epoch_at(block.timestamp)
    if _period_time == 0:
        _period_time = RewardPolicyMaker(self.reward_policy_maker).epoch_start_time(_epoch)
    
    # Update integral of 1/supply
    if block.timestamp > _period_time and not self.is_killed:
        _working_supply: uint256 = self.working_supply
        _controller: address = self.controller

        Controller(_controller).checkpoint_gauge(self)

        prev_week_time: uint256 = _period_time

        for i in range(500):
            _epoch = RewardPolicyMaker(self.reward_policy_maker).epoch_at(prev_week_time)
            week_time: uint256 = RewardPolicyMaker(self.reward_policy_maker).epoch_start_time(_epoch + 1)
            week_time = min(week_time, block.timestamp)

            dt: uint256 = week_time - prev_week_time
            w: uint256 = Controller(_controller).gauge_relative_weight(self, prev_week_time / WEEK * WEEK)

            if _working_supply > 0:
                _integrate_inv_supply += RewardPolicyMaker(self.reward_policy_maker).rate_at(prev_week_time) * w * dt / _working_supply
                # On precisions of the calculation
                # rate ~= 10e18
                # last_weight > 0.01 * 1e18 = 1e16 (if pool weight is 1%)
                # _working_supply ~= TVL * 1e18 ~= 1e26 ($100M for example)
                # The largest loss is at dt = 1
                # Loss is 1e-9 - acceptable

            if week_time == block.timestamp:
                break

            prev_week_time = week_time

    _period += 1
    self.period = _period
    self.period_timestamp[_period] = block.timestamp
    self.integrate_inv_supply[_period] = _integrate_inv_supply

    # Update user-specific integrals
    _working_balance: uint256 = self.working_balances[addr]
    self.integrate_fraction[addr] += _working_balance * (_integrate_inv_supply - self.integrate_inv_supply_of[addr]) / 10 ** 18
    self.integrate_inv_supply_of[addr] = _integrate_inv_supply
    self.integrate_checkpoint_of[addr] = block.timestamp


@external
def user_checkpoint(addr: address) -> bool:
    """
    @notice Record a checkpoint for `addr`
    @param addr User address
    @return bool success
    """
    assert (msg.sender == addr) or (msg.sender == self.minter)  # dev: unauthorized
    self._checkpoint(addr)
    self._update_liquidity_limit(addr, self.balanceOf[addr], self.totalSupply)
    return True


@external
def claimable_tokens(addr: address) -> uint256:
    """
    @notice Get the number of claimable tokens per user
    @dev This function should be manually changed to "view" in the ABI
    @return uint256 number of claimable tokens per user
    """
    self._checkpoint(addr)
    return self.integrate_fraction[addr] - Minter(self.minter).minted(addr, self)


@view
@external
def reward_contract() -> address:
    """
    @notice Address of the reward contract providing non-CRV incentives for this gauge
    @dev Returns `ZERO_ADDRESS` if there is no reward contract active
    """
    return convert(self.reward_data % 2**160, address)


@view
@external
def last_claim() -> uint256:
    """
    @notice Epoch timestamp of the last call to claim from `reward_contract`
    @dev Rewards are claimed at most once per hour in order to reduce gas costs
    """
    return shift(self.reward_data, -160)


@view
@external
def claimed_reward(_addr: address, _token: address) -> uint256:
    """
    @notice Get the number of already-claimed reward tokens for a user
    @param _addr Account to get reward amount for
    @param _token Token to get reward amount for
    @return uint256 Total amount of `_token` already claimed by `_addr`
    """
    return self.claim_data[_addr][_token] % 2**128


@view
@external
def claimable_reward(_addr: address, _token: address) -> uint256:
    """
    @notice Get the number of claimable reward tokens for a user
    @dev This call does not consider pending claimable amount in `reward_contract`.
         Off-chain callers should instead use `claimable_rewards_write` as a
         view method.
    @param _addr Account to get reward amount for
    @param _token Token to get reward amount for
    @return uint256 Claimable reward token amount
    """
    return shift(self.claim_data[_addr][_token], -128)


@external
@nonreentrant('lock')
def claimable_reward_write(_addr: address, _token: address) -> uint256:
    """
    @notice Get the number of claimable reward tokens for a user
    @dev This function should be manually changed to "view" in the ABI
         Calling it via a transaction will claim available reward tokens
    @param _addr Account to get reward amount for
    @param _token Token to get reward amount for
    @return uint256 Claimable reward token amount
    """
    if self.reward_tokens[0] != ZERO_ADDRESS:
        self._checkpoint_rewards(_addr, self.totalSupply, False, ZERO_ADDRESS)
    return shift(self.claim_data[_addr][_token], -128)


@external
def set_rewards_receiver(_receiver: address):
    """
    @notice Set the default reward receiver for the caller.
    @dev When set to ZERO_ADDRESS, rewards are sent to the caller
    @param _receiver Receiver address for any rewards claimed via `claim_rewards`
    """
    self.rewards_receiver[msg.sender] = _receiver


@external
@nonreentrant('lock')
def claim_rewards(_addr: address = msg.sender, _receiver: address = ZERO_ADDRESS):
    """
    @notice Claim available reward tokens for `_addr`
    @param _addr Address to claim for
    @param _receiver Address to transfer rewards to - if set to
                     ZERO_ADDRESS, uses the default reward receiver
                     for the caller
    """
    if _receiver != ZERO_ADDRESS:
        assert _addr == msg.sender  # dev: cannot redirect when claiming for another user
    self._checkpoint_rewards(_addr, self.totalSupply, True, _receiver)


@external
def kick(addr: address):
    """
    @notice Kick `addr` for abusing their boost
    @dev Only if either they had another voting event, or their voting escrow lock expired
    @param addr Address to kick
    """
    _voting_escrow: address = self.voting_escrow
    t_last: uint256 = self.integrate_checkpoint_of[addr]
    t_ve: uint256 = VotingEscrow(_voting_escrow).user_point_history__ts(
        addr, VotingEscrow(_voting_escrow).user_point_epoch(addr)
    )
    _balance: uint256 = self.balanceOf[addr]

    assert ERC20(_voting_escrow).balanceOf(addr) == 0 or t_ve > t_last # dev: kick not allowed
    assert self.working_balances[addr] > _balance * TOKENLESS_PRODUCTION / 100  # dev: kick not needed

    self._checkpoint(addr)
    self._update_liquidity_limit(addr, self.balanceOf[addr], self.totalSupply)


@external
@nonreentrant('lock')
def deposit(_value: uint256, _addr: address = msg.sender, _claim_rewards: bool = False):
    """
    @notice Deposit `_value` LP tokens
    @dev Depositting also claims pending reward tokens
    @param _value Number of tokens to deposit
    @param _addr Address to deposit for
    """

    self._checkpoint(_addr)

    if _value != 0:
        is_rewards: bool = self.reward_tokens[0] != ZERO_ADDRESS
        total_supply: uint256 = self.totalSupply
        if is_rewards:
            self._checkpoint_rewards(_addr, total_supply, _claim_rewards, ZERO_ADDRESS)

        total_supply += _value
        new_balance: uint256 = self.balanceOf[_addr] + _value
        self.balanceOf[_addr] = new_balance
        self.totalSupply = total_supply

        self._update_liquidity_limit(_addr, new_balance, total_supply)

        assert ERC20(self.lp_token).transferFrom(msg.sender, self, _value)
        
        if is_rewards:
            reward_data: uint256 = self.reward_data
            if reward_data > 0:
                deposit_sig: Bytes[4] = slice(self.reward_sigs, 0, 4)
                if convert(deposit_sig, uint256) != 0:
                    raw_call(
                        convert(reward_data % 2**160, address),
                        concat(deposit_sig, convert(_value, bytes32))
                    )

    log Deposit(_addr, _value)
    log Transfer(ZERO_ADDRESS, _addr, _value)


@external
@nonreentrant('lock')
def withdraw(_value: uint256, _claim_rewards: bool = False):
    """
    @notice Withdraw `_value` LP tokens
    @dev Withdrawing also claims pending reward tokens
    @param _value Number of tokens to withdraw
    """
    self._checkpoint(msg.sender)

    if _value != 0:
        is_rewards: bool = self.reward_tokens[0] != ZERO_ADDRESS
        total_supply: uint256 = self.totalSupply
        if is_rewards:
            self._checkpoint_rewards(msg.sender, total_supply, _claim_rewards, ZERO_ADDRESS)

        total_supply -= _value
        new_balance: uint256 = self.balanceOf[msg.sender] - _value
        self.balanceOf[msg.sender] = new_balance
        self.totalSupply = total_supply

        self._update_liquidity_limit(msg.sender, new_balance, total_supply)

        if is_rewards:
            reward_data: uint256 = self.reward_data
            if reward_data > 0:
                withdraw_sig: Bytes[4] = slice(self.reward_sigs, 4, 4)
                if convert(withdraw_sig, uint256) != 0:
                    raw_call(
                        convert(reward_data % 2**160, address),
                        concat(withdraw_sig, convert(_value, bytes32))
                    )
        ERC20(self.lp_token).transfer(msg.sender, _value)

    log Withdraw(msg.sender, _value)
    log Transfer(msg.sender, ZERO_ADDRESS, _value)


@internal
def _transfer(_from: address, _to: address, _value: uint256):
    self._checkpoint(_from)
    self._checkpoint(_to)

    if _value != 0:
        total_supply: uint256 = self.totalSupply
        is_rewards: bool = self.reward_tokens[0] != ZERO_ADDRESS
        if is_rewards:
            self._checkpoint_rewards(_from, total_supply, False, ZERO_ADDRESS)
        new_balance: uint256 = self.balanceOf[_from] - _value
        self.balanceOf[_from] = new_balance
        self._update_liquidity_limit(_from, new_balance, total_supply)

        if is_rewards:
            self._checkpoint_rewards(_to, total_supply, False, ZERO_ADDRESS)
        new_balance = self.balanceOf[_to] + _value
        self.balanceOf[_to] = new_balance
        self._update_liquidity_limit(_to, new_balance, total_supply)

    log Transfer(_from, _to, _value)


@external
@nonreentrant('lock')
def transfer(_to : address, _value : uint256) -> bool:
    """
    @notice Transfer token for a specified address
    @dev Transferring claims pending reward tokens for the sender and receiver
    @param _to The address to transfer to.
    @param _value The amount to be transferred.
    """
    self._transfer(msg.sender, _to, _value)

    return True


@external
@nonreentrant('lock')
def transferFrom(_from : address, _to : address, _value : uint256) -> bool:
    """
     @notice Transfer tokens from one address to another.
     @dev Transferring claims pending reward tokens for the sender and receiver
     @param _from address The address which you want to send tokens from
     @param _to address The address which you want to transfer to
     @param _value uint256 the amount of tokens to be transferred
    """
    _allowance: uint256 = self.allowance[_from][msg.sender]
    if _allowance != MAX_UINT256:
        self.allowance[_from][msg.sender] = _allowance - _value

    self._transfer(_from, _to, _value)

    return True


@external
def approve(_spender : address, _value : uint256) -> bool:
    """
    @notice Approve the passed address to transfer the specified amount of
            tokens on behalf of msg.sender
    @dev Beware that changing an allowance via this method brings the risk
         that someone may use both the old and new allowance by unfortunate
         transaction ordering. This may be mitigated with the use of
         {incraseAllowance} and {decreaseAllowance}.
         https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    @param _spender The address which will transfer the funds
    @param _value The amount of tokens that may be transferred
    @return bool success
    """
    self.allowance[msg.sender][_spender] = _value
    log Approval(msg.sender, _spender, _value)

    return True


@external
def increaseAllowance(_spender: address, _added_value: uint256) -> bool:
    """
    @notice Increase the allowance granted to `_spender` by the caller
    @dev This is alternative to {approve} that can be used as a mitigation for
         the potential race condition
    @param _spender The address which will transfer the funds
    @param _added_value The amount of to increase the allowance
    @return bool success
    """
    allowance: uint256 = self.allowance[msg.sender][_spender] + _added_value
    self.allowance[msg.sender][_spender] = allowance

    log Approval(msg.sender, _spender, allowance)

    return True


@external
def decreaseAllowance(_spender: address, _subtracted_value: uint256) -> bool:
    """
    @notice Decrease the allowance granted to `_spender` by the caller
    @dev This is alternative to {approve} that can be used as a mitigation for
         the potential race condition
    @param _spender The address which will transfer the funds
    @param _subtracted_value The amount of to decrease the allowance
    @return bool success
    """
    allowance: uint256 = self.allowance[msg.sender][_spender] - _subtracted_value
    self.allowance[msg.sender][_spender] = allowance

    log Approval(msg.sender, _spender, allowance)

    return True


@external
@nonreentrant('lock')
def set_rewards(_reward_contract: address, _sigs: bytes32, _reward_tokens: address[MAX_REWARDS]):
    """
    @notice Set the active reward contract
    @dev A reward contract cannot be set while this contract has no deposits
    @param _reward_contract Reward contract address. Set to ZERO_ADDRESS to
                            disable staking.
    @param _sigs Four byte selectors for staking, withdrawing and claiming,
                 right padded with zero bytes. If the reward contract can
                 be claimed from but does not require staking, the staking
                 and withdraw selectors should be set to 0x00
    @param _reward_tokens List of claimable reward tokens. New reward tokens
                          may be added but they cannot be removed. When calling
                          this function to unset or modify a reward contract,
                          this array must begin with the already-set reward
                          token addresses.
    """
    assert msg.sender == self.admin

    lp_token: address = self.lp_token
    current_reward_contract: address = convert(self.reward_data % 2**160, address)
    total_supply: uint256 = self.totalSupply
    if self.reward_tokens[0] != ZERO_ADDRESS:
        self._checkpoint_rewards(ZERO_ADDRESS, total_supply, False, ZERO_ADDRESS)
    if current_reward_contract != ZERO_ADDRESS:
        withdraw_sig: Bytes[4] = slice(self.reward_sigs, 4, 4)
        if convert(withdraw_sig, uint256) != 0:
            if total_supply != 0:
                raw_call(
                    current_reward_contract,
                    concat(withdraw_sig, convert(total_supply, bytes32))
                )
            ERC20(lp_token).approve(current_reward_contract, 0)

    if _reward_contract != ZERO_ADDRESS:
        assert _reward_tokens[0] != ZERO_ADDRESS  # dev: no reward token
        assert _reward_contract.is_contract  # dev: not a contract
        deposit_sig: Bytes[4] = slice(_sigs, 0, 4)
        withdraw_sig: Bytes[4] = slice(_sigs, 4, 4)

        if convert(deposit_sig, uint256) != 0:
            # need a non-zero total supply to verify the sigs
            assert total_supply != 0  # dev: zero total supply
            ERC20(lp_token).approve(_reward_contract, MAX_UINT256)

            # it would be Very Bad if we get the signatures wrong here, so
            # we do a test deposit and withdrawal prior to setting them
            raw_call(
                _reward_contract,
                concat(deposit_sig, convert(total_supply, bytes32))
            )  # dev: failed deposit
            assert ERC20(lp_token).balanceOf(self) == 0
            raw_call(
                _reward_contract,
                concat(withdraw_sig, convert(total_supply, bytes32))
            )  # dev: failed withdraw
            assert ERC20(lp_token).balanceOf(self) == total_supply

            # deposit and withdraw are good, time to make the actual deposit
            raw_call(
                _reward_contract,
                concat(deposit_sig, convert(total_supply, bytes32))
            )
        else:
            assert convert(withdraw_sig, uint256) == 0  # dev: withdraw without deposit

    self.reward_data = convert(_reward_contract, uint256)
    self.reward_sigs = _sigs
    for i in range(MAX_REWARDS):
        current_token: address = self.reward_tokens[i]
        new_token: address = _reward_tokens[i]
        if current_token != ZERO_ADDRESS:
            assert current_token == new_token  # dev: cannot modify existing reward token
        elif new_token != ZERO_ADDRESS:
            # store new reward token
            self.reward_tokens[i] = new_token
        else:
            break

    if _reward_contract != ZERO_ADDRESS:
        # do an initial checkpoint to verify that claims are working
        self._checkpoint_rewards(ZERO_ADDRESS, total_supply, False, ZERO_ADDRESS)


@external
def set_killed(_is_killed: bool):
    """
    @notice Set the killed status for this contract
    @dev When killed, the gauge always yields a rate of 0 and so cannot mint CRV
    @param _is_killed Killed status to set
    """
    assert msg.sender == self.admin

    self.is_killed = _is_killed


@external
def commit_transfer_ownership(addr: address):
    """
    @notice Transfer ownership of GaugeController to `addr`
    @param addr Address to have ownership transferred to
    """
    assert msg.sender == self.admin  # dev: admin only

    self.future_admin = addr
    log CommitOwnership(addr)


@external
def accept_transfer_ownership():
    """
    @notice Accept a pending ownership transfer
    """
    _admin: address = self.future_admin
    assert msg.sender == _admin  # dev: future admin only

    self.admin = _admin
    log ApplyOwnership(_admin)

Contract ABI

[{"name":"Deposit","inputs":[{"name":"provider","type":"address","indexed":true},{"name":"value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"Withdraw","inputs":[{"name":"provider","type":"address","indexed":true},{"name":"value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"UpdateLiquidityLimit","inputs":[{"name":"user","type":"address","indexed":false},{"name":"original_balance","type":"uint256","indexed":false},{"name":"original_supply","type":"uint256","indexed":false},{"name":"working_balance","type":"uint256","indexed":false},{"name":"working_supply","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"CommitOwnership","inputs":[{"name":"admin","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"ApplyOwnership","inputs":[{"name":"admin","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"Transfer","inputs":[{"name":"_from","type":"address","indexed":true},{"name":"_to","type":"address","indexed":true},{"name":"_value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"Approval","inputs":[{"name":"_owner","type":"address","indexed":true},{"name":"_spender","type":"address","indexed":true},{"name":"_value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_lp_token","type":"address"},{"name":"_minter","type":"address"},{"name":"_admin","type":"address"},{"name":"_reward_policy_maker","type":"address"}],"outputs":[]},{"stateMutability":"view","type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":288},{"stateMutability":"view","type":"function","name":"integrate_checkpoint","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":4560},{"stateMutability":"nonpayable","type":"function","name":"user_checkpoint","inputs":[{"name":"addr","type":"address"}],"outputs":[{"name":"","type":"bool"}],"gas":9161132},{"stateMutability":"nonpayable","type":"function","name":"claimable_tokens","inputs":[{"name":"addr","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":9074199},{"stateMutability":"view","type":"function","name":"reward_contract","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2718},{"stateMutability":"view","type":"function","name":"last_claim","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2544},{"stateMutability":"view","type":"function","name":"claimed_reward","inputs":[{"name":"_addr","type":"address"},{"name":"_token","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3066},{"stateMutability":"view","type":"function","name":"claimable_reward","inputs":[{"name":"_addr","type":"address"},{"name":"_token","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3034},{"stateMutability":"nonpayable","type":"function","name":"claimable_reward_write","inputs":[{"name":"_addr","type":"address"},{"name":"_token","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":1209922},{"stateMutability":"nonpayable","type":"function","name":"set_rewards_receiver","inputs":[{"name":"_receiver","type":"address"}],"outputs":[],"gas":35733},{"stateMutability":"nonpayable","type":"function","name":"claim_rewards","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"claim_rewards","inputs":[{"name":"_addr","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"claim_rewards","inputs":[{"name":"_addr","type":"address"},{"name":"_receiver","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"kick","inputs":[{"name":"addr","type":"address"}],"outputs":[],"gas":9175723},{"stateMutability":"nonpayable","type":"function","name":"deposit","inputs":[{"name":"_value","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"deposit","inputs":[{"name":"_value","type":"uint256"},{"name":"_addr","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"deposit","inputs":[{"name":"_value","type":"uint256"},{"name":"_addr","type":"address"},{"name":"_claim_rewards","type":"bool"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"withdraw","inputs":[{"name":"_value","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"withdraw","inputs":[{"name":"_value","type":"uint256"},{"name":"_claim_rewards","type":"bool"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"transfer","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":41278132},{"stateMutability":"nonpayable","type":"function","name":"transferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":41316082},{"stateMutability":"nonpayable","type":"function","name":"approve","inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":38211},{"stateMutability":"nonpayable","type":"function","name":"increaseAllowance","inputs":[{"name":"_spender","type":"address"},{"name":"_added_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":40755},{"stateMutability":"nonpayable","type":"function","name":"decreaseAllowance","inputs":[{"name":"_spender","type":"address"},{"name":"_subtracted_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":40779},{"stateMutability":"nonpayable","type":"function","name":"set_rewards","inputs":[{"name":"_reward_contract","type":"address"},{"name":"_sigs","type":"bytes32"},{"name":"_reward_tokens","type":"address[8]"}],"outputs":[],"gas":2740447},{"stateMutability":"nonpayable","type":"function","name":"set_killed","inputs":[{"name":"_is_killed","type":"bool"}],"outputs":[],"gas":38145},{"stateMutability":"nonpayable","type":"function","name":"commit_transfer_ownership","inputs":[{"name":"addr","type":"address"}],"outputs":[],"gas":39525},{"stateMutability":"nonpayable","type":"function","name":"accept_transfer_ownership","inputs":[],"outputs":[],"gas":39470},{"stateMutability":"view","type":"function","name":"minter","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3078},{"stateMutability":"view","type":"function","name":"reward_policy_maker","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3108},{"stateMutability":"view","type":"function","name":"lp_token","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3138},{"stateMutability":"view","type":"function","name":"controller","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3168},{"stateMutability":"view","type":"function","name":"voting_escrow","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3198},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3443},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3258},{"stateMutability":"view","type":"function","name":"allowance","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3718},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":13548},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":11301},{"stateMutability":"view","type":"function","name":"working_balances","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3593},{"stateMutability":"view","type":"function","name":"working_supply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3408},{"stateMutability":"view","type":"function","name":"period","inputs":[],"outputs":[{"name":"","type":"int128"}],"gas":3438},{"stateMutability":"view","type":"function","name":"period_timestamp","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3513},{"stateMutability":"view","type":"function","name":"integrate_inv_supply","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3543},{"stateMutability":"view","type":"function","name":"integrate_inv_supply_of","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3743},{"stateMutability":"view","type":"function","name":"integrate_checkpoint_of","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3773},{"stateMutability":"view","type":"function","name":"integrate_fraction","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3803},{"stateMutability":"view","type":"function","name":"reward_tokens","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}],"gas":3663},{"stateMutability":"view","type":"function","name":"rewards_receiver","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"address"}],"gas":3863},{"stateMutability":"view","type":"function","name":"reward_integral","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3893},{"stateMutability":"view","type":"function","name":"reward_integral_for","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":4138},{"stateMutability":"view","type":"function","name":"admin","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3738},{"stateMutability":"view","type":"function","name":"future_admin","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3768},{"stateMutability":"view","type":"function","name":"is_killed","inputs":[],"outputs":[{"name":"","type":"bool"}],"gas":3798}]

608061344d61014039602061344d60c03960c05160a01c613448576020602061344d0160c03960c05160a01c613448576020604061344d0160c03960c05160a01c613448576020606061344d0160c03960c05160a01c61344857606061028060046395d89b416102205261023c610140515afa1561344857603f3d111561344857601b6102806102805101511015613448576000506102a08051602001806101c08284600060045af11561344857505060006101c0601a8060208461028001018260208501600060045af1505080518201915050600e610220527f204761756765204465706f73697400000000000000000000000000000000000061024052610220600e8060208461028001018260208501600060045af15050805182019150508061028052610280905080600f602082510161012060006003818352015b8261012051602002111561015157610173565b61012051602002850151610120518501555b815160010180835281141561013e575b50505050505060006101c0601a8060208461028001018260208501600060045af15050805182019150506006610220527f2d676175676500000000000000000000000000000000000000000000000000006102405261022060068060208461028001018260208501600060045af150508051820191505080610280526102809050806013602082510161012060006002818352015b8261012051602002111561021b5761023d565b61012051602002850151610120518501555b8151600101808352811415610208575b50505050505060206102a0600463f77c47916102405261025c610160515afa1561344857601f3d1115613448576000506102a051610220526101405160095561016051600755610180516c02863c1f5cdae420000000002a556101a05160085561022051600a5560206102a0600463dfe050316102405261025c610220515afa1561344857601f3d1115613448576000506102a051600b554260195561343056600436101561000d57611fa7565b600035601c526000513461314d5763313ce56781141561003257601260005260206000f35b63d31f3f6d8114156100665760016018546c01431e0fae6d7217caa000000081101561314d57026019015460005260206000f35b634b8200938114156100f65760043560a01c61314d5760043533141561008d576001610093565b60075433145b5b1561314d57600435610140526101405160065801612981565b60005060043561014052600c60043560e05260c052604060c0205461016052600d546101805261018051610160516101405160065801611fad565b600050600160005260206000f35b63331345838114156101905760043560a01c61314d57600435610140526101405160065801612981565b6000506c02863c1f5cdae420000000001b60043560e05260c052604060c0205460206101e06044638b752bb06101405260043561016052306101805261015c6007545afa1561314d57601f3d111561314d576000506101e05180821061314d578082039050905060005260206000f35b63bf88a6ff8114156101dc576c02863c1f5cdae420000000001c5474010000000000000000000000000000000000000000808206905090508060a01c61314d5780905060005260206000f35b633488bd19811415610203576c02863c1f5cdae420000000001c5460a01c60005260206000f35b63e77e74378114156102705760043560a01c61314d5760243560a01c61314d576c02863c1f5cdae420000000002960043560e05260c052604060c02060243560e05260c052604060c020547001000000000000000000000000000000008082069050905060005260206000f35b6333fd6f748114156102c75760043560a01c61314d5760243560a01c61314d576c02863c1f5cdae420000000002960043560e05260c052604060c02060243560e05260c052604060c0205460801c60005260206000f35b6359b7e40981141561037d5760005461314d57600160005560043560a01c61314d5760243560a01c61314d5760006c02863c1f5cdae420000000001d5418156103415760043561014052600d546101605260006101805260006101a0526101a051610180516101605161014051600658016121a6565b6000505b6c02863c1f5cdae420000000002960043560e05260c052604060c02060243560e05260c052604060c0205460801c600052600060005560206000f35b63bdf981168114156103b35760043560a01c61314d576004356c02863c1f5cdae42000000000263360e05260c052604060c02055005b63e6f1daf28114156103cf573361014052600061016052610438565b6384e9bd7e8114156103fb5760006101605260043560a01c61314d576020600461014037600050610438565b639faceb1b8114156104335760043560a01c61314d57602060046101403760243560a01c61314d576020602461016037600050610438565b6104ac565b60015461314d576001600155600061016051181561045c573361014051141561314d575b61014051610160516101405161018052600d546101a05260016101c052610160516101e0526101e0516101c0516101a05161018051600658016121a6565b61016052610140526000506000600155005b6396c551758114156106925760043560a01c61314d57600b54610140526c02863c1f5cdae420000000001a60043560e05260c052604060c020546101605260206102e0604463da020a1861024052600435610260526020610220602463010ae7576101a0526004356101c0526101bc610140515afa1561314d57601f3d111561314d57600050610220516102805261025c610140515afa1561314d57601f3d111561314d576000506102e05161018052600c60043560e05260c052604060c020546101a05260206102e060246370a08231610260526004356102805261027c610140515afa1561314d57601f3d111561314d576000506102e0516105b15760016105bb565b6101605161018051115b5b1561314d576101a051602880820282158284830414171561314d5780905090509050606480820490509050601660043560e05260c052604060c02054111561314d576101405161016051610180516101a0516004356101c0526101c05160065801612981565b6101a0526101805261016052610140526000506101405161016051610180516101a0516004356101c052600c60043560e05260c052604060c020546101e052600d5461020052610200516101e0516101c05160065801611fad565b6101a052610180526101605261014052600050005b63b6b55f258114156106ae573361014052600061016052610717565b636e553f658114156106da5760006101605260243560a01c61314d576020602461014037600050610717565b6383df67478114156107125760243560a01c61314d57602060246101403760443560011c61314d576020604461016037600050610717565b610acf565b60025461314d576001600255610140516101605161014051610180526101805160065801612981565b610160526101405260005060006004351815610a625760006c02863c1f5cdae420000000001d54141561018052600d546101a05261018051156107d8576101405161016051610180516101a051610140516101c0526101a0516101e052610160516102005260006102205261022051610200516101e0516101c051600658016121a6565b6101a0526101805261016052610140526000505b6101a08051600435818183011061314d5780820190509050815250600c6101405160e05260c052604060c02054600435818183011061314d57808201905090506101c0526101c051600c6101405160e05260c052604060c020556101a051600d556101405161016051610180516101a0516101c051610140516101e0526101c051610200526101a0516102205261022051610200516101e05160065801611fad565b6101c0526101a05261018052610160526101405260005060206102a060646323b872dd6101e05233610200523061022052600435610240526101fc60006009545af11561314d57601f3d111561314d576000506102a0511561314d576101805115610a61576c02863c1f5cdae420000000001c546101e05260006101e0511115610a605760006004602082066102600160208284011161314d576c02863c1f5cdae42000000000256102806020840161012060006001818352015b826101205160200211156109485761096a565b61012051850154610120516020028501525b8151600101808352811415610935575b5050505050818152809050905090508051602001806102008284600060045af11561314d5750506000610200806020015160008251806020901361314d578091901261314d57806020036101000a82049050905090501815610a5f57600061020060048060208461026001018260208501600060045af1505080518201915050600435602082610260010152602081019050806102605261026090508051602001806102e08284600060045af11561314d575050600060006102e05161030060006101e05174010000000000000000000000000000000000000000808206905090508060a01c61314d578090505af11561314d575b5b5b5b60043561018052610140517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c6020610180a2600435610180526101405160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610180a36000600255005b632e1a7d4d811415610ae657600061014052610b11565b6338d07436811415610b0c5760243560011c61314d576020602461014037600050610b11565b610e8e565b60035461314d5760016003556101405133610160526101605160065801612981565b6101405260005060006004351815610e275760006c02863c1f5cdae420000000001d54141561016052600d54610180526101605115610bbc57610140516101605161018051336101a052610180516101c052610140516101e052600061020052610200516101e0516101c0516101a051600658016121a6565b6101805261016052610140526000505b610180805160043580821061314d5780820390509050815250600c3360e05260c052604060c0205460043580821061314d57808203905090506101a0526101a051600c3360e05260c052604060c0205561018051600d556101405161016051610180516101a051336101c0526101a0516101e0526101805161020052610200516101e0516101c05160065801611fad565b6101a0526101805261016052610140526000506101605115610deb576c02863c1f5cdae420000000001c546101c05260006101c0511115610dea5760046004602082066102400160208284011161314d576c02863c1f5cdae42000000000256102606020840161012060006001818352015b82610120516020021115610cd257610cf4565b61012051850154610120516020028501525b8151600101808352811415610cbf575b5050505050818152809050905090508051602001806101e08284600060045af11561314d57505060006101e0806020015160008251806020901361314d578091901261314d57806020036101000a82049050905090501815610de95760006101e060048060208461024001018260208501600060045af1505080518201915050600435602082610240010152602081019050806102405261024090508051602001806102c08284600060045af11561314d575050600060006102c0516102e060006101c05174010000000000000000000000000000000000000000808206905090508060a01c61314d578090505af11561314d575b5b5b6020610260604463a9059cbb6101c052336101e052600435610200526101dc60006009545af11561314d57601f3d111561314d57600050610260505b60043561016052337f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243646020610160a2600435610160526000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610160a36000600355005b63a9059cbb811415610eeb5760045461314d57600160045560043560a01c61314d573361014052600435610160526024356101805261018051610160516101405160065801612e2b565b6000506001600052600060045560206000f35b6323b872dd811415610fdb5760055461314d57600160055560043560a01c61314d5760243560a01c61314d57600e60043560e05260c052604060c0203360e05260c052604060c02054610140527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610140511815610f96576101405160443580821061314d5780820390509050600e60043560e05260c052604060c0203360e05260c052604060c020555b6101405160043561016052602435610180526044356101a0526101a051610180516101605160065801612e2b565b610140526000506001600052600060055560206000f35b63095ea7b381141561104e5760043560a01c61314d57602435600e3360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610140a3600160005260206000f35b63395093518114156110f75760043560a01c61314d57600e3360e05260c052604060c02060043560e05260c052604060c02054602435818183011061314d57808201905090506101405261014051600e3360e05260c052604060c02060043560e05260c052604060c020556101405161016052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610160a3600160005260206000f35b63a457c2d781141561119e5760043560a01c61314d57600e3360e05260c052604060c02060043560e05260c052604060c0205460243580821061314d57808203905090506101405261014051600e3360e05260c052604060c02060043560e05260c052604060c020556101405161016052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610160a3600160005260206000f35b6347d2d5d38114156119535760065461314d57600160065560043560a01c61314d576000610120525b610120516044013560a01c61314d5760206101205101610120526101006101205110156111f3576111c7565b6c02863c1f5cdae420000000002a5433141561314d57600954610140526c02863c1f5cdae420000000001c5474010000000000000000000000000000000000000000808206905090508060a01c61314d5780905061016052600d546101805260006c02863c1f5cdae420000000001d5418156112b85761014051610160516101805160006101a052610180516101c05260006101e052600061020052610200516101e0516101c0516101a051600658016121a6565b6101805261016052610140526000505b600061016051181561144a5760046004602082066102000160208284011161314d576c02863c1f5cdae42000000000256102206020840161012060006001818352015b8261012051602002111561130e57611330565b61012051850154610120516020028501525b81516001018083528114156112fb575b5050505050818152809050905090508051602001806101a08284600060045af11561314d57505060006101a0806020015160008251806020901361314d578091901261314d57806020036101000a8204905090509050181561144957600061018051181561140a5760006101a060048060208461020001018260208501600060045af150508051820191505061018051602082610200010152602081019050806102005261020090508051602001806102808284600060045af11561314d57505060006000610280516102a06000610160515af11561314d575b60206102a0604463095ea7b361020052610160516102205260006102405261021c6000610140515af11561314d57601f3d111561314d576000506102a0505b5b60006004351815611819576000604435181561314d5760006004353b111561314d5760006004602082066102000160208284011161314d5760246102206020840161012060006001818352015b826101205160200211156114aa576114cf565b61012051602002850135610120516020028501525b8151600101808352811415611497575b5050505050818152809050905090508051602001806101a08284600060045af11561314d57505060046004602082066102600160208284011161314d5760246102806020840161012060006001818352015b8261012051602002111561153457611559565b61012051602002850135610120516020028501525b8151600101808352811415611521575b5050505050818152809050905090508051602001806102008284600060045af11561314d57505060006101a0806020015160008251806020901361314d578091901261314d57806020036101000a820490509050905018156117e657600061018051181561314d576020610300604463095ea7b361026052600435610280527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6102a05261027c6000610140515af11561314d57601f3d111561314d576000506103005060006101a060048060208461026001018260208501600060045af150508051820191505061018051602082610260010152602081019050806102605261026090508051602001806102e08284600060045af11561314d575050600060006102e05161030060006004355af11561314d5760206102e060246370a0823161026052306102805261027c610140515afa1561314d57601f3d111561314d576000506102e05161314d57600061020060048060208461026001018260208501600060045af150508051820191505061018051602082610260010152602081019050806102605261026090508051602001806102e08284600060045af11561314d575050600060006102e05161030060006004355af11561314d576101805160206102e060246370a0823161026052306102805261027c610140515afa1561314d57601f3d111561314d576000506102e051141561314d5760006101a060048060208461026001018260208501600060045af150508051820191505061018051602082610260010152602081019050806102605261026090508051602001806102e08284600060045af11561314d575050600060006102e05161030060006004355af11561314d57611818565b610200806020015160008251806020901361314d578091901261314d57806020036101000a820490509050905061314d575b5b6004356c02863c1f5cdae420000000001c556024356c02863c1f5cdae4200000000025556101a060006008818352015b60016101a051600881101561314d57026c02863c1f5cdae420000000001d01546101c05260446101a051600881101561314d5760200201356101e05260006101c05118156118a4576101e0516101c051141561314d576118df565b60006101e05118156118d9576101e05160016101a051600881101561314d57026c02863c1f5cdae420000000001d01556118de565b6118f0565b5b5b8151600101808352811415611849575b50506000600435181561194c5761014051610160516101805160006101a052610180516101c05260006101e052600061020052610200516101e0516101c0516101a051600658016121a6565b6101805261016052610140526000505b6000600655005b6390b229978114156119935760043560011c61314d576c02863c1f5cdae420000000002a5433141561314d576004356c02863c1f5cdae420000000002c55005b636b441a40811415611a015760043560a01c61314d576c02863c1f5cdae420000000002a5433141561314d576004356c02863c1f5cdae420000000002b55600435610140527f2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e96020610140a1005b63e5ea47b8811415611a6f576c02863c1f5cdae420000000002b54610140526101405133141561314d57610140516c02863c1f5cdae420000000002a5561014051610160527febee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a11891056020610160a1005b6307546172811415611a875760075460005260206000f35b63a36b3133811415611a9f5760085460005260206000f35b6382c63066811415611ab75760095460005260206000f35b63f77c4791811415611acf57600a5460005260206000f35b63dfe05031811415611ae757600b5460005260206000f35b6370a08231811415611b175760043560a01c61314d57600c60043560e05260c052604060c0205460005260206000f35b6318160ddd811415611b2f57600d5460005260206000f35b63dd62ed3e811415611b775760043560a01c61314d5760243560a01c61314d57600e60043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b6306fdde03811415611c1457600f80610180602082540161012060006003818352015b82610120516020021115611bad57611bcf565b61012051850154610120516020028501525b8151600101808352811415611b9a575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6395d89b41811415611cb157601380610180602082540161012060006002818352015b82610120516020021115611c4a57611c6c565b61012051850154610120516020028501525b8151600101808352811415611c37575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6313ecb1ca811415611ce15760043560a01c61314d57601660043560e05260c052604060c0205460005260206000f35b6317e28089811415611cf95760175460005260206000f35b63ef78d4fd811415611d115760185460005260206000f35b637598108c811415611d455760016004356c01431e0fae6d7217caa000000081101561314d57026019015460005260206000f35b63fec8ee0c811415611d855760016004356c01431e0fae6d7217caa000000081101561314d57026c01431e0fae6d72100000000019015460005260206000f35b63de263bfa811415611dc15760043560a01c61314d576c02863c1f5cdae420000000001960043560e05260c052604060c0205460005260206000f35b639bd324f2811415611dfd5760043560a01c61314d576c02863c1f5cdae420000000001a60043560e05260c052604060c0205460005260206000f35b6309400707811415611e395760043560a01c61314d576c02863c1f5cdae420000000001b60043560e05260c052604060c0205460005260206000f35b6354c49fe9811415611e6d576001600435600881101561314d57026c02863c1f5cdae420000000001d015460005260206000f35b6301ddabf1811415611ea95760043560a01c61314d576c02863c1f5cdae420000000002660043560e05260c052604060c0205460005260206000f35b6373861fb3811415611ee55760043560a01c61314d576c02863c1f5cdae420000000002760043560e05260c052604060c0205460005260206000f35b63f05cc058811415611f395760043560a01c61314d5760243560a01c61314d576c02863c1f5cdae420000000002860043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b63f851a440811415611f5d576c02863c1f5cdae420000000002a5460005260206000f35b6317f7182a811415611f81576c02863c1f5cdae420000000002b5460005260206000f35b639c868ac0811415611fa5576c02863c1f5cdae420000000002c5460005260206000f35b505b60006000fd5b6101a052610140526101605261018052600b546101c052602061028060246370a0823161020052610140516102205261021c6101c0515afa1561314d57601f3d111561314d57600050610280516101e052602061028060046318160ddd6102205261023c6101c0515afa1561314d57601f3d111561314d57600050610280516102005261016051602880820282158284830414171561314d57809050905090506064808204905090506102205260006102005111156120d1576102208051610180516101e05180820282158284830414171561314d57809050905090506102005180801561314d57820490509050603c80820282158284830414171561314d5780905090509050606480820490509050818183011061314d57808201905090508152505b6101605161022051808211156120e757806120e9565b815b905090506102205260166101405160e05260c052604060c02054610240526102205160166101405160e05260c052604060c0205560175461022051818183011061314d57808201905090506102405180821061314d578082039050905061026052610260516017556101405161028052610160516102a052610180516102c052610220516102e05261026051610300527f7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a360a0610280a16101a051565b6101c0526101405261016052610180526101a052610200366101e0376103e060006008818352015b60016103e051600881101561314d57026c02863c1f5cdae420000000001d015461040052610400516121ff5761225c565b610400516101e06103e051600881101561314d5760200201526c02863c1f5cdae42000000000276104005160e05260c052604060c020546102e06103e051600881101561314d5760200201525b81516001018083528114156121ce575b50506c02863c1f5cdae420000000001c546103e05260006101605118156122b25760006103e05118156122aa576103e05160a01c610e10818183011061314d578082019050905042116122ad565b60005b6122b5565b60005b5b1561259b57610100366104003761050060006008818352015b600161050051600881101561314d57026c02863c1f5cdae420000000001d0154610520526105205161230057612359565b60206105c060246370a0823161054052306105605261055c610520515afa1561314d57601f3d111561314d576000506105c05161040061050051600881101561314d5760200201525b81516001018083528114156122cf575b50506103e05174010000000000000000000000000000000000000000808206905090508060a01c61314d578090506105005260086004602082066105200160208284011161314d576c02863c1f5cdae42000000000256105406020840161012060006001818352015b826101205160200211156123d5576123f7565b61012051850154610120516020028501525b81516001018083528114156123c2575b5050505050818152809050905090508051602001806105a08284600060045af11561314d575050600060006105a0516105c06000610500515af11561314d57610500514260a01b818183011061314d57808201905090506c02863c1f5cdae420000000001c5561052060006008818352015b6101e061052051600881101561314d576020020151610540526105405161248f57612598565b670de0b6b3a7640000602061060060246370a0823161058052306105a05261059c610540515afa1561314d57601f3d111561314d576000506106005161040061052051600881101561314d57602002015180821061314d578082039050905080820282158284830414171561314d57809050905090506101605180801561314d57820490509050610560526000610560511115612587576102e061052051600881101561314d5760200201805161056051818183011061314d57808201905090508152506102e061052051600881101561314d5760200201516c02863c1f5cdae42000000000276105405160e05260c052604060c020555b5b8151600101808352811415612469575b50505b600061014051181561297b576101a0516104005261018051156125c25761040051156125c5565b60005b156125fe576c02863c1f5cdae42000000000266101405160e05260c052604060c0205461040052610400516125fd5761014051610400525b5b600c6101405160e05260c052604060c020546104205261044060006008818352015b6101e061044051600881101561314d576020020151610460526104605161264657612978565b6102e061044051600881101561314d576020020151610480526c02863c1f5cdae42000000000286104605160e05260c052604060c0206101405160e05260c052604060c020546104a05260006104c052610480516104a051101561271b57610480516c02863c1f5cdae42000000000286104605160e05260c052604060c0206101405160e05260c052604060c0205561042051610480516104a05180821061314d578082039050905080820282158284830414171561314d5780905090509050670de0b6b3a7640000808204905090506104c0525b6c02863c1f5cdae42000000000296101405160e05260c052604060c0206104605160e05260c052604060c020546104e0526104e05160801c6104c051818183011061314d5780820190509050610500526000610500511115612967576104e0517001000000000000000000000000000000008082069050905061052052610180511561291057600060046105a0527fa9059cbb000000000000000000000000000000000000000000000000000000006105c0526105a060048060208461060001018260208501600060045af15050805182019150506104005160208261060001015260208101905061050051602082610600010152602081019050806106005261060090508051602001806106a08284600060045af11561314d57505060206107606106a0516106c06000610460515af11561314d5760203d808211156128625780612864565b815b90509050610740526107408051602001806105408284600060045af11561314d57505060006105405118156128c657610540806020015160008251806020901361314d578091901261314d57806020036101000a82049050905090501561314d575b6105205161050051818183011061314d57808201905090506c02863c1f5cdae42000000000296101405160e05260c052604060c0206104605160e05260c052604060c02055612966565b60006104c051111561296557610520516105005160801b818183011061314d57808201905090506c02863c1f5cdae42000000000296101405160e05260c052604060c0206104605160e05260c052604060c020555b5b5b5b8151600101808352811415612620575b50505b6101c051565b6101605261014052601854610180526001610180516c01431e0fae6d7217caa000000081101561314d5702601901546101a0526001610180516c01431e0fae6d7217caa000000081101561314d57026c01431e0fae6d7210000000001901546101c05260206102806024639a1586ef61020052426102205261021c6008545afa1561314d57601f3d111561314d57600050610280516101e0526101a051612a5c57602061028060246322026ada610200526101e0516102205261021c6008545afa1561314d57601f3d111561314d57600050610280516101a0525b6101a051421115612a7c576c02863c1f5cdae420000000002c5415612a7f565b60005b15612cc25760175461020052600a5461022052610220513b1561314d5760006000602463615e523761024052306102605261025c6000610220515af11561314d576101a0516102405261026060006101f4818352015b60206103006024639a1586ef61028052610240516102a05261029c6008545afa1561314d57601f3d111561314d57600050610300516101e052602061032060246322026ada6102a0526101e0516001818183011061314d57808201905090506102c0526102bc6008545afa1561314d57601f3d111561314d576000506103205161028052610280514280821115612b6c5780612b6e565b815b9050905061028052610280516102405180821061314d57808203905090506102a0526020610380604463d3078c946102e05230610300526102405162093a808082049050905062093a8080820282158284830414171561314d5780905090509050610320526102fc610220515afa1561314d57601f3d111561314d57600050610380516102c0526000610200511115612c96576101c08051602061036060246339935cf06102e05261024051610300526102fc6008545afa1561314d57601f3d111561314d57600050610360516102c05180820282158284830414171561314d57809050905090506102a05180820282158284830414171561314d57809050905090506102005180801561314d57820490509050818183011061314d57808201905090508152505b42610280511415612ca657612cbf565b61028051610240525b8151600101808352811415612ad5575b50505b6101808051600180820180806000811215612cd957195b607f1c61314d5790509050905081525061018051601855426001610180516c01431e0fae6d7217caa000000081101561314d5702601901556101c0516001610180516c01431e0fae6d7217caa000000081101561314d57026c01431e0fae6d72100000000019015560166101405160e05260c052604060c02054610200526c02863c1f5cdae420000000001b6101405160e05260c052604060c0208054610200516101c0516c02863c1f5cdae42000000000196101405160e05260c052604060c0205480821061314d578082039050905080820282158284830414171561314d5780905090509050670de0b6b3a764000080820490509050818183011061314d57808201905090508155506101c0516c02863c1f5cdae42000000000196101405160e05260c052604060c02055426c02863c1f5cdae420000000001a6101405160e05260c052604060c0205561016051565b6101a0526101405261016052610180526101405161016051610180516101a051610140516101c0526101c05160065801612981565b6101a0526101805261016052610140526000506101405161016051610180516101a051610160516101c0526101c05160065801612981565b6101a052610180526101605261014052600050600061018051181561311057600d546101c05260006c02863c1f5cdae420000000001d5414156101e0526101e05115612f47576101405161016051610180516101a0516101c0516101e05161014051610200526101c0516102205260006102405260006102605261026051610240516102205161020051600658016121a6565b6101e0526101c0526101a0526101805261016052610140526000505b600c6101405160e05260c052604060c020546101805180821061314d57808203905090506102005261020051600c6101405160e05260c052604060c020556101405161016051610180516101a0516101c0516101e05161020051610140516102205261020051610240526101c0516102605261026051610240516102205160065801611fad565b610200526101e0526101c0526101a0526101805261016052610140526000506101e05115613067576101405161016051610180516101a0516101c0516101e0516102005161016051610220526101c0516102405260006102605260006102805261028051610260516102405161022051600658016121a6565b610200526101e0526101c0526101a0526101805261016052610140526000505b600c6101605160e05260c052604060c0205461018051818183011061314d57808201905090506102005261020051600c6101605160e05260c052604060c020556101405161016051610180516101a0516101c0516101e05161020051610160516102205261020051610240526101c0516102605261026051610240516102205160065801611fad565b610200526101e0526101c0526101a0526101805261016052610140526000505b610180516101c05261016051610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101c0a36101a051565b600080fd5b6102de613430036102de6000396102de613430036000f35b600080fd0000000000000000000000006bb6ebcf3ac808e26545d59ea60f27a202ce8586000000000000000000000000c3cc9369fcb8491dad4fa64ce1fbd3dd2d70034f000000000000000000000000b982841d8caf7ccc1b5c8ec414347316f54a06c90000000000000000000000003a4148dddd121fbced8717cb7b82370be27f76bf

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

0000000000000000000000006bb6ebcf3ac808e26545d59ea60f27a202ce8586000000000000000000000000c3cc9369fcb8491dad4fa64ce1fbd3dd2d70034f000000000000000000000000b982841d8caf7ccc1b5c8ec414347316f54a06c90000000000000000000000003a4148dddd121fbced8717cb7b82370be27f76bf

-----Decoded View---------------
Arg [0] : _lp_token (address): 0x6bb6ebcf3ac808e26545d59ea60f27a202ce8586
Arg [1] : _minter (address): 0xc3cc9369fcb8491dad4fa64ce1fbd3dd2d70034f
Arg [2] : _admin (address): 0xb982841d8caf7ccc1b5c8ec414347316f54a06c9
Arg [3] : _reward_policy_maker (address): 0x3a4148dddd121fbced8717cb7b82370be27f76bf

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000006bb6ebcf3ac808e26545d59ea60f27a202ce8586
Arg [1] : 000000000000000000000000c3cc9369fcb8491dad4fa64ce1fbd3dd2d70034f
Arg [2] : 000000000000000000000000b982841d8caf7ccc1b5c8ec414347316f54a06c9
Arg [3] : 0000000000000000000000003a4148dddd121fbced8717cb7b82370be27f76bf


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.