ArrakisV2Resolver
Helper contract that resolves payloads for ArrakisV2 vault functions
Last updated
Helper contract that resolves payloads for ArrakisV2 vault functions
Last updated
name | type | description |
---|---|---|
name | type | description |
---|---|---|
resolve ArrakisV2.mint
function mintAmount
parameter, also returns expected amount0
and amount1
to be transferred to the vault on mint call.
name | type | description |
---|---|---|
resolve ArrakisV2.rebalance
function rebalance
parameters, for a canonical rebalance without swapping.
name | type | description |
---|---|---|
name | type | description |
---|---|---|
name | type | description |
---|---|---|
factory
address
UniswapV3Factory contract address
helper
address
ArrakisV2Helper contract address
range
Range
range to deposit liquidity into (see ArrakisV2
structs)
weight
uint256
relative weight to deposit in this range, denoted in basis points (an array of weights must sum to 10000 or less)
vaultV2
address
ArrakisV2 vault address
amount0Max
uint256
Maximum amount of token0 willing to deposit
amount1Max
uint256
Maximum amount of token1 willing to deposit
amount0
uint256
Expected amount of token0 to deposit
amount1
uint256
Expected amount of token1 to deposit
mintAmount
uint256
amount of ArrakisV2 shares to mint
rangeWeights
RangeWeight[]
Relative weights for distributing leftover liquidity into ranges
vaultV2
address
ArrakisV2 vault address
rebalance
Rebalance
Struct containing all rebalance information (see ArrakisV2
structs)