Skip to content

Commit

Permalink
Merge pull request #237 from osmosis-labs/UpdatePoolCreationFee
Browse files Browse the repository at this point in the history
Update Pool Creation Fee, and minor updates
  • Loading branch information
JeremyParish69 authored Jan 3, 2024
2 parents 5ba7a4f + 53837b7 commit 2380468
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 30 deletions.
4 changes: 2 additions & 2 deletions docs/osmosis-core/modules/gamm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Pools have the following parameters:
This allows pool governance to smoothly change the weights of the assets it holds in the pool. So it can slowly move from a 2:1 ratio, to a 1:1 ratio.
Currently, smooth weight changes are implemented as a linear change in weight ratios over a given duration of time. So weights changed from 4:1 to 2:2 over 2 days, then at day 1 of the change, the weights would be 3:1.5, and at day 2 its 2:2, and will remain at these weight ratios.

The GAMM module also has a **PoolCreationFee** parameter, which currently is set to `400000000 uosmo` or `400 OSMO`.
The GAMM module also has a **PoolCreationFee** parameter, which currently is set to `100000000 uusdc` or `100 USDC`.

[comment]: `<>` (TODO Add better description of how the weights affect things)

Expand Down Expand Up @@ -283,7 +283,7 @@ The configuration json file contains the following parameters:
:::

::: warning
There is now a 400 OSMO fee for creating pools.
There is now a 100 USDC fee for creating pools.
:::

### Join pool
Expand Down
1 change: 0 additions & 1 deletion docs/overview/educate/osmo.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@ Further details can be seen in the [Superfluid module specifications](/osmosis-c
## Other Fees
The OSMO token is required as fees for several tasks on chain to prevent spam and encourage considered usage of features. All fees paid go to the Community Pool.

* Creating a pool: 400 OSMO
* Adding External Incentives to a pool: 50 OSMO
* Topping up External Incentives on an existing stream: 25 OSMO
15 changes: 8 additions & 7 deletions docs/overview/integrate/pool-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ There are several different types of liquidity pools on Osmosis, each with uniqu
- Supercharged Liquidity (Concentrated Liquidity) Pool, and
- CosmWasm Pools (e.g., Transmuter and Alloyed Assets)

Note: As of [Proposal 669](https://www.mintscan.io/osmosis/proposals/669), the Pool Creation Fee is 400 OSMO
Note: As of [Proposal 699](https://www.mintscan.io/osmosis/proposals/699), the Pool Creation Fee is 100 USDC.

Note: Sometimes there is no way to find the Pool ID of a pool via a block explorer using the transaction hash. osmosisd CLI will show the Pool ID of the new pool in response when creating the pool via CLI; otherwise, the only way to get a Pool ID is to search among the most recently created pools, or else look on a list (that shows Pool ID) of all pools for matching specifications.

Expand Down Expand Up @@ -44,7 +44,7 @@ To create a Classic Pool on Osmosis via the Osmosis Zone app:
- Enter a >0 amount of each token to add to the pool upon creation
- Next
- Set Swap Fee
- Tick ‘I understand that creating a new pool will cost 400 OSMO
- Tick ‘I understand that creating a new pool will cost 100 USDC
- Create Pool
- Continue to approve the transaction with the connected wallet.

Expand Down Expand Up @@ -104,7 +104,7 @@ To create a Stableswap Pool on Osmosis via the Osmosis Zone app:
- Next
- Set Swap Fee
- Set scaling factor controller (optional)<sup>2</sup>
- Tick ‘I understand that creating a new pool will cost 400 OSMO
- Tick ‘I understand that creating a new pool will cost 100 USDC.
- Create Pool
- Continue to approve the transaction with the connected wallet.

Expand Down Expand Up @@ -177,13 +177,14 @@ There are recommendations for creating CL pools:

- As mentioned in the help text, denom-1 (the quote denom), tick spacing, and spread factors must all be authorized by the concentrated liquidity module, and these can be confirmed by querying the chain: `osmosisd query concentratedliquidity params`
- denom-1: Must be from a set of authorized ‘quote’ assets, which, as of writing, are:
- uosmo (OSMO)
- ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2 (ATOM)
- ibc/0CD3A0285E1341859B5E86B6AB7682F023D03E97607CCC1DC95706411D866DF7 (DAI.axl)
- ibc/498A0751C798A0D9A389AA3691123DADA57DAA4FE165D5C75894505B876BA6E4 (noble.USDC)
- ibc/4ABBEF4C8926DDDB320AE5188CFD63267ABBCEFC0583E4AE05D6E5AA2401DDAB (kava.USDT)
- ibc/0CD3A0285E1341859B5E86B6AB7682F023D03E97607CCC1DC95706411D866DF7 (DAI.axl)
- ibc/EA1D43981D5C9A1C4AAEA9C23BB1D4FA126BA9BC7020A25E0AE4AA841EA25DC5 (wETH.axl)
- ibc/D1542AA8762DB13087D8364F3EA6509FD6F009A34F00426AF9E4F9FA85CBBF1F (WBTC.axl)
- factory/osmo1z0qrq605sjgcqpylfl4aa6s90x738j7m58wyatt0tdzflg2ha26q67k743/wbtc (WBTC)
- ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2 (ATOM)
- ibc/D79E7D83AB399BFFF93433E54FAA480C191248FC556924A2A8351AE2638B3877 (TIA)
- uosmo (OSMO)
- ...and on Testnet (osmo-test-5) are:
- uosmo (OSMO)
- ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477 (ATOM)
Expand Down
33 changes: 13 additions & 20 deletions docs/overview/integrate/registration.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Assets need to be registered in several locations in order to be displayed corre
# Prerequisites

- Registered to [SLIP173](https://github.com/satoshilabs/slips/blob/master/slip-0173.md)
- See: [How to register a bech32 prefix onto SLIP173](../integrate/transfer.md#how-to-register-a-bech32-prefix-onto-slip173)
- See: [How to register a bech32 prefix onto SLIP173](https://docs.osmosis.zone/overview/integrate/transfer#register-a-bech32-prefix-onto-slip173)
- If coin type is not like ATOM, registered to [SLIP44](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)
- Note: Coin Type 118 represents the Cosmos Hub's ATOM token, registered listed in [SLIP44](https://github.com/satoshilabs/slips/blob/master/slip-0044.md); many projects also default to using this coin type, while some have registered their own.

Expand Down Expand Up @@ -54,13 +54,13 @@ The Osmosis Assetlists Registry is used as a local source of truth for assets di
### Prerequisites

- Registered onto the Cosmos Chain Registry
- See: [How to register onto the Cosmos Chain Registry](../integrate/registration.md#how-to-register-onto-the-cosmos-chain-registry)
- See: [How to register onto the Cosmos Chain Registry](https://docs.osmosis.zone/overview/integrate/registration#step-1-register-onto-the-cosmos-chain-registry)
- Opened IBC connection between the source chain and Osmosis
- Selected a sole desigate IBC connection between the registering chain and Osmosis for this asset
- All native assets from a chain should go through a single connection, but CW20 tokens can be sent through another connection
- See: [Enabling IBC transfers](../integrate/registration.md#enabling-ibc-transfers) and [Setting up and operating relayer to Osmosis](../integrate/registration.md#setting-up-and-operating-relayer-to-osmosis)
- See: [Enabling IBC transfers](https://docs.osmosis.zone/overview/integrate/transfer#enabling-ibc-transfers) and [Setting up and operating relayer to Osmosis](https://docs.osmosis.zone/overview/integrate/transfer#setting-up-and-operating-a-relayer-to-osmosis)
- There is a liquidity pool on Osmosis.
- See: [GAMM Module: Create pool](../../osmosis-core/modules/gamm/#create-pool) for the CLI command to create a pool
- See: [Pool Setup Guide](https://docs.osmosis.zone/overview/integrate/pool-setup) for the CLI command to create a pool
- Assets listed on CoinGecko (optional)
- See: [How to enlist assets onto CoinGecko](../integrate/registration.md#how-to-enlist-an-asset-onto-coingecko)

Expand Down Expand Up @@ -95,12 +95,12 @@ The Osmosis Assetlists Registry is used as a local source of truth for assets di
Chain Data

- Chain registered onto the Cosmos Chain Registry
- See: [How to register onto the Cosmos Chain Registry](https://docs.osmosis.zone/integrate/registration.html#how-to-register-onto-the-cosmos-chain-registry)
- See: [How to register onto the Cosmos Chain Registry](https://docs.osmosis.zone/overview/integrate/registration#step-1-register-onto-the-cosmos-chain-registry)
- Chain registered onto SLIP173
- See: [How to Register onto SLIP173](https://docs.osmosis.zone/integrate/registration.html#how-to-register-a-bech32-prefix-onto-slip173)
- See: [How to Register onto SLIP173](https://docs.osmosis.zone/overview/integrate/transfer#register-a-bech32-prefix-onto-slip173)
- Relayer(s) set up to relay packets between chains
- To set up a relayer, see the [Relaying Guide](https://docs.osmosis.zone/developing/relaying/relay.html)
- Don't want to set up a Relayer? See: [Shop for a Relayer as a Service (RAAS) Provider](https://docs.osmosis.zone/developing/relaying/relayers.html)
- To set up a relayer, see the [Relaying Guide](https://docs.osmosis.zone/osmosis-core/relaying/relayer-guide)
- Don't want to set up a Relayer? See: [Shop for a Relayer as a Service (RAAS) Provider](https://docs.osmosis.zone/osmosis-core/relaying/ibc-relayers-list)
- IBC token transfer has been validated
- Or else a functioning Bridge between Chains (only if regular IBC transfers are not possible)
- Chain has a block explorer, either:
Expand All @@ -110,12 +110,9 @@ Chain Data
Asset Data

- Asset registered onto the Cosmos Chain Registry
- See: [How to register onto the Cosmos Chain Registry](https://docs.osmosis.zone/integrate/registration.html#how-to-register-onto-the-cosmos-chain-registry)
- Asset price oracle added to Osmosis Zone (co-requisite)
- See: [How to Specify Asset Price Oracle on Osmosis Zone (CoinGecko)](https://docs.osmosis.zone/integrate/frontend.html#how-to-specify-asset-price-oracle-on-osmosis-zone-coingecko)
- See: [How to Specify Asset Price Oracle on Osmosis Zone (Liquidity Pool)](https://docs.osmosis.zone/integrate/frontend.html#how-to-specify-asset-price-oracle-on-osmosis-zone-liquidity-pool)
- Asset registered onto the Osmosis Assetlists Registry (post-requisite)
- See: [How to register an Asset onto the Osmosis Assetlists Registry](https://docs.osmosis.zone/integrate/registration.html#how-to-register-an-asset-onto-the-osmosis-assetlists-registry)
- See: [How to register onto the Cosmos Chain Registry](https://docs.osmosis.zone/overview/integrate/registration#step-1-register-onto-the-cosmos-chain-registry)
- Asset registered onto the Osmosis Assetlists Registry
- See: [How to register an Asset onto the Osmosis Assetlists Registry](https://docs.osmosis.zone/overview/integrate/registration#step-2-register-an-asset-onto-the-osmosis-assetlists-registry)

### Requirements

Expand Down Expand Up @@ -147,10 +144,6 @@ Asset Data
- Asset Price data (if available), either:
- CoinGecko ID (optional, but should be included if and when one exists), or
- Refer to the latest [CoinGecko Coins List](https://api.coingecko.com/api/v3/coins/list)
- `pool:<coin minimal denomination>` (default alternative, if no CoinGecko ID exists yet), or
- The alternatives should only be used if there is an acceptable pool with the new asset
- See: [How to Specify Asset Price Oracle on Osmosis Zone (Liquidity Pool)](https://docs.osmosis.zone/integrate/frontend.html#how-to-specify-asset-price-oracle-on-osmosis-zone-liquidity-pool)
- none
- Token Logo Image files (both .png and .svg is recommended)
- Note: Currently, a .png is required to be able to render on info.osmosis.zone
- Note: image files shall be titled exactly with the token Symbol in lowercase. E.g., for 'ATOM', title the files `atom.png` and `atom.svg`
Expand Down Expand Up @@ -319,7 +312,7 @@ From [coingecko.com/en/methodology](https://www.coingecko.com/en/methodology):
- Working block explorer
- Listed on at least one (1) active exchanges where CoinGecko is integrated with.
- Note: Because Osmosis is integrated with CoinGecko, this will automatically be fullfilled once a Liquidity Pool containing the new Asset is created on Osmosis.
- See: [How to Add an Asset onto the Osmosis Assets Page](../integrate/frontend.md#how-to-add-an-asset-onto-the-osmosis-assets-page)
- See: [How to Add an Asset onto the Osmosis Assets Page](https://docs.osmosis.zone/overview/integrate/registration#step-3-register-an-asset-on-the-osmosis-frontend-repository)

### Requirements

Expand Down Expand Up @@ -351,7 +344,7 @@ This procedure will set up the default asset pricing mechanism for an asset to s
#### Pre-requisites

- Asset is in a Pool
- See: [How to create a Liquidity Pool](https://docs.osmosis.zone/developing/modules/spec-gamm.html#create-pool)
- See: [Pool Setup Guide](https://docs.osmosis.zone/overview/integrate/pool-setup)
- Pool containing Asset is acceptable
- The criteria for 'acceptable' pools are *roughly* as follows:
- Contains only 2 tokens
Expand Down

1 comment on commit 2380468

@vercel
Copy link

@vercel vercel bot commented on 2380468 Jan 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.