Create pool
For general pool creation, use the create_pool
function in the pool_v3
module.
public fun create_pool(
token_a: Object<Metadata>,
token_b: Object<Metadata>,
fee_tier: u8,
tick: u32,
): Object<LiquidityPoolV3> {
...
}
Function params
token_a
: The token A object to add liquiditytoken_b
: The token B object to add liquidityfee_tier
: fee_iter will affect price precision, they correspond to different fee rates.tick
: initiailize price for pool
The White Paper is for informational purposes only. Nothing in the White Paper constitutes legal, financial or tax advice. Its content may be updated from time to time without express notice. You should seek your own professional advice before engaging in any activity in connection with Hyperion. See Legal Disclaimer.
Last updated