Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
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:
Liquidity Gauge v4
Compiler Version
vyper:0.3.1
Contract Source Code (Vyper language format)
# @version 0.3.1 """ @title Liquidity Gauge v4 @author Arrakis Finance @license MIT """ # Original idea and credit: # Curve Finance's LiquidityGaugeV4 # https://github.com/curvefi/curve-dao-contracts/blob/master/contracts/gauges/LiquidityGaugeV4.vy # Angle Protocol added upgradeability and modifications (no reliance on GaugeController) # https://github.com/AngleProtocol/angle-core/blob/main/contracts/staking/LiquidityGaugeV4.vy # This is a direct fork of Angle's implementation, only variable names, constants, and events have been altered from vyper.interfaces import ERC20 implements: ERC20 interface VotingEscrow: def user_point_epoch(addr: address) -> uint256: view def user_point_history__ts(addr: address, epoch: uint256) -> uint256: view interface VotingEscrowBoost: def adjusted_balance_of(_account: address) -> uint256: view interface ERC20Extended: def symbol() -> String[26]: view def decimals() -> uint256: 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 event RewardDataUpdate: _token: indexed(address) _amount: uint256 event ClaimReward: user: indexed(address) token: indexed(address) amount: uint256 receiver: address struct Reward: token: address distributor: address period_finish: uint256 rate: uint256 last_update: uint256 integral: uint256 MAX_REWARDS: constant(uint256) = 8 TOKENLESS_PRODUCTION: constant(uint256) = 40 WEEK: constant(uint256) = 1209600 # NOTE: BIWEEKLY (2 weeks) not weeklong reward cycles (86400 * 7 * 2) SPICE: public(address) voting_escrow: public(address) veBoost_proxy: public(address) staking_token: public(address) decimal_staking_token: public(uint256) 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) integrate_checkpoint_of: public(HashMap[address, uint256]) # For tracking external rewards reward_count: public(uint256) reward_tokens: public(address[MAX_REWARDS]) reward_data: public(HashMap[address, Reward]) # claimant -> default reward receiver rewards_receiver: public(HashMap[address, address]) # 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) initialized: public(bool) @external def __init__(): """ @notice Contract constructor @dev The contract has an initializer to prevent the take over of the implementation """ assert self.initialized == False #dev: contract is already initialized self.initialized = True @external def initialize(_staking_token: address, _admin: address, _SPICE: address, _voting_escrow: address, _veBoost_proxy: address, _distributor: address): """ @notice Contract initializer @param _staking_token Liquidity Pool contract address @param _admin Admin who can kill the gauge @param _SPICE Address of the SPICE token @param _voting_escrow Address of the veSPICE contract @param _veBoost_proxy Address of the proxy contract used to query veSPICE balances and taking into account potential delegations @param _distributor Address of the contract responsible for distributing SPICE tokens to this gauge """ assert self.initialized == False #dev: contract is already initialized self.initialized = True assert _admin != ZERO_ADDRESS assert _SPICE != ZERO_ADDRESS assert _voting_escrow != ZERO_ADDRESS assert _veBoost_proxy != ZERO_ADDRESS assert _distributor != ZERO_ADDRESS self.admin = _admin self.staking_token = _staking_token self.decimal_staking_token = ERC20Extended(_staking_token).decimals() symbol: String[26] = ERC20Extended(_staking_token).symbol() self.name = concat(symbol, " Spice Harvester") # aesthetic change by Arrakis Finance self.symbol = concat("st", symbol) # aesthetic change by Arrakis Finance self.SPICE = _SPICE self.voting_escrow = _voting_escrow self.veBoost_proxy = _veBoost_proxy # add in all liquidityGauge the SPICE reward - the distribution could be null though self.reward_data[_SPICE].distributor = _distributor self.reward_tokens[0] = _SPICE self.reward_count = 1 @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 self.decimal_staking_token @internal def _update_liquidity_limit(addr: address, l: uint256, L: uint256): """ @notice Calculate limits which depend on the amount of SPICE token per-user. Effectively it calculates working balances to apply amplification of SPICE production by SPICE @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_balance: uint256 = VotingEscrowBoost(self.veBoost_proxy).adjusted_balance_of(addr) voting_total: uint256 = ERC20(self.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_reward(_user: address, token: address, _total_supply: uint256, _user_balance: uint256, _claim: bool, receiver: address): """ @notice Claim pending rewards and checkpoint rewards for a user """ total_supply: uint256 = _total_supply user_balance: uint256 = _user_balance if token == self.SPICE : total_supply = self.working_supply user_balance = self.working_balances[_user] integral: uint256 = self.reward_data[token].integral last_update: uint256 = min(block.timestamp, self.reward_data[token].period_finish) duration: uint256 = last_update - self.reward_data[token].last_update if duration != 0: self.reward_data[token].last_update = last_update if total_supply != 0: integral += duration * self.reward_data[token].rate * 10**18 / total_supply self.reward_data[token].integral = integral if _user != ZERO_ADDRESS: 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) log ClaimReward(_user, token, total_claimable, receiver) self.claim_data[_user][token] = total_claimed + total_claimable elif new_claimable > 0: self.claim_data[_user][token] = total_claimed + shift(total_claimable, 128) if token == self.SPICE : self.integrate_checkpoint_of[_user] = block.timestamp @internal def _checkpoint_rewards(_user: address, _total_supply: uint256, _claim: bool, _receiver: address, _only_checkpoint:bool = False): """ @notice Claim pending rewards and checkpoint rewards for a user """ receiver: address = _receiver user_balance: uint256 = 0 if _user != ZERO_ADDRESS: user_balance = self.balanceOf[_user] if _claim and _receiver == ZERO_ADDRESS: # if receiver is not explicitly declared, check if a default receiver is set receiver = self.rewards_receiver[_user] if receiver == ZERO_ADDRESS: # if no default receiver is set, direct claims to the user receiver = _user if _only_checkpoint: self._checkpoint_reward(_user, self.SPICE, _total_supply, user_balance, False, receiver) else: reward_count: uint256 = self.reward_count for i in range(MAX_REWARDS): if i == reward_count: break token: address = self.reward_tokens[i] self._checkpoint_reward(_user, token, _total_supply, user_balance, _claim, receiver) @external def user_checkpoint(addr: address) -> bool: """ @notice Record a checkpoint for `addr` @param addr User address @return bool success """ assert msg.sender == addr # dev: unauthorized total_supply: uint256 = self.totalSupply self._checkpoint_rewards(addr, total_supply, False, ZERO_ADDRESS, True) self._update_liquidity_limit(addr, self.balanceOf[addr], total_supply) return True @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(_user: address, _reward_token: address) -> uint256: """ @notice Get the number of claimable reward tokens for a user @param _user Account to get reward amount for @param _reward_token Token to get reward amount for @return uint256 Claimable reward token amount """ integral: uint256 = self.reward_data[_reward_token].integral total_supply: uint256 = self.totalSupply user_balance: uint256 = self.balanceOf[_user] if _reward_token == self.SPICE : total_supply = self.working_supply user_balance = self.working_balances[_user] if total_supply != 0: last_update: uint256 = min(block.timestamp, self.reward_data[_reward_token].period_finish) duration: uint256 = last_update - self.reward_data[_reward_token].last_update integral += (duration * self.reward_data[_reward_token].rate * 10**18 / total_supply) integral_for: uint256 = self.reward_integral_for[_reward_token][_user] new_claimable: uint256 = user_balance * (integral - integral_for) / 10**18 return shift(self.claim_data[_user][_reward_token], -128) + new_claimable @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 """ t_last: uint256 = self.integrate_checkpoint_of[addr] t_ve: uint256 = VotingEscrow(self.voting_escrow).user_point_history__ts( addr, VotingEscrow(self.voting_escrow).user_point_epoch(addr) ) _balance: uint256 = self.balanceOf[addr] assert ERC20(self.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 total_supply: uint256 = self.totalSupply self._checkpoint_rewards(addr, total_supply, False, ZERO_ADDRESS, True) self._update_liquidity_limit(addr, self.balanceOf[addr], total_supply) @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 """ total_supply: uint256 = self.totalSupply if _value != 0: is_rewards: bool = self.reward_count != 0 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) ERC20(self.staking_token).transferFrom(msg.sender, self, _value) else: self._checkpoint_rewards(_addr, total_supply, False, ZERO_ADDRESS, True) 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 """ total_supply: uint256 = self.totalSupply if _value != 0: is_rewards: bool = self.reward_count != 0 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) ERC20(self.staking_token).transfer(msg.sender, _value) else: self._checkpoint_rewards(msg.sender, total_supply, False, ZERO_ADDRESS, True) log Withdraw(msg.sender, _value) log Transfer(msg.sender, ZERO_ADDRESS, _value) @internal def _transfer(_from: address, _to: address, _value: uint256): total_supply: uint256 = self.totalSupply if _value != 0: is_rewards: bool = self.reward_count != 0 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) else: self._checkpoint_rewards(_from, total_supply, False, ZERO_ADDRESS, True) self._checkpoint_rewards(_to, total_supply, False, ZERO_ADDRESS, True) 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 def add_reward(_reward_token: address, _distributor: address): """ @notice Set the active reward contract """ assert msg.sender == self.admin # dev: only owner reward_count: uint256 = self.reward_count assert reward_count < MAX_REWARDS assert self.reward_data[_reward_token].distributor == ZERO_ADDRESS self.reward_data[_reward_token].distributor = _distributor self.reward_tokens[reward_count] = _reward_token self.reward_count = reward_count + 1 @external def set_reward_distributor(_reward_token: address, _distributor: address): current_distributor: address = self.reward_data[_reward_token].distributor assert msg.sender == current_distributor or msg.sender == self.admin assert current_distributor != ZERO_ADDRESS assert _distributor != ZERO_ADDRESS self.reward_data[_reward_token].distributor = _distributor @external @nonreentrant("lock") def deposit_reward_token(_reward_token: address, _amount: uint256): assert msg.sender == self.reward_data[_reward_token].distributor self._checkpoint_rewards(ZERO_ADDRESS, self.totalSupply, False, ZERO_ADDRESS) response: Bytes[32] = raw_call( _reward_token, concat( method_id("transferFrom(address,address,uint256)"), convert(msg.sender, bytes32), convert(self, bytes32), convert(_amount, bytes32), ), max_outsize=32, ) if len(response) != 0: assert convert(response, bool) period_finish: uint256 = self.reward_data[_reward_token].period_finish if block.timestamp >= period_finish: self.reward_data[_reward_token].rate = _amount / WEEK else: remaining: uint256 = period_finish - block.timestamp leftover: uint256 = remaining * self.reward_data[_reward_token].rate self.reward_data[_reward_token].rate = (_amount + leftover) / WEEK self.reward_data[_reward_token].last_update = block.timestamp self.reward_data[_reward_token].period_finish = block.timestamp + WEEK log RewardDataUpdate(_reward_token,_amount) @external def commit_transfer_ownership(addr: address): """ @notice Transfer ownership of Gauge to `addr` @param addr Address to have ownership transferred to """ assert msg.sender == self.admin # dev: admin only assert addr != ZERO_ADDRESS # dev: future admin cannot be the 0 address 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 Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"},{"name":"RewardDataUpdate","inputs":[{"name":"_token","type":"address","indexed":true},{"name":"_amount","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"ClaimReward","inputs":[{"name":"user","type":"address","indexed":true},{"name":"token","type":"address","indexed":true},{"name":"amount","type":"uint256","indexed":false},{"name":"receiver","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"initialize","inputs":[{"name":"_staking_token","type":"address"},{"name":"_admin","type":"address"},{"name":"_SPICE","type":"address"},{"name":"_voting_escrow","type":"address"},{"name":"_veBoost_proxy","type":"address"},{"name":"_distributor","type":"address"}],"outputs":[],"gas":546166},{"stateMutability":"view","type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2490},{"stateMutability":"nonpayable","type":"function","name":"user_checkpoint","inputs":[{"name":"addr","type":"address"}],"outputs":[{"name":"","type":"bool"}],"gas":1808153},{"stateMutability":"view","type":"function","name":"claimed_reward","inputs":[{"name":"_addr","type":"address"},{"name":"_token","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3112},{"stateMutability":"view","type":"function","name":"claimable_reward","inputs":[{"name":"_user","type":"address"},{"name":"_reward_token","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":26593},{"stateMutability":"nonpayable","type":"function","name":"set_rewards_receiver","inputs":[{"name":"_receiver","type":"address"}],"outputs":[],"gas":35670},{"stateMutability":"nonpayable","type":"function","name":"claim_rewards","inputs":[],"outputs":[],"gas":1775821},{"stateMutability":"nonpayable","type":"function","name":"claim_rewards","inputs":[{"name":"_addr","type":"address"}],"outputs":[],"gas":1775821},{"stateMutability":"nonpayable","type":"function","name":"claim_rewards","inputs":[{"name":"_addr","type":"address"},{"name":"_receiver","type":"address"}],"outputs":[],"gas":1775821},{"stateMutability":"nonpayable","type":"function","name":"kick","inputs":[{"name":"addr","type":"address"}],"outputs":[],"gas":1828684},{"stateMutability":"nonpayable","type":"function","name":"deposit","inputs":[{"name":"_value","type":"uint256"}],"outputs":[],"gas":1948996},{"stateMutability":"nonpayable","type":"function","name":"deposit","inputs":[{"name":"_value","type":"uint256"},{"name":"_addr","type":"address"}],"outputs":[],"gas":1948996},{"stateMutability":"nonpayable","type":"function","name":"deposit","inputs":[{"name":"_value","type":"uint256"},{"name":"_addr","type":"address"},{"name":"_claim_rewards","type":"bool"}],"outputs":[],"gas":1948996},{"stateMutability":"nonpayable","type":"function","name":"withdraw","inputs":[{"name":"_value","type":"uint256"}],"outputs":[],"gas":1948605},{"stateMutability":"nonpayable","type":"function","name":"withdraw","inputs":[{"name":"_value","type":"uint256"},{"name":"_claim_rewards","type":"bool"}],"outputs":[],"gas":1948605},{"stateMutability":"nonpayable","type":"function","name":"transfer","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":3747558},{"stateMutability":"nonpayable","type":"function","name":"transferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":3785539},{"stateMutability":"nonpayable","type":"function","name":"approve","inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":39451},{"stateMutability":"nonpayable","type":"function","name":"increaseAllowance","inputs":[{"name":"_spender","type":"address"},{"name":"_added_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":41981},{"stateMutability":"nonpayable","type":"function","name":"decreaseAllowance","inputs":[{"name":"_spender","type":"address"},{"name":"_subtracted_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":42007},{"stateMutability":"nonpayable","type":"function","name":"add_reward","inputs":[{"name":"_reward_token","type":"address"},{"name":"_distributor","type":"address"}],"outputs":[],"gas":113070},{"stateMutability":"nonpayable","type":"function","name":"set_reward_distributor","inputs":[{"name":"_reward_token","type":"address"},{"name":"_distributor","type":"address"}],"outputs":[],"gas":40806},{"stateMutability":"nonpayable","type":"function","name":"deposit_reward_token","inputs":[{"name":"_reward_token","type":"address"},{"name":"_amount","type":"uint256"}],"outputs":[],"gas":1898345},{"stateMutability":"nonpayable","type":"function","name":"commit_transfer_ownership","inputs":[{"name":"addr","type":"address"}],"outputs":[],"gas":40085},{"stateMutability":"nonpayable","type":"function","name":"accept_transfer_ownership","inputs":[],"outputs":[],"gas":39879},{"stateMutability":"view","type":"function","name":"SPICE","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3060},{"stateMutability":"view","type":"function","name":"voting_escrow","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3090},{"stateMutability":"view","type":"function","name":"veBoost_proxy","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3120},{"stateMutability":"view","type":"function","name":"staking_token","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3150},{"stateMutability":"view","type":"function","name":"decimal_staking_token","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3180},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3476},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3240},{"stateMutability":"view","type":"function","name":"allowance","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3802},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":13589},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":11348},{"stateMutability":"view","type":"function","name":"working_balances","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3626},{"stateMutability":"view","type":"function","name":"working_supply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3390},{"stateMutability":"view","type":"function","name":"integrate_checkpoint_of","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3686},{"stateMutability":"view","type":"function","name":"reward_count","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3450},{"stateMutability":"view","type":"function","name":"reward_tokens","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}],"gas":3525},{"stateMutability":"view","type":"function","name":"reward_data","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"token","type":"address"},{"name":"distributor","type":"address"},{"name":"period_finish","type":"uint256"},{"name":"rate","type":"uint256"},{"name":"last_update","type":"uint256"},{"name":"integral","type":"uint256"}]}],"gas":14397},{"stateMutability":"view","type":"function","name":"rewards_receiver","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"address"}],"gas":3806},{"stateMutability":"view","type":"function","name":"reward_integral_for","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":4102},{"stateMutability":"view","type":"function","name":"admin","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3600},{"stateMutability":"view","type":"function","name":"future_admin","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3630},{"stateMutability":"view","type":"function","name":"initialized","inputs":[],"outputs":[{"name":"","type":"bool"}],"gas":3660}]
Contract Creation Code
6020546122165760016020556121fe56600436101561000d576118a8565b60046000601c37600051346121e95763cc2a9a5b811861031c576004358060a01c6121e95760e0526024358060a01c6121e957610100526044358060a01c6121e957610120526064358060a01c6121e957610140526084358060a01c6121e9576101605260a4358060a01c6121e957610180526020546121e9576001602055600061010051146121e957600061012051146121e957600061014051146121e957600061016051146121e957600061018051146121e95761010051601e5560e05160045563313ce5676101a05260206101a060046101bc60e0515afa6100f7573d600060003e3d6000fd5b601f3d11156121e9576101a0516005556395d89b416101e05260606101e060046101fc60e0515afa61012e573d600060003e3d6000fd5b603f3d11156121e9576101e0516101e001601a8151116121e957808051602001806101a0828460045afa90509050505060006101a0601a806020846102200101826020850160045afa50508051820191505060106101e0527f2053706963652048617276657374657200000000000000000000000000000000610200526101e06010806020846102200101826020850160045afa50508051820191505080610220526102209050806009602082510160c060006003818352015b8260c05160200211156101fa57610219565b60c05160200285015160c05185015581516001018083528114156101e8575b505050505050600060026101e0527f7374000000000000000000000000000000000000000000000000000000000000610200526101e06002806020846102200101826020850160045afa5050805182019150506101a0601a806020846102200101826020850160045afa5050805182019150508061022052610220905080600c602082510160c060006002818352015b8260c05160200211156102bb576102da565b60c05160200285015160c05185015581516001018083528114156102a9575b505050505050610120516001556101405160025561016051600355610180516001601a6101205160a05260805260406080200155610120516012556001601155005b63313ce56781186103335760055460e052602060e0f35b634b82009381186103bd576004358060a01c6121e957610560526105605133186121e95760075461058052610560516104205261058051610440526040366104603760016104a052610383611ee9565b6105605160e05260066105605160a0526080526040608020546101005261058051610120526103b06118ae565b60016105a05260206105a0f35b63e77e74378118610429576004358060a01c6121e95760e0526024358060a01c6121e95761010052601d60e05160a05260805260406080206101005160a05260805260406080205470010000000000000000000000000000000080820690509050610120526020610120f35b6333fd6f74811861062e576004358060a01c6121e95760e0526024358060a01c6121e957610100526005601a6101005160a052608052604060802001546101205260075461014052600660e05160a0526080526040608020546101605260015461010051186104af57600f5461014052600e60e05160a052608052604060802054610160525b6000610140511461058657426002601a6101005160a052608052604060802001548082116104dd57816104df565b805b9050905061018052610180516004601a6101005160a052608052604060802001548082106121e957808203905090506101a05261012080516101a0516003601a6101005160a052608052604060802001548082028215828483041417156121e95790509050670de0b6b3a76400008082028215828483041417156121e95790509050610140518080156121e95782049050905081818301106121e957808201905090508152505b601c6101005160a052608052604060802060e05160a052608052604060802054610180526101605161012051610180518082106121e957808203905090508082028215828483041417156121e95790509050670de0b6b3a7640000808204905090506101a052601d60e05160a05260805260406080206101005160a05260805260406080205460801c6101a05181818301106121e957808201905090506101c05260206101c0f35b63bdf98116811861065b576004358060a01c6121e95760e05260e051601b3360a052608052604060802055005b63e6f1daf281186106765733610560526000610580526106c5565b6384e9bd7e811861069b576004358060a01c6121e957610560526000610580526106c5565b639faceb1b8118610719576004358060a01c6121e957610560526024358060a01c6121e957610580525b6000546121e9576001600055600061058051146106e7573361056051186121e9575b610560516104205260075461044052600161046052610580516104805260006104a052610712611ee9565b6000600055005b6396c5517581186108cc576004358060a01c6121e9576105605260106105605160a0526080526040608020546105805263da020a1861060052610560516106205263010ae7576105c052610560516105e05260206105c060246105dc6002545afa610789573d600060003e3d6000fd5b601f3d11156121e9576105c051610640526020610600604461061c6002545afa6107b8573d600060003e3d6000fd5b601f3d11156121e957610600516105a05260066105605160a0526080526040608020546105c0526370a082316106205261056051610640526020610620602461063c6002545afa61080e573d600060003e3d6000fd5b601f3d11156121e957610620511561082e57610580516105a05111610831565b60015b156121e9576105c05160288082028215828483041417156121e95790509050606480820490509050600e6105605160a05260805260406080205411156121e9576007546105e05261056051610420526105e051610440526040366104603760016104a05261089d611ee9565b6105605160e05260066105605160a052608052604060802054610100526105e051610120526108ca6118ae565b005b63b6b55f2581186108e7573361056052600061058052610936565b636e553f65811861090c576024358060a01c6121e95761056052600061058052610936565b6383df67478118610af2576024358060a01c6121e957610560526044358060011c6121e957610580525b6000546121e95760016000556007546105a0526000600435141561097d5761056051610420526105a051610440526040366104603760016104a052610a85611ee956610a85565b600060115414156105c0526105c051156109bd5761056051610420526105a05161044052610580516104605260006104805260006104a0526109bd611ee9565b6105a0805160043581818301106121e9578082019050905081525060066105605160a05260805260406080205460043581818301106121e957808201905090506105e0526105e05160066105605160a0526080526040608020556105a0516007556105605160e0526105e051610100526105a05161012052610a3d6118ae565b6323b872dd6106005233610620523061064052600435610660526020610600606461061c60006004545af1610a77573d600060003e3d6000fd5b601f3d11156121e957610600505b610560517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c6004356105c05260206105c0a26105605160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6004356105c05260206105c0a36000600055005b632e1a7d4d8118610b0857600061056052610b23565b6338d074368118610cc1576024358060011c6121e957610560525b6000546121e95760016000556007546105805260006004351415610b6757336104205261058051610440526040366104603760016104a052610c5a611ee956610c5a565b600060115414156105a0526105a05115610ba45733610420526105805161044052610560516104605260006104805260006104a052610ba4611ee9565b61058080516004358082106121e9578082039050905081525060063360a0526080526040608020546004358082106121e957808203905090506105c0526105c05160063360a052608052604060802055610580516007553360e0526105c051610100526105805161012052610c176118ae565b63a9059cbb6105e05233610600526004356106205260206105e060446105fc60006004545af1610c4c573d600060003e3d6000fd5b601f3d11156121e9576105e0505b337f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243646004356105a05260206105a0a26000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6004356105a05260206105a0a36000600055005b63a9059cbb8118610d15576004358060a01c6121e957610620526000546121e9576001600055336105605261062051610580526024356105a052610d03612022565b60016106405260206106406000600055f35b6323b872dd8118610dfb576004358060a01c6121e957610620526024358060a01c6121e957610640526000546121e957600160005560086106205160a05260805260406080203360a052608052604060802054610660527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6106605114610dca57610660516044358082106121e9578082039050905060086106205160a05260805260406080203360a0526080526040608020555b610620516105605261064051610580526044356105a052610de9612022565b60016106805260206106806000600055f35b63095ea7b38118610e73576004358060a01c6121e95760e05260243560083360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925602435610100526020610100a36001610100526020610100f35b63395093518118610f21576004358060a01c6121e95760e05260083360a052608052604060802060e05160a05260805260406080205460243581818301106121e95780820190509050610100526101005160083360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92561010051610120526020610120a36001610120526020610120f35b63a457c2d78118610fcd576004358060a01c6121e95760e05260083360a052608052604060802060e05160a0526080526040608020546024358082106121e95780820390509050610100526101005160083360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92561010051610120526020610120a36001610120526020610120f35b63e8de0d4d8118611073576004358060a01c6121e95760e0526024358060a01c6121e95761010052601e5433186121e9576011546101205260086101205110156121e9576001601a60e05160a052608052604060802001546121e957610100516001601a60e05160a0526080526040608020015560e05160016101205160088110156121e957026012015561012051600181818301106121e95780820190509050601155005b63058a3a2481186110ff576004358060a01c6121e95760e0526024358060a01c6121e957610100526001601a60e05160a05260805260406080200154610120526101205133186110c45760016110ca565b601e5433145b156121e957600061012051146121e957600061010051146121e957610100516001601a60e05160a05260805260406080200155005b6393f7aa6781186113ac576004358060a01c6121e957610560526000546121e95760016000556001601a6105605160a0526080526040608020015433186121e9576000610420526007546104405260006104605260006104805260006104a052611167611ee9565b600060046105c0527f23b872dd000000000000000000000000000000000000000000000000000000006105e0526105c06004806020846106000101826020850160045afa50508051820191505033602082610600010152602081019050306020826106000101526020810190506024356020826106000101526020810190508061060052610600505060206106c0610600516106206000610560515af1611213573d600060003e3d6000fd5b6106a060203d8082116112265781611228565b805b905090508152805160200180610580828460045afa9050505060006105805114611267576105a0516105805181816020036008021c90509050156121e9575b6002601a6105605160a052608052604060802001546105c0526105c05142101561130f576105c051428082106121e957808203905090506105e0526105e0516003601a6105605160a052608052604060802001548082028215828483041417156121e95790509050610600526024356106005181818301106121e9578082019050905062127500808204905090506003601a6105605160a05260805260406080200155611333565b60243562127500808204905090506003601a6105605160a052608052604060802001555b426004601a6105605160a05260805260406080200155426212750081818301106121e957808201905090506002601a6105605160a05260805260406080200155610560517f656e648408f08a8f933b2d1375eb24c442eafd5537451a75561a264a569639226024356105e05260206105e0a26000600055005b636b441a40811861140e576004358060a01c6121e95760e052601e5433186121e957600060e051146121e95760e051601f557f2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e960e051610100526020610100a1005b63e5ea47b8811861145e57601f5460e05260e05133186121e95760e051601e557febee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a118910560e051610100526020610100a1005b6340acc3c481186114755760015460e052602060e0f35b63dfe05031811861148c5760025460e052602060e0f35b63dca6e0bc81186114a35760035460e052602060e0f35b632dc7d74c81186114ba5760045460e052602060e0f35b63178f318581186114d15760055460e052602060e0f35b6370a082318118611506576004358060a01c6121e95760e052600660e05160a052608052604060802054610100526020610100f35b6318160ddd811861151d5760075460e052602060e0f35b63dd62ed3e8118611570576004358060a01c6121e95760e0526024358060a01c6121e95761010052600860e05160a05260805260406080206101005160a052608052604060802054610120526020610120f35b6306fdde0381186116135760e08060208082528083018060098082602082540160c060006003818352015b8260c05160200211156115ad576115cc565b60c05185015460c051602002850152815160010180835281141561159b575b5050505050508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f820103905090509050810190509050905060e0f35b6395d89b4181186116b65760e080602080825280830180600c8082602082540160c060006002818352015b8260c05160200211156116505761166f565b60c05185015460c051602002850152815160010180835281141561163e575b5050505050508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f820103905090509050810190509050905060e0f35b6313ecb1ca81186116eb576004358060a01c6121e95760e052600e60e05160a052608052604060802054610100526020610100f35b6317e28089811861170257600f5460e052602060e0f35b639bd324f28118611737576004358060a01c6121e95760e052601060e05160a052608052604060802054610100526020610100f35b63963c94b9811861174e5760115460e052602060e0f35b6354c49fe9811861177557600160043560088110156121e957026012015460e052602060e0f35b6348e9c65e81186117d9576004358060a01c6121e95760e052601a60e05160a052608052604060802080546101005260018101546101205260028101546101405260038101546101605260048101546101805260058101546101a0525060c0610100f35b6301ddabf1811861180e576004358060a01c6121e95760e052601b60e05160a052608052604060802054610100526020610100f35b63f05cc0588118611861576004358060a01c6121e95760e0526024358060a01c6121e95761010052601c60e05160a05260805260406080206101005160a052608052604060802054610120526020610120f35b63f851a440811861187857601e5460e052602060e0f35b6317f7182a811861188f57601f5460e052602060e0f35b63158ef93e81186118a65760205460e052602060e0f35b505b60006000fd5b63bbf7408a6101605260e051610180526020610160602461017c6003545afa6118dc573d600060003e3d6000fd5b601f3d11156121e95761016051610140526318160ddd610180526020610180600461019c6002545afa611914573d600060003e3d6000fd5b601f3d11156121e95761018051610160526101005160288082028215828483041417156121e957905090506064808204905090506101805260006101605111156119bd57610180805161012051610140518082028215828483041417156121e95790509050610160518080156121e957820490509050603c8082028215828483041417156121e9579050905060648082049050905081818301106121e957808201905090508152505b61010051610180518082116119d257816119d4565b805b9050905061018052600e60e05160a0526080526040608020546101a05261018051600e60e05160a052608052604060802055600f546101805181818301106121e957808201905090506101a0518082106121e957808203905090506101c0526101c051600f557f7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a360e0516101e0526101005161020052610120516102205261018051610240526101c0516102605260a06101e0a1565b610120516101a052610140516101c0526001546101005118611ac357600f546101a052600e60e05160a0526080526040608020546101c0525b6005601a6101005160a052608052604060802001546101e052426002601a6101005160a05260805260406080200154808211611aff5781611b01565b805b9050905061020052610200516004601a6101005160a052608052604060802001548082106121e957808203905090506102205260006102205114611bf057610200516004601a6101005160a0526080526040608020015560006101a05114611bf0576101e08051610220516003601a6101005160a052608052604060802001548082028215828483041417156121e95790509050670de0b6b3a76400008082028215828483041417156121e957905090506101a0518080156121e95782049050905081818301106121e957808201905090508152506101e0516005601a6101005160a052608052604060802001555b600060e05114611ec857601c6101005160a052608052604060802060e05160a052608052604060802054610240526000610260526101e051610240511015611c99576101e051601c6101005160a052608052604060802060e05160a0526080526040608020556101c0516101e051610240518082106121e957808203905090508082028215828483041417156121e95790509050670de0b6b3a764000080820490509050610260525b601d60e05160a05260805260406080206101005160a052608052604060802054610280526102805160801c6102605181818301106121e957808201905090506102a05260006102a0511115611ec85761028051700100000000000000000000000000000000808206905090506102c05261016051611d5d576000610260511115611ec8576102c0516102a05160801b81818301106121e95780820190509050601d60e05160a05260805260406080206101005160a052608052604060802055611ec8565b60006004610320527fa9059cbb00000000000000000000000000000000000000000000000000000000610340526103206004806020846103600101826020850160045afa505080518201915050610180516020826103600101526020810190506102a051602082610360010152602081019050806103605261036050506020610400610360516103806000610100515af1611dfd573d600060003e3d6000fd5b6103e060203d808211611e105781611e12565b805b9050905081528051602001806102e0828460045afa9050505060006102e05114611e5157610300516102e05181816020036008021c90509050156121e9575b6101005160e0517f70464fba229d0d2e0bc97c7017b2139f8587507cb9bfdc6c1591339b9c5deff36102a0516103205261018051610340526040610320a36102c0516102a05181818301106121e95780820190509050601d60e05160a05260805260406080206101005160a0526080526040608020555b6001546101005118611ee75742601060e05160a0526080526040608020555b565b610480516104c05260006104e05260006104205114611f595760066104205160a0526080526040608020546104e05261046051611f27576000611f2d565b61048051155b15611f5957601b6104205160a0526080526040608020546104c0526104c051611f5957610420516104c0525b6104a051611fec576011546105005261052060006008818352015b610500516105205118611f8657611fe5565b60016105205160088110156121e9570260120154610540526104205160e052610540516101005261044051610120526104e0516101405261046051610160526104c05161018052611fd5611a8a565b8151600101808352811415611f74575b5050612020565b6104205160e0526001546101005261044051610120526104e051610140526000610160526104c05161018052612020611a8a565b565b6007546105c05260006105a05114156120835761056051610420526105c051610440526040366104603760016104a05261205a611ee9565b61058051610420526105c051610440526040366104603760016104a0526121b0611ee9566121b0565b600060115414156105e0526105e051156120c15761056051610420526105c0516104405260006104605260006104805260006104a0526120c1611ee9565b60066105605160a0526080526040608020546105a0518082106121e95780820390509050610600526106005160066105605160a0526080526040608020556105605160e05261060051610100526105c0516101205261211e6118ae565b6105e051156121515761058051610420526105c0516104405260006104605260006104805260006104a052612151611ee9565b60066105805160a0526080526040608020546105a05181818301106121e95780820190509050610600526106005160066105805160a0526080526040608020556105805160e05261060051610100526105c051610120526121b06118ae565b61058051610560517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6105a0516105e05260206105e0a3565b600080fd5b6100106121fe036100106000396100106121fe036000f35b600080fd
Deployed Bytecode
0x600436101561000d576118a8565b60046000601c37600051346121e95763cc2a9a5b811861031c576004358060a01c6121e95760e0526024358060a01c6121e957610100526044358060a01c6121e957610120526064358060a01c6121e957610140526084358060a01c6121e9576101605260a4358060a01c6121e957610180526020546121e9576001602055600061010051146121e957600061012051146121e957600061014051146121e957600061016051146121e957600061018051146121e95761010051601e5560e05160045563313ce5676101a05260206101a060046101bc60e0515afa6100f7573d600060003e3d6000fd5b601f3d11156121e9576101a0516005556395d89b416101e05260606101e060046101fc60e0515afa61012e573d600060003e3d6000fd5b603f3d11156121e9576101e0516101e001601a8151116121e957808051602001806101a0828460045afa90509050505060006101a0601a806020846102200101826020850160045afa50508051820191505060106101e0527f2053706963652048617276657374657200000000000000000000000000000000610200526101e06010806020846102200101826020850160045afa50508051820191505080610220526102209050806009602082510160c060006003818352015b8260c05160200211156101fa57610219565b60c05160200285015160c05185015581516001018083528114156101e8575b505050505050600060026101e0527f7374000000000000000000000000000000000000000000000000000000000000610200526101e06002806020846102200101826020850160045afa5050805182019150506101a0601a806020846102200101826020850160045afa5050805182019150508061022052610220905080600c602082510160c060006002818352015b8260c05160200211156102bb576102da565b60c05160200285015160c05185015581516001018083528114156102a9575b505050505050610120516001556101405160025561016051600355610180516001601a6101205160a05260805260406080200155610120516012556001601155005b63313ce56781186103335760055460e052602060e0f35b634b82009381186103bd576004358060a01c6121e957610560526105605133186121e95760075461058052610560516104205261058051610440526040366104603760016104a052610383611ee9565b6105605160e05260066105605160a0526080526040608020546101005261058051610120526103b06118ae565b60016105a05260206105a0f35b63e77e74378118610429576004358060a01c6121e95760e0526024358060a01c6121e95761010052601d60e05160a05260805260406080206101005160a05260805260406080205470010000000000000000000000000000000080820690509050610120526020610120f35b6333fd6f74811861062e576004358060a01c6121e95760e0526024358060a01c6121e957610100526005601a6101005160a052608052604060802001546101205260075461014052600660e05160a0526080526040608020546101605260015461010051186104af57600f5461014052600e60e05160a052608052604060802054610160525b6000610140511461058657426002601a6101005160a052608052604060802001548082116104dd57816104df565b805b9050905061018052610180516004601a6101005160a052608052604060802001548082106121e957808203905090506101a05261012080516101a0516003601a6101005160a052608052604060802001548082028215828483041417156121e95790509050670de0b6b3a76400008082028215828483041417156121e95790509050610140518080156121e95782049050905081818301106121e957808201905090508152505b601c6101005160a052608052604060802060e05160a052608052604060802054610180526101605161012051610180518082106121e957808203905090508082028215828483041417156121e95790509050670de0b6b3a7640000808204905090506101a052601d60e05160a05260805260406080206101005160a05260805260406080205460801c6101a05181818301106121e957808201905090506101c05260206101c0f35b63bdf98116811861065b576004358060a01c6121e95760e05260e051601b3360a052608052604060802055005b63e6f1daf281186106765733610560526000610580526106c5565b6384e9bd7e811861069b576004358060a01c6121e957610560526000610580526106c5565b639faceb1b8118610719576004358060a01c6121e957610560526024358060a01c6121e957610580525b6000546121e9576001600055600061058051146106e7573361056051186121e9575b610560516104205260075461044052600161046052610580516104805260006104a052610712611ee9565b6000600055005b6396c5517581186108cc576004358060a01c6121e9576105605260106105605160a0526080526040608020546105805263da020a1861060052610560516106205263010ae7576105c052610560516105e05260206105c060246105dc6002545afa610789573d600060003e3d6000fd5b601f3d11156121e9576105c051610640526020610600604461061c6002545afa6107b8573d600060003e3d6000fd5b601f3d11156121e957610600516105a05260066105605160a0526080526040608020546105c0526370a082316106205261056051610640526020610620602461063c6002545afa61080e573d600060003e3d6000fd5b601f3d11156121e957610620511561082e57610580516105a05111610831565b60015b156121e9576105c05160288082028215828483041417156121e95790509050606480820490509050600e6105605160a05260805260406080205411156121e9576007546105e05261056051610420526105e051610440526040366104603760016104a05261089d611ee9565b6105605160e05260066105605160a052608052604060802054610100526105e051610120526108ca6118ae565b005b63b6b55f2581186108e7573361056052600061058052610936565b636e553f65811861090c576024358060a01c6121e95761056052600061058052610936565b6383df67478118610af2576024358060a01c6121e957610560526044358060011c6121e957610580525b6000546121e95760016000556007546105a0526000600435141561097d5761056051610420526105a051610440526040366104603760016104a052610a85611ee956610a85565b600060115414156105c0526105c051156109bd5761056051610420526105a05161044052610580516104605260006104805260006104a0526109bd611ee9565b6105a0805160043581818301106121e9578082019050905081525060066105605160a05260805260406080205460043581818301106121e957808201905090506105e0526105e05160066105605160a0526080526040608020556105a0516007556105605160e0526105e051610100526105a05161012052610a3d6118ae565b6323b872dd6106005233610620523061064052600435610660526020610600606461061c60006004545af1610a77573d600060003e3d6000fd5b601f3d11156121e957610600505b610560517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c6004356105c05260206105c0a26105605160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6004356105c05260206105c0a36000600055005b632e1a7d4d8118610b0857600061056052610b23565b6338d074368118610cc1576024358060011c6121e957610560525b6000546121e95760016000556007546105805260006004351415610b6757336104205261058051610440526040366104603760016104a052610c5a611ee956610c5a565b600060115414156105a0526105a05115610ba45733610420526105805161044052610560516104605260006104805260006104a052610ba4611ee9565b61058080516004358082106121e9578082039050905081525060063360a0526080526040608020546004358082106121e957808203905090506105c0526105c05160063360a052608052604060802055610580516007553360e0526105c051610100526105805161012052610c176118ae565b63a9059cbb6105e05233610600526004356106205260206105e060446105fc60006004545af1610c4c573d600060003e3d6000fd5b601f3d11156121e9576105e0505b337f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243646004356105a05260206105a0a26000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6004356105a05260206105a0a36000600055005b63a9059cbb8118610d15576004358060a01c6121e957610620526000546121e9576001600055336105605261062051610580526024356105a052610d03612022565b60016106405260206106406000600055f35b6323b872dd8118610dfb576004358060a01c6121e957610620526024358060a01c6121e957610640526000546121e957600160005560086106205160a05260805260406080203360a052608052604060802054610660527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6106605114610dca57610660516044358082106121e9578082039050905060086106205160a05260805260406080203360a0526080526040608020555b610620516105605261064051610580526044356105a052610de9612022565b60016106805260206106806000600055f35b63095ea7b38118610e73576004358060a01c6121e95760e05260243560083360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925602435610100526020610100a36001610100526020610100f35b63395093518118610f21576004358060a01c6121e95760e05260083360a052608052604060802060e05160a05260805260406080205460243581818301106121e95780820190509050610100526101005160083360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92561010051610120526020610120a36001610120526020610120f35b63a457c2d78118610fcd576004358060a01c6121e95760e05260083360a052608052604060802060e05160a0526080526040608020546024358082106121e95780820390509050610100526101005160083360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92561010051610120526020610120a36001610120526020610120f35b63e8de0d4d8118611073576004358060a01c6121e95760e0526024358060a01c6121e95761010052601e5433186121e9576011546101205260086101205110156121e9576001601a60e05160a052608052604060802001546121e957610100516001601a60e05160a0526080526040608020015560e05160016101205160088110156121e957026012015561012051600181818301106121e95780820190509050601155005b63058a3a2481186110ff576004358060a01c6121e95760e0526024358060a01c6121e957610100526001601a60e05160a05260805260406080200154610120526101205133186110c45760016110ca565b601e5433145b156121e957600061012051146121e957600061010051146121e957610100516001601a60e05160a05260805260406080200155005b6393f7aa6781186113ac576004358060a01c6121e957610560526000546121e95760016000556001601a6105605160a0526080526040608020015433186121e9576000610420526007546104405260006104605260006104805260006104a052611167611ee9565b600060046105c0527f23b872dd000000000000000000000000000000000000000000000000000000006105e0526105c06004806020846106000101826020850160045afa50508051820191505033602082610600010152602081019050306020826106000101526020810190506024356020826106000101526020810190508061060052610600505060206106c0610600516106206000610560515af1611213573d600060003e3d6000fd5b6106a060203d8082116112265781611228565b805b905090508152805160200180610580828460045afa9050505060006105805114611267576105a0516105805181816020036008021c90509050156121e9575b6002601a6105605160a052608052604060802001546105c0526105c05142101561130f576105c051428082106121e957808203905090506105e0526105e0516003601a6105605160a052608052604060802001548082028215828483041417156121e95790509050610600526024356106005181818301106121e9578082019050905062127500808204905090506003601a6105605160a05260805260406080200155611333565b60243562127500808204905090506003601a6105605160a052608052604060802001555b426004601a6105605160a05260805260406080200155426212750081818301106121e957808201905090506002601a6105605160a05260805260406080200155610560517f656e648408f08a8f933b2d1375eb24c442eafd5537451a75561a264a569639226024356105e05260206105e0a26000600055005b636b441a40811861140e576004358060a01c6121e95760e052601e5433186121e957600060e051146121e95760e051601f557f2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e960e051610100526020610100a1005b63e5ea47b8811861145e57601f5460e05260e05133186121e95760e051601e557febee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a118910560e051610100526020610100a1005b6340acc3c481186114755760015460e052602060e0f35b63dfe05031811861148c5760025460e052602060e0f35b63dca6e0bc81186114a35760035460e052602060e0f35b632dc7d74c81186114ba5760045460e052602060e0f35b63178f318581186114d15760055460e052602060e0f35b6370a082318118611506576004358060a01c6121e95760e052600660e05160a052608052604060802054610100526020610100f35b6318160ddd811861151d5760075460e052602060e0f35b63dd62ed3e8118611570576004358060a01c6121e95760e0526024358060a01c6121e95761010052600860e05160a05260805260406080206101005160a052608052604060802054610120526020610120f35b6306fdde0381186116135760e08060208082528083018060098082602082540160c060006003818352015b8260c05160200211156115ad576115cc565b60c05185015460c051602002850152815160010180835281141561159b575b5050505050508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f820103905090509050810190509050905060e0f35b6395d89b4181186116b65760e080602080825280830180600c8082602082540160c060006002818352015b8260c05160200211156116505761166f565b60c05185015460c051602002850152815160010180835281141561163e575b5050505050508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f820103905090509050810190509050905060e0f35b6313ecb1ca81186116eb576004358060a01c6121e95760e052600e60e05160a052608052604060802054610100526020610100f35b6317e28089811861170257600f5460e052602060e0f35b639bd324f28118611737576004358060a01c6121e95760e052601060e05160a052608052604060802054610100526020610100f35b63963c94b9811861174e5760115460e052602060e0f35b6354c49fe9811861177557600160043560088110156121e957026012015460e052602060e0f35b6348e9c65e81186117d9576004358060a01c6121e95760e052601a60e05160a052608052604060802080546101005260018101546101205260028101546101405260038101546101605260048101546101805260058101546101a0525060c0610100f35b6301ddabf1811861180e576004358060a01c6121e95760e052601b60e05160a052608052604060802054610100526020610100f35b63f05cc0588118611861576004358060a01c6121e95760e0526024358060a01c6121e95761010052601c60e05160a05260805260406080206101005160a052608052604060802054610120526020610120f35b63f851a440811861187857601e5460e052602060e0f35b6317f7182a811861188f57601f5460e052602060e0f35b63158ef93e81186118a65760205460e052602060e0f35b505b60006000fd5b63bbf7408a6101605260e051610180526020610160602461017c6003545afa6118dc573d600060003e3d6000fd5b601f3d11156121e95761016051610140526318160ddd610180526020610180600461019c6002545afa611914573d600060003e3d6000fd5b601f3d11156121e95761018051610160526101005160288082028215828483041417156121e957905090506064808204905090506101805260006101605111156119bd57610180805161012051610140518082028215828483041417156121e95790509050610160518080156121e957820490509050603c8082028215828483041417156121e9579050905060648082049050905081818301106121e957808201905090508152505b61010051610180518082116119d257816119d4565b805b9050905061018052600e60e05160a0526080526040608020546101a05261018051600e60e05160a052608052604060802055600f546101805181818301106121e957808201905090506101a0518082106121e957808203905090506101c0526101c051600f557f7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a360e0516101e0526101005161020052610120516102205261018051610240526101c0516102605260a06101e0a1565b610120516101a052610140516101c0526001546101005118611ac357600f546101a052600e60e05160a0526080526040608020546101c0525b6005601a6101005160a052608052604060802001546101e052426002601a6101005160a05260805260406080200154808211611aff5781611b01565b805b9050905061020052610200516004601a6101005160a052608052604060802001548082106121e957808203905090506102205260006102205114611bf057610200516004601a6101005160a0526080526040608020015560006101a05114611bf0576101e08051610220516003601a6101005160a052608052604060802001548082028215828483041417156121e95790509050670de0b6b3a76400008082028215828483041417156121e957905090506101a0518080156121e95782049050905081818301106121e957808201905090508152506101e0516005601a6101005160a052608052604060802001555b600060e05114611ec857601c6101005160a052608052604060802060e05160a052608052604060802054610240526000610260526101e051610240511015611c99576101e051601c6101005160a052608052604060802060e05160a0526080526040608020556101c0516101e051610240518082106121e957808203905090508082028215828483041417156121e95790509050670de0b6b3a764000080820490509050610260525b601d60e05160a05260805260406080206101005160a052608052604060802054610280526102805160801c6102605181818301106121e957808201905090506102a05260006102a0511115611ec85761028051700100000000000000000000000000000000808206905090506102c05261016051611d5d576000610260511115611ec8576102c0516102a05160801b81818301106121e95780820190509050601d60e05160a05260805260406080206101005160a052608052604060802055611ec8565b60006004610320527fa9059cbb00000000000000000000000000000000000000000000000000000000610340526103206004806020846103600101826020850160045afa505080518201915050610180516020826103600101526020810190506102a051602082610360010152602081019050806103605261036050506020610400610360516103806000610100515af1611dfd573d600060003e3d6000fd5b6103e060203d808211611e105781611e12565b805b9050905081528051602001806102e0828460045afa9050505060006102e05114611e5157610300516102e05181816020036008021c90509050156121e9575b6101005160e0517f70464fba229d0d2e0bc97c7017b2139f8587507cb9bfdc6c1591339b9c5deff36102a0516103205261018051610340526040610320a36102c0516102a05181818301106121e95780820190509050601d60e05160a05260805260406080206101005160a0526080526040608020555b6001546101005118611ee75742601060e05160a0526080526040608020555b565b610480516104c05260006104e05260006104205114611f595760066104205160a0526080526040608020546104e05261046051611f27576000611f2d565b61048051155b15611f5957601b6104205160a0526080526040608020546104c0526104c051611f5957610420516104c0525b6104a051611fec576011546105005261052060006008818352015b610500516105205118611f8657611fe5565b60016105205160088110156121e9570260120154610540526104205160e052610540516101005261044051610120526104e0516101405261046051610160526104c05161018052611fd5611a8a565b8151600101808352811415611f74575b5050612020565b6104205160e0526001546101005261044051610120526104e051610140526000610160526104c05161018052612020611a8a565b565b6007546105c05260006105a05114156120835761056051610420526105c051610440526040366104603760016104a05261205a611ee9565b61058051610420526105c051610440526040366104603760016104a0526121b0611ee9566121b0565b600060115414156105e0526105e051156120c15761056051610420526105c0516104405260006104605260006104805260006104a0526120c1611ee9565b60066105605160a0526080526040608020546105a0518082106121e95780820390509050610600526106005160066105605160a0526080526040608020556105605160e05261060051610100526105c0516101205261211e6118ae565b6105e051156121515761058051610420526105c0516104405260006104605260006104805260006104a052612151611ee9565b60066105805160a0526080526040608020546105a05181818301106121e95780820190509050610600526106005160066105805160a0526080526040608020556105805160e05261060051610100526105c051610120526121b06118ae565b61058051610560517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6105a0516105e05260206105e0a3565b600080fd
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.