UniV3TokenizedLp

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xb8f5e590 at 16402913
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
7 additional variables

No balances found for "UniV3TokenizedLp"

No transactions found for "UniV3TokenizedLp"


Functions
Getter at block 23071860
DEFAULT_BASE_FEE(view returns (uint256)
100000000000000000
DEFAULT_BASE_FEE_SPLIT(view returns (uint256)
500000000000000000
FULL_PERCENT(view returns (uint256)
10000
NULL_ADDRESS(view returns (address)
0x0000000000000000000000000000000000000000
PRECISION(view returns (uint256)
1000000000000000000
affiliate(view returns (address)
0x0000000000000000000000000000000000000000
allowToken0(view returns (bool)
false
allowToken1(view returns (bool)
false
baseBpsRangeLower(view returns (uint256)
0
baseBpsRangeUpper(view returns (uint256)
0
baseFee(view returns (uint256)
0
baseFeeSplit(view returns (uint256)
0
baseLower(view returns (int24)
0
baseUpper(view returns (int24)
0
 
currentTick(view returns (int24 tick)
decimals(view returns (uint8)
18
deposit0Max(view returns (uint256)
0
deposit1Max(view returns (uint256)
0
feeRecipient(view returns (address)
0x0000000000000000000000000000000000000000
 
getBasePosition(view returns (uint128 liquidityuint256 amount0uint256 amount1)
 
getCurrentSqrtPriceX96(view returns (uint160 sqrtPriceX96)
 
getTimeWeightedSqrtPriceX96(view returns (uint160 sqrtPriceX96)
 
getTotalAmounts(view returns (uint256 total0uint256 total1)
hysteresis(view returns (uint256)
0
name(view returns (string)
owner(view returns (address)
0x63aaa6867d0697de09cf7050c045c44dea8a5455
pool(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
tickSpacing(view returns (int24)
0
token0(view returns (address)
0x0000000000000000000000000000000000000000
token1(view returns (address)
0x0000000000000000000000000000000000000000
totalSupply(view returns (uint256)
0
usdOracle0Ref(view returns (address)
0x0000000000000000000000000000000000000000
usdOracle1Ref(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allowance(address owneraddress spenderview returns (uint256)
approvedRebalancer(addressview returns (bool)
balanceOf(address accountview returns (uint256)
fetchOracle(address tokenIn_address tokenOut_uint256 amountIn_view returns (uint256 amountOut)
fetchSpot(address _tokenInaddress _tokenOutuint256 _amountInview returns (uint256 amountOut)
State-modifying
approve(address spenderuint256 amountreturns (bool)
autoRebalance(bool withSwappingreturns (int256 amount0int256 amount1)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256 deposit0uint256 deposit1address toreturns (uint256 shares)
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _poolbool _allowToken0bool _allowToken1address _usdOracle0Refaddress _usdOracle1Ref
rebalance(int24 _baseLowerint24 _baseUpperint256 swapQuantity
renounceOwnership(
setAffiliate(address _affiliate
setApprovedRebalancer(address accountbool approved
setBaseBpsRanges(uint256 baseBpsRangeLower_uint256 baseBpsRangeUpper_
setBaseFee(uint256 _baseFee
setBaseFeeSplit(uint256 _baseFeeSplit
setDepositMax(uint256 _deposit0Maxuint256 _deposit1Max
setFeeRecipient(address _feeRecipient
setHysteresis(uint256 _hysteresis
setUsdOracles(address usdOracle0Ref_address usdOracle1Ref_
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
transferOwnership(address newOwner
uniswapV3MintCallback(uint256 amount0uint256 amount1bytes data
uniswapV3SwapCallback(int256 amount0Deltaint256 amount1Deltabytes data
withdraw(uint256 sharesaddress toreturns (uint256 amount0uint256 amount1)
Events
Affiliate(address affiliate
Approval(address indexed owneraddress indexed spenderuint256 value
ApprovedRebalancer(address rebalancerbool isApproved
BaseBpsRanges(uint256 baseBpsRangeLoweruint256 baseBpsRangeUpper
BaseFee(uint256 baseFee
BaseFeeSplit(uint256 baseFeeSplit
DeployUniV3TokenizedLp(address indexed poolbool allowToken0bool allowToken1address owneraddress usdOracle0Refaddress usdOracle1Ref
Deposit(address indexed senderaddress indexed touint256 sharesuint256 amount0uint256 amount1
DepositMax(uint256 deposit0Maxuint256 deposit1Max
FeeRecipient(address feeRecipient
Hysteresis(uint256 hysteresis
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Rebalance(int24 tickuint256 totalAmount0uint256 totalAmount1uint256 feeAmount0uint256 feeAmount1uint256 totalSupply
Transfer(address indexed fromaddress indexed touint256 value
UsdOracleReferences(address usd0RefOracleaddress usd1RefOracle
Withdraw(address indexed senderaddress indexed touint256 sharesuint256 amount0uint256 amount1
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
UniV3TokenizedLp_BasePositionInvalid(
UniV3TokenizedLp_FeeMustBeLtePrecision(
UniV3TokenizedLp_InvalidBaseBpsRange(
UniV3TokenizedLp_LimitPositionInvalid(
UniV3TokenizedLp_MoreThanMaxDeposit(
UniV3TokenizedLp_MustBePool(uint256 line
UniV3TokenizedLp_NoAllowedTokens(
UniV3TokenizedLp_NoDepositOrWithdrawLoop(
UniV3TokenizedLp_NotAllowed(
UniV3TokenizedLp_PoolLocked(
UniV3TokenizedLp_PositionOutOfRange(
UniV3TokenizedLp_SetBaseTicksViaRebalanceFirst(
UniV3TokenizedLp_SplitMustBeLtePrecision(
UniV3TokenizedLp_Token0NotAllowed(
UniV3TokenizedLp_Token1NotAllowed(
UniV3TokenizedLp_UnexpectedBurn(
UniV3TokenizedLp_UnsafeCast(
UniV3TokenizedLp_ZeroAddress(
UniV3TokenizedLp_ZeroValue(
UniV3TokenizedLp_alreadyInitialized(
UniV3TokenizedLp_failedToQueryPool(
UniV3TokenizedLp_invalidSlot0Size(