osmosis
osmosis copied to clipboard
Exempt addresses on `UnrestrictedPoolCreatorWhitelist` from pool creation fees
Background
Osmosis charges 100 USDC for pool creation to the community pool. This is a spam prevention measure, as well as a barrier to pool creation that may not be valuable to have on chain. I.e. Pairings and Parameters should be considered to return the pool creator the fee in value.
Osmosis governance has the ability to whitelist addresses to create Supercharged pools while ignoring the Quote asset restriction: This was implemented here: #6420
As these addresses should have been approved by governance to have the discretion to make non-standard pairings, this whitelist should also exclude these addresses from being charged the 100 USDC pool creation fee.
Suggested Design
Add a check during pool creation to see if the creation address is on the UnrestrictedPoolCreatorWhitelist
, if so then do not charge the pool creation fee.
Acceptance Criteria
Addresses on the whitelist can create pools without being charged Addresses not on the whitelist are still charged when creating a pool.