Pablo Pallet Extrinsics

Create

create

Create a new pool.

Emits PoolCreated event when successful.

Buy

buy

Execute a buy order on pool.

Emits Swapped event when successful.

Sell

sell

Execute a sell order on pool.

Emits Swapped event when successful.

Swap

swap

Execute a specific swap operation.

The quote_amount is always the quote asset amount (A/B => B), (B/A => A).

Emits Swapped event when successful.

Add Liquidity

add_liquidity

Add liquidity to the given pool.

Emits LiquidityAdded event when successful.

Remove Liquidity

remove_liquidity

Remove liquidity from the given pool.

Emits LiquidityRemoved event when successful.

Enable Twap

enable_twap

No documentation available at this time.