Source Code
Overview
ETH Balance
0 ETH
ETH Value
$0.00
Cross-Chain Transactions
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
StableSwap2ETHEMA
Compiler Version
vyper:0.3.7
Contract Source Code (Vyper language format)
# @version 0.3.7
"""
@title StableSwap2ETHEMA
@author Curve.Fi
@license Copyright (c) Curve.Fi, 2020-2023 - all rights reserved
@notice 2 coin pool implementation with no lending
@dev ERC20 support for return True/revert, return True/False, return None
Uses native Ether as coins[0] and can rebase ERC20
"""
from vyper.interfaces import ERC20
interface Factory:
def convert_fees() -> bool: nonpayable
def get_fee_receiver(_pool: address) -> address: view
def admin() -> address: view
interface ERC1271:
def isValidSignature(_hash: bytes32, _signature: Bytes[65]) -> bytes32: view
event Transfer:
sender: indexed(address)
receiver: indexed(address)
value: uint256
event Approval:
owner: indexed(address)
spender: indexed(address)
value: uint256
event TokenExchange:
buyer: indexed(address)
sold_id: int128
tokens_sold: uint256
bought_id: int128
tokens_bought: uint256
event AddLiquidity:
provider: indexed(address)
token_amounts: uint256[N_COINS]
fees: uint256[N_COINS]
invariant: uint256
token_supply: uint256
event RemoveLiquidity:
provider: indexed(address)
token_amounts: uint256[N_COINS]
fees: uint256[N_COINS]
token_supply: uint256
event RemoveLiquidityOne:
provider: indexed(address)
token_amount: uint256
coin_amount: uint256
token_supply: uint256
event RemoveLiquidityImbalance:
provider: indexed(address)
token_amounts: uint256[N_COINS]
fees: uint256[N_COINS]
invariant: uint256
token_supply: uint256
event RampA:
old_A: uint256
new_A: uint256
initial_time: uint256
future_time: uint256
event StopRampA:
A: uint256
t: uint256
event CommitNewFee:
new_fee: uint256
event ApplyNewFee:
fee: uint256
N_COINS_128: constant(int128) = 2
N_COINS: constant(uint256) = 2
PRECISION: constant(uint256) = 10 ** 18
ADMIN_ACTIONS_DEADLINE_DT: constant(uint256) = 86400 * 3
FEE_DENOMINATOR: constant(uint256) = 10 ** 10
ADMIN_FEE: constant(uint256) = 5000000000
A_PRECISION: constant(uint256) = 100
MAX_FEE: constant(uint256) = 5 * 10 ** 9
MAX_A: constant(uint256) = 10 ** 6
MAX_A_CHANGE: constant(uint256) = 10
MIN_RAMP_TIME: constant(uint256) = 86400
ETH_ADDR: constant(address) = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
EIP712_TYPEHASH: constant(bytes32) = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")
PERMIT_TYPEHASH: constant(bytes32) = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)")
# keccak256("isValidSignature(bytes32,bytes)")[:4] << 224
ERC1271_MAGIC_VAL: constant(bytes32) = 0x1626ba7e00000000000000000000000000000000000000000000000000000000
version: public(constant(String[8])) = "v6.0.1"
factory: address
coins: public(address[N_COINS])
admin_balances: public(uint256[N_COINS])
fee: public(uint256) # fee * 1e10
future_fee: public(uint256)
admin_action_deadline: public(uint256)
initial_A: public(uint256)
future_A: public(uint256)
initial_A_time: public(uint256)
future_A_time: public(uint256)
# [bytes4 method_id][bytes8 <empty>][bytes20 oracle]
oracle_method: public(uint256) # Only for one coin which is not ETH
originator: address # Creator of the pool who can set the oracle method
RATE_MULTIPLIERS: constant(uint256[2]) = [10**18, 10**18]
# shift(2**32 - 1, 224)
ORACLE_BIT_MASK: constant(uint256) = (2**32 - 1) * 256**28
name: public(String[64])
symbol: public(String[32])
balanceOf: public(HashMap[address, uint256])
allowance: public(HashMap[address, HashMap[address, uint256]])
totalSupply: public(uint256)
decimals: public(constant(uint256)) = 18
DOMAIN_SEPARATOR: public(bytes32)
nonces: public(HashMap[address, uint256])
last_prices_packed: uint256 # [last_price, ma_price]
ma_exp_time: public(uint256)
ma_last_time: public(uint256)
@external
def __init__():
# we do this to prevent the implementation contract from being used as a pool
self.factory = 0x0000000000000000000000000000000000000001
assert N_COINS == 2
@external
def initialize(
_name: String[32],
_symbol: String[10],
_coins: address[4],
_rate_multipliers: uint256[4],
_A: uint256,
_fee: uint256,
):
"""
@notice Contract constructor
@param _name Name of the new pool
@param _symbol Token symbol
@param _coins List of all ERC20 conract addresses of coins
@param _rate_multipliers List of number of decimals in coins
@param _A Amplification coefficient multiplied by n ** (n - 1)
@param _fee Fee to charge for exchanges
"""
# check if factory was already set to prevent initializing contract twice
assert self.factory == empty(address)
# tx.origin will have the ability to set oracles for coins
self.originator = tx.origin
# additional sanity checks for ETH configuration
assert _coins[0] == ETH_ADDR
for i in range(N_COINS):
assert _rate_multipliers[i] == 10**18
self.coins[i] = _coins[i]
A: uint256 = _A * A_PRECISION
self.initial_A = A
self.future_A = A
self.fee = _fee
self.factory = msg.sender
self.ma_exp_time = 866 # = 600 / ln(2)
self.last_prices_packed = self.pack_prices(10**18, 10**18)
self.ma_last_time = block.timestamp
name: String[64] = concat("Curve.fi Factory Pool: ", _name)
self.name = name
self.symbol = concat(_symbol, "-f")
self.DOMAIN_SEPARATOR = keccak256(
_abi_encode(EIP712_TYPEHASH, keccak256(name), keccak256(version), chain.id, self)
)
# fire a transfer event so block explorers identify the contract as an ERC20
log Transfer(empty(address), self, 0)
### ERC20 Functionality ###
@internal
def _transfer(_from: address, _to: address, _value: uint256):
# # NOTE: vyper does not allow underflows
# # so the following subtraction would revert on insufficient balance
self.balanceOf[_from] -= _value
self.balanceOf[_to] += _value
log Transfer(_from, _to, _value)
@external
def transfer(_to : address, _value : uint256) -> bool:
"""
@dev Transfer token for a specified address
@param _to The address to transfer to.
@param _value The amount to be transferred.
"""
self._transfer(msg.sender, _to, _value)
return True
@external
def transferFrom(_from : address, _to : address, _value : uint256) -> bool:
"""
@dev Transfer tokens from one address to another.
@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
"""
self._transfer(_from, _to, _value)
_allowance: uint256 = self.allowance[_from][msg.sender]
if _allowance != max_value(uint256):
self.allowance[_from][msg.sender] = _allowance - _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: 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 permit(
_owner: address,
_spender: address,
_value: uint256,
_deadline: uint256,
_v: uint8,
_r: bytes32,
_s: bytes32
) -> bool:
"""
@notice Approves spender by owner's signature to expend owner's tokens.
See https://eips.ethereum.org/EIPS/eip-2612.
@dev Inspired by https://github.com/yearn/yearn-vaults/blob/main/contracts/Vault.vy#L753-L793
@dev Supports smart contract wallets which implement ERC1271
https://eips.ethereum.org/EIPS/eip-1271
@param _owner The address which is a source of funds and has signed the Permit.
@param _spender The address which is allowed to spend the funds.
@param _value The amount of tokens to be spent.
@param _deadline The timestamp after which the Permit is no longer valid.
@param _v The bytes[64] of the valid secp256k1 signature of permit by owner
@param _r The bytes[0:32] of the valid secp256k1 signature of permit by owner
@param _s The bytes[32:64] of the valid secp256k1 signature of permit by owner
@return True, if transaction completes successfully
"""
assert _owner != empty(address)
assert block.timestamp <= _deadline
nonce: uint256 = self.nonces[_owner]
digest: bytes32 = keccak256(
concat(
b"\x19\x01",
self.DOMAIN_SEPARATOR,
keccak256(_abi_encode(PERMIT_TYPEHASH, _owner, _spender, _value, nonce, _deadline))
)
)
if _owner.is_contract:
sig: Bytes[65] = concat(_abi_encode(_r, _s), slice(convert(_v, bytes32), 31, 1))
# reentrancy not a concern since this is a staticcall
assert ERC1271(_owner).isValidSignature(digest, sig) == ERC1271_MAGIC_VAL
else:
assert ecrecover(digest, convert(_v, uint256), convert(_r, uint256), convert(_s, uint256)) == _owner
self.allowance[_owner][_spender] = _value
self.nonces[_owner] = nonce + 1
log Approval(_owner, _spender, _value)
return True
### StableSwap Functionality ###
@pure
@internal
def pack_prices(p1: uint256, p2: uint256) -> uint256:
assert p1 < 2**128
assert p2 < 2**128
return p1 | shift(p2, 128)
@view
@external
def last_price() -> uint256:
return self.last_prices_packed & (2**128 - 1)
@view
@external
def ema_price() -> uint256:
return shift(self.last_prices_packed, -128)
@view
@internal
def _stored_rates() -> uint256[N_COINS]:
assert self.originator == empty(address), "Set oracle"
rates: uint256[N_COINS] = RATE_MULTIPLIERS
oracle: uint256 = self.oracle_method
if oracle != 0:
# NOTE: assumed that response is of precision 10**18
response: Bytes[32] = raw_call(
convert(oracle % 2**160, address),
_abi_encode(oracle & ORACLE_BIT_MASK),
max_outsize=32,
is_static_call=True,
)
assert len(response) != 0
rates[1] = rates[1] * convert(response, uint256) / PRECISION
return rates
@view
@external
def stored_rates() -> uint256[N_COINS]:
return self._stored_rates()
@view
@internal
def _balances(_value: uint256 = 0) -> uint256[N_COINS]:
return [
self.balance - self.admin_balances[0] - _value,
ERC20(self.coins[1]).balanceOf(self) - self.admin_balances[1]
]
@view
@external
def balances(i: uint256) -> uint256:
"""
@notice Get the current balance of a coin within the
pool, less the accrued admin fees
@param i Index value for the coin to query balance of
@return Token balance
"""
return self._balances()[i]
@view
@internal
def _A() -> uint256:
"""
Handle ramping A up or down
"""
t1: uint256 = self.future_A_time
A1: uint256 = self.future_A
if block.timestamp < t1:
A0: uint256 = self.initial_A
t0: uint256 = self.initial_A_time
# Expressions in uint256 cannot have negative numbers, thus "if"
if A1 > A0:
return A0 + (A1 - A0) * (block.timestamp - t0) / (t1 - t0)
else:
return A0 - (A0 - A1) * (block.timestamp - t0) / (t1 - t0)
else: # when t1 == 0 or block.timestamp >= t1
return A1
@view
@external
def admin_fee() -> uint256:
return ADMIN_FEE
@view
@external
def A() -> uint256:
return self._A() / A_PRECISION
@view
@external
def A_precise() -> uint256:
return self._A()
@pure
@internal
def _xp_mem(_rates: uint256[N_COINS], _balances: uint256[N_COINS]) -> uint256[N_COINS]:
result: uint256[N_COINS] = empty(uint256[N_COINS])
for i in range(N_COINS):
result[i] = _rates[i] * _balances[i] / PRECISION
return result
@pure
@internal
def get_D(_xp: uint256[N_COINS], _amp: uint256) -> uint256:
"""
D invariant calculation in non-overflowing integer operations
iteratively
A * sum(x_i) * n**n + D = A * D * n**n + D**(n+1) / (n**n * prod(x_i))
Converging solution:
D[j+1] = (A * n**n * sum(x_i) - D[j]**(n+1) / (n**n prod(x_i))) / (A * n**n - 1)
"""
S: uint256 = 0
for x in _xp:
S += x
if S == 0:
return 0
D: uint256 = S
Ann: uint256 = _amp * N_COINS
for i in range(255):
D_P: uint256 = D * D / _xp[0] * D / _xp[1] / (N_COINS)**2
Dprev: uint256 = D
D = (Ann * S / A_PRECISION + D_P * N_COINS) * D / ((Ann - A_PRECISION) * D / A_PRECISION + (N_COINS + 1) * D_P)
# Equality with the precision of 1
if D > Dprev:
if D - Dprev <= 1:
return D
else:
if Dprev - D <= 1:
return D
# convergence typically occurs in 4 rounds or less, this should be unreachable!
# if it does happen the pool is borked and LPs can withdraw via `remove_liquidity`
raise
@view
@internal
def get_D_mem(_rates: uint256[N_COINS], _balances: uint256[N_COINS], _amp: uint256) -> uint256:
xp: uint256[N_COINS] = self._xp_mem(_rates, _balances)
return self.get_D(xp, _amp)
@internal
@view
def _get_p(xp: uint256[N_COINS], amp: uint256, D: uint256) -> uint256:
# dx_0 / dx_1 only, however can have any number of coins in pool
ANN: uint256 = amp * N_COINS
Dr: uint256 = D / (N_COINS**N_COINS)
for i in range(N_COINS):
Dr = Dr * D / xp[i]
return 10**18 * (ANN * xp[0] / A_PRECISION + Dr * xp[0] / xp[1]) / (ANN * xp[0] / A_PRECISION + Dr)
@external
@view
def get_p() -> uint256:
amp: uint256 = self._A()
xp: uint256[N_COINS] = self._xp_mem(self._stored_rates(), self._balances())
D: uint256 = self.get_D(xp, amp)
return self._get_p(xp, amp, D)
@internal
@view
def exp(power: int256) -> uint256:
if power <= -42139678854452767551:
return 0
if power >= 135305999368893231589:
raise "exp overflow"
x: int256 = unsafe_div(unsafe_mul(power, 2**96), 10**18)
k: int256 = unsafe_div(
unsafe_add(
unsafe_div(unsafe_mul(x, 2**96), 54916777467707473351141471128),
2**95),
2**96)
x = unsafe_sub(x, unsafe_mul(k, 54916777467707473351141471128))
y: int256 = unsafe_add(x, 1346386616545796478920950773328)
y = unsafe_add(unsafe_div(unsafe_mul(y, x), 2**96), 57155421227552351082224309758442)
p: int256 = unsafe_sub(unsafe_add(y, x), 94201549194550492254356042504812)
p = unsafe_add(unsafe_div(unsafe_mul(p, y), 2**96), 28719021644029726153956944680412240)
p = unsafe_add(unsafe_mul(p, x), (4385272521454847904659076985693276 * 2**96))
q: int256 = x - 2855989394907223263936484059900
q = unsafe_add(unsafe_div(unsafe_mul(q, x), 2**96), 50020603652535783019961831881945)
q = unsafe_sub(unsafe_div(unsafe_mul(q, x), 2**96), 533845033583426703283633433725380)
q = unsafe_add(unsafe_div(unsafe_mul(q, x), 2**96), 3604857256930695427073651918091429)
q = unsafe_sub(unsafe_div(unsafe_mul(q, x), 2**96), 14423608567350463180887372962807573)
q = unsafe_add(unsafe_div(unsafe_mul(q, x), 2**96), 26449188498355588339934803723976023)
return shift(
unsafe_mul(convert(unsafe_div(p, q), uint256), 3822833074963236453042738258902158003155416615667),
unsafe_sub(k, 195))
@internal
@view
def _ma_price() -> uint256:
ma_last_time: uint256 = self.ma_last_time
pp: uint256 = self.last_prices_packed
last_price: uint256 = min(pp & (2**128 - 1), 2 * 10**18) # Limit the price going into EMA to not be more than 2.0
last_ema_price: uint256 = shift(pp, -128)
if ma_last_time < block.timestamp:
alpha: uint256 = self.exp(- convert((block.timestamp - ma_last_time) * 10**18 / self.ma_exp_time, int256))
return (last_price * (10**18 - alpha) + last_ema_price * alpha) / 10**18
else:
return last_ema_price
@external
@view
@nonreentrant('lock')
def price_oracle() -> uint256:
"""
@notice EMA price oracle based on the last state prices
Prices are taken after rate multiplier is applied (if it is set)
"""
return self._ma_price()
@internal
def save_p_from_price(last_price: uint256):
"""
Saves current price and its EMA
"""
if last_price != 0:
self.last_prices_packed = self.pack_prices(last_price, self._ma_price())
if self.ma_last_time < block.timestamp:
self.ma_last_time = block.timestamp
@internal
def save_p(xp: uint256[N_COINS], amp: uint256, D: uint256):
"""
Saves current price and its EMA
"""
self.save_p_from_price(self._get_p(xp, amp, D))
@view
@external
@nonreentrant('lock')
def get_virtual_price() -> uint256:
"""
@notice The current virtual price of the pool LP token
@dev Useful for calculating profits
@return LP token virtual price normalized to 1e18
"""
amp: uint256 = self._A()
xp: uint256[N_COINS] = self._xp_mem(self._stored_rates(), self._balances())
D: uint256 = self.get_D(xp, amp)
# D is in the units similar to DAI (e.g. converted to precision 1e18)
# When balanced, D = n * x_u - total virtual value of the portfolio
return D * PRECISION / self.totalSupply
@view
@external
def calc_token_amount(_amounts: uint256[N_COINS], _is_deposit: bool) -> uint256:
"""
@notice Calculate addition or reduction in token supply from a deposit or withdrawal
@dev This calculation accounts for slippage, but not fees.
Needed to prevent front-running, not for precise calculations!
@param _amounts Amount of each coin being deposited
@param _is_deposit set True for deposits, False for withdrawals
@return Expected amount of LP tokens received
"""
amp: uint256 = self._A()
balances: uint256[N_COINS] = self._balances()
rates: uint256[N_COINS] = self._stored_rates()
D0: uint256 = self.get_D_mem(rates, balances, amp)
for i in range(N_COINS):
amount: uint256 = _amounts[i]
if _is_deposit:
balances[i] += amount
else:
balances[i] -= amount
D1: uint256 = self.get_D_mem(rates, balances, amp)
diff: uint256 = 0
if _is_deposit:
diff = D1 - D0
else:
diff = D0 - D1
return diff * self.totalSupply / D0
@payable
@external
@nonreentrant('lock')
def add_liquidity(
_amounts: uint256[N_COINS],
_min_mint_amount: uint256,
_receiver: address = msg.sender
) -> uint256:
"""
@notice Deposit coins into the pool
@param _amounts List of amounts of coins to deposit
@param _min_mint_amount Minimum amount of LP tokens to mint from the deposit
@param _receiver Address that owns the minted LP tokens
@return Amount of LP tokens received by depositing
"""
amp: uint256 = self._A()
old_balances: uint256[N_COINS] = self._balances(msg.value)
rates: uint256[N_COINS] = self._stored_rates()
# Initial invariant
D0: uint256 = self.get_D_mem(rates, old_balances, amp)
total_supply: uint256 = self.totalSupply
new_balances: uint256[N_COINS] = old_balances
for i in range(N_COINS):
amount: uint256 = _amounts[i]
if total_supply == 0:
assert amount > 0 # dev: initial deposit requires all coins
new_balances[i] += amount
# Invariant after change
D1: uint256 = self.get_D_mem(rates, new_balances, amp)
assert D1 > D0
# We need to recalculate the invariant accounting for fees
# to calculate fair user's share
fees: uint256[N_COINS] = empty(uint256[N_COINS])
mint_amount: uint256 = 0
if total_supply > 0:
# Only account for fees if we are not the first to deposit
base_fee: uint256 = self.fee * N_COINS / (4 * (N_COINS - 1))
for i in range(N_COINS):
ideal_balance: uint256 = D1 * old_balances[i] / D0
difference: uint256 = 0
new_balance: uint256 = new_balances[i]
if ideal_balance > new_balance:
difference = ideal_balance - new_balance
else:
difference = new_balance - ideal_balance
fees[i] = base_fee * difference / FEE_DENOMINATOR
self.admin_balances[i] += fees[i] * ADMIN_FEE / FEE_DENOMINATOR
new_balances[i] -= fees[i]
xp: uint256[N_COINS] = self._xp_mem(rates, new_balances)
D2: uint256 = self.get_D(xp, amp)
mint_amount = total_supply * (D2 - D0) / D0
self.save_p(xp, amp, D2)
else:
mint_amount = D1 # Take the dust if there was any
assert mint_amount >= _min_mint_amount, "Slippage screwed you"
# Take coins from the sender
assert msg.value == _amounts[0]
if _amounts[1] > 0:
assert ERC20(self.coins[1]).transferFrom(msg.sender, self, _amounts[1], default_return_value=True) # dev: failed transfer
# Mint pool tokens
total_supply += mint_amount
self.balanceOf[_receiver] += mint_amount
self.totalSupply = total_supply
log Transfer(empty(address), _receiver, mint_amount)
log AddLiquidity(msg.sender, _amounts, fees, D1, total_supply)
return mint_amount
@view
@internal
def get_y(i: int128, j: int128, x: uint256, xp: uint256[N_COINS], _amp: uint256, _D: uint256) -> uint256:
"""
Calculate x[j] if one makes x[i] = x
Done by solving quadratic equation iteratively.
x_1**2 + x_1 * (sum' - (A*n**n - 1) * D / (A * n**n)) = D ** (n + 1) / (n ** (2 * n) * prod' * A)
x_1**2 + b*x_1 = c
x_1 = (x_1**2 + c) / (2*x_1 + b)
"""
# x in the input is converted to the same price/precision
assert i != j # dev: same coin
assert j >= 0 # dev: j below zero
assert j < N_COINS_128 # dev: j above N_COINS
# should be unreachable, but good for safety
assert i >= 0
assert i < N_COINS_128
amp: uint256 = _amp
D: uint256 = _D
if _D == 0:
amp = self._A()
D = self.get_D(xp, amp)
S_: uint256 = 0
_x: uint256 = 0
y_prev: uint256 = 0
c: uint256 = D
Ann: uint256 = amp * N_COINS
for _i in range(N_COINS_128):
if _i == i:
_x = x
elif _i != j:
_x = xp[_i]
else:
continue
S_ += _x
c = c * D / (_x * N_COINS)
c = c * D * A_PRECISION / (Ann * N_COINS)
b: uint256 = S_ + D * A_PRECISION / Ann # - D
y: uint256 = D
for _i in range(255):
y_prev = y
y = (y*y + c) / (2 * y + b - D)
# Equality with the precision of 1
if y > y_prev:
if y - y_prev <= 1:
return y
else:
if y_prev - y <= 1:
return y
raise
@view
@external
def get_dy(i: int128, j: int128, dx: uint256) -> uint256:
"""
@notice Calculate the current output dy given input dx
@dev Index values can be found via the `coins` public getter method
@param i Index value for the coin to send
@param j Index value of the coin to recieve
@param dx Amount of `i` being exchanged
@return Amount of `j` predicted
"""
rates: uint256[N_COINS] = self._stored_rates()
xp: uint256[N_COINS] = self._xp_mem(rates, self._balances())
x: uint256 = xp[i] + (dx * rates[i] / PRECISION)
y: uint256 = self.get_y(i, j, x, xp, 0, 0)
dy: uint256 = xp[j] - y - 1
fee: uint256 = self.fee * dy / FEE_DENOMINATOR
return (dy - fee) * PRECISION / rates[j]
@payable
@external
@nonreentrant('lock')
def exchange(
i: int128,
j: int128,
_dx: uint256,
_min_dy: uint256,
_receiver: address = msg.sender,
) -> uint256:
"""
@notice Perform an exchange between two coins
@dev Index values can be found via the `coins` public getter method
@param i Index value for the coin to send
@param j Index valie of the coin to recieve
@param _dx Amount of `i` being exchanged
@param _min_dy Minimum amount of `j` to receive
@return Actual amount of `j` received
"""
rates: uint256[N_COINS] = self._stored_rates()
old_balances: uint256[N_COINS] = self._balances(msg.value)
xp: uint256[N_COINS] = self._xp_mem(rates, old_balances)
x: uint256 = xp[i] + _dx * rates[i] / PRECISION
amp: uint256 = self._A()
D: uint256 = self.get_D(xp, amp)
y: uint256 = self.get_y(i, j, x, xp, amp, D)
dy: uint256 = xp[j] - y - 1 # -1 just in case there were some rounding errors
dy_fee: uint256 = dy * self.fee / FEE_DENOMINATOR
# Convert all to real units
dy = (dy - dy_fee) * PRECISION / rates[j]
assert dy >= _min_dy, "Exchange resulted in fewer coins than expected"
# xp is not used anymore, so we reuse it for price calc
xp[i] = x
xp[j] = y
# D is not changed because we did not apply a fee
self.save_p(xp, amp, D)
dy_admin_fee: uint256 = dy_fee * ADMIN_FEE / FEE_DENOMINATOR * PRECISION / rates[j]
if dy_admin_fee != 0:
self.admin_balances[j] += dy_admin_fee
coin: address = self.coins[1]
if i == 0:
assert msg.value == _dx
assert ERC20(coin).transfer(_receiver, dy, default_return_value=True)
else:
assert msg.value == 0
assert ERC20(coin).transferFrom(msg.sender, self, _dx, default_return_value=True)
raw_call(_receiver, b"", value=dy)
log TokenExchange(msg.sender, i, _dx, j, dy)
return dy
@external
@nonreentrant('lock')
def remove_liquidity(
_burn_amount: uint256,
_min_amounts: uint256[N_COINS],
_receiver: address = msg.sender
) -> uint256[N_COINS]:
"""
@notice Withdraw coins from the pool
@dev Withdrawal amounts are based on current deposit ratios
@param _burn_amount Quantity of LP tokens to burn in the withdrawal
@param _min_amounts Minimum amounts of underlying coins to receive
@param _receiver Address that receives the withdrawn coins
@return List of amounts of coins that were withdrawn
"""
total_supply: uint256 = self.totalSupply
amounts: uint256[N_COINS] = self._balances()
for i in range(N_COINS):
value: uint256 = amounts[i] * _burn_amount / total_supply
assert value >= _min_amounts[i], "Withdrawal resulted in fewer coins than expected"
amounts[i] = value
if i == 0:
raw_call(_receiver, b"", value=value)
else:
assert ERC20(self.coins[1]).transfer(_receiver, value, default_return_value=True)
total_supply -= _burn_amount
self.balanceOf[msg.sender] -= _burn_amount
self.totalSupply = total_supply
log Transfer(msg.sender, empty(address), _burn_amount)
log RemoveLiquidity(msg.sender, amounts, empty(uint256[N_COINS]), total_supply)
return amounts
@external
@nonreentrant('lock')
def remove_liquidity_imbalance(
_amounts: uint256[N_COINS],
_max_burn_amount: uint256,
_receiver: address = msg.sender
) -> uint256:
"""
@notice Withdraw coins from the pool in an imbalanced amount
@param _amounts List of amounts of underlying coins to withdraw
@param _max_burn_amount Maximum amount of LP token to burn in the withdrawal
@param _receiver Address that receives the withdrawn coins
@return Actual amount of the LP token burned in the withdrawal
"""
amp: uint256 = self._A()
rates: uint256[N_COINS] = self._stored_rates()
old_balances: uint256[N_COINS] = self._balances()
D0: uint256 = self.get_D_mem(rates, old_balances, amp)
new_balances: uint256[N_COINS] = old_balances
for i in range(N_COINS):
new_balances[i] -= _amounts[i]
D1: uint256 = self.get_D_mem(rates, new_balances, amp)
fees: uint256[N_COINS] = empty(uint256[N_COINS])
base_fee: uint256 = self.fee * N_COINS / (4 * (N_COINS - 1))
for i in range(N_COINS):
ideal_balance: uint256 = D1 * old_balances[i] / D0
difference: uint256 = 0
new_balance: uint256 = new_balances[i]
if ideal_balance > new_balance:
difference = ideal_balance - new_balance
else:
difference = new_balance - ideal_balance
fees[i] = base_fee * difference / FEE_DENOMINATOR
self.admin_balances[i] += fees[i] * ADMIN_FEE / FEE_DENOMINATOR
new_balances[i] -= fees[i]
new_balances = self._xp_mem(rates, new_balances)
D2: uint256 = self.get_D(new_balances, amp)
self.save_p(new_balances, amp, D2)
total_supply: uint256 = self.totalSupply
burn_amount: uint256 = ((D0 - D2) * total_supply / D0) + 1
assert burn_amount > 1 # dev: zero tokens burned
assert burn_amount <= _max_burn_amount, "Slippage screwed you"
total_supply -= burn_amount
self.totalSupply = total_supply
self.balanceOf[msg.sender] -= burn_amount
log Transfer(msg.sender, empty(address), burn_amount)
if _amounts[0] != 0:
raw_call(_receiver, b"", value=_amounts[0])
if _amounts[1] != 0:
assert ERC20(self.coins[1]).transfer(_receiver, _amounts[1], default_return_value=True)
log RemoveLiquidityImbalance(msg.sender, _amounts, fees, D1, total_supply)
return burn_amount
@pure
@internal
def get_y_D(A: uint256, i: int128, xp: uint256[N_COINS], D: uint256) -> uint256:
"""
Calculate x[i] if one reduces D from being calculated for xp to D
Done by solving quadratic equation iteratively.
x_1**2 + x_1 * (sum' - (A*n**n - 1) * D / (A * n**n)) = D ** (n + 1) / (n ** (2 * n) * prod' * A)
x_1**2 + b*x_1 = c
x_1 = (x_1**2 + c) / (2*x_1 + b)
"""
# x in the input is converted to the same price/precision
assert i >= 0 # dev: i below zero
assert i < N_COINS_128 # dev: i above N_COINS
S_: uint256 = 0
_x: uint256 = 0
y_prev: uint256 = 0
c: uint256 = D
Ann: uint256 = A * N_COINS
for _i in range(N_COINS_128):
if _i != i:
_x = xp[_i]
else:
continue
S_ += _x
c = c * D / (_x * N_COINS)
c = c * D * A_PRECISION / (Ann * N_COINS)
b: uint256 = S_ + D * A_PRECISION / Ann
y: uint256 = D
for _i in range(255):
y_prev = y
y = (y*y + c) / (2 * y + b - D)
# Equality with the precision of 1
if y > y_prev:
if y - y_prev <= 1:
return y
else:
if y_prev - y <= 1:
return y
raise
@view
@internal
def _calc_withdraw_one_coin(_burn_amount: uint256, i: int128) -> uint256[3]:
# First, need to calculate
# * Get current D
# * Solve Eqn against y_i for D - _token_amount
amp: uint256 = self._A()
rates: uint256[N_COINS] = self._stored_rates()
xp: uint256[N_COINS] = self._xp_mem(rates, self._balances())
D0: uint256 = self.get_D(xp, amp)
total_supply: uint256 = self.totalSupply
D1: uint256 = D0 - _burn_amount * D0 / total_supply
new_y: uint256 = self.get_y_D(amp, i, xp, D1)
base_fee: uint256 = self.fee * N_COINS / (4 * (N_COINS - 1))
xp_reduced: uint256[N_COINS] = empty(uint256[N_COINS])
for j in range(N_COINS_128):
dx_expected: uint256 = 0
xp_j: uint256 = xp[j]
if j == i:
dx_expected = xp_j * D1 / D0 - new_y
else:
dx_expected = xp_j - xp_j * D1 / D0
xp_reduced[j] = xp_j - base_fee * dx_expected / FEE_DENOMINATOR
dy: uint256 = xp_reduced[i] - self.get_y_D(amp, i, xp_reduced, D1)
dy_0: uint256 = (xp[i] - new_y) * PRECISION / rates[i] # w/o fees
dy = (dy - 1) * PRECISION / rates[i] # Withdraw less to account for rounding errors
xp[i] = new_y
last_p: uint256 = 0
if new_y > 0:
last_p = self._get_p(xp, amp, D1)
return [dy, dy_0 - dy, last_p]
@view
@external
def calc_withdraw_one_coin(_burn_amount: uint256, i: int128) -> uint256:
"""
@notice Calculate the amount received when withdrawing a single coin
@param _burn_amount Amount of LP tokens to burn in the withdrawal
@param i Index value of the coin to withdraw
@return Amount of coin received
"""
return self._calc_withdraw_one_coin(_burn_amount, i)[0]
@external
@nonreentrant('lock')
def remove_liquidity_one_coin(
_burn_amount: uint256,
i: int128,
_min_received: uint256,
_receiver: address = msg.sender,
) -> uint256:
"""
@notice Withdraw a single coin from the pool
@param _burn_amount Amount of LP tokens to burn in the withdrawal
@param i Index value of the coin to withdraw
@param _min_received Minimum amount of coin to receive
@param _receiver Address that receives the withdrawn coins
@return Amount of coin received
"""
dy: uint256[3] = self._calc_withdraw_one_coin(_burn_amount, i)
assert dy[0] >= _min_received, "Not enough coins removed"
self.admin_balances[i] += dy[1] * ADMIN_FEE / FEE_DENOMINATOR
total_supply: uint256 = self.totalSupply - _burn_amount
self.totalSupply = total_supply
self.balanceOf[msg.sender] -= _burn_amount
log Transfer(msg.sender, empty(address), _burn_amount)
if i == 0:
raw_call(_receiver, b"", value=dy[0])
else:
assert ERC20(self.coins[1]).transfer(_receiver, dy[0], default_return_value=True)
log RemoveLiquidityOne(msg.sender, _burn_amount, dy[0], total_supply)
self.save_p_from_price(dy[2])
return dy[0]
@external
def ramp_A(_future_A: uint256, _future_time: uint256):
assert msg.sender == Factory(self.factory).admin() # dev: only owner
assert block.timestamp >= self.initial_A_time + MIN_RAMP_TIME
assert _future_time >= block.timestamp + MIN_RAMP_TIME # dev: insufficient time
_initial_A: uint256 = self._A()
_future_A_p: uint256 = _future_A * A_PRECISION
assert _future_A > 0 and _future_A < MAX_A
if _future_A_p < _initial_A:
assert _future_A_p * MAX_A_CHANGE >= _initial_A
else:
assert _future_A_p <= _initial_A * MAX_A_CHANGE
self.initial_A = _initial_A
self.future_A = _future_A_p
self.initial_A_time = block.timestamp
self.future_A_time = _future_time
log RampA(_initial_A, _future_A_p, block.timestamp, _future_time)
@external
def stop_ramp_A():
assert msg.sender == Factory(self.factory).admin() # dev: only owner
current_A: uint256 = self._A()
self.initial_A = current_A
self.future_A = current_A
self.initial_A_time = block.timestamp
self.future_A_time = block.timestamp
# now (block.timestamp < t1) is always False, so we return saved A
log StopRampA(current_A, block.timestamp)
@external
def withdraw_admin_fees():
receiver: address = Factory(self.factory).get_fee_receiver(self)
amount: uint256 = self.admin_balances[0]
if amount != 0:
raw_call(receiver, b"", value=amount)
amount = self.admin_balances[1]
if amount != 0:
assert ERC20(self.coins[1]).transfer(receiver, amount, default_return_value=True)
self.admin_balances = empty(uint256[N_COINS])
@external
def commit_new_fee(_new_fee: uint256):
assert msg.sender == Factory(self.factory).admin()
assert _new_fee <= MAX_FEE
assert self.admin_action_deadline == 0
self.future_fee = _new_fee
self.admin_action_deadline = block.timestamp + ADMIN_ACTIONS_DEADLINE_DT
log CommitNewFee(_new_fee)
@external
def apply_new_fee():
assert msg.sender == Factory(self.factory).admin()
deadline: uint256 = self.admin_action_deadline
assert deadline != 0 and block.timestamp >= deadline
fee: uint256 = self.future_fee
self.fee = fee
self.admin_action_deadline = 0
log ApplyNewFee(fee)
@external
def set_ma_exp_time(_ma_exp_time: uint256):
assert msg.sender == Factory(self.factory).admin() # dev: only owner
assert _ma_exp_time != 0
self.ma_exp_time = _ma_exp_time
@external
def set_oracle(_method_id: bytes4, _oracle: address):
"""
@notice Set the oracles used for calculating rates
@dev if any value is empty, rate will fallback to value provided on initialize, one time use.
The precision of the rate returned by the oracle MUST be 18.
@param _method_id method_id needed to call on `_oracle` to fetch rate
@param _oracle oracle address
"""
assert msg.sender == self.originator
self.oracle_method = convert(_method_id, uint256) * 2**224 | convert(_oracle, uint256)
self.originator = empty(address)Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"name":"Transfer","inputs":[{"name":"sender","type":"address","indexed":true},{"name":"receiver","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":"TokenExchange","inputs":[{"name":"buyer","type":"address","indexed":true},{"name":"sold_id","type":"int128","indexed":false},{"name":"tokens_sold","type":"uint256","indexed":false},{"name":"bought_id","type":"int128","indexed":false},{"name":"tokens_bought","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"AddLiquidity","inputs":[{"name":"provider","type":"address","indexed":true},{"name":"token_amounts","type":"uint256[2]","indexed":false},{"name":"fees","type":"uint256[2]","indexed":false},{"name":"invariant","type":"uint256","indexed":false},{"name":"token_supply","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"RemoveLiquidity","inputs":[{"name":"provider","type":"address","indexed":true},{"name":"token_amounts","type":"uint256[2]","indexed":false},{"name":"fees","type":"uint256[2]","indexed":false},{"name":"token_supply","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"RemoveLiquidityOne","inputs":[{"name":"provider","type":"address","indexed":true},{"name":"token_amount","type":"uint256","indexed":false},{"name":"coin_amount","type":"uint256","indexed":false},{"name":"token_supply","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"RemoveLiquidityImbalance","inputs":[{"name":"provider","type":"address","indexed":true},{"name":"token_amounts","type":"uint256[2]","indexed":false},{"name":"fees","type":"uint256[2]","indexed":false},{"name":"invariant","type":"uint256","indexed":false},{"name":"token_supply","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"RampA","inputs":[{"name":"old_A","type":"uint256","indexed":false},{"name":"new_A","type":"uint256","indexed":false},{"name":"initial_time","type":"uint256","indexed":false},{"name":"future_time","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"StopRampA","inputs":[{"name":"A","type":"uint256","indexed":false},{"name":"t","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"CommitNewFee","inputs":[{"name":"new_fee","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"ApplyNewFee","inputs":[{"name":"fee","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"initialize","inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_coins","type":"address[4]"},{"name":"_rate_multipliers","type":"uint256[4]"},{"name":"_A","type":"uint256"},{"name":"_fee","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"transfer","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"transferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"approve","inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"permit","inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_deadline","type":"uint256"},{"name":"_v","type":"uint8"},{"name":"_r","type":"bytes32"},{"name":"_s","type":"bytes32"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"view","type":"function","name":"last_price","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"ema_price","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"stored_rates","inputs":[],"outputs":[{"name":"","type":"uint256[2]"}]},{"stateMutability":"view","type":"function","name":"balances","inputs":[{"name":"i","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"admin_fee","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"A","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"A_precise","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_p","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"price_oracle","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_virtual_price","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"calc_token_amount","inputs":[{"name":"_amounts","type":"uint256[2]"},{"name":"_is_deposit","type":"bool"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"payable","type":"function","name":"add_liquidity","inputs":[{"name":"_amounts","type":"uint256[2]"},{"name":"_min_mint_amount","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"payable","type":"function","name":"add_liquidity","inputs":[{"name":"_amounts","type":"uint256[2]"},{"name":"_min_mint_amount","type":"uint256"},{"name":"_receiver","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_dy","inputs":[{"name":"i","type":"int128"},{"name":"j","type":"int128"},{"name":"dx","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"payable","type":"function","name":"exchange","inputs":[{"name":"i","type":"int128"},{"name":"j","type":"int128"},{"name":"_dx","type":"uint256"},{"name":"_min_dy","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"payable","type":"function","name":"exchange","inputs":[{"name":"i","type":"int128"},{"name":"j","type":"int128"},{"name":"_dx","type":"uint256"},{"name":"_min_dy","type":"uint256"},{"name":"_receiver","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity","inputs":[{"name":"_burn_amount","type":"uint256"},{"name":"_min_amounts","type":"uint256[2]"}],"outputs":[{"name":"","type":"uint256[2]"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity","inputs":[{"name":"_burn_amount","type":"uint256"},{"name":"_min_amounts","type":"uint256[2]"},{"name":"_receiver","type":"address"}],"outputs":[{"name":"","type":"uint256[2]"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity_imbalance","inputs":[{"name":"_amounts","type":"uint256[2]"},{"name":"_max_burn_amount","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity_imbalance","inputs":[{"name":"_amounts","type":"uint256[2]"},{"name":"_max_burn_amount","type":"uint256"},{"name":"_receiver","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"calc_withdraw_one_coin","inputs":[{"name":"_burn_amount","type":"uint256"},{"name":"i","type":"int128"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity_one_coin","inputs":[{"name":"_burn_amount","type":"uint256"},{"name":"i","type":"int128"},{"name":"_min_received","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity_one_coin","inputs":[{"name":"_burn_amount","type":"uint256"},{"name":"i","type":"int128"},{"name":"_min_received","type":"uint256"},{"name":"_receiver","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"ramp_A","inputs":[{"name":"_future_A","type":"uint256"},{"name":"_future_time","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"stop_ramp_A","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"withdraw_admin_fees","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"commit_new_fee","inputs":[{"name":"_new_fee","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"apply_new_fee","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_ma_exp_time","inputs":[{"name":"_ma_exp_time","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_oracle","inputs":[{"name":"_method_id","type":"bytes4"},{"name":"_oracle","type":"address"}],"outputs":[]},{"stateMutability":"view","type":"function","name":"version","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"coins","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"admin_balances","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"fee","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"future_fee","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"admin_action_deadline","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"initial_A","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"future_A","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"initial_A_time","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"future_A_time","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"oracle_method","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"allowance","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"DOMAIN_SEPARATOR","inputs":[],"outputs":[{"name":"","type":"bytes32"}]},{"stateMutability":"view","type":"function","name":"nonces","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"ma_exp_time","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"ma_last_time","inputs":[],"outputs":[{"name":"","type":"uint256"}]}]Contract Creation Code
346147ac57600160015561479061001b61000039614790610000f36003361161000c57613104565b60003560e01c630b4c7e4d811861002f576064361061477e573361032052610052565b630c3e4b54811861061e576084361061477e576064358060a01c61477e57610320525b60005460021461477e57600260005561006c6103606133af565b6103605161034052346040526100836103a061333b565b6103a0805161036052602081015161038052506100a16103e06131ce565b6103e080516103a05260208101516103c052506103a051610160526103c05161018052610360516101a052610380516101c052610340516101e0526100e761040061375c565b610400516103e052601654610400526103605161042052610380516104405260006002905b8061046052610460516001811161477e5760051b60040135610480526104005161013a57610480511561477e575b610460516001811161477e5760051b6104200180516104805180820182811061477e579050905081525060010181811861010c5750506103a051610160526103c05161018052610420516101a052610440516101c052610340516101e0526101a361048061375c565b61048051610460526103e05161046051111561477e57606036610480376104005115610440576006548060011b818160011c1861477e5790508060021c90506104e05260006002905b806105005261046051610500516001811161477e5760051b610360015180820281158383830414171561477e57905090506103e051801561477e578082049050905061052052600061054052610500516001811161477e5760051b61042001516105605261056051610520511161027c57610560516105205180820382811161477e579050905061054052610297565b610520516105605180820382811161477e5790509050610540525b6104e0516105405180820281158383830414171561477e57905090506402540be40081049050610500516001811161477e5760051b6104800152610500516001811161477e576004018054610500516001811161477e5760051b610480015164012a05f20081028164012a05f20082041861477e5790506402540be4008104905080820182811061477e5790509050815550610500516001811161477e5760051b610420018051610500516001811161477e5760051b610480015180820382811161477e57905090508152506001018181186101ec5750506103a0516040526103c051606052610420516080526104405160a0526103966105406134d4565b610540805161050052602081015161052052506105005160405261052051606052610340516080526103c961056061355b565b610560516105405261040051610540516103e05180820382811161477e579050905080820281158383830414171561477e57905090506103e051801561477e57808204905090506104c05261050051610260526105205161028052610340516102a052610540516102c052610449613db056610449565b610460516104c0525b6044356104c05110156104bc5760146104e0527f536c697070616765207363726577656420796f75000000000000000000000000610500526104e0506104e0518061050001601f826000031636823750506308c379a06104a05260206104c052601f19601f6104e05101166044016104bcfd5b600435341861477e5760243515610544576003546323b872dd6104e052336105005230610520526024356105405260206104e060646104fc6000855af1610508573d600060003e3d6000fd5b3d61051f57803b1561477e57600161056052610538565b60203d1061477e576104e0518060011c61477e57610560525b6105609050511561477e575b610400516104c05180820182811061477e579050905061040052601461032051602052600052604060002080546104c05180820182811061477e5790509050815550610400516016556103205160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6104c0516104e05260206104e0a3337f26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768604060046104e03761048051610520526104a051610540526104605161056052610400516105805260c06104e0a260206104c06003600055f35b633df02124811861063b576084361061477e57336103c05261065e565b63ddc1f59d8118610bbf5760a4361061477e576084358060a01c61477e576103c0525b60043580600f0b811861477e576103805260243580600f0b811861477e576103a05260005460021461477e57600260005561069a6104206131ce565b61042080516103e05260208101516104005250346040526106bc61046061333b565b610460805161042052602081015161044052506103e05160405261040051606052610420516080526104405160a0526106f66104a06134d4565b6104a080516104605260208101516104805250610380516001811161477e5760051b6104600151604435610380516001811161477e5760051b6103e0015180820281158383830414171561477e5790509050670de0b6b3a76400008104905080820182811061477e57905090506104a0526107726104e06133af565b6104e0516104c05261046051604052610480516060526104c05160805261079a61050061355b565b610500516104e05261038051610160526103a051610180526104a0516101a052610460516101c052610480516101e0526104c051610200526104e051610220526107e5610520613df1565b61052051610500526103a0516001811161477e5760051b61046001516105005180820382811161477e57905090506001810381811161477e579050610520526105205160065480820281158383830414171561477e57905090506402540be4008104905061054052610520516105405180820382811161477e5790509050670de0b6b3a7640000810281670de0b6b3a764000082041861477e5790506103a0516001811161477e5760051b6103e00151801561477e57808204905090506105205260643561052051101561093e57602e610560527f45786368616e676520726573756c74656420696e20666577657220636f696e73610580527f207468616e2065787065637465640000000000000000000000000000000000006105a05261056050610560518061058001601f826000031636823750506308c379a061052052602061054052601f19601f61056051011660440161053cfd5b6104a051610380516001811161477e5760051b6104600152610500516103a0516001811161477e5760051b6104600152610460516102605261048051610280526104c0516102a0526104e0516102c052610996613db0565b6105405164012a05f20081028164012a05f20082041861477e5790506402540be40081049050670de0b6b3a7640000810281670de0b6b3a764000082041861477e5790506103a0516001811161477e5760051b6103e00151801561477e5780820490509050610560526105605115610a2f576103a0516001811161477e5760040180546105605180820182811061477e57905090508155505b6003546105805261038051610ac257604435341861477e576105805163a9059cbb6105a0526103c0516105c052610520516105e05260206105a060446105bc6000855af1610a82573d600060003e3d6000fd5b3d610a9957803b1561477e57600161060052610ab2565b60203d1061477e576105a0518060011c61477e57610600525b6106009050511561477e57610b6c565b3461477e57610580516323b872dd6105a052336105c052306105e0526044356106005260206105a060646105bc6000855af1610b03573d600060003e3d6000fd5b3d610b1a57803b1561477e57600161062052610b33565b60203d1061477e576105a0518060011c61477e57610620525b6106209050511561477e5760006105a0526105a050600060006105a0516105c0610520516103c0515af1610b6c573d600060003e3d6000fd5b337f8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140610380516105a0526044356105c0526103a0516105e052610520516106005260806105a0a260206105206003600055f35b3461477e5763a461b3c88118610f1b576101c4361061477e57600435600401602081351161477e5780358060805260208201803560a052505050602435600401600a81351161477e5780358060c05260208201803560e0525050506044358060a01c61477e57610100526064358060a01c61477e57610120526084358060a01c61477e576101405260a4358060a01c61477e576101605260015461477e5732600e5573eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee610100511861477e5760006002905b8061018052670de0b6b3a7640000610180516003811161477e5760051b60c401351861477e57610180516003811161477e5760051b6101000151610180516001811161477e5760020155600101818118610c85575050610144356064810281606482041861477e579050610180526101805160095561018051600a556101643560065533600155610362601a55670de0b6b3a7640000604052670de0b6b3a7640000606052610d356101a061310a565b6101a05160195542601b5560006017610200527f43757276652e666920466163746f727920506f6f6c3a2000000000000000000061022052610200805160208201836102600181518152505080830192505050608051816102600160a051815250808201915050806102405261024090508051806101a05260208201816101c0838360045afa505050506101a05180600f55600081601f0160051c6002811161477e578015610df957905b8060051b6101c001518160100155600101818118610de0575b505050600060c051816102600160e0518152508082019150506002610200527f2d6600000000000000000000000000000000000000000000000000000000000061022052610200805160208201836102600181518152505080830192505050806102405261024090508051806012556020820180516013555050507f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f610220526101a0516101c020610240527f0b9d98da55727756af85ff51e956250f080813d8ad137f20852fe4ea074e6420610260524661028052306102a05260a0610200526102008051602082012090506017553060007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6000610200526020610200a3005b63a9059cbb8118610f5f576044361061477e576004358060a01c61477e5760c0523360405260c051606052602435608052610f5461314e565b600160e052602060e0f35b6323b872dd8118611039576064361061477e576004358060a01c61477e5760c0526024358060a01c61477e5760e05260c05160405260e051606052604435608052610fa861314e565b601560c051602052600052604060002080336020526000526040600020905054610100527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100511461102c576101005160443580820382811161477e5790509050601560c0516020526000526040600020803360205260005260406000209050555b6001610120526020610120f35b63095ea7b381186110b8576044361061477e576004358060a01c61477e576040526024356015336020526000526040600020806040516020526000526040600020905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f35b63d505accf81186113e65760e4361061477e576004358060a01c61477e576040526024358060a01c61477e576060526084358060081c61477e576080526040511561477e57606435421161477e57601860405160205260005260406000205460a0526000600260e0527f19010000000000000000000000000000000000000000000000000000000000006101005260e08051602082018361022001815181525050808301925050506017548161022001526020810190507f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c96101405260405161016052606051610180526044356101a05260a0516101c0526064356101e05260c0610120526101208051602082012090508161022001526020810190508061020052610200905080516020820120905060c0526040513b1561132f576000604060a46101803760406101605261016080516020820183610240018281848460045afa505050808301925050506080516101c0526101c0601f81018051610200525060016101e0526101e090508051602082018361024001815181525050808301925050508061022052610220905080518060e0526020820181610100838360045afa505050507f1626ba7e00000000000000000000000000000000000000000000000000000000604051631626ba7e61016052604060c05161018052806101a052806101800160e0518082526020820181818361010060045afa5050508051806020830101601f82600003163682375050601f19601f82516020010116905081015050602061016060c461017c845afa611317573d600060003e3d6000fd5b60203d1061477e576101609050511861477e57611363565b60405160c05160e0526080516101005260a4356101205260c4356101405260206000608060e060015afa506000511861477e575b6044356015604051602052600052604060002080606051602052600052604060002090505560a0516001810181811061477e57905060186040516020526000526040600020556060516040517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560443560e052602060e0a3600160e052602060e0f35b63fde625e68118611417576004361061477e576fffffffffffffffffffffffffffffffff6019541660405260206040f35b63c24c7c29811861143c576004361061477e576019548060801c905060405260206040f35b63fd0684b18118611461576004361061477e57604061145c6101606131ce565b610160f35b634903b0d1811861149b576024361061477e576020600060405261148560a061333b565b60a06004356001811161477e5760051b81019050f35b63fee3f7f981186114bd576004361061477e5764012a05f20060405260206040f35b63f446c1d081186114ec576004361061477e576114da60c06133af565b60c05160648104905060e052602060e0f35b6376a2f0f0811861150f576004361061477e57602061150b60c06133af565b60c0f35b63f2388acb8118611606576004361061477e5761152d6101806133af565b61018051610160526115406101c06131ce565b6101c080516102805260208101516102a05250600060405261156361020061333b565b61020080516102c05260208101516102e05250610280516040526102a0516060526102c0516080526102e05160a05261159d6102406134d4565b61024080516101805260208101516101a05250610180516040526101a051606052610160516080526115d06101e061355b565b6101e0516101c0526020610180516040526101a051606052610160516080526101c05160a0526116016101e06137bf565b6101e0f35b6386fc88d38118611635576004361061477e5760005460021461477e5760206116306101c0613bf2565b6101c0f35b63bb7b8b808118611745576004361061477e5760005460021461477e5761165d6101806133af565b61018051610160526116706101c06131ce565b6101c080516102805260208101516102a05250600060405261169361020061333b565b61020080516102c05260208101516102e05250610280516040526102a0516060526102c0516080526102e05160a0526116cd6102406134d4565b61024080516101805260208101516101a05250610180516040526101a051606052610160516080526117006101e061355b565b6101e0516101c0526101c051670de0b6b3a7640000810281670de0b6b3a764000082041861477e579050601654801561477e57808204905090506101e05260206101e0f35b63ed8e84f38118611940576064361061477e576044358060011c61477e57610280526117726102c06133af565b6102c0516102a052600060405261178a61030061333b565b61030080516102c05260208101516102e052506117a86103406131ce565b61034080516103005260208101516103205250610300516101605261032051610180526102c0516101a0526102e0516101c0526102a0516101e0526117ee61036061375c565b610360516103405260006002905b8061036052610360516001811161477e5760051b60040135610380526102805161184f57610360516001811161477e5760051b6102c00180516103805180820382811161477e579050905081525061187a565b610360516001811161477e5760051b6102c00180516103805180820182811061477e57905090508152505b6001018181186117fc575050610300516101605261032051610180526102c0516101a0526102e0516101c0526102a0516101e0526118b961038061375c565b6103805161036052600061038052610280516118ee57610340516103605180820382811161477e579050905061038052611909565b610360516103405180820382811161477e5790509050610380525b6103805160165480820281158383830414171561477e579050905061034051801561477e57808204905090506103a05260206103a0f35b635e0d443f8118611b60576064361061477e5760043580600f0b811861477e576103805260243580600f0b811861477e576103a0526119806104006131ce565b61040080516103c05260208101516103e052506103c0516104c0526103e0516104e05260006040526119b361044061333b565b610440805161050052602081015161052052506104c0516040526104e051606052610500516080526105205160a0526119ed6104806134d4565b61048080516104005260208101516104205250610380516001811161477e5760051b6104000151604435610380516001811161477e5760051b6103c0015180820281158383830414171561477e5790509050670de0b6b3a76400008104905080820182811061477e57905090506104405261038051610160526103a05161018052610440516101a052610400516101c052610420516101e05260403661020037611a98610480613df1565b61048051610460526103a0516001811161477e5760051b61040001516104605180820382811161477e57905090506001810381811161477e579050610480526006546104805180820281158383830414171561477e57905090506402540be400810490506104a052610480516104a05180820382811161477e5790509050670de0b6b3a7640000810281670de0b6b3a764000082041861477e5790506103a0516001811161477e5760051b6103c00151801561477e57808204905090506104c05260206104c0f35b635b36389c8118611b7c576064361061477e573360a052611b9e565b633eb1719f8118611e59576084361061477e576064358060a01c61477e5760a0525b60005460021461477e57600260005560165460c0526000604052611bc361012061333b565b610120805160e0526020810151610100525060006002905b8061012052610120516001811161477e5760051b60e0015160043580820281158383830414171561477e579050905060c051801561477e578082049050905061014052610120516001811161477e5760051b60240135610140511015611cc6576030610160527f5769746864726177616c20726573756c74656420696e20666577657220636f69610180527f6e73207468616e206578706563746564000000000000000000000000000000006101a05261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b61014051610120516001811161477e5760051b60e0015261012051611d16576000610160526101605060006000610160516101806101405160a0515af1611d8b573d600060003e3d6000fd611d8b565b60035463a9059cbb6101605260a05161018052610140516101a0526020610160604461017c6000855af1611d4f573d600060003e3d6000fd5b3d611d6657803b1561477e5760016101c052611d7f565b60203d1061477e57610160518060011c61477e576101c0525b6101c09050511561477e575b600101818118611bdb57505060c05160043580820382811161477e579050905060c0526014336020526000526040600020805460043580820382811161477e579050905081555060c0516016556000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600435610120526020610120a3337f7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c60e0516101205261010051610140526040366101603760c0516101a05260a0610120a2604060e06003600055f35b63e31032738118611e76576064361061477e573361032052611e99565b6352d2cfdd8118612464576084361061477e576064358060a01c61477e57610320525b60005460021461477e576002600055611eb36103606133af565b6103605161034052611ec66103a06131ce565b6103a0805161036052602081015161038052506000604052611ee96103e061333b565b6103e080516103a05260208101516103c05250610360516101605261038051610180526103a0516101a0526103c0516101c052610340516101e052611f2f61040061375c565b610400516103e0526103a051610400526103c0516104205260006002905b8061044052610440516001811161477e5760051b610400018051610440516001811161477e5760051b6004013580820382811161477e5790509050815250600101818118611f4d57505061036051610160526103805161018052610400516101a052610420516101c052610340516101e052611fca61046061375c565b6104605161044052604036610460376006548060011b818160011c1861477e5790508060021c90506104a05260006002905b806104c052610440516104c0516001811161477e5760051b6103a0015180820281158383830414171561477e57905090506103e051801561477e57808204905090506104e0526000610500526104c0516001811161477e5760051b610400015161052052610520516104e0511161208c57610520516104e05180820382811161477e5790509050610500526120a7565b6104e0516105205180820382811161477e5790509050610500525b6104a0516105005180820281158383830414171561477e57905090506402540be400810490506104c0516001811161477e5760051b61046001526104c0516001811161477e5760040180546104c0516001811161477e5760051b610460015164012a05f20081028164012a05f20082041861477e5790506402540be4008104905080820182811061477e57905090508155506104c0516001811161477e5760051b6104000180516104c0516001811161477e5760051b610460015180820382811161477e5790509050815250600101818118611ffc5750506103605160405261038051606052610400516080526104205160a0526121a66104c06134d4565b6104c0805161040052602081015161042052506104005160405261042051606052610340516080526121d96104e061355b565b6104e0516104c05261040051610260526104205161028052610340516102a0526104c0516102c052612209613db0565b6016546104e0526103e0516104c05180820382811161477e57905090506104e05180820281158383830414171561477e57905090506103e051801561477e57808204905090506001810181811061477e579050610500526002610500511061477e576044356105005111156122de576014610520527f536c697070616765207363726577656420796f750000000000000000000000006105405261052050610520518061054001601f826000031636823750506308c379a06104e052602061050052601f19601f6105205101166044016104fcfd5b6104e0516105005180820382811161477e57905090506104e0526104e051601655601433602052600052604060002080546105005180820382811161477e57905090508155506000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61050051610520526020610520a36004351561238b57600061052052610520506000600061052051610540600435610320515af161238b573d600060003e3d6000fd5b602435156124085760035463a9059cbb610520526103205161054052602435610560526020610520604461053c6000855af16123cc573d600060003e3d6000fd5b3d6123e357803b1561477e576001610580526123fc565b60203d1061477e57610520518060011c61477e57610580525b6105809050511561477e575b337f2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e604060046105203761046051610560526104805161058052610440516105a0526104e0516105c05260c0610520a260206105006003600055f35b63cc2b27d781186124a9576044361061477e5760243580600f0b811861477e576104205260206004356101e05261042051610200526124a4610440614361565b610440f35b631a4d01d281186124c6576064361061477e5733610440526124e9565b63081579a58118612779576084361061477e576064358060a01c61477e57610440525b60243580600f0b811861477e576104205260005460021461477e5760026000556004356101e05261042051610200526125236104c0614361565b6104c080516104605260208101516104805260408101516104a052506044356104605110156125b25760186104c0527f4e6f7420656e6f75676820636f696e732072656d6f76656400000000000000006104e0526104c0506104c051806104e001601f826000031636823750506308c379a06104805260206104a052601f19601f6104c051011660440161049cfd5b610420516001811161477e5760040180546104805164012a05f20081028164012a05f20082041861477e5790506402540be4008104905080820182811061477e579050905081555060165460043580820382811161477e57905090506104c0526104c0516016556014336020526000526040600020805460043580820382811161477e57905090508155506000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6004356104e05260206104e0a3610420516126a85760006104e0526104e050600060006104e05161050061046051610440515af161271e573d600060003e3d6000fd61271e565b60035463a9059cbb6104e0526104405161050052610460516105205260206104e060446104fc6000855af16126e2573d600060003e3d6000fd5b3d6126f957803b1561477e57600161054052612712565b60203d1061477e576104e0518060011c61477e57610540525b6105409050511561477e575b337f5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a06004356104e05261046051610500526104c0516105205260606104e0a26104a0516101c05261276d613d5b565b60206104606003600055f35b633c157e6481186128e8576044361061477e5760015463f851a44060c052602060c0600460dc845afa6127b1573d600060003e3d6000fd5b60203d1061477e5760c0518060a01c61477e5761010052610100905051331861477e57600b5462015180810181811061477e579050421061477e574262015180810181811061477e5790506024351061477e5761280e60e06133af565b60e05160c0526004356064810281606482041861477e57905060e0526004351561284057620f423f6004351115612843565b60005b1561477e5760c05160e051106128735760c051600a810281600a82041861477e57905060e0511161477e5761288f565b60c05160e051600a810281600a82041861477e5790501061477e575b60c05160095560e051600a5542600b55602435600c557fa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c25460c0516101005260e051610120524261014052602435610160526080610100a1005b63551a6588811861299a576004361061477e5760015463f851a44060c052602060c0600460dc845afa612920573d600060003e3d6000fd5b60203d1061477e5760c0518060a01c61477e5761010052610100905051331861477e5761294d60e06133af565b60e05160c05260c05160095560c051600a5542600b5542600c557f46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc20193860c05160e0524261010052604060e0a1005b6330c540858118612aaf576004361061477e5760015463154aa8f560605230608052602060606024607c845afa6129d6573d600060003e3d6000fd5b60203d1061477e576060518060a01c61477e5760a05260a090505160405260045460605260605115612a2a5760006080526080506000600060805160a06060516040515af1612a2a573d600060003e3d6000fd5b60055460605260605115612aa35760035463a9059cbb60805260405160a05260605160c052602060806044609c6000855af1612a6b573d600060003e3d6000fd5b3d612a8157803b1561477e57600160e052612a98565b60203d1061477e576080518060011c61477e5760e0525b60e09050511561477e575b60006004556000600555005b63a48eac9d8118612b64576024361061477e5760015463f851a440604052602060406004605c845afa612ae7573d600060003e3d6000fd5b60203d1061477e576040518060a01c61477e576080526080905051331861477e5764012a05f2006004351161477e5760085461477e57600435600755426203f480810181811061477e5790506008557f878eb36b3f197f05821c06953d9bc8f14b332a227b1e26df06a4215bbfe5d73f60043560405260206040a1005b634f12fe978118612c1d576004361061477e5760015463f851a440604052602060406004605c845afa612b9c573d600060003e3d6000fd5b60203d1061477e576040518060a01c61477e576080526080905051331861477e5760085460405260405115612bd657604051421015612bd9565b60005b1561477e5760075460605260605160065560006008557fa8715770654f54603947addf38c689adbd7182e21673b28bcf306a957aaba21560605160805260206080a1005b637f3e17cb8118612c86576024361061477e5760015463f851a440604052602060406004605c845afa612c55573d600060003e3d6000fd5b60203d1061477e576040518060a01c61477e576080526080905051331861477e576004351561477e57600435601a55005b63d1d24d498118612ce5576044361061477e576004358060201b61477e576040526024358060a01c61477e57606052600e54331861477e576060516040518060e01c90508060e01b818160e01c1861477e57905017600d556000600e55005b6354fd4d508118612d6d576004361061477e5760208060805260066040527f76362e302e31000000000000000000000000000000000000000000000000000060605260408160800181518082526020830160208301815181525050508051806020830101601f82600003163682375050601f19601f8251602001011690509050810190506080f35b63c66106578118612d98576024361061477e576004356001811161477e576002015460405260206040f35b63e2e7d2648118612dc3576024361061477e576004356001811161477e576004015460405260206040f35b63ddca3f438118612de2576004361061477e5760065460405260206040f35b6358680d0b8118612e01576004361061477e5760075460405260206040f35b63e66f43f58118612e20576004361061477e5760085460405260206040f35b635409491a8118612e3f576004361061477e5760095460405260206040f35b63b4b577ad8118612e5e576004361061477e57600a5460405260206040f35b632081066c8118612e7d576004361061477e57600b5460405260206040f35b63140522888118612e9c576004361061477e57600c5460405260206040f35b633495018d8118612ebb576004361061477e57600d5460405260206040f35b6306fdde038118612f40576004361061477e5760208060405280604001600f5480825260208201600082601f0160051c6002811161477e578015612f1257905b80601001548160051b840152600101818118612efb575b505050508051806020830101601f82600003163682375050601f19601f825160200101169050810190506040f35b6395d89b418118612f98576004361061477e576020806040528060400160125480825260208201601354815250508051806020830101601f82600003163682375050601f19601f825160200101169050810190506040f35b6370a082318118612fd3576024361061477e576004358060a01c61477e57604052601460405160205260005260406000205460605260206060f35b63dd62ed3e811861302d576044361061477e576004358060a01c61477e576040526024358060a01c61477e576060526015604051602052600052604060002080606051602052600052604060002090505460805260206080f35b6318160ddd811861304c576004361061477e5760165460405260206040f35b63313ce567811861306a576004361061477e57601260405260206040f35b633644e5158118613089576004361061477e5760175460405260206040f35b637ecebe0081186130c4576024361061477e576004358060a01c61477e57604052601860405160205260005260406000205460605260206060f35b631be913a581186130e3576004361061477e57601a5460405260206040f35b631ddc3b018118613102576004361061477e57601b5460405260206040f35b505b60006000fd5b6fffffffffffffffffffffffffffffffff6040511161477e576fffffffffffffffffffffffffffffffff6060511161477e576060518060801b905060405117815250565b60146040516020526000526040600020805460805180820382811161477e579050905081555060146060516020526000526040600020805460805180820182811061477e57905090508155506060516040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60805160a052602060a0a3565b600e541561323357600a6040527f536574206f7261636c650000000000000000000000000000000000000000000060605260405060405180606001601f826000031636823750506308c379a06000526020602052601f19601f6040510116604401601cfd5b670de0b6b3a7640000604052670de0b6b3a7640000606052600d546080526080511561332b577fffffffff000000000000000000000000000000000000000000000000000000006080511661010052602060e05260e050602061014060e05161010060805173ffffffffffffffffffffffffffffffffffffffff811690508060a01c61477e575afa6132ca573d600060003e3d6000fd5b3d602081183d60201002186101205261012080518060a05260208201805160c05250505060a0511561477e5760605160c05160a05160200360031b1c80820281158383830414171561477e5790509050670de0b6b3a7640000810490506060525b6040518152606051602082015250565b4760045480820382811161477e579050905060405180820382811161477e579050905081526003546370a0823160605230608052602060606024607c845afa613389573d600060003e3d6000fd5b60203d1061477e57606090505160055480820382811161477e5790509050602082015250565b600c54604052600a5460605260405142106133d3576060518152506134d2566134d2565b600954608052600b5460a052608051606051116134625760805160805160605180820382811161477e57905090504260a05180820382811161477e579050905080820281158383830414171561477e579050905060405160a05180820382811161477e5790509050801561477e578082049050905080820382811161477e57905090508152506134d2566134d2565b60805160605160805180820382811161477e57905090504260a05180820382811161477e579050905080820281158383830414171561477e579050905060405160a05180820382811161477e5790509050801561477e578082049050905080820182811061477e57905090508152505b565b60403660c03760006002905b8061010052610100516001811161477e5760051b60400151610100516001811161477e5760051b6080015180820281158383830414171561477e5790509050670de0b6b3a764000081049050610100516001811161477e5760051b60c001526001018181186134e057505060c051815260e051602082015250565b600060a05260006002905b8060051b6040015160c05260a05160c05180820182811061477e579050905060a05260010181811861356657505060a0516135a557600081525061375a565b60a05160c0526080518060011b818160011c1861477e57905060e052600060ff905b806101005260c05160c05180820281158383830414171561477e5790509050604051801561477e578082049050905060c05180820281158383830414171561477e5790509050606051801561477e57808204905090508060021c90506101205260c0516101405260e05160a05180820281158383830414171561477e5790509050606481049050610120518060011b818160011c1861477e57905080820182811061477e579050905060c05180820281158383830414171561477e579050905060e0516064810381811161477e57905060c05180820281158383830414171561477e5790509050606481049050610120516003810281600382041861477e57905080820182811061477e5790509050801561477e578082049050905060c0526101405160c0511161371f5760016101405160c05180820382811161477e5790509050116137485760c051835250505061375a56613748565b600160c0516101405180820382811161477e5790509050116137485760c051835250505061375a565b6001018181186135c757505060006000fd5b565b61016051604052610180516060526101a0516080526101c05160a0526137836102406134d4565b6102408051610200526020810151610220525061020051604052610220516060526101e0516080526137b661024061355b565b61024051815250565b6080518060011b818160011c1861477e57905060c05260a0518060021c905060e05260006002905b806101005260e05160a05180820281158383830414171561477e5790509050610100516001811161477e5760051b60400151801561477e578082049050905060e0526001018181186137e757505060c05160405180820281158383830414171561477e579050905060648104905060e05160405180820281158383830414171561477e5790509050606051801561477e578082049050905080820182811061477e5790509050670de0b6b3a7640000810281670de0b6b3a764000082041861477e57905060c05160405180820281158383830414171561477e579050905060648104905060e05180820182811061477e5790509050801561477e5780820490509050815250565b7ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c160405113613921576000815250613bf0565b680755bf798b4a1bf1e56040511261399057600c6060527f657870206f766572666c6f77000000000000000000000000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b670de0b6b3a764000060405160601b056060526c010000000000000000000000006b8000000000000000000000006bb17217f7d1cf79abc9e3b39860605160601b0501056080526bb17217f7d1cf79abc9e3b39860805102606051036060526c10fe68e7fd37d0007b713f76506060510160a0526d02d16720577bd19bf614176fe9ea6c0100000000000000000000000060605160a05102050160a0526d04a4fd9f2a8b96949216d2255a6c60605160a051010360c0526e0587f503bb6ea29d25fcb7401964506c0100000000000000000000000060a05160c05102050160c05279d835ebba824c98fb31b83b2ca45c00000000000000000000000060605160c051020160c0526060516c240c330e9fb2d9cbaf0fd5aafc810381811361477e57905060e0526d0277594991cfc85f6e2461837cd96c0100000000000000000000000060605160e05102050160e0526d1a521255e34f6a5061b25ef1c9c46c0100000000000000000000000060605160e05102050360e0526db1bbb201f443cf962f1a1d3db4a56c0100000000000000000000000060605160e05102050160e0526e02c72388d9f74f51a9331fed693f156c0100000000000000000000000060605160e05102050360e0526e05180bb14799ab47a8a8cb2a527d576c0100000000000000000000000060605160e05102050160e05274029d9dc38563c32e5c2f6dc192ee70ef65f9978af360e05160c051056000811261477e570260c3608051037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811315613be15781811b613be8565b81816000031c5b905090508152505b565b601b5461010052601954610120526fffffffffffffffffffffffffffffffff6101205116671bc16d674ec80000818118671bc16d674ec8000083100218905061014052610120518060801c905061016052426101005110613c5d5761016051815250613d5956613d59565b426101005180820382811161477e5790509050670de0b6b3a7640000810281670de0b6b3a764000082041861477e579050601a54801561477e57808204905090508060ff1c61477e577f8000000000000000000000000000000000000000000000000000000000000000811461477e57600003604052613cde6101a06138ee565b6101a05161018052610140516101805180670de0b6b3a764000003670de0b6b3a7640000811161477e57905080820281158383830414171561477e5790509050610160516101805180820281158383830414171561477e579050905080820182811061477e5790509050670de0b6b3a7640000810490508152505b565b6101c05115613dae576101c05161022052613d776101e0613bf2565b6101e051610240526102205160405261024051606052613d9861020061310a565b6102005160195542601b541015613dae5742601b555b565b61026051604052610280516060526102a0516080526102c05160a052613dd76102e06137bf565b6102e05161030052610300516101c052613def613d5b565b565b61018051610160511461477e576000610180511261477e576001610180511361477e576000610160511261477e576001610160511361477e576102005161024052610220516102605261022051613e7e57613e4d6102806133af565b61028051610240526101c0516040526101e05160605261024051608052613e7561028061355b565b61028051610260525b60603661028037610260516102e052610240518060011b818160011c1861477e5790506103005260006002905b8061032052610160516103205118613eca576101a0516102a052613ef8565b610180516103205114613f5457610320516001811161477e5760051b6101c001516102a052613ef856613f54565b610280516102a05180820182811061477e5790509050610280526102e0516102605180820281158383830414171561477e57905090506102a0518060011b818160011c1861477e579050801561477e57808204905090506102e0525b600101818118613eab5750506102e0516102605180820281158383830414171561477e57905090506064810281606482041861477e579050610300518060011b818160011c1861477e579050801561477e57808204905090506102e05261028051610260516064810281606482041861477e57905061030051801561477e578082049050905080820182811061477e5790509050610320526102605161034052600060ff905b8061036052610340516102c052610340516103405180820281158383830414171561477e57905090506102e05180820182811061477e5790509050610340518060011b818160011c1861477e5790506103205180820182811061477e57905090506102605180820382811161477e5790509050801561477e5780820490509050610340526102c05161034051116140ba5760016102c0516103405180820382811161477e5790509050116140e5576103405183525050506140f7566140e5565b6001610340516102c05180820382811161477e5790509050116140e5576103405183525050506140f7565b600101818118613ffa57505060006000fd5b565b60006060511261477e5760016060511361477e5760603660e03760c051610140526040518060011b818160011c1861477e5790506101605260006002905b806101805260605161018051146141c157610180516001811161477e5760051b6080015161010052614168566141c1565b60e0516101005180820182811061477e579050905060e0526101405160c05180820281158383830414171561477e5790509050610100518060011b818160011c1861477e579050801561477e5780820490509050610140525b6001018181186141375750506101405160c05180820281158383830414171561477e57905090506064810281606482041861477e579050610160518060011b818160011c1861477e579050801561477e57808204905090506101405260e05160c0516064810281606482041861477e57905061016051801561477e578082049050905080820182811061477e57905090506101805260c0516101a052600060ff905b806101c0526101a051610120526101a0516101a05180820281158383830414171561477e57905090506101405180820182811061477e57905090506101a0518060011b818160011c1861477e5790506101805180820182811061477e579050905060c05180820382811161477e5790509050801561477e57808204905090506101a052610120516101a05111614322576001610120516101a05180820382811161477e57905090501161434d576101a051835250505061435f5661434d565b60016101a0516101205180820382811161477e57905090501161434d576101a051835250505061435f565b60010181811861426357505060006000fd5b565b61436c6102406133af565b610240516102205261437f6102806131ce565b610280805161024052602081015161026052506102405161034052610260516103605260006040526143b26102c061333b565b6102c080516103805260208101516103a052506103405160405261036051606052610380516080526103a05160a0526143ec6103006134d4565b61030080516102805260208101516102a05250610280516040526102a0516060526102205160805261441f6102e061355b565b6102e0516102c0526016546102e0526102c0516101e0516102c05180820281158383830414171561477e57905090506102e051801561477e578082049050905080820382811161477e5790509050610300526102205160405261020051606052610280516080526102a05160a0526103005160c05261449f6103406140f9565b61034051610320526006548060011b818160011c1861477e5790508060021c9050610340526040366103603760006002905b806103a05260006103c0526103a0516001811161477e5760051b61028001516103e052610200516103a05118614549576103e0516103005180820281158383830414171561477e57905090506102c051801561477e57808204905090506103205180820382811161477e57905090506103c05261458d565b6103e0516103e0516103005180820281158383830414171561477e57905090506102c051801561477e578082049050905080820382811161477e57905090506103c0525b6103e051610340516103c05180820281158383830414171561477e57905090506402540be4008104905080820382811161477e57905090506103a0516001811161477e5760051b61036001526001018181186144d1575050610200516001811161477e5760051b61036001516102205160405261020051606052610360516080526103805160a0526103005160c0526146276103c06140f9565b6103c05180820382811161477e57905090506103a052610200516001811161477e5760051b61028001516103205180820382811161477e5790509050670de0b6b3a7640000810281670de0b6b3a764000082041861477e579050610200516001811161477e5760051b6102400151801561477e57808204905090506103c0526103a0516001810381811161477e579050670de0b6b3a7640000810281670de0b6b3a764000082041861477e579050610200516001811161477e5760051b6102400151801561477e57808204905090506103a05261032051610200516001811161477e5760051b610280015260006103e052610320511561475157610280516040526102a051606052610220516080526103005160a0526147486104006137bf565b610400516103e0525b6103a05181526103c0516103a05180820382811161477e579050905060208201526103e051604082015250565b600080fda165767970657283000307000b005b600080fd
Deployed Bytecode
0x6003361161000c57613104565b60003560e01c630b4c7e4d811861002f576064361061477e573361032052610052565b630c3e4b54811861061e576084361061477e576064358060a01c61477e57610320525b60005460021461477e57600260005561006c6103606133af565b6103605161034052346040526100836103a061333b565b6103a0805161036052602081015161038052506100a16103e06131ce565b6103e080516103a05260208101516103c052506103a051610160526103c05161018052610360516101a052610380516101c052610340516101e0526100e761040061375c565b610400516103e052601654610400526103605161042052610380516104405260006002905b8061046052610460516001811161477e5760051b60040135610480526104005161013a57610480511561477e575b610460516001811161477e5760051b6104200180516104805180820182811061477e579050905081525060010181811861010c5750506103a051610160526103c05161018052610420516101a052610440516101c052610340516101e0526101a361048061375c565b61048051610460526103e05161046051111561477e57606036610480376104005115610440576006548060011b818160011c1861477e5790508060021c90506104e05260006002905b806105005261046051610500516001811161477e5760051b610360015180820281158383830414171561477e57905090506103e051801561477e578082049050905061052052600061054052610500516001811161477e5760051b61042001516105605261056051610520511161027c57610560516105205180820382811161477e579050905061054052610297565b610520516105605180820382811161477e5790509050610540525b6104e0516105405180820281158383830414171561477e57905090506402540be40081049050610500516001811161477e5760051b6104800152610500516001811161477e576004018054610500516001811161477e5760051b610480015164012a05f20081028164012a05f20082041861477e5790506402540be4008104905080820182811061477e5790509050815550610500516001811161477e5760051b610420018051610500516001811161477e5760051b610480015180820382811161477e57905090508152506001018181186101ec5750506103a0516040526103c051606052610420516080526104405160a0526103966105406134d4565b610540805161050052602081015161052052506105005160405261052051606052610340516080526103c961056061355b565b610560516105405261040051610540516103e05180820382811161477e579050905080820281158383830414171561477e57905090506103e051801561477e57808204905090506104c05261050051610260526105205161028052610340516102a052610540516102c052610449613db056610449565b610460516104c0525b6044356104c05110156104bc5760146104e0527f536c697070616765207363726577656420796f75000000000000000000000000610500526104e0506104e0518061050001601f826000031636823750506308c379a06104a05260206104c052601f19601f6104e05101166044016104bcfd5b600435341861477e5760243515610544576003546323b872dd6104e052336105005230610520526024356105405260206104e060646104fc6000855af1610508573d600060003e3d6000fd5b3d61051f57803b1561477e57600161056052610538565b60203d1061477e576104e0518060011c61477e57610560525b6105609050511561477e575b610400516104c05180820182811061477e579050905061040052601461032051602052600052604060002080546104c05180820182811061477e5790509050815550610400516016556103205160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6104c0516104e05260206104e0a3337f26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768604060046104e03761048051610520526104a051610540526104605161056052610400516105805260c06104e0a260206104c06003600055f35b633df02124811861063b576084361061477e57336103c05261065e565b63ddc1f59d8118610bbf5760a4361061477e576084358060a01c61477e576103c0525b60043580600f0b811861477e576103805260243580600f0b811861477e576103a05260005460021461477e57600260005561069a6104206131ce565b61042080516103e05260208101516104005250346040526106bc61046061333b565b610460805161042052602081015161044052506103e05160405261040051606052610420516080526104405160a0526106f66104a06134d4565b6104a080516104605260208101516104805250610380516001811161477e5760051b6104600151604435610380516001811161477e5760051b6103e0015180820281158383830414171561477e5790509050670de0b6b3a76400008104905080820182811061477e57905090506104a0526107726104e06133af565b6104e0516104c05261046051604052610480516060526104c05160805261079a61050061355b565b610500516104e05261038051610160526103a051610180526104a0516101a052610460516101c052610480516101e0526104c051610200526104e051610220526107e5610520613df1565b61052051610500526103a0516001811161477e5760051b61046001516105005180820382811161477e57905090506001810381811161477e579050610520526105205160065480820281158383830414171561477e57905090506402540be4008104905061054052610520516105405180820382811161477e5790509050670de0b6b3a7640000810281670de0b6b3a764000082041861477e5790506103a0516001811161477e5760051b6103e00151801561477e57808204905090506105205260643561052051101561093e57602e610560527f45786368616e676520726573756c74656420696e20666577657220636f696e73610580527f207468616e2065787065637465640000000000000000000000000000000000006105a05261056050610560518061058001601f826000031636823750506308c379a061052052602061054052601f19601f61056051011660440161053cfd5b6104a051610380516001811161477e5760051b6104600152610500516103a0516001811161477e5760051b6104600152610460516102605261048051610280526104c0516102a0526104e0516102c052610996613db0565b6105405164012a05f20081028164012a05f20082041861477e5790506402540be40081049050670de0b6b3a7640000810281670de0b6b3a764000082041861477e5790506103a0516001811161477e5760051b6103e00151801561477e5780820490509050610560526105605115610a2f576103a0516001811161477e5760040180546105605180820182811061477e57905090508155505b6003546105805261038051610ac257604435341861477e576105805163a9059cbb6105a0526103c0516105c052610520516105e05260206105a060446105bc6000855af1610a82573d600060003e3d6000fd5b3d610a9957803b1561477e57600161060052610ab2565b60203d1061477e576105a0518060011c61477e57610600525b6106009050511561477e57610b6c565b3461477e57610580516323b872dd6105a052336105c052306105e0526044356106005260206105a060646105bc6000855af1610b03573d600060003e3d6000fd5b3d610b1a57803b1561477e57600161062052610b33565b60203d1061477e576105a0518060011c61477e57610620525b6106209050511561477e5760006105a0526105a050600060006105a0516105c0610520516103c0515af1610b6c573d600060003e3d6000fd5b337f8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140610380516105a0526044356105c0526103a0516105e052610520516106005260806105a0a260206105206003600055f35b3461477e5763a461b3c88118610f1b576101c4361061477e57600435600401602081351161477e5780358060805260208201803560a052505050602435600401600a81351161477e5780358060c05260208201803560e0525050506044358060a01c61477e57610100526064358060a01c61477e57610120526084358060a01c61477e576101405260a4358060a01c61477e576101605260015461477e5732600e5573eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee610100511861477e5760006002905b8061018052670de0b6b3a7640000610180516003811161477e5760051b60c401351861477e57610180516003811161477e5760051b6101000151610180516001811161477e5760020155600101818118610c85575050610144356064810281606482041861477e579050610180526101805160095561018051600a556101643560065533600155610362601a55670de0b6b3a7640000604052670de0b6b3a7640000606052610d356101a061310a565b6101a05160195542601b5560006017610200527f43757276652e666920466163746f727920506f6f6c3a2000000000000000000061022052610200805160208201836102600181518152505080830192505050608051816102600160a051815250808201915050806102405261024090508051806101a05260208201816101c0838360045afa505050506101a05180600f55600081601f0160051c6002811161477e578015610df957905b8060051b6101c001518160100155600101818118610de0575b505050600060c051816102600160e0518152508082019150506002610200527f2d6600000000000000000000000000000000000000000000000000000000000061022052610200805160208201836102600181518152505080830192505050806102405261024090508051806012556020820180516013555050507f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f610220526101a0516101c020610240527f0b9d98da55727756af85ff51e956250f080813d8ad137f20852fe4ea074e6420610260524661028052306102a05260a0610200526102008051602082012090506017553060007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6000610200526020610200a3005b63a9059cbb8118610f5f576044361061477e576004358060a01c61477e5760c0523360405260c051606052602435608052610f5461314e565b600160e052602060e0f35b6323b872dd8118611039576064361061477e576004358060a01c61477e5760c0526024358060a01c61477e5760e05260c05160405260e051606052604435608052610fa861314e565b601560c051602052600052604060002080336020526000526040600020905054610100527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100511461102c576101005160443580820382811161477e5790509050601560c0516020526000526040600020803360205260005260406000209050555b6001610120526020610120f35b63095ea7b381186110b8576044361061477e576004358060a01c61477e576040526024356015336020526000526040600020806040516020526000526040600020905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f35b63d505accf81186113e65760e4361061477e576004358060a01c61477e576040526024358060a01c61477e576060526084358060081c61477e576080526040511561477e57606435421161477e57601860405160205260005260406000205460a0526000600260e0527f19010000000000000000000000000000000000000000000000000000000000006101005260e08051602082018361022001815181525050808301925050506017548161022001526020810190507f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c96101405260405161016052606051610180526044356101a05260a0516101c0526064356101e05260c0610120526101208051602082012090508161022001526020810190508061020052610200905080516020820120905060c0526040513b1561132f576000604060a46101803760406101605261016080516020820183610240018281848460045afa505050808301925050506080516101c0526101c0601f81018051610200525060016101e0526101e090508051602082018361024001815181525050808301925050508061022052610220905080518060e0526020820181610100838360045afa505050507f1626ba7e00000000000000000000000000000000000000000000000000000000604051631626ba7e61016052604060c05161018052806101a052806101800160e0518082526020820181818361010060045afa5050508051806020830101601f82600003163682375050601f19601f82516020010116905081015050602061016060c461017c845afa611317573d600060003e3d6000fd5b60203d1061477e576101609050511861477e57611363565b60405160c05160e0526080516101005260a4356101205260c4356101405260206000608060e060015afa506000511861477e575b6044356015604051602052600052604060002080606051602052600052604060002090505560a0516001810181811061477e57905060186040516020526000526040600020556060516040517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560443560e052602060e0a3600160e052602060e0f35b63fde625e68118611417576004361061477e576fffffffffffffffffffffffffffffffff6019541660405260206040f35b63c24c7c29811861143c576004361061477e576019548060801c905060405260206040f35b63fd0684b18118611461576004361061477e57604061145c6101606131ce565b610160f35b634903b0d1811861149b576024361061477e576020600060405261148560a061333b565b60a06004356001811161477e5760051b81019050f35b63fee3f7f981186114bd576004361061477e5764012a05f20060405260206040f35b63f446c1d081186114ec576004361061477e576114da60c06133af565b60c05160648104905060e052602060e0f35b6376a2f0f0811861150f576004361061477e57602061150b60c06133af565b60c0f35b63f2388acb8118611606576004361061477e5761152d6101806133af565b61018051610160526115406101c06131ce565b6101c080516102805260208101516102a05250600060405261156361020061333b565b61020080516102c05260208101516102e05250610280516040526102a0516060526102c0516080526102e05160a05261159d6102406134d4565b61024080516101805260208101516101a05250610180516040526101a051606052610160516080526115d06101e061355b565b6101e0516101c0526020610180516040526101a051606052610160516080526101c05160a0526116016101e06137bf565b6101e0f35b6386fc88d38118611635576004361061477e5760005460021461477e5760206116306101c0613bf2565b6101c0f35b63bb7b8b808118611745576004361061477e5760005460021461477e5761165d6101806133af565b61018051610160526116706101c06131ce565b6101c080516102805260208101516102a05250600060405261169361020061333b565b61020080516102c05260208101516102e05250610280516040526102a0516060526102c0516080526102e05160a0526116cd6102406134d4565b61024080516101805260208101516101a05250610180516040526101a051606052610160516080526117006101e061355b565b6101e0516101c0526101c051670de0b6b3a7640000810281670de0b6b3a764000082041861477e579050601654801561477e57808204905090506101e05260206101e0f35b63ed8e84f38118611940576064361061477e576044358060011c61477e57610280526117726102c06133af565b6102c0516102a052600060405261178a61030061333b565b61030080516102c05260208101516102e052506117a86103406131ce565b61034080516103005260208101516103205250610300516101605261032051610180526102c0516101a0526102e0516101c0526102a0516101e0526117ee61036061375c565b610360516103405260006002905b8061036052610360516001811161477e5760051b60040135610380526102805161184f57610360516001811161477e5760051b6102c00180516103805180820382811161477e579050905081525061187a565b610360516001811161477e5760051b6102c00180516103805180820182811061477e57905090508152505b6001018181186117fc575050610300516101605261032051610180526102c0516101a0526102e0516101c0526102a0516101e0526118b961038061375c565b6103805161036052600061038052610280516118ee57610340516103605180820382811161477e579050905061038052611909565b610360516103405180820382811161477e5790509050610380525b6103805160165480820281158383830414171561477e579050905061034051801561477e57808204905090506103a05260206103a0f35b635e0d443f8118611b60576064361061477e5760043580600f0b811861477e576103805260243580600f0b811861477e576103a0526119806104006131ce565b61040080516103c05260208101516103e052506103c0516104c0526103e0516104e05260006040526119b361044061333b565b610440805161050052602081015161052052506104c0516040526104e051606052610500516080526105205160a0526119ed6104806134d4565b61048080516104005260208101516104205250610380516001811161477e5760051b6104000151604435610380516001811161477e5760051b6103c0015180820281158383830414171561477e5790509050670de0b6b3a76400008104905080820182811061477e57905090506104405261038051610160526103a05161018052610440516101a052610400516101c052610420516101e05260403661020037611a98610480613df1565b61048051610460526103a0516001811161477e5760051b61040001516104605180820382811161477e57905090506001810381811161477e579050610480526006546104805180820281158383830414171561477e57905090506402540be400810490506104a052610480516104a05180820382811161477e5790509050670de0b6b3a7640000810281670de0b6b3a764000082041861477e5790506103a0516001811161477e5760051b6103c00151801561477e57808204905090506104c05260206104c0f35b635b36389c8118611b7c576064361061477e573360a052611b9e565b633eb1719f8118611e59576084361061477e576064358060a01c61477e5760a0525b60005460021461477e57600260005560165460c0526000604052611bc361012061333b565b610120805160e0526020810151610100525060006002905b8061012052610120516001811161477e5760051b60e0015160043580820281158383830414171561477e579050905060c051801561477e578082049050905061014052610120516001811161477e5760051b60240135610140511015611cc6576030610160527f5769746864726177616c20726573756c74656420696e20666577657220636f69610180527f6e73207468616e206578706563746564000000000000000000000000000000006101a05261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b61014051610120516001811161477e5760051b60e0015261012051611d16576000610160526101605060006000610160516101806101405160a0515af1611d8b573d600060003e3d6000fd611d8b565b60035463a9059cbb6101605260a05161018052610140516101a0526020610160604461017c6000855af1611d4f573d600060003e3d6000fd5b3d611d6657803b1561477e5760016101c052611d7f565b60203d1061477e57610160518060011c61477e576101c0525b6101c09050511561477e575b600101818118611bdb57505060c05160043580820382811161477e579050905060c0526014336020526000526040600020805460043580820382811161477e579050905081555060c0516016556000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600435610120526020610120a3337f7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c60e0516101205261010051610140526040366101603760c0516101a05260a0610120a2604060e06003600055f35b63e31032738118611e76576064361061477e573361032052611e99565b6352d2cfdd8118612464576084361061477e576064358060a01c61477e57610320525b60005460021461477e576002600055611eb36103606133af565b6103605161034052611ec66103a06131ce565b6103a0805161036052602081015161038052506000604052611ee96103e061333b565b6103e080516103a05260208101516103c05250610360516101605261038051610180526103a0516101a0526103c0516101c052610340516101e052611f2f61040061375c565b610400516103e0526103a051610400526103c0516104205260006002905b8061044052610440516001811161477e5760051b610400018051610440516001811161477e5760051b6004013580820382811161477e5790509050815250600101818118611f4d57505061036051610160526103805161018052610400516101a052610420516101c052610340516101e052611fca61046061375c565b6104605161044052604036610460376006548060011b818160011c1861477e5790508060021c90506104a05260006002905b806104c052610440516104c0516001811161477e5760051b6103a0015180820281158383830414171561477e57905090506103e051801561477e57808204905090506104e0526000610500526104c0516001811161477e5760051b610400015161052052610520516104e0511161208c57610520516104e05180820382811161477e5790509050610500526120a7565b6104e0516105205180820382811161477e5790509050610500525b6104a0516105005180820281158383830414171561477e57905090506402540be400810490506104c0516001811161477e5760051b61046001526104c0516001811161477e5760040180546104c0516001811161477e5760051b610460015164012a05f20081028164012a05f20082041861477e5790506402540be4008104905080820182811061477e57905090508155506104c0516001811161477e5760051b6104000180516104c0516001811161477e5760051b610460015180820382811161477e5790509050815250600101818118611ffc5750506103605160405261038051606052610400516080526104205160a0526121a66104c06134d4565b6104c0805161040052602081015161042052506104005160405261042051606052610340516080526121d96104e061355b565b6104e0516104c05261040051610260526104205161028052610340516102a0526104c0516102c052612209613db0565b6016546104e0526103e0516104c05180820382811161477e57905090506104e05180820281158383830414171561477e57905090506103e051801561477e57808204905090506001810181811061477e579050610500526002610500511061477e576044356105005111156122de576014610520527f536c697070616765207363726577656420796f750000000000000000000000006105405261052050610520518061054001601f826000031636823750506308c379a06104e052602061050052601f19601f6105205101166044016104fcfd5b6104e0516105005180820382811161477e57905090506104e0526104e051601655601433602052600052604060002080546105005180820382811161477e57905090508155506000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61050051610520526020610520a36004351561238b57600061052052610520506000600061052051610540600435610320515af161238b573d600060003e3d6000fd5b602435156124085760035463a9059cbb610520526103205161054052602435610560526020610520604461053c6000855af16123cc573d600060003e3d6000fd5b3d6123e357803b1561477e576001610580526123fc565b60203d1061477e57610520518060011c61477e57610580525b6105809050511561477e575b337f2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e604060046105203761046051610560526104805161058052610440516105a0526104e0516105c05260c0610520a260206105006003600055f35b63cc2b27d781186124a9576044361061477e5760243580600f0b811861477e576104205260206004356101e05261042051610200526124a4610440614361565b610440f35b631a4d01d281186124c6576064361061477e5733610440526124e9565b63081579a58118612779576084361061477e576064358060a01c61477e57610440525b60243580600f0b811861477e576104205260005460021461477e5760026000556004356101e05261042051610200526125236104c0614361565b6104c080516104605260208101516104805260408101516104a052506044356104605110156125b25760186104c0527f4e6f7420656e6f75676820636f696e732072656d6f76656400000000000000006104e0526104c0506104c051806104e001601f826000031636823750506308c379a06104805260206104a052601f19601f6104c051011660440161049cfd5b610420516001811161477e5760040180546104805164012a05f20081028164012a05f20082041861477e5790506402540be4008104905080820182811061477e579050905081555060165460043580820382811161477e57905090506104c0526104c0516016556014336020526000526040600020805460043580820382811161477e57905090508155506000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6004356104e05260206104e0a3610420516126a85760006104e0526104e050600060006104e05161050061046051610440515af161271e573d600060003e3d6000fd61271e565b60035463a9059cbb6104e0526104405161050052610460516105205260206104e060446104fc6000855af16126e2573d600060003e3d6000fd5b3d6126f957803b1561477e57600161054052612712565b60203d1061477e576104e0518060011c61477e57610540525b6105409050511561477e575b337f5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a06004356104e05261046051610500526104c0516105205260606104e0a26104a0516101c05261276d613d5b565b60206104606003600055f35b633c157e6481186128e8576044361061477e5760015463f851a44060c052602060c0600460dc845afa6127b1573d600060003e3d6000fd5b60203d1061477e5760c0518060a01c61477e5761010052610100905051331861477e57600b5462015180810181811061477e579050421061477e574262015180810181811061477e5790506024351061477e5761280e60e06133af565b60e05160c0526004356064810281606482041861477e57905060e0526004351561284057620f423f6004351115612843565b60005b1561477e5760c05160e051106128735760c051600a810281600a82041861477e57905060e0511161477e5761288f565b60c05160e051600a810281600a82041861477e5790501061477e575b60c05160095560e051600a5542600b55602435600c557fa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c25460c0516101005260e051610120524261014052602435610160526080610100a1005b63551a6588811861299a576004361061477e5760015463f851a44060c052602060c0600460dc845afa612920573d600060003e3d6000fd5b60203d1061477e5760c0518060a01c61477e5761010052610100905051331861477e5761294d60e06133af565b60e05160c05260c05160095560c051600a5542600b5542600c557f46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc20193860c05160e0524261010052604060e0a1005b6330c540858118612aaf576004361061477e5760015463154aa8f560605230608052602060606024607c845afa6129d6573d600060003e3d6000fd5b60203d1061477e576060518060a01c61477e5760a05260a090505160405260045460605260605115612a2a5760006080526080506000600060805160a06060516040515af1612a2a573d600060003e3d6000fd5b60055460605260605115612aa35760035463a9059cbb60805260405160a05260605160c052602060806044609c6000855af1612a6b573d600060003e3d6000fd5b3d612a8157803b1561477e57600160e052612a98565b60203d1061477e576080518060011c61477e5760e0525b60e09050511561477e575b60006004556000600555005b63a48eac9d8118612b64576024361061477e5760015463f851a440604052602060406004605c845afa612ae7573d600060003e3d6000fd5b60203d1061477e576040518060a01c61477e576080526080905051331861477e5764012a05f2006004351161477e5760085461477e57600435600755426203f480810181811061477e5790506008557f878eb36b3f197f05821c06953d9bc8f14b332a227b1e26df06a4215bbfe5d73f60043560405260206040a1005b634f12fe978118612c1d576004361061477e5760015463f851a440604052602060406004605c845afa612b9c573d600060003e3d6000fd5b60203d1061477e576040518060a01c61477e576080526080905051331861477e5760085460405260405115612bd657604051421015612bd9565b60005b1561477e5760075460605260605160065560006008557fa8715770654f54603947addf38c689adbd7182e21673b28bcf306a957aaba21560605160805260206080a1005b637f3e17cb8118612c86576024361061477e5760015463f851a440604052602060406004605c845afa612c55573d600060003e3d6000fd5b60203d1061477e576040518060a01c61477e576080526080905051331861477e576004351561477e57600435601a55005b63d1d24d498118612ce5576044361061477e576004358060201b61477e576040526024358060a01c61477e57606052600e54331861477e576060516040518060e01c90508060e01b818160e01c1861477e57905017600d556000600e55005b6354fd4d508118612d6d576004361061477e5760208060805260066040527f76362e302e31000000000000000000000000000000000000000000000000000060605260408160800181518082526020830160208301815181525050508051806020830101601f82600003163682375050601f19601f8251602001011690509050810190506080f35b63c66106578118612d98576024361061477e576004356001811161477e576002015460405260206040f35b63e2e7d2648118612dc3576024361061477e576004356001811161477e576004015460405260206040f35b63ddca3f438118612de2576004361061477e5760065460405260206040f35b6358680d0b8118612e01576004361061477e5760075460405260206040f35b63e66f43f58118612e20576004361061477e5760085460405260206040f35b635409491a8118612e3f576004361061477e5760095460405260206040f35b63b4b577ad8118612e5e576004361061477e57600a5460405260206040f35b632081066c8118612e7d576004361061477e57600b5460405260206040f35b63140522888118612e9c576004361061477e57600c5460405260206040f35b633495018d8118612ebb576004361061477e57600d5460405260206040f35b6306fdde038118612f40576004361061477e5760208060405280604001600f5480825260208201600082601f0160051c6002811161477e578015612f1257905b80601001548160051b840152600101818118612efb575b505050508051806020830101601f82600003163682375050601f19601f825160200101169050810190506040f35b6395d89b418118612f98576004361061477e576020806040528060400160125480825260208201601354815250508051806020830101601f82600003163682375050601f19601f825160200101169050810190506040f35b6370a082318118612fd3576024361061477e576004358060a01c61477e57604052601460405160205260005260406000205460605260206060f35b63dd62ed3e811861302d576044361061477e576004358060a01c61477e576040526024358060a01c61477e576060526015604051602052600052604060002080606051602052600052604060002090505460805260206080f35b6318160ddd811861304c576004361061477e5760165460405260206040f35b63313ce567811861306a576004361061477e57601260405260206040f35b633644e5158118613089576004361061477e5760175460405260206040f35b637ecebe0081186130c4576024361061477e576004358060a01c61477e57604052601860405160205260005260406000205460605260206060f35b631be913a581186130e3576004361061477e57601a5460405260206040f35b631ddc3b018118613102576004361061477e57601b5460405260206040f35b505b60006000fd5b6fffffffffffffffffffffffffffffffff6040511161477e576fffffffffffffffffffffffffffffffff6060511161477e576060518060801b905060405117815250565b60146040516020526000526040600020805460805180820382811161477e579050905081555060146060516020526000526040600020805460805180820182811061477e57905090508155506060516040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60805160a052602060a0a3565b600e541561323357600a6040527f536574206f7261636c650000000000000000000000000000000000000000000060605260405060405180606001601f826000031636823750506308c379a06000526020602052601f19601f6040510116604401601cfd5b670de0b6b3a7640000604052670de0b6b3a7640000606052600d546080526080511561332b577fffffffff000000000000000000000000000000000000000000000000000000006080511661010052602060e05260e050602061014060e05161010060805173ffffffffffffffffffffffffffffffffffffffff811690508060a01c61477e575afa6132ca573d600060003e3d6000fd5b3d602081183d60201002186101205261012080518060a05260208201805160c05250505060a0511561477e5760605160c05160a05160200360031b1c80820281158383830414171561477e5790509050670de0b6b3a7640000810490506060525b6040518152606051602082015250565b4760045480820382811161477e579050905060405180820382811161477e579050905081526003546370a0823160605230608052602060606024607c845afa613389573d600060003e3d6000fd5b60203d1061477e57606090505160055480820382811161477e5790509050602082015250565b600c54604052600a5460605260405142106133d3576060518152506134d2566134d2565b600954608052600b5460a052608051606051116134625760805160805160605180820382811161477e57905090504260a05180820382811161477e579050905080820281158383830414171561477e579050905060405160a05180820382811161477e5790509050801561477e578082049050905080820382811161477e57905090508152506134d2566134d2565b60805160605160805180820382811161477e57905090504260a05180820382811161477e579050905080820281158383830414171561477e579050905060405160a05180820382811161477e5790509050801561477e578082049050905080820182811061477e57905090508152505b565b60403660c03760006002905b8061010052610100516001811161477e5760051b60400151610100516001811161477e5760051b6080015180820281158383830414171561477e5790509050670de0b6b3a764000081049050610100516001811161477e5760051b60c001526001018181186134e057505060c051815260e051602082015250565b600060a05260006002905b8060051b6040015160c05260a05160c05180820182811061477e579050905060a05260010181811861356657505060a0516135a557600081525061375a565b60a05160c0526080518060011b818160011c1861477e57905060e052600060ff905b806101005260c05160c05180820281158383830414171561477e5790509050604051801561477e578082049050905060c05180820281158383830414171561477e5790509050606051801561477e57808204905090508060021c90506101205260c0516101405260e05160a05180820281158383830414171561477e5790509050606481049050610120518060011b818160011c1861477e57905080820182811061477e579050905060c05180820281158383830414171561477e579050905060e0516064810381811161477e57905060c05180820281158383830414171561477e5790509050606481049050610120516003810281600382041861477e57905080820182811061477e5790509050801561477e578082049050905060c0526101405160c0511161371f5760016101405160c05180820382811161477e5790509050116137485760c051835250505061375a56613748565b600160c0516101405180820382811161477e5790509050116137485760c051835250505061375a565b6001018181186135c757505060006000fd5b565b61016051604052610180516060526101a0516080526101c05160a0526137836102406134d4565b6102408051610200526020810151610220525061020051604052610220516060526101e0516080526137b661024061355b565b61024051815250565b6080518060011b818160011c1861477e57905060c05260a0518060021c905060e05260006002905b806101005260e05160a05180820281158383830414171561477e5790509050610100516001811161477e5760051b60400151801561477e578082049050905060e0526001018181186137e757505060c05160405180820281158383830414171561477e579050905060648104905060e05160405180820281158383830414171561477e5790509050606051801561477e578082049050905080820182811061477e5790509050670de0b6b3a7640000810281670de0b6b3a764000082041861477e57905060c05160405180820281158383830414171561477e579050905060648104905060e05180820182811061477e5790509050801561477e5780820490509050815250565b7ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c160405113613921576000815250613bf0565b680755bf798b4a1bf1e56040511261399057600c6060527f657870206f766572666c6f77000000000000000000000000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b670de0b6b3a764000060405160601b056060526c010000000000000000000000006b8000000000000000000000006bb17217f7d1cf79abc9e3b39860605160601b0501056080526bb17217f7d1cf79abc9e3b39860805102606051036060526c10fe68e7fd37d0007b713f76506060510160a0526d02d16720577bd19bf614176fe9ea6c0100000000000000000000000060605160a05102050160a0526d04a4fd9f2a8b96949216d2255a6c60605160a051010360c0526e0587f503bb6ea29d25fcb7401964506c0100000000000000000000000060a05160c05102050160c05279d835ebba824c98fb31b83b2ca45c00000000000000000000000060605160c051020160c0526060516c240c330e9fb2d9cbaf0fd5aafc810381811361477e57905060e0526d0277594991cfc85f6e2461837cd96c0100000000000000000000000060605160e05102050160e0526d1a521255e34f6a5061b25ef1c9c46c0100000000000000000000000060605160e05102050360e0526db1bbb201f443cf962f1a1d3db4a56c0100000000000000000000000060605160e05102050160e0526e02c72388d9f74f51a9331fed693f156c0100000000000000000000000060605160e05102050360e0526e05180bb14799ab47a8a8cb2a527d576c0100000000000000000000000060605160e05102050160e05274029d9dc38563c32e5c2f6dc192ee70ef65f9978af360e05160c051056000811261477e570260c3608051037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811315613be15781811b613be8565b81816000031c5b905090508152505b565b601b5461010052601954610120526fffffffffffffffffffffffffffffffff6101205116671bc16d674ec80000818118671bc16d674ec8000083100218905061014052610120518060801c905061016052426101005110613c5d5761016051815250613d5956613d59565b426101005180820382811161477e5790509050670de0b6b3a7640000810281670de0b6b3a764000082041861477e579050601a54801561477e57808204905090508060ff1c61477e577f8000000000000000000000000000000000000000000000000000000000000000811461477e57600003604052613cde6101a06138ee565b6101a05161018052610140516101805180670de0b6b3a764000003670de0b6b3a7640000811161477e57905080820281158383830414171561477e5790509050610160516101805180820281158383830414171561477e579050905080820182811061477e5790509050670de0b6b3a7640000810490508152505b565b6101c05115613dae576101c05161022052613d776101e0613bf2565b6101e051610240526102205160405261024051606052613d9861020061310a565b6102005160195542601b541015613dae5742601b555b565b61026051604052610280516060526102a0516080526102c05160a052613dd76102e06137bf565b6102e05161030052610300516101c052613def613d5b565b565b61018051610160511461477e576000610180511261477e576001610180511361477e576000610160511261477e576001610160511361477e576102005161024052610220516102605261022051613e7e57613e4d6102806133af565b61028051610240526101c0516040526101e05160605261024051608052613e7561028061355b565b61028051610260525b60603661028037610260516102e052610240518060011b818160011c1861477e5790506103005260006002905b8061032052610160516103205118613eca576101a0516102a052613ef8565b610180516103205114613f5457610320516001811161477e5760051b6101c001516102a052613ef856613f54565b610280516102a05180820182811061477e5790509050610280526102e0516102605180820281158383830414171561477e57905090506102a0518060011b818160011c1861477e579050801561477e57808204905090506102e0525b600101818118613eab5750506102e0516102605180820281158383830414171561477e57905090506064810281606482041861477e579050610300518060011b818160011c1861477e579050801561477e57808204905090506102e05261028051610260516064810281606482041861477e57905061030051801561477e578082049050905080820182811061477e5790509050610320526102605161034052600060ff905b8061036052610340516102c052610340516103405180820281158383830414171561477e57905090506102e05180820182811061477e5790509050610340518060011b818160011c1861477e5790506103205180820182811061477e57905090506102605180820382811161477e5790509050801561477e5780820490509050610340526102c05161034051116140ba5760016102c0516103405180820382811161477e5790509050116140e5576103405183525050506140f7566140e5565b6001610340516102c05180820382811161477e5790509050116140e5576103405183525050506140f7565b600101818118613ffa57505060006000fd5b565b60006060511261477e5760016060511361477e5760603660e03760c051610140526040518060011b818160011c1861477e5790506101605260006002905b806101805260605161018051146141c157610180516001811161477e5760051b6080015161010052614168566141c1565b60e0516101005180820182811061477e579050905060e0526101405160c05180820281158383830414171561477e5790509050610100518060011b818160011c1861477e579050801561477e5780820490509050610140525b6001018181186141375750506101405160c05180820281158383830414171561477e57905090506064810281606482041861477e579050610160518060011b818160011c1861477e579050801561477e57808204905090506101405260e05160c0516064810281606482041861477e57905061016051801561477e578082049050905080820182811061477e57905090506101805260c0516101a052600060ff905b806101c0526101a051610120526101a0516101a05180820281158383830414171561477e57905090506101405180820182811061477e57905090506101a0518060011b818160011c1861477e5790506101805180820182811061477e579050905060c05180820382811161477e5790509050801561477e57808204905090506101a052610120516101a05111614322576001610120516101a05180820382811161477e57905090501161434d576101a051835250505061435f5661434d565b60016101a0516101205180820382811161477e57905090501161434d576101a051835250505061435f565b60010181811861426357505060006000fd5b565b61436c6102406133af565b610240516102205261437f6102806131ce565b610280805161024052602081015161026052506102405161034052610260516103605260006040526143b26102c061333b565b6102c080516103805260208101516103a052506103405160405261036051606052610380516080526103a05160a0526143ec6103006134d4565b61030080516102805260208101516102a05250610280516040526102a0516060526102205160805261441f6102e061355b565b6102e0516102c0526016546102e0526102c0516101e0516102c05180820281158383830414171561477e57905090506102e051801561477e578082049050905080820382811161477e5790509050610300526102205160405261020051606052610280516080526102a05160a0526103005160c05261449f6103406140f9565b61034051610320526006548060011b818160011c1861477e5790508060021c9050610340526040366103603760006002905b806103a05260006103c0526103a0516001811161477e5760051b61028001516103e052610200516103a05118614549576103e0516103005180820281158383830414171561477e57905090506102c051801561477e57808204905090506103205180820382811161477e57905090506103c05261458d565b6103e0516103e0516103005180820281158383830414171561477e57905090506102c051801561477e578082049050905080820382811161477e57905090506103c0525b6103e051610340516103c05180820281158383830414171561477e57905090506402540be4008104905080820382811161477e57905090506103a0516001811161477e5760051b61036001526001018181186144d1575050610200516001811161477e5760051b61036001516102205160405261020051606052610360516080526103805160a0526103005160c0526146276103c06140f9565b6103c05180820382811161477e57905090506103a052610200516001811161477e5760051b61028001516103205180820382811161477e5790509050670de0b6b3a7640000810281670de0b6b3a764000082041861477e579050610200516001811161477e5760051b6102400151801561477e57808204905090506103c0526103a0516001810381811161477e579050670de0b6b3a7640000810281670de0b6b3a764000082041861477e579050610200516001811161477e5760051b6102400151801561477e57808204905090506103a05261032051610200516001811161477e5760051b610280015260006103e052610320511561475157610280516040526102a051606052610220516080526103005160a0526147486104006137bf565b610400516103e0525b6103a05181526103c0516103a05180820382811161477e579050905060208201526103e051604082015250565b600080fda165767970657283000307000b
Loading...
Loading
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
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.