IApproveAndCall
Last updated
Last updated
Lens to be called off-chain to determine which (if any) of the relevant approval functions should be called
Parameters
Name | Type | Description |
---|---|---|
Returns
Name | Type | Description |
---|---|---|
Approves a token for the maximum possible amount
Parameters
Name | Type | Description |
---|---|---|
Approves a token for the maximum possible amount minus one
Parameters
Approves a token for zero, then the maximum possible amount
Parameters
Approves a token for zero, then the maximum possible amount minus one
Parameters
Calls the position manager with arbitrary calldata
Parameters
Returns
Calls the position manager's mint function
Parameters
Returns
Calls the position manager's increaseLiquidity function
Parameters
Returns
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
token
address
The token to approve
amount
uint256
The amount to approve
<none>
ApprovalType
The required approval type
token
address
The token to approve
token
address
The token to approve
token
address
The token to approve
token
address
The token to approve
data
bytes
Calldata to pass along to the position manager
result
bytes
The result from the call
params
MintParams
Calldata to pass along to the position manager
result
bytes
The result from the call
params
IncreaseLiquidityParams
Calldata to pass along to the position manager
result
bytes
The result from the call