More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,948 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 21867111 | 64 days ago | IN | 0 ETH | 0.00808716 | ||||
Withdraw | 21839769 | 68 days ago | IN | 0 ETH | 0.00044254 | ||||
Increase_unlock_... | 21792815 | 75 days ago | IN | 0 ETH | 0.00034309 | ||||
Withdraw | 21588833 | 103 days ago | IN | 0 ETH | 0.00195628 | ||||
Withdraw | 21578684 | 104 days ago | IN | 0 ETH | 0.00207695 | ||||
Withdraw | 21565298 | 106 days ago | IN | 0 ETH | 0.00208043 | ||||
Withdraw | 21565264 | 106 days ago | IN | 0 ETH | 0.00230703 | ||||
Increase_amount | 21564706 | 106 days ago | IN | 0 ETH | 0.00246005 | ||||
Increase_amount | 21564705 | 106 days ago | IN | 0 ETH | 0.00235175 | ||||
Withdraw | 21560045 | 107 days ago | IN | 0 ETH | 0.00191084 | ||||
Withdraw | 21557581 | 107 days ago | IN | 0 ETH | 0.00117174 | ||||
Withdraw | 21534882 | 111 days ago | IN | 0 ETH | 0.00865264 | ||||
Withdraw | 21524281 | 112 days ago | IN | 0 ETH | 0.00214114 | ||||
Withdraw | 21523773 | 112 days ago | IN | 0 ETH | 0.0034983 | ||||
Withdraw | 21489256 | 117 days ago | IN | 0 ETH | 0.00311721 | ||||
Withdraw | 21482037 | 118 days ago | IN | 0 ETH | 0.00119636 | ||||
Withdraw | 21479191 | 118 days ago | IN | 0 ETH | 0.00083189 | ||||
Increase_unlock_... | 21478128 | 119 days ago | IN | 0 ETH | 0.00110965 | ||||
Withdraw | 21464800 | 120 days ago | IN | 0 ETH | 0.00183284 | ||||
Withdraw | 21451824 | 122 days ago | IN | 0 ETH | 0.00188874 | ||||
Withdraw | 21446908 | 123 days ago | IN | 0 ETH | 0.00222751 | ||||
Withdraw | 21446873 | 123 days ago | IN | 0 ETH | 0.00220424 | ||||
Withdraw | 21441303 | 124 days ago | IN | 0 ETH | 0.00193866 | ||||
Withdraw | 21437414 | 124 days ago | IN | 0 ETH | 0.00950841 | ||||
Withdraw | 21432379 | 125 days ago | IN | 0 ETH | 0.00461017 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Vyper_contract
Compiler Version
vyper:0.2.4
Contract Source Code (Vyper language format)
# @version 0.2.4 """ @title Voting Escrow @author APWine, Curve Finance @license MIT @notice Votes have a weight depending on time, so that users are committed to the future of (whatever they are voting for) @dev Vote weight decays linearly over time. Lock time cannot be more than `MAXTIME` (2 years). (modified for veAPW) """ # Voting escrow to have time-weighted votes # Votes have a weight depending on time, so that users are committed # to the future of (whatever they are voting for). # The weight in this implementation is linear, and lock cannot be more than maxtime: # w ^ # 1 + / # | / # | / # | / # |/ # 0 +--------+------> time # maxtime (2 years?) struct Point: bias: int128 slope: int128 # - dweight / dt ts: uint256 blk: uint256 # block # We cannot really do block numbers per se b/c slope is per time, not per block # and per block could be fairly bad b/c Ethereum changes blocktimes. # What we can do is to extrapolate ***At functions struct LockedBalance: amount: int128 end: uint256 interface ERC20: def decimals() -> uint256: view def name() -> String[64]: view def symbol() -> String[32]: view def transfer(to: address, amount: uint256) -> bool: nonpayable def transferFrom(spender: address, to: address, amount: uint256) -> bool: nonpayable # Interface for checking whether address belongs to a whitelisted # type of a smart wallet. # When new types are added - the whole contract is changed # The check() method is modifying to be able to use caching # for individual wallet addresses interface SmartWalletChecker: def check(addr: address) -> bool: nonpayable DEPOSIT_FOR_TYPE: constant(int128) = 0 CREATE_LOCK_TYPE: constant(int128) = 1 INCREASE_LOCK_AMOUNT: constant(int128) = 2 INCREASE_UNLOCK_TIME: constant(int128) = 3 event CommitOwnership: admin: address event ApplyOwnership: admin: address event Deposit: provider: indexed(address) value: uint256 locktime: indexed(uint256) type: int128 ts: uint256 event Withdraw: provider: indexed(address) value: uint256 ts: uint256 event Supply: prevSupply: uint256 supply: uint256 WEEK: constant(uint256) = 7 * 86400 # all future times are rounded by week MAXTIME: constant(uint256) = 2 * 365 * 86400 # 2 years MULTIPLIER: constant(uint256) = 10 ** 18 token: public(address) supply: public(uint256) locked: public(HashMap[address, LockedBalance]) epoch: public(uint256) point_history: public(Point[100000000000000000000000000000]) # epoch -> unsigned point user_point_history: public(HashMap[address, Point[1000000000]]) # user -> Point[user_epoch] user_point_epoch: public(HashMap[address, uint256]) slope_changes: public(HashMap[uint256, int128]) # time -> signed slope change # Aragon's view methods for compatibility controller: public(address) transfersEnabled: public(bool) name: public(String[64]) symbol: public(String[32]) version: public(String[32]) decimals: public(uint256) # Checker for whitelisted (smart contract) wallets which are allowed to deposit # The goal is to prevent tokenizing the escrow future_smart_wallet_checker: public(address) smart_wallet_checker: public(address) admin: public(address) # Can and will be a smart contract future_admin: public(address) @external def __init__(token_addr: address, _name: String[64], _symbol: String[32], _version: String[32]): """ @notice Contract constructor @param token_addr `ERC20APW` token address @param _name Token name @param _symbol Token symbol @param _version Contract version - required for Aragon compatibility """ self.admin = msg.sender self.token = token_addr self.point_history[0].blk = block.number self.point_history[0].ts = block.timestamp self.controller = msg.sender self.transfersEnabled = True _decimals: uint256 = ERC20(token_addr).decimals() assert _decimals <= 255 self.decimals = _decimals self.name = _name self.symbol = _symbol self.version = _version @external def commit_transfer_ownership(addr: address): """ @notice Transfer ownership of VotingEscrow contract 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 apply_transfer_ownership(): """ @notice Apply ownership transfer """ assert msg.sender == self.admin # dev: admin only _admin: address = self.future_admin assert _admin != ZERO_ADDRESS # dev: admin not set self.admin = _admin log ApplyOwnership(_admin) @external def commit_smart_wallet_checker(addr: address): """ @notice Set an external contract to check for approved smart contract wallets @param addr Address of Smart contract checker """ assert msg.sender == self.admin self.future_smart_wallet_checker = addr @external def apply_smart_wallet_checker(): """ @notice Apply setting external contract to check approved smart contract wallets """ assert msg.sender == self.admin self.smart_wallet_checker = self.future_smart_wallet_checker @internal def assert_not_contract(addr: address): """ @notice Check if the call is from a whitelisted smart contract, revert if not @param addr Address to be checked """ if addr != tx.origin: checker: address = self.smart_wallet_checker if checker != ZERO_ADDRESS: if SmartWalletChecker(checker).check(addr): return raise "Smart contract depositors not allowed" @external @view def get_last_user_slope(addr: address) -> int128: """ @notice Get the most recently recorded rate of voting power decrease for `addr` @param addr Address of the user wallet @return Value of the slope """ uepoch: uint256 = self.user_point_epoch[addr] return self.user_point_history[addr][uepoch].slope @external @view def user_point_history__ts(_addr: address, _idx: uint256) -> uint256: """ @notice Get the timestamp for checkpoint `_idx` for `_addr` @param _addr User wallet address @param _idx User epoch number @return Epoch time of the checkpoint """ return self.user_point_history[_addr][_idx].ts @external @view def locked__end(_addr: address) -> uint256: """ @notice Get timestamp when `_addr`'s lock finishes @param _addr User wallet @return Epoch time of the lock end """ return self.locked[_addr].end @external @view def locked__amount(_addr: address) -> uint256: """ @notice Get amount locked in `_addr`'s lock @param _addr User wallet @return Amount locked """ return convert(self.locked[_addr].amount, uint256) @internal def _checkpoint(addr: address, old_locked: LockedBalance, new_locked: LockedBalance): """ @notice Record global and per-user data to checkpoint @param addr User's wallet address. No user checkpoint if 0x0 @param old_locked Pevious locked amount / end lock time for the user @param new_locked New locked amount / end lock time for the user """ u_old: Point = empty(Point) u_new: Point = empty(Point) old_dslope: int128 = 0 new_dslope: int128 = 0 _epoch: uint256 = self.epoch if addr != ZERO_ADDRESS: # Calculate slopes and biases # Kept at zero when they have to if old_locked.end > block.timestamp and old_locked.amount > 0: u_old.slope = old_locked.amount / MAXTIME u_old.bias = u_old.slope * convert(old_locked.end - block.timestamp, int128) if new_locked.end > block.timestamp and new_locked.amount > 0: u_new.slope = new_locked.amount / MAXTIME u_new.bias = u_new.slope * convert(new_locked.end - block.timestamp, int128) # Read values of scheduled changes in the slope # old_locked.end can be in the past and in the future # new_locked.end can ONLY by in the FUTURE unless everything expired: than zeros old_dslope = self.slope_changes[old_locked.end] if new_locked.end != 0: if new_locked.end == old_locked.end: new_dslope = old_dslope else: new_dslope = self.slope_changes[new_locked.end] last_point: Point = Point({bias: 0, slope: 0, ts: block.timestamp, blk: block.number}) if _epoch > 0: last_point = self.point_history[_epoch] last_checkpoint: uint256 = last_point.ts # initial_last_point is used for extrapolation to calculate block number # (approximately, for *At methods) and save them # as we cannot figure that out exactly from inside the contract initial_last_point: Point = last_point block_slope: uint256 = 0 # dblock/dt if block.timestamp > last_point.ts: block_slope = MULTIPLIER * (block.number - last_point.blk) / (block.timestamp - last_point.ts) # If last point is already recorded in this block, slope=0 # But that's ok b/c we know the block in such case # Go over weeks to fill history and calculate what the current point is t_i: uint256 = (last_checkpoint / WEEK) * WEEK for i in range(255): # Hopefully it won't happen that this won't get used in 5 years! # If it does, users will be able to withdraw but vote weight will be broken t_i += WEEK d_slope: int128 = 0 if t_i > block.timestamp: t_i = block.timestamp else: d_slope = self.slope_changes[t_i] last_point.bias -= last_point.slope * convert(t_i - last_checkpoint, int128) last_point.slope += d_slope if last_point.bias < 0: # This can happen last_point.bias = 0 if last_point.slope < 0: # This cannot happen - just in case last_point.slope = 0 last_checkpoint = t_i last_point.ts = t_i last_point.blk = initial_last_point.blk + block_slope * (t_i - initial_last_point.ts) / MULTIPLIER _epoch += 1 if t_i == block.timestamp: last_point.blk = block.number break else: self.point_history[_epoch] = last_point self.epoch = _epoch # Now point_history is filled until t=now if addr != ZERO_ADDRESS: # If last point was in this block, the slope change has been applied already # But in such case we have 0 slope(s) last_point.slope += (u_new.slope - u_old.slope) last_point.bias += (u_new.bias - u_old.bias) if last_point.slope < 0: last_point.slope = 0 if last_point.bias < 0: last_point.bias = 0 # Record the changed point into history self.point_history[_epoch] = last_point if addr != ZERO_ADDRESS: # Schedule the slope changes (slope is going down) # We subtract new_user_slope from [new_locked.end] # and add old_user_slope to [old_locked.end] if old_locked.end > block.timestamp: # old_dslope was <something> - u_old.slope, so we cancel that old_dslope += u_old.slope if new_locked.end == old_locked.end: old_dslope -= u_new.slope # It was a new deposit, not extension self.slope_changes[old_locked.end] = old_dslope if new_locked.end > block.timestamp: if new_locked.end > old_locked.end: new_dslope -= u_new.slope # old slope disappeared at this point self.slope_changes[new_locked.end] = new_dslope # else: we recorded it already in old_dslope # Now handle user history user_epoch: uint256 = self.user_point_epoch[addr] + 1 self.user_point_epoch[addr] = user_epoch u_new.ts = block.timestamp u_new.blk = block.number self.user_point_history[addr][user_epoch] = u_new # TODO: add _sender parameter to prevent anyone from being able to deposit_for in case allowance has been given & forgotten @internal def _deposit_for(_addr: address, _spender:address, _value: uint256, unlock_time: uint256, locked_balance: LockedBalance, type: int128): """ @notice Deposit and lock tokens for a user @param _addr User's wallet address @param _value Amount to deposit @param unlock_time New time when to unlock the tokens, or 0 if unchanged @param locked_balance Previous locked amount / timestamp """ _locked: LockedBalance = locked_balance supply_before: uint256 = self.supply self.supply = supply_before + _value old_locked: LockedBalance = _locked # Adding to existing lock, or if a lock is expired - creating a new one _locked.amount += convert(_value, int128) if unlock_time != 0: _locked.end = unlock_time self.locked[_addr] = _locked # Possibilities: # Both old_locked.end could be current or expired (>/< block.timestamp) # value == 0 (extend lock) or value > 0 (add to lock or extend lock) # _locked.end > block.timestamp (always) self._checkpoint(_addr, old_locked, _locked) if _value != 0: assert ERC20(self.token).transferFrom(_spender, self, _value) log Deposit(_addr, _value, _locked.end, type, block.timestamp) log Supply(supply_before, supply_before + _value) @external def checkpoint(): """ @notice Record global data to checkpoint """ self._checkpoint(ZERO_ADDRESS, empty(LockedBalance), empty(LockedBalance)) @external @nonreentrant('lock') def deposit_for(_addr: address, _value: uint256): """ @notice Deposit `_value` tokens for `_addr` and add to the lock @dev Anyone (even a smart contract) can deposit for someone else, but cannot extend their locktime and deposit for a brand new user @param _addr User's wallet address @param _value Amount to add to user's lock """ _locked: LockedBalance = self.locked[_addr] assert _value > 0 # dev: need non-zero value # allow adding amount to an "empty" lock (_locked.amount == 0) #assert _locked.amount > 0, "No existing lock found" assert _locked.end > block.timestamp, "Cannot add to expired lock. Withdraw" self._deposit_for(_addr, msg.sender, _value, 0, self.locked[_addr], DEPOSIT_FOR_TYPE) @external @nonreentrant('lock') def create_lock(_value: uint256, _unlock_time: uint256): """ @notice Deposit `_value` tokens for `msg.sender` and lock until `_unlock_time` @param _value Amount to deposit @param _unlock_time Epoch time when tokens unlock, rounded down to whole weeks """ self.assert_not_contract(msg.sender) unlock_time: uint256 = (_unlock_time / WEEK) * WEEK # Locktime is rounded down to weeks _locked: LockedBalance = self.locked[msg.sender] # allow creating lock with no tokens. can later add amount #assert _value > 0 # dev: need non-zero value assert _locked.amount == 0, "Withdraw old tokens first" assert unlock_time > block.timestamp, "Can only lock until time in the future" assert unlock_time <= block.timestamp + MAXTIME, "Voting lock can be 2 years max" self._deposit_for(msg.sender, msg.sender, _value, unlock_time, _locked, CREATE_LOCK_TYPE) @external @nonreentrant('lock') def increase_amount(_value: uint256): """ @notice Deposit `_value` additional tokens for `msg.sender` without modifying the unlock time @param _value Amount of tokens to deposit and add to the lock """ self.assert_not_contract(msg.sender) _locked: LockedBalance = self.locked[msg.sender] assert _value > 0 # dev: need non-zero value assert _locked.amount > 0, "No existing lock found" assert _locked.end > block.timestamp, "Cannot add to expired lock. Withdraw" self._deposit_for(msg.sender, msg.sender, _value, 0, _locked, INCREASE_LOCK_AMOUNT) @external @nonreentrant('lock') def increase_unlock_time(_unlock_time: uint256): """ @notice Extend the unlock time for `msg.sender` to `_unlock_time` @param _unlock_time New epoch time for unlocking """ self.assert_not_contract(msg.sender) _locked: LockedBalance = self.locked[msg.sender] unlock_time: uint256 = (_unlock_time / WEEK) * WEEK # Locktime is rounded down to weeks assert _locked.end > block.timestamp, "Lock expired" #assert _locked.amount > 0, "Nothing is locked" assert unlock_time > _locked.end, "Can only increase lock duration" assert unlock_time <= block.timestamp + MAXTIME, "Voting lock can be 2 years max" self._deposit_for(msg.sender, msg.sender, 0, unlock_time, _locked, INCREASE_UNLOCK_TIME) @external @nonreentrant('lock') def withdraw(): """ @notice Withdraw all tokens for `msg.sender` @dev Only possible if the lock has expired """ _locked: LockedBalance = self.locked[msg.sender] assert block.timestamp >= _locked.end, "The lock didn't expire" value: uint256 = convert(_locked.amount, uint256) old_locked: LockedBalance = _locked _locked.end = 0 _locked.amount = 0 self.locked[msg.sender] = _locked supply_before: uint256 = self.supply self.supply = supply_before - value # old_locked can have either expired <= timestamp or zero end # _locked has only 0 end # Both can have >= 0 amount self._checkpoint(msg.sender, old_locked, _locked) assert ERC20(self.token).transfer(msg.sender, value) log Withdraw(msg.sender, value, block.timestamp) log Supply(supply_before, supply_before - value) # The following ERC20/minime-compatible methods are not real balanceOf and supply! # They measure the weights for the purpose of voting, so they don't represent # real coins. @internal @view def find_block_epoch(_block: uint256, max_epoch: uint256) -> uint256: """ @notice Binary search to estimate timestamp for block number @param _block Block to find @param max_epoch Don't go beyond this epoch @return Approximate timestamp for block """ # Binary search _min: uint256 = 0 _max: uint256 = max_epoch for i in range(128): # Will be always enough for 128-bit numbers if _min >= _max: break _mid: uint256 = (_min + _max + 1) / 2 if self.point_history[_mid].blk <= _block: _min = _mid else: _max = _mid - 1 return _min @external @view def balanceOf(addr: address, _t: uint256 = block.timestamp) -> uint256: """ @notice Get the current voting power for `msg.sender` @dev Adheres to the ERC20 `balanceOf` interface for Aragon compatibility @param addr User wallet address @param _t Epoch time to return voting power at @return User voting power """ _epoch: uint256 = self.user_point_epoch[addr] if _epoch == 0: return 0 else: last_point: Point = self.user_point_history[addr][_epoch] last_point.bias -= last_point.slope * convert(_t - last_point.ts, int128) if last_point.bias < 0: last_point.bias = 0 return convert(last_point.bias, uint256) @external @view def balanceOfAt(addr: address, _block: uint256) -> uint256: """ @notice Measure voting power of `addr` at block height `_block` @dev Adheres to MiniMe `balanceOfAt` interface: https://github.com/Giveth/minime @param addr User's wallet address @param _block Block to calculate the voting power at @return Voting power """ # Copying and pasting totalSupply code because Vyper cannot pass by # reference yet assert _block <= block.number # Binary search _min: uint256 = 0 _max: uint256 = self.user_point_epoch[addr] for i in range(128): # Will be always enough for 128-bit numbers if _min >= _max: break _mid: uint256 = (_min + _max + 1) / 2 if self.user_point_history[addr][_mid].blk <= _block: _min = _mid else: _max = _mid - 1 upoint: Point = self.user_point_history[addr][_min] max_epoch: uint256 = self.epoch _epoch: uint256 = self.find_block_epoch(_block, max_epoch) point_0: Point = self.point_history[_epoch] d_block: uint256 = 0 d_t: uint256 = 0 if _epoch < max_epoch: point_1: Point = self.point_history[_epoch + 1] d_block = point_1.blk - point_0.blk d_t = point_1.ts - point_0.ts else: d_block = block.number - point_0.blk d_t = block.timestamp - point_0.ts block_time: uint256 = point_0.ts if d_block != 0: block_time += d_t * (_block - point_0.blk) / d_block upoint.bias -= upoint.slope * convert(block_time - upoint.ts, int128) if upoint.bias >= 0: return convert(upoint.bias, uint256) else: return 0 @internal @view def supply_at(point: Point, t: uint256) -> uint256: """ @notice Calculate total voting power at some point in the past @param point The point (bias/slope) to start search from @param t Time to calculate the total voting power at @return Total voting power at that time """ last_point: Point = point t_i: uint256 = (last_point.ts / WEEK) * WEEK for i in range(255): t_i += WEEK d_slope: int128 = 0 if t_i > t: t_i = t else: d_slope = self.slope_changes[t_i] last_point.bias -= last_point.slope * convert(t_i - last_point.ts, int128) if t_i == t: break last_point.slope += d_slope last_point.ts = t_i if last_point.bias < 0: last_point.bias = 0 return convert(last_point.bias, uint256) @external @view def totalSupply(t: uint256 = block.timestamp) -> uint256: """ @notice Calculate total voting power @dev Adheres to the ERC20 `totalSupply` interface for Aragon compatibility @return Total voting power """ _epoch: uint256 = self.epoch last_point: Point = self.point_history[_epoch] return self.supply_at(last_point, t) @external @view def totalSupplyAt(_block: uint256) -> uint256: """ @notice Calculate total voting power at some point in the past @param _block Block to calculate the total voting power at @return Total voting power at `_block` """ assert _block <= block.number _epoch: uint256 = self.epoch target_epoch: uint256 = self.find_block_epoch(_block, _epoch) point: Point = self.point_history[target_epoch] dt: uint256 = 0 if target_epoch < _epoch: point_next: Point = self.point_history[target_epoch + 1] if point.blk != point_next.blk: dt = (_block - point.blk) * (point_next.ts - point.ts) / (point_next.blk - point.blk) else: if point.blk != block.number: dt = (_block - point.blk) * (block.timestamp - point.ts) / (block.number - point.blk) # Now dt contains info on how far are we beyond point return self.supply_at(point, point.ts + dt) # Dummy methods for compatibility with Aragon @external def changeController(_newController: address): """ @dev Dummy method required for Aragon compatibility """ assert msg.sender == self.controller self.controller = _newController
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"name":"CommitOwnership","inputs":[{"type":"address","name":"admin","indexed":false}],"anonymous":false,"type":"event"},{"name":"ApplyOwnership","inputs":[{"type":"address","name":"admin","indexed":false}],"anonymous":false,"type":"event"},{"name":"Deposit","inputs":[{"type":"address","name":"provider","indexed":true},{"type":"uint256","name":"value","indexed":false},{"type":"uint256","name":"locktime","indexed":true},{"type":"int128","name":"type","indexed":false},{"type":"uint256","name":"ts","indexed":false}],"anonymous":false,"type":"event"},{"name":"Withdraw","inputs":[{"type":"address","name":"provider","indexed":true},{"type":"uint256","name":"value","indexed":false},{"type":"uint256","name":"ts","indexed":false}],"anonymous":false,"type":"event"},{"name":"Supply","inputs":[{"type":"uint256","name":"prevSupply","indexed":false},{"type":"uint256","name":"supply","indexed":false}],"anonymous":false,"type":"event"},{"outputs":[],"inputs":[{"type":"address","name":"token_addr"},{"type":"string","name":"_name"},{"type":"string","name":"_symbol"},{"type":"string","name":"_version"}],"stateMutability":"nonpayable","type":"constructor"},{"name":"commit_transfer_ownership","outputs":[],"inputs":[{"type":"address","name":"addr"}],"stateMutability":"nonpayable","type":"function","gas":37597},{"name":"apply_transfer_ownership","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":38497},{"name":"commit_smart_wallet_checker","outputs":[],"inputs":[{"type":"address","name":"addr"}],"stateMutability":"nonpayable","type":"function","gas":36307},{"name":"apply_smart_wallet_checker","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":37095},{"name":"get_last_user_slope","outputs":[{"type":"int128","name":""}],"inputs":[{"type":"address","name":"addr"}],"stateMutability":"view","type":"function","gas":2569},{"name":"user_point_history__ts","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"_addr"},{"type":"uint256","name":"_idx"}],"stateMutability":"view","type":"function","gas":1672},{"name":"locked__end","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"_addr"}],"stateMutability":"view","type":"function","gas":1593},{"name":"locked__amount","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"_addr"}],"stateMutability":"view","type":"function","gas":630},{"name":"checkpoint","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":37052402},{"name":"deposit_for","outputs":[],"inputs":[{"type":"address","name":"_addr"},{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":74279802},{"name":"create_lock","outputs":[],"inputs":[{"type":"uint256","name":"_value"},{"type":"uint256","name":"_unlock_time"}],"stateMutability":"nonpayable","type":"function","gas":74281514},{"name":"increase_amount","outputs":[],"inputs":[{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":74280976},{"name":"increase_unlock_time","outputs":[],"inputs":[{"type":"uint256","name":"_unlock_time"}],"stateMutability":"nonpayable","type":"function","gas":74281565},{"name":"withdraw","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":37223626},{"name":"balanceOf","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"addr"}],"stateMutability":"view","type":"function"},{"name":"balanceOf","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"addr"},{"type":"uint256","name":"_t"}],"stateMutability":"view","type":"function"},{"name":"balanceOfAt","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"addr"},{"type":"uint256","name":"_block"}],"stateMutability":"view","type":"function","gas":514393},{"name":"totalSupply","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function"},{"name":"totalSupply","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"uint256","name":"t"}],"stateMutability":"view","type":"function"},{"name":"totalSupplyAt","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"uint256","name":"_block"}],"stateMutability":"view","type":"function","gas":812650},{"name":"changeController","outputs":[],"inputs":[{"type":"address","name":"_newController"}],"stateMutability":"nonpayable","type":"function","gas":36937},{"name":"token","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":1871},{"name":"supply","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":1901},{"name":"locked","outputs":[{"type":"int128","name":"amount"},{"type":"uint256","name":"end"}],"inputs":[{"type":"address","name":"arg0"}],"stateMutability":"view","type":"function","gas":3389},{"name":"epoch","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":1961},{"name":"point_history","outputs":[{"type":"int128","name":"bias"},{"type":"int128","name":"slope"},{"type":"uint256","name":"ts"},{"type":"uint256","name":"blk"}],"inputs":[{"type":"uint256","name":"arg0"}],"stateMutability":"view","type":"function","gas":5580},{"name":"user_point_history","outputs":[{"type":"int128","name":"bias"},{"type":"int128","name":"slope"},{"type":"uint256","name":"ts"},{"type":"uint256","name":"blk"}],"inputs":[{"type":"address","name":"arg0"},{"type":"uint256","name":"arg1"}],"stateMutability":"view","type":"function","gas":6109},{"name":"user_point_epoch","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"arg0"}],"stateMutability":"view","type":"function","gas":2205},{"name":"slope_changes","outputs":[{"type":"int128","name":""}],"inputs":[{"type":"uint256","name":"arg0"}],"stateMutability":"view","type":"function","gas":2196},{"name":"controller","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2111},{"name":"transfersEnabled","outputs":[{"type":"bool","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2141},{"name":"name","outputs":[{"type":"string","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":8573},{"name":"symbol","outputs":[{"type":"string","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":7626},{"name":"version","outputs":[{"type":"string","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":7656},{"name":"decimals","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2261},{"name":"future_smart_wallet_checker","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2291},{"name":"smart_wallet_checker","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2321},{"name":"admin","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2351},{"name":"future_admin","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2381}]
Contract Creation Code
740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a05260806135226101403934156100a157600080fd5b602061352260c03960c05160205181106100ba57600080fd5b506060602060206135220160c03960c051613522016101c0396040602060206135220160c03960c0516004013511156100f257600080fd5b6040602060406135220160c03960c05161352201610240396020602060406135220160c03960c05160040135111561012957600080fd5b6040602060606135220160c03960c051613522016102a0396020602060606135220160c03960c05160040135111561016057600080fd5b3360105561014051600055436003600460c052602060c02060c052602060c0200155426002600460c052602060c02060c052602060c02001553360085560016009556020610380600463313ce5676103205261033c610140515afa6101c457600080fd5b601f3d116101d157600080fd5b600050610380516103005260ff6103005111156101ed57600080fd5b61030051600d556101c080600a60c052602060c020602082510161012060006003818352015b8261012051602002111561022657610248565b61012051602002850151610120518501555b8151600101808352811415610213575b50505050505061024080600b60c052602060c020602082510161012060006002818352015b82610120516020021115610280576102a2565b61012051602002850151610120518501555b815160010180835281141561026d575b5050505050506102a080600c60c052602060c020602082510161012060006002818352015b826101205160200211156102da576102fc565b61012051602002850151610120518501555b81516001018083528114156102c7575b50505050505061350a56600436101561000d576131fd565b600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a052636b441a4060005114156101105734156100ba57600080fd5b60043560205181106100cb57600080fd5b5060105433146100da57600080fd5b600435601155600435610140527f2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e96020610140a1005b636a1c05ae600051141561018657341561012957600080fd5b601054331461013757600080fd5b601154610140526000610140511861014e57600080fd5b6101405160105561014051610160527febee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a11891056020610160a1005b6357f901e260005114156101c757341561019f57600080fd5b60043560205181106101b057600080fd5b5060105433146101bf57600080fd5b600435600e55005b638e5b490f60005114156101f65734156101e057600080fd5b60105433146101ee57600080fd5b600e54600f55005b6000156102e7575b6101605261014052326101405118156102e157600f54610180526000610180511815610270576020610220602463c23697a86101a052610140516101c0526101bc6000610180515af161025057600080fd5b601f3d1161025d57600080fd5b600050610220511561026f5761016051565b5b6308c379a06102605260206102805260256102a0527f536d61727420636f6e7472616374206465706f7369746f7273206e6f7420616c6102c0527f6c6f7765640000000000000000000000000000000000000000000000000000006102e0526102a05060006102e057608461027cfd5b5b61016051565b637c74a174600051141561036b57341561030057600080fd5b600435602051811061031157600080fd5b50600660043560e05260c052604060c0205461014052600161014051633b9aca00811061033d57600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c020015460005260206000f350005b63da020a1860005114156103d957341561038457600080fd5b600435602051811061039557600080fd5b506002602435633b9aca0081106103ab57600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c020015460005260206000f350005b63adc63589600051141561042b5734156103f257600080fd5b600435602051811061040357600080fd5b506001600260043560e05260c052604060c02060c052602060c020015460005260206000f350005b63570a30b7600051141561048857341561044457600080fd5b600435602051811061045557600080fd5b50600260043560e05260c052604060c02060c052602060c02054600081121561047d57600080fd5b60005260206000f350005b600015610d90575b6101e0526101405261016052610180526101a0526101c052608036610200376080366102803760006103005260006103205260035461034052600061014051181561069957426101805111156104ec57600061016051136104ef565b60005b1561058c57610160516303c26700606051818061050b57600080fd5b83058060405190131561051d57600080fd5b809190121561052b57600080fd5b90509050610220526102205161018051428082101561054957600080fd5b8082039050905060405181111561055f57600080fd5b6060518183028060405190131561057557600080fd5b809190121561058357600080fd5b90509050610200525b426101c05111156105a35760006101a051136105a6565b60005b15610643576101a0516303c2670060605181806105c257600080fd5b8305806040519013156105d457600080fd5b80919012156105e257600080fd5b905090506102a0526102a0516101c051428082101561060057600080fd5b8082039050905060405181111561061657600080fd5b6060518183028060405190131561062c57600080fd5b809190121561063a57600080fd5b90509050610280525b60076101805160e05260c052604060c020546103005260006101c051181561069857610180516101c0511415610680576103005161032052610697565b60076101c05160e05260c052604060c02054610320525b5b5b610360600081526000816020015242816040015243816060015250600061034051111561073057610360610340516c01431e0fae6d7217caa000000081106106e057600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c0200154826060015250505b6103a0516103e0526104006103608051825280602001518260200152806040015182604001528060600151826060015250506000610480526103a0514211156107df57670de0b6b3a7640000436103c0518082101561078e57600080fd5b8082039050905080820282158284830414176107a957600080fd5b80905090509050426103a051808210156107c257600080fd5b8082039050905080806107d457600080fd5b820490509050610480525b6103e05162093a8080806107f257600080fd5b82049050905062093a80808202821582848304141761081057600080fd5b809050905090506104a0526104c0600060ff818352015b6104a0805162093a8081818301101561083f57600080fd5b8082019050905081525060006104e052426104a051111561086457426104a05261087b565b60076104a05160e05260c052604060c020546104e0525b6103608051610380516104a0516103e0518082101561089957600080fd5b808203905090506040518111156108af57600080fd5b606051818302806040519013156108c557600080fd5b80919012156108d357600080fd5b90509050606051818303806040519013156108ed57600080fd5b80919012156108fb57600080fd5b9050905081525061038080516104e0516060518183018060405190131561092157600080fd5b809190121561092f57600080fd5b905090508152506000610360511215610949576000610360525b600061038051121561095c576000610380525b6104a0516103e0526104a0516103a05261046051610480516104a051610440518082101561098957600080fd5b8082039050905080820282158284830414176109a457600080fd5b80905090509050670de0b6b3a764000080806109bf57600080fd5b8204905090508181830110156109d457600080fd5b808201905090506103c052610340805160018181830110156109f557600080fd5b80820190509050815250426104a0511415610a1857436103c052610a8156610a70565b610340516c01431e0fae6d7217caa00000008110610a3557600080fd5b600460c052602060c0200160c052602060c0206103608051825580602001516001830155806040015160028301558060600151600383015550505b5b8151600101808352811415610827575b5050610340516003556000610140511815610b7d5761038080516102a0516102205160605181830380604051901315610ab957600080fd5b8091901215610ac757600080fd5b9050905060605181830180604051901315610ae157600080fd5b8091901215610aef57600080fd5b905090508152506103608051610280516102005160605181830380604051901315610b1957600080fd5b8091901215610b2757600080fd5b9050905060605181830180604051901315610b4157600080fd5b8091901215610b4f57600080fd5b905090508152506000610380511215610b69576000610380525b6000610360511215610b7c576000610360525b5b610340516c01431e0fae6d7217caa00000008110610b9a57600080fd5b600460c052602060c0200160c052602060c0206103608051825580602001516001830155806040015160028301558060600151600383015550506000610140511815610d8a5742610180511115610c795761030080516102205160605181830180604051901315610c0a57600080fd5b8091901215610c1857600080fd5b90509050815250610180516101c0511415610c625761030080516102a05160605181830380604051901315610c4c57600080fd5b8091901215610c5a57600080fd5b905090508152505b6103005160076101805160e05260c052604060c020555b426101c0511115610cde57610180516101c0511115610cdd5761032080516102a05160605181830380604051901315610cb157600080fd5b8091901215610cbf57600080fd5b905090508152506103205160076101c05160e05260c052604060c020555b5b60066101405160e05260c052604060c020546001818183011015610d0157600080fd5b80820190509050610500526105005160066101405160e05260c052604060c02055426102c052436102e05261050051633b9aca008110610d4057600080fd5b60056101405160e05260c052604060c02060c052602060c0200160c052602060c0206102808051825580602001516001830155806040015160028301558060600151600383015550505b6101e051565b600015611036575b610220526101405261016052610180526101a0526101c0526101e052610200526102406101c080518252806020015182602001525050600154610280526102805161018051818183011015610dec57600080fd5b808201905090506001556102a061024080518252806020015182602001525050610240805161018051604051811115610e2457600080fd5b60605181830180604051901315610e3a57600080fd5b8091901215610e4857600080fd5b9050905081525060006101a0511815610e64576101a051610260525b60026101405160e05260c052604060c02060c052602060c020610240805182558060200151600183015550506101406102e0525b6102e0515160206102e051016102e0526102e06102e0511015610eba57610e98565b61014051610300526103206102a08051825280602001518260200152505061036061024080518252806020015182602001525050610380516103605161034051610320516103005160065801610490565b6102c06102e0525b6102e0515260206102e051036102e0526101406102e051101515610f3657610f13565b6000506000610180511815610f9b5760206104a060646323b872dd6103e0526101605161040052306104205261018051610440526103fc60006000545af1610f7d57600080fd5b601f3d11610f8a57600080fd5b6000506104a051610f9a57600080fd5b5b610180516104c052610200516104e052426105005261026051610140517f4566dfc29f6f11d13a418c26a02bef7c28bae749d4de47e4e6a7cddea6730d5960606104c0a361028051610520526102805161018051818183011015610ffe57600080fd5b80820190509050610540527f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c6040610520a161022051565b63c2c4c5c1600051141561108557341561104f57600080fd5b600061014052604036610160376040366101a0376101c0516101a05161018051610160516101405160065801610490565b600050005b633a46273e600051141561123f5762ffffff54156110a257600080fd5b600162ffffff5534156110b457600080fd5b60043560205181106110c557600080fd5b50610140600260043560e05260c052604060c0208060c052602060c02054825260018160c052602060c02001548260200152505060006024351161110857600080fd5b6308c379a06101805260206101a05260246101c0527f43616e6e6f742061646420746f2065787069726564206c6f636b2e20576974686101e0527f6472617700000000000000000000000000000000000000000000000000000000610200526101c05042610160511161117c57608461019cfd5b6101405161016051610180516101a0516101c0516101e05161020051610220516004356102605233610280526024356102a05260006102c0526102e0600260043560e05260c052604060c0208060c052602060c02054825260018160c052602060c02001548260200152505060006103205261032051610300516102e0516102c0516102a051610280516102605160065801610d98565b61022052610200526101e0526101c0526101a052610180526101605261014052600050600062ffffff55005b6365fc387360005114156114d75762ffffff541561125c57600080fd5b600162ffffff55341561126e57600080fd5b336101405261014051600658016101fe565b60005060243562093a80808061129557600080fd5b82049050905062093a8080820282158284830414176112b357600080fd5b809050905090506101a0526101c060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c0200154826020015250506308c379a0610200526020610220526019610240527f5769746864726177206f6c6420746f6b656e732066697273740000000000000061026052610240506101c0511561133d57606461021cfd5b6308c379a06102a05260206102c05260266102e0527f43616e206f6e6c79206c6f636b20756e74696c2074696d6520696e2074686520610300527f6675747572650000000000000000000000000000000000000000000000000000610320526102e050426101a051116113b15760846102bcfd5b6308c379a061036052602061038052601e6103a0527f566f74696e67206c6f636b2063616e2062652032207965617273206d617800006103c0526103a050426303c2670081818301101561140457600080fd5b808201905090506101a051111561141c57606461037cfd5b610140610400525b6104005151602061040051016104005261040061040051101561144657611424565b33610420523361044052600435610460526101a051610480526104a06101c08051825280602001518260200152505060016104e0526104e0516104c0516104a0516104805161046051610440516104205160065801610d98565b6103e0610400525b61040051526020610400510361040052610140610400511015156114cb576114a8565b600050600062ffffff55005b634957677c60005114156116d85762ffffff54156114f457600080fd5b600162ffffff55341561150657600080fd5b336101405261014051600658016101fe565b6000506101a060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c02001548260200152505060006004351161155b57600080fd5b6308c379a06101e0526020610200526016610220527f4e6f206578697374696e67206c6f636b20666f756e6400000000000000000000610240526102205060006101a051136115ab5760646101fcfd5b6308c379a06102805260206102a05260246102c0527f43616e6e6f742061646420746f2065787069726564206c6f636b2e20576974686102e0527f6472617700000000000000000000000000000000000000000000000000000000610300526102c050426101c0511161161f57608461029cfd5b610140610340525b6103405151602061034051016103405261034061034051101561164957611627565b336103605233610380526004356103a05260006103c0526103e06101a08051825280602001518260200152505060026104205261042051610400516103e0516103c0516103a051610380516103605160065801610d98565b610320610340525b61034051526020610340510361034052610140610340511015156116cc576116a9565b600050600062ffffff55005b63eff7a612600051141561194e5762ffffff54156116f557600080fd5b600162ffffff55341561170757600080fd5b336101405261014051600658016101fe565b6000506101a060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c02001548260200152505060043562093a80808061175f57600080fd5b82049050905062093a80808202821582848304141761177d57600080fd5b809050905090506101e0526308c379a061020052602061022052600c610240527f4c6f636b206578706972656400000000000000000000000000000000000000006102605261024050426101c051116117d757606461021cfd5b6308c379a06102a05260206102c052601f6102e0527f43616e206f6e6c7920696e637265617365206c6f636b206475726174696f6e00610300526102e0506101c0516101e051116118295760646102bcfd5b6308c379a061034052602061036052601e610380527f566f74696e67206c6f636b2063616e2062652032207965617273206d617800006103a05261038050426303c2670081818301101561187c57600080fd5b808201905090506101e051111561189457606461035cfd5b6101406103e0525b6103e0515160206103e051016103e0526103e06103e05110156118be5761189c565b336104005233610420526000610440526101e051610460526104806101a08051825280602001518260200152505060036104c0526104c0516104a051610480516104605161044051610420516104005160065801610d98565b6103c06103e0525b6103e0515260206103e051036103e0526101406103e0511015156119425761191f565b600050600062ffffff55005b633ccfd60b6000511415611c055762ffffff541561196b57600080fd5b600162ffffff55341561197d57600080fd5b61014060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c0200154826020015250506308c379a06101805260206101a05260166101c0527f546865206c6f636b206469646e277420657870697265000000000000000000006101e0526101c050610160514210156119fe57606461019cfd5b610140516000811215611a1057600080fd5b610220526102406101408051825280602001518260200152505060006101605260006101405260023360e05260c052604060c02060c052602060c0206101408051825580602001516001830155505060015461028052610280516102205180821015611a7b57600080fd5b808203905090506001556101406102a0525b6102a0515160206102a051016102a0526102a06102a0511015611aaf57611a8d565b336102c0526102e061024080518252806020015182602001525050610320610140805182528060200151826020015250506103405161032051610300516102e0516102c05160065801610490565b6102806102a0525b6102a0515260206102a051036102a0526101406102a051101515611b2857611b05565b6000506020610440604463a9059cbb6103a052336103c052610220516103e0526103bc60006000545af1611b5b57600080fd5b601f3d11611b6857600080fd5b60005061044051611b7857600080fd5b61022051610460524261048052337ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5686040610460a2610280516104a052610280516102205180821015611bca57600080fd5b808203905090506104c0527f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c60406104a0a1600062ffffff55005b600015611d24575b61018052610140526101605260006101a052610160516101c0526101e060006080818352015b6101c0516101a051101515611c4757611d10565b6101a0516101c051818183011015611c5e57600080fd5b808201905090506001818183011015611c7657600080fd5b8082019050905060028080611c8a57600080fd5b82049050905061020052610140516003610200516c01431e0fae6d7217caa00000008110611cb757600080fd5b600460c052602060c0200160c052602060c0200154111515611ce057610200516101a052611cff565b61020051600180821015611cf357600080fd5b808203905090506101c0525b5b8151600101808352811415611c33575b50506101a051600052600051610180515650005b6370a082316000511415611d3c574261014052611d61565b62fdd58e6000511415611d59576020602461014037600050611d61565b600015611ed9575b3415611d6c57600080fd5b6004356020518110611d7d57600080fd5b50600660043560e05260c052604060c0205461016052610160511515611dad57600060005260206000f350611ed7565b61018061016051633b9aca008110611dc457600080fd5b600560043560e05260c052604060c02060c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c02001548260600152505061018080516101a051610140516101c05180821015611e3f57600080fd5b80820390509050604051811115611e5557600080fd5b60605181830280604051901315611e6b57600080fd5b8091901215611e7957600080fd5b9050905060605181830380604051901315611e9357600080fd5b8091901215611ea157600080fd5b905090508152506000610180511215611ebb576000610180525b610180516000811215611ecd57600080fd5b60005260206000f3505b005b634ee2cd7e60005114156123e8573415611ef257600080fd5b6004356020518110611f0357600080fd5b50436024351115611f1357600080fd5b600061014052600660043560e05260c052604060c020546101605261018060006080818352015b6101605161014051101515611f4e5761201b565b6101405161016051818183011015611f6557600080fd5b808201905090506001818183011015611f7d57600080fd5b8082019050905060028080611f9157600080fd5b8204905090506101a05260243560036101a051633b9aca008110611fb457600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c0200154111515611feb576101a0516101405261200a565b6101a051600180821015611ffe57600080fd5b80820390509050610160525b5b8151600101808352811415611f3a575b50506101c061014051633b9aca00811061203457600080fd5b600560043560e05260c052604060c02060c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c020015482606001525050600354610240526101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516024356102a052610240516102c0526102c0516102a05160065801611c0d565b61032052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103205161026052610340610260516c01431e0fae6d7217caa0000000811061213457600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c02001548260600152505060006103c05260006103e05261024051610260511015612269576104006102605160018181830110156121b557600080fd5b808201905090506c01431e0fae6d7217caa000000081106121d557600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c020015482606001525050610460516103a0518082101561223957600080fd5b808203905090506103c05261044051610380518082101561225957600080fd5b808203905090506103e0526122a4565b436103a0518082101561227b57600080fd5b808203905090506103c05242610380518082101561229857600080fd5b808203905090506103e0525b610380516104805260006103c05118156123265761048080516103e0516024356103a051808210156122d557600080fd5b8082039050905080820282158284830414176122f057600080fd5b809050905090506103c051808061230657600080fd5b82049050905081818301101561231b57600080fd5b808201905090508152505b6101c080516101e05161048051610200518082101561234457600080fd5b8082039050905060405181111561235a57600080fd5b6060518183028060405190131561237057600080fd5b809190121561237e57600080fd5b905090506060518183038060405190131561239857600080fd5b80919012156123a657600080fd5b9050905081525060006101c0511215156123da576101c05160008112156123cc57600080fd5b60005260206000f3506123e6565b600060005260206000f3505b005b6000156125f0575b6101e0526101405261016052610180526101a0526101c0526102006101408051825280602001518260200152806040015182604001528060600151826060015250506102405162093a80808061244557600080fd5b82049050905062093a80808202821582848304141761246357600080fd5b80905090509050610280526102a0600060ff818352015b610280805162093a8081818301101561249257600080fd5b8082019050905081525060006102c0526101c0516102805111156124bd576101c051610280526124d4565b60076102805160e05260c052604060c020546102c0525b6102008051610220516102805161024051808210156124f257600080fd5b8082039050905060405181111561250857600080fd5b6060518183028060405190131561251e57600080fd5b809190121561252c57600080fd5b905090506060518183038060405190131561254657600080fd5b809190121561255457600080fd5b905090508152506101c05161028051141561256e576125bb565b61022080516102c0516060518183018060405190131561258d57600080fd5b809190121561259b57600080fd5b9050905081525061028051610240525b815160010180835281141561247a575b505060006102005112156125d0576000610200525b6102005160008112156125e257600080fd5b6000526000516101e0515650005b6318160ddd600051141561260857426101405261262e565b63bd85b039600051141561262657602060046101403760005061262e565b600015612741575b341561263957600080fd5b60035461016052610180610160516c01431e0fae6d7217caa0000000811061266057600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c0200154826060015250506101405161016051610180516101a0516101c0516101e051610220610180805182528060200151826020015280604001518260400152806060015182606001525050610140516102a0526102a05161028051610260516102405161022051600658016123f0565b610300526101e0526101c0526101a0526101805261016052610140526103005160005260206000f350005b63981b24d06000511415612aa857341561275a57600080fd5b43600435111561276957600080fd5b6003546101405261014051610160516004356101a052610140516101c0526101c0516101a05160065801611c0d565b6102205261016052610140526102205161016052610240610160516c01431e0fae6d7217caa000000081106127cc57600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c02001548260600152505060006102c0526101405161016051101561294d576102e061016051600181818301101561284757600080fd5b808201905090506c01431e0fae6d7217caa0000000811061286757600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c020015482606001525050610340516102a0511815612948576004356102a051808210156128d857600080fd5b808203905090506103205161028051808210156128f457600080fd5b80820390509050808202821582848304141761290f57600080fd5b80905090509050610340516102a0518082101561292b57600080fd5b80820390509050808061293d57600080fd5b8204905090506102c0525b6129d7565b436102a05118156129d6576004356102a0518082101561296c57600080fd5b8082039050905042610280518082101561298557600080fd5b8082039050905080820282158284830414176129a057600080fd5b80905090509050436102a051808210156129b957600080fd5b8082039050905080806129cb57600080fd5b8204905090506102c0525b5b610140610360525b610360515160206103605101610360526102e0610360511015612a01576129df565b610380610240805182528060200151826020015280604001518260400152806060015182606001525050610280516102c051818183011015612a4257600080fd5b8082019050905061040052610400516103e0516103c0516103a05161038051600658016123f0565b610460526102c0610360525b6103605152602061036051036103605261014061036051101515612a9957612a76565b6104605160005260206000f350005b633cebb8236000511415612ae9573415612ac157600080fd5b6004356020518110612ad257600080fd5b506008543314612ae157600080fd5b600435600855005b63fc0c546a6000511415612b10573415612b0257600080fd5b60005460005260206000f350005b63047fc9aa6000511415612b37573415612b2957600080fd5b60015460005260206000f350005b63cbf9fe5f6000511415612bc0573415612b5057600080fd5b6004356020518110612b6157600080fd5b50610140808080600260043560e05260c052604060c02060c052602060c020548152505060208101905080806001600260043560e05260c052604060c02060c052602060c02001548152505060409050905060c05260c051610140f350005b63900cf0cf6000511415612be7573415612bd957600080fd5b60035460005260206000f350005b63d1febfb96000511415612d0a573415612c0057600080fd5b6101408080806004356c01431e0fae6d7217caa00000008110612c2257600080fd5b600460c052602060c0200160c052602060c0205481525050602081019050808060016004356c01431e0fae6d7217caa00000008110612c6057600080fd5b600460c052602060c0200160c052602060c020015481525050602081019050808060026004356c01431e0fae6d7217caa00000008110612c9f57600080fd5b600460c052602060c0200160c052602060c020015481525050602081019050808060036004356c01431e0fae6d7217caa00000008110612cde57600080fd5b600460c052602060c0200160c052602060c02001548152505060809050905060c05260c051610140f350005b6328d09d476000511415612e53573415612d2357600080fd5b6004356020518110612d3457600080fd5b50610140808080602435633b9aca008110612d4e57600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c020548152505060208101905080806001602435633b9aca008110612d9157600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c02001548152505060208101905080806002602435633b9aca008110612dd557600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c02001548152505060208101905080806003602435633b9aca008110612e1957600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c02001548152505060809050905060c05260c051610140f350005b63010ae7576000511415612e9a573415612e6c57600080fd5b6004356020518110612e7d57600080fd5b50600660043560e05260c052604060c0205460005260206000f350005b63711974846000511415612ecf573415612eb357600080fd5b600760043560e05260c052604060c0205460005260206000f350005b63f77c47916000511415612ef6573415612ee857600080fd5b60085460005260206000f350005b63bef97c876000511415612f1d573415612f0f57600080fd5b60095460005260206000f350005b6306fdde036000511415612fd1573415612f3657600080fd5b600a8060c052602060c020610180602082540161012060006003818352015b82610120516020021115612f6857612f8a565b61012051850154610120516020028501525b8151600101808352811415612f55575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b6395d89b416000511415613085573415612fea57600080fd5b600b8060c052602060c020610180602082540161012060006002818352015b8261012051602002111561301c5761303e565b61012051850154610120516020028501525b8151600101808352811415613009575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b6354fd4d50600051141561313957341561309e57600080fd5b600c8060c052602060c020610180602082540161012060006002818352015b826101205160200211156130d0576130f2565b61012051850154610120516020028501525b81516001018083528114156130bd575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b63313ce567600051141561316057341561315257600080fd5b600d5460005260206000f350005b638ff36fd1600051141561318757341561317957600080fd5b600e5460005260206000f350005b637175d4f760005114156131ae5734156131a057600080fd5b600f5460005260206000f350005b63f851a44060005114156131d55734156131c757600080fd5b60105460005260206000f350005b6317f7182a60005114156131fc5734156131ee57600080fd5b60115460005260206000f350005b5b60006000fd5b61030761350a0361030760003961030761350a036000f30000000000000000000000004104b135dbc9609fc1a9490e61369036497660c8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001a566f74652d657363726f77656420415057696e6520546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000005766541505700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013100000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x600436101561000d576131fd565b600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a052636b441a4060005114156101105734156100ba57600080fd5b60043560205181106100cb57600080fd5b5060105433146100da57600080fd5b600435601155600435610140527f2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e96020610140a1005b636a1c05ae600051141561018657341561012957600080fd5b601054331461013757600080fd5b601154610140526000610140511861014e57600080fd5b6101405160105561014051610160527febee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a11891056020610160a1005b6357f901e260005114156101c757341561019f57600080fd5b60043560205181106101b057600080fd5b5060105433146101bf57600080fd5b600435600e55005b638e5b490f60005114156101f65734156101e057600080fd5b60105433146101ee57600080fd5b600e54600f55005b6000156102e7575b6101605261014052326101405118156102e157600f54610180526000610180511815610270576020610220602463c23697a86101a052610140516101c0526101bc6000610180515af161025057600080fd5b601f3d1161025d57600080fd5b600050610220511561026f5761016051565b5b6308c379a06102605260206102805260256102a0527f536d61727420636f6e7472616374206465706f7369746f7273206e6f7420616c6102c0527f6c6f7765640000000000000000000000000000000000000000000000000000006102e0526102a05060006102e057608461027cfd5b5b61016051565b637c74a174600051141561036b57341561030057600080fd5b600435602051811061031157600080fd5b50600660043560e05260c052604060c0205461014052600161014051633b9aca00811061033d57600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c020015460005260206000f350005b63da020a1860005114156103d957341561038457600080fd5b600435602051811061039557600080fd5b506002602435633b9aca0081106103ab57600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c020015460005260206000f350005b63adc63589600051141561042b5734156103f257600080fd5b600435602051811061040357600080fd5b506001600260043560e05260c052604060c02060c052602060c020015460005260206000f350005b63570a30b7600051141561048857341561044457600080fd5b600435602051811061045557600080fd5b50600260043560e05260c052604060c02060c052602060c02054600081121561047d57600080fd5b60005260206000f350005b600015610d90575b6101e0526101405261016052610180526101a0526101c052608036610200376080366102803760006103005260006103205260035461034052600061014051181561069957426101805111156104ec57600061016051136104ef565b60005b1561058c57610160516303c26700606051818061050b57600080fd5b83058060405190131561051d57600080fd5b809190121561052b57600080fd5b90509050610220526102205161018051428082101561054957600080fd5b8082039050905060405181111561055f57600080fd5b6060518183028060405190131561057557600080fd5b809190121561058357600080fd5b90509050610200525b426101c05111156105a35760006101a051136105a6565b60005b15610643576101a0516303c2670060605181806105c257600080fd5b8305806040519013156105d457600080fd5b80919012156105e257600080fd5b905090506102a0526102a0516101c051428082101561060057600080fd5b8082039050905060405181111561061657600080fd5b6060518183028060405190131561062c57600080fd5b809190121561063a57600080fd5b90509050610280525b60076101805160e05260c052604060c020546103005260006101c051181561069857610180516101c0511415610680576103005161032052610697565b60076101c05160e05260c052604060c02054610320525b5b5b610360600081526000816020015242816040015243816060015250600061034051111561073057610360610340516c01431e0fae6d7217caa000000081106106e057600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c0200154826060015250505b6103a0516103e0526104006103608051825280602001518260200152806040015182604001528060600151826060015250506000610480526103a0514211156107df57670de0b6b3a7640000436103c0518082101561078e57600080fd5b8082039050905080820282158284830414176107a957600080fd5b80905090509050426103a051808210156107c257600080fd5b8082039050905080806107d457600080fd5b820490509050610480525b6103e05162093a8080806107f257600080fd5b82049050905062093a80808202821582848304141761081057600080fd5b809050905090506104a0526104c0600060ff818352015b6104a0805162093a8081818301101561083f57600080fd5b8082019050905081525060006104e052426104a051111561086457426104a05261087b565b60076104a05160e05260c052604060c020546104e0525b6103608051610380516104a0516103e0518082101561089957600080fd5b808203905090506040518111156108af57600080fd5b606051818302806040519013156108c557600080fd5b80919012156108d357600080fd5b90509050606051818303806040519013156108ed57600080fd5b80919012156108fb57600080fd5b9050905081525061038080516104e0516060518183018060405190131561092157600080fd5b809190121561092f57600080fd5b905090508152506000610360511215610949576000610360525b600061038051121561095c576000610380525b6104a0516103e0526104a0516103a05261046051610480516104a051610440518082101561098957600080fd5b8082039050905080820282158284830414176109a457600080fd5b80905090509050670de0b6b3a764000080806109bf57600080fd5b8204905090508181830110156109d457600080fd5b808201905090506103c052610340805160018181830110156109f557600080fd5b80820190509050815250426104a0511415610a1857436103c052610a8156610a70565b610340516c01431e0fae6d7217caa00000008110610a3557600080fd5b600460c052602060c0200160c052602060c0206103608051825580602001516001830155806040015160028301558060600151600383015550505b5b8151600101808352811415610827575b5050610340516003556000610140511815610b7d5761038080516102a0516102205160605181830380604051901315610ab957600080fd5b8091901215610ac757600080fd5b9050905060605181830180604051901315610ae157600080fd5b8091901215610aef57600080fd5b905090508152506103608051610280516102005160605181830380604051901315610b1957600080fd5b8091901215610b2757600080fd5b9050905060605181830180604051901315610b4157600080fd5b8091901215610b4f57600080fd5b905090508152506000610380511215610b69576000610380525b6000610360511215610b7c576000610360525b5b610340516c01431e0fae6d7217caa00000008110610b9a57600080fd5b600460c052602060c0200160c052602060c0206103608051825580602001516001830155806040015160028301558060600151600383015550506000610140511815610d8a5742610180511115610c795761030080516102205160605181830180604051901315610c0a57600080fd5b8091901215610c1857600080fd5b90509050815250610180516101c0511415610c625761030080516102a05160605181830380604051901315610c4c57600080fd5b8091901215610c5a57600080fd5b905090508152505b6103005160076101805160e05260c052604060c020555b426101c0511115610cde57610180516101c0511115610cdd5761032080516102a05160605181830380604051901315610cb157600080fd5b8091901215610cbf57600080fd5b905090508152506103205160076101c05160e05260c052604060c020555b5b60066101405160e05260c052604060c020546001818183011015610d0157600080fd5b80820190509050610500526105005160066101405160e05260c052604060c02055426102c052436102e05261050051633b9aca008110610d4057600080fd5b60056101405160e05260c052604060c02060c052602060c0200160c052602060c0206102808051825580602001516001830155806040015160028301558060600151600383015550505b6101e051565b600015611036575b610220526101405261016052610180526101a0526101c0526101e052610200526102406101c080518252806020015182602001525050600154610280526102805161018051818183011015610dec57600080fd5b808201905090506001556102a061024080518252806020015182602001525050610240805161018051604051811115610e2457600080fd5b60605181830180604051901315610e3a57600080fd5b8091901215610e4857600080fd5b9050905081525060006101a0511815610e64576101a051610260525b60026101405160e05260c052604060c02060c052602060c020610240805182558060200151600183015550506101406102e0525b6102e0515160206102e051016102e0526102e06102e0511015610eba57610e98565b61014051610300526103206102a08051825280602001518260200152505061036061024080518252806020015182602001525050610380516103605161034051610320516103005160065801610490565b6102c06102e0525b6102e0515260206102e051036102e0526101406102e051101515610f3657610f13565b6000506000610180511815610f9b5760206104a060646323b872dd6103e0526101605161040052306104205261018051610440526103fc60006000545af1610f7d57600080fd5b601f3d11610f8a57600080fd5b6000506104a051610f9a57600080fd5b5b610180516104c052610200516104e052426105005261026051610140517f4566dfc29f6f11d13a418c26a02bef7c28bae749d4de47e4e6a7cddea6730d5960606104c0a361028051610520526102805161018051818183011015610ffe57600080fd5b80820190509050610540527f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c6040610520a161022051565b63c2c4c5c1600051141561108557341561104f57600080fd5b600061014052604036610160376040366101a0376101c0516101a05161018051610160516101405160065801610490565b600050005b633a46273e600051141561123f5762ffffff54156110a257600080fd5b600162ffffff5534156110b457600080fd5b60043560205181106110c557600080fd5b50610140600260043560e05260c052604060c0208060c052602060c02054825260018160c052602060c02001548260200152505060006024351161110857600080fd5b6308c379a06101805260206101a05260246101c0527f43616e6e6f742061646420746f2065787069726564206c6f636b2e20576974686101e0527f6472617700000000000000000000000000000000000000000000000000000000610200526101c05042610160511161117c57608461019cfd5b6101405161016051610180516101a0516101c0516101e05161020051610220516004356102605233610280526024356102a05260006102c0526102e0600260043560e05260c052604060c0208060c052602060c02054825260018160c052602060c02001548260200152505060006103205261032051610300516102e0516102c0516102a051610280516102605160065801610d98565b61022052610200526101e0526101c0526101a052610180526101605261014052600050600062ffffff55005b6365fc387360005114156114d75762ffffff541561125c57600080fd5b600162ffffff55341561126e57600080fd5b336101405261014051600658016101fe565b60005060243562093a80808061129557600080fd5b82049050905062093a8080820282158284830414176112b357600080fd5b809050905090506101a0526101c060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c0200154826020015250506308c379a0610200526020610220526019610240527f5769746864726177206f6c6420746f6b656e732066697273740000000000000061026052610240506101c0511561133d57606461021cfd5b6308c379a06102a05260206102c05260266102e0527f43616e206f6e6c79206c6f636b20756e74696c2074696d6520696e2074686520610300527f6675747572650000000000000000000000000000000000000000000000000000610320526102e050426101a051116113b15760846102bcfd5b6308c379a061036052602061038052601e6103a0527f566f74696e67206c6f636b2063616e2062652032207965617273206d617800006103c0526103a050426303c2670081818301101561140457600080fd5b808201905090506101a051111561141c57606461037cfd5b610140610400525b6104005151602061040051016104005261040061040051101561144657611424565b33610420523361044052600435610460526101a051610480526104a06101c08051825280602001518260200152505060016104e0526104e0516104c0516104a0516104805161046051610440516104205160065801610d98565b6103e0610400525b61040051526020610400510361040052610140610400511015156114cb576114a8565b600050600062ffffff55005b634957677c60005114156116d85762ffffff54156114f457600080fd5b600162ffffff55341561150657600080fd5b336101405261014051600658016101fe565b6000506101a060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c02001548260200152505060006004351161155b57600080fd5b6308c379a06101e0526020610200526016610220527f4e6f206578697374696e67206c6f636b20666f756e6400000000000000000000610240526102205060006101a051136115ab5760646101fcfd5b6308c379a06102805260206102a05260246102c0527f43616e6e6f742061646420746f2065787069726564206c6f636b2e20576974686102e0527f6472617700000000000000000000000000000000000000000000000000000000610300526102c050426101c0511161161f57608461029cfd5b610140610340525b6103405151602061034051016103405261034061034051101561164957611627565b336103605233610380526004356103a05260006103c0526103e06101a08051825280602001518260200152505060026104205261042051610400516103e0516103c0516103a051610380516103605160065801610d98565b610320610340525b61034051526020610340510361034052610140610340511015156116cc576116a9565b600050600062ffffff55005b63eff7a612600051141561194e5762ffffff54156116f557600080fd5b600162ffffff55341561170757600080fd5b336101405261014051600658016101fe565b6000506101a060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c02001548260200152505060043562093a80808061175f57600080fd5b82049050905062093a80808202821582848304141761177d57600080fd5b809050905090506101e0526308c379a061020052602061022052600c610240527f4c6f636b206578706972656400000000000000000000000000000000000000006102605261024050426101c051116117d757606461021cfd5b6308c379a06102a05260206102c052601f6102e0527f43616e206f6e6c7920696e637265617365206c6f636b206475726174696f6e00610300526102e0506101c0516101e051116118295760646102bcfd5b6308c379a061034052602061036052601e610380527f566f74696e67206c6f636b2063616e2062652032207965617273206d617800006103a05261038050426303c2670081818301101561187c57600080fd5b808201905090506101e051111561189457606461035cfd5b6101406103e0525b6103e0515160206103e051016103e0526103e06103e05110156118be5761189c565b336104005233610420526000610440526101e051610460526104806101a08051825280602001518260200152505060036104c0526104c0516104a051610480516104605161044051610420516104005160065801610d98565b6103c06103e0525b6103e0515260206103e051036103e0526101406103e0511015156119425761191f565b600050600062ffffff55005b633ccfd60b6000511415611c055762ffffff541561196b57600080fd5b600162ffffff55341561197d57600080fd5b61014060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c0200154826020015250506308c379a06101805260206101a05260166101c0527f546865206c6f636b206469646e277420657870697265000000000000000000006101e0526101c050610160514210156119fe57606461019cfd5b610140516000811215611a1057600080fd5b610220526102406101408051825280602001518260200152505060006101605260006101405260023360e05260c052604060c02060c052602060c0206101408051825580602001516001830155505060015461028052610280516102205180821015611a7b57600080fd5b808203905090506001556101406102a0525b6102a0515160206102a051016102a0526102a06102a0511015611aaf57611a8d565b336102c0526102e061024080518252806020015182602001525050610320610140805182528060200151826020015250506103405161032051610300516102e0516102c05160065801610490565b6102806102a0525b6102a0515260206102a051036102a0526101406102a051101515611b2857611b05565b6000506020610440604463a9059cbb6103a052336103c052610220516103e0526103bc60006000545af1611b5b57600080fd5b601f3d11611b6857600080fd5b60005061044051611b7857600080fd5b61022051610460524261048052337ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5686040610460a2610280516104a052610280516102205180821015611bca57600080fd5b808203905090506104c0527f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c60406104a0a1600062ffffff55005b600015611d24575b61018052610140526101605260006101a052610160516101c0526101e060006080818352015b6101c0516101a051101515611c4757611d10565b6101a0516101c051818183011015611c5e57600080fd5b808201905090506001818183011015611c7657600080fd5b8082019050905060028080611c8a57600080fd5b82049050905061020052610140516003610200516c01431e0fae6d7217caa00000008110611cb757600080fd5b600460c052602060c0200160c052602060c0200154111515611ce057610200516101a052611cff565b61020051600180821015611cf357600080fd5b808203905090506101c0525b5b8151600101808352811415611c33575b50506101a051600052600051610180515650005b6370a082316000511415611d3c574261014052611d61565b62fdd58e6000511415611d59576020602461014037600050611d61565b600015611ed9575b3415611d6c57600080fd5b6004356020518110611d7d57600080fd5b50600660043560e05260c052604060c0205461016052610160511515611dad57600060005260206000f350611ed7565b61018061016051633b9aca008110611dc457600080fd5b600560043560e05260c052604060c02060c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c02001548260600152505061018080516101a051610140516101c05180821015611e3f57600080fd5b80820390509050604051811115611e5557600080fd5b60605181830280604051901315611e6b57600080fd5b8091901215611e7957600080fd5b9050905060605181830380604051901315611e9357600080fd5b8091901215611ea157600080fd5b905090508152506000610180511215611ebb576000610180525b610180516000811215611ecd57600080fd5b60005260206000f3505b005b634ee2cd7e60005114156123e8573415611ef257600080fd5b6004356020518110611f0357600080fd5b50436024351115611f1357600080fd5b600061014052600660043560e05260c052604060c020546101605261018060006080818352015b6101605161014051101515611f4e5761201b565b6101405161016051818183011015611f6557600080fd5b808201905090506001818183011015611f7d57600080fd5b8082019050905060028080611f9157600080fd5b8204905090506101a05260243560036101a051633b9aca008110611fb457600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c0200154111515611feb576101a0516101405261200a565b6101a051600180821015611ffe57600080fd5b80820390509050610160525b5b8151600101808352811415611f3a575b50506101c061014051633b9aca00811061203457600080fd5b600560043560e05260c052604060c02060c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c020015482606001525050600354610240526101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516024356102a052610240516102c0526102c0516102a05160065801611c0d565b61032052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103205161026052610340610260516c01431e0fae6d7217caa0000000811061213457600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c02001548260600152505060006103c05260006103e05261024051610260511015612269576104006102605160018181830110156121b557600080fd5b808201905090506c01431e0fae6d7217caa000000081106121d557600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c020015482606001525050610460516103a0518082101561223957600080fd5b808203905090506103c05261044051610380518082101561225957600080fd5b808203905090506103e0526122a4565b436103a0518082101561227b57600080fd5b808203905090506103c05242610380518082101561229857600080fd5b808203905090506103e0525b610380516104805260006103c05118156123265761048080516103e0516024356103a051808210156122d557600080fd5b8082039050905080820282158284830414176122f057600080fd5b809050905090506103c051808061230657600080fd5b82049050905081818301101561231b57600080fd5b808201905090508152505b6101c080516101e05161048051610200518082101561234457600080fd5b8082039050905060405181111561235a57600080fd5b6060518183028060405190131561237057600080fd5b809190121561237e57600080fd5b905090506060518183038060405190131561239857600080fd5b80919012156123a657600080fd5b9050905081525060006101c0511215156123da576101c05160008112156123cc57600080fd5b60005260206000f3506123e6565b600060005260206000f3505b005b6000156125f0575b6101e0526101405261016052610180526101a0526101c0526102006101408051825280602001518260200152806040015182604001528060600151826060015250506102405162093a80808061244557600080fd5b82049050905062093a80808202821582848304141761246357600080fd5b80905090509050610280526102a0600060ff818352015b610280805162093a8081818301101561249257600080fd5b8082019050905081525060006102c0526101c0516102805111156124bd576101c051610280526124d4565b60076102805160e05260c052604060c020546102c0525b6102008051610220516102805161024051808210156124f257600080fd5b8082039050905060405181111561250857600080fd5b6060518183028060405190131561251e57600080fd5b809190121561252c57600080fd5b905090506060518183038060405190131561254657600080fd5b809190121561255457600080fd5b905090508152506101c05161028051141561256e576125bb565b61022080516102c0516060518183018060405190131561258d57600080fd5b809190121561259b57600080fd5b9050905081525061028051610240525b815160010180835281141561247a575b505060006102005112156125d0576000610200525b6102005160008112156125e257600080fd5b6000526000516101e0515650005b6318160ddd600051141561260857426101405261262e565b63bd85b039600051141561262657602060046101403760005061262e565b600015612741575b341561263957600080fd5b60035461016052610180610160516c01431e0fae6d7217caa0000000811061266057600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c0200154826060015250506101405161016051610180516101a0516101c0516101e051610220610180805182528060200151826020015280604001518260400152806060015182606001525050610140516102a0526102a05161028051610260516102405161022051600658016123f0565b610300526101e0526101c0526101a0526101805261016052610140526103005160005260206000f350005b63981b24d06000511415612aa857341561275a57600080fd5b43600435111561276957600080fd5b6003546101405261014051610160516004356101a052610140516101c0526101c0516101a05160065801611c0d565b6102205261016052610140526102205161016052610240610160516c01431e0fae6d7217caa000000081106127cc57600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c02001548260600152505060006102c0526101405161016051101561294d576102e061016051600181818301101561284757600080fd5b808201905090506c01431e0fae6d7217caa0000000811061286757600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c020015482606001525050610340516102a0511815612948576004356102a051808210156128d857600080fd5b808203905090506103205161028051808210156128f457600080fd5b80820390509050808202821582848304141761290f57600080fd5b80905090509050610340516102a0518082101561292b57600080fd5b80820390509050808061293d57600080fd5b8204905090506102c0525b6129d7565b436102a05118156129d6576004356102a0518082101561296c57600080fd5b8082039050905042610280518082101561298557600080fd5b8082039050905080820282158284830414176129a057600080fd5b80905090509050436102a051808210156129b957600080fd5b8082039050905080806129cb57600080fd5b8204905090506102c0525b5b610140610360525b610360515160206103605101610360526102e0610360511015612a01576129df565b610380610240805182528060200151826020015280604001518260400152806060015182606001525050610280516102c051818183011015612a4257600080fd5b8082019050905061040052610400516103e0516103c0516103a05161038051600658016123f0565b610460526102c0610360525b6103605152602061036051036103605261014061036051101515612a9957612a76565b6104605160005260206000f350005b633cebb8236000511415612ae9573415612ac157600080fd5b6004356020518110612ad257600080fd5b506008543314612ae157600080fd5b600435600855005b63fc0c546a6000511415612b10573415612b0257600080fd5b60005460005260206000f350005b63047fc9aa6000511415612b37573415612b2957600080fd5b60015460005260206000f350005b63cbf9fe5f6000511415612bc0573415612b5057600080fd5b6004356020518110612b6157600080fd5b50610140808080600260043560e05260c052604060c02060c052602060c020548152505060208101905080806001600260043560e05260c052604060c02060c052602060c02001548152505060409050905060c05260c051610140f350005b63900cf0cf6000511415612be7573415612bd957600080fd5b60035460005260206000f350005b63d1febfb96000511415612d0a573415612c0057600080fd5b6101408080806004356c01431e0fae6d7217caa00000008110612c2257600080fd5b600460c052602060c0200160c052602060c0205481525050602081019050808060016004356c01431e0fae6d7217caa00000008110612c6057600080fd5b600460c052602060c0200160c052602060c020015481525050602081019050808060026004356c01431e0fae6d7217caa00000008110612c9f57600080fd5b600460c052602060c0200160c052602060c020015481525050602081019050808060036004356c01431e0fae6d7217caa00000008110612cde57600080fd5b600460c052602060c0200160c052602060c02001548152505060809050905060c05260c051610140f350005b6328d09d476000511415612e53573415612d2357600080fd5b6004356020518110612d3457600080fd5b50610140808080602435633b9aca008110612d4e57600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c020548152505060208101905080806001602435633b9aca008110612d9157600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c02001548152505060208101905080806002602435633b9aca008110612dd557600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c02001548152505060208101905080806003602435633b9aca008110612e1957600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c02001548152505060809050905060c05260c051610140f350005b63010ae7576000511415612e9a573415612e6c57600080fd5b6004356020518110612e7d57600080fd5b50600660043560e05260c052604060c0205460005260206000f350005b63711974846000511415612ecf573415612eb357600080fd5b600760043560e05260c052604060c0205460005260206000f350005b63f77c47916000511415612ef6573415612ee857600080fd5b60085460005260206000f350005b63bef97c876000511415612f1d573415612f0f57600080fd5b60095460005260206000f350005b6306fdde036000511415612fd1573415612f3657600080fd5b600a8060c052602060c020610180602082540161012060006003818352015b82610120516020021115612f6857612f8a565b61012051850154610120516020028501525b8151600101808352811415612f55575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b6395d89b416000511415613085573415612fea57600080fd5b600b8060c052602060c020610180602082540161012060006002818352015b8261012051602002111561301c5761303e565b61012051850154610120516020028501525b8151600101808352811415613009575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b6354fd4d50600051141561313957341561309e57600080fd5b600c8060c052602060c020610180602082540161012060006002818352015b826101205160200211156130d0576130f2565b61012051850154610120516020028501525b81516001018083528114156130bd575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b63313ce567600051141561316057341561315257600080fd5b600d5460005260206000f350005b638ff36fd1600051141561318757341561317957600080fd5b600e5460005260206000f350005b637175d4f760005114156131ae5734156131a057600080fd5b600f5460005260206000f350005b63f851a44060005114156131d55734156131c757600080fd5b60105460005260206000f350005b6317f7182a60005114156131fc5734156131ee57600080fd5b60115460005260206000f350005b5b60006000fd
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004104b135dbc9609fc1a9490e61369036497660c8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001a566f74652d657363726f77656420415057696e6520546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000005766541505700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013100000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : token_addr (address): 0x4104b135DBC9609Fc1A9490E61369036497660c8
Arg [1] : _name (string): Vote-escrowed APWine Token
Arg [2] : _symbol (string): veAPW
Arg [3] : _version (string): 1
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000004104b135dbc9609fc1a9490e61369036497660c8
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 000000000000000000000000000000000000000000000000000000000000001a
Arg [5] : 566f74652d657363726f77656420415057696e6520546f6b656e000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 7665415057000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [9] : 3100000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.