PushOperations
Last updated
Last updated
Inherits: Payment, IPushOperations
Exactinput router operations that can be performed by pushing assets to the pool to swap.
Perform an exact input single swap with compressed input values.
Perform an exact input single swap without tick limit check.
Parameters
Name | Type | Description |
---|---|---|
Perform an exact input multi-hop swap.
Parameters
Name | Type | Description |
---|---|---|
recipient
address
The address of the recipient.
pool
IMaverickV2Pool
The Maverick V2 pool to swap with.
tokenAIn
bool
True is tokenA is the input token. False is tokenB is the input token.
amountIn
uint256
The amount of input tokens.
amountOutMinimum
uint256
The minimum amount of output tokens expected.
recipient
address
The address of the recipient.
path
bytes
The path of tokens to swap.
amountIn
uint256
The amount of input tokens.
amountOutMinimum
uint256
The minimum amount of output tokens expected.