You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mid_fee is the lower bound and out_fee is the upper bound
To determine exact fee contract needs swap size and denom_in parameters in get_swap_fee query. Specially because we can only show the right fee when simulating the swap. Worth to note that fee settings are permissionless and pool creator is free to choose wte they want (ofc in reasonable limits).
Acceptance Criteria
Decide on what fee to return for astroport PCL cosmwasm pools
tuple range of low and high)
Dynamically simulated one
Average between low and high ???
implement and test the chosen approach
The text was updated successfully, but these errors were encountered:
Astroport PCL pools have a dynamic fee
For pool 1572, it might vary 0.05% - 0.2%
However, currently, the contract simply returns zero from the standard Cosmwasm pool
GetSwapFee
API.This is what SQS propagates to the clients as well.
Instead, we could compute the fee from parameters with the
{"config":{}}
query.https://celatone.osmosis.zone/osmosis-1/query?contract=osmo16glf5aswrkzgf9ung6wkemq0yrz77rwwf9hrggm3nw62z5w2w9psxw5cur&msg=ewogICJjb25maWciOiB7fQp9
Mid_fee is the lower bound and out_fee is the upper bound
To determine exact fee contract needs swap size and denom_in parameters in get_swap_fee query. Specially because we can only show the right fee when simulating the swap. Worth to note that fee settings are permissionless and pool creator is free to choose wte they want (ofc in reasonable limits).
Acceptance Criteria
The text was updated successfully, but these errors were encountered: