V4Planner
@uniswap/v4-sdk / V4Planner
Defined in: utils/v4Planner.ts:167
Extended by
Constructors
new V4Planner()
new V4Planner():
V4Planner
Defined in: utils/v4Planner.ts:171
Returns
Properties
actions
actions:
string
Defined in: utils/v4Planner.ts:168
params
params:
string
[]
Defined in: utils/v4Planner.ts:169
Methods
addAction()
addAction(
type
,parameters
):V4Planner
Defined in: utils/v4Planner.ts:176
Parameters
Parameter | Type |
---|---|
type | Actions |
parameters | any [] |
Returns
addSettle()
addSettle(
currency
,payerIsUser
,amount
?):V4Planner
Defined in: utils/v4Planner.ts:213
Parameters
Parameter | Type |
---|---|
currency | Currency |
payerIsUser | boolean |
amount ? | BigNumber |
Returns
addTake()
addTake(
currency
,recipient
,amount
?):V4Planner
Defined in: utils/v4Planner.ts:218
Parameters
Parameter | Type |
---|---|
currency | Currency |
recipient | string |
amount ? | BigNumber |
Returns
addTrade()
addTrade(
trade
,slippageTolerance
?):V4Planner
Defined in: utils/v4Planner.ts:183
Parameters
Parameter | Type |
---|---|
trade | Trade <Currency , Currency , TradeType > |
slippageTolerance ? | Percent |
Returns
finalize()
finalize():
string
Defined in: utils/v4Planner.ts:224
Returns
string