Documentation ¶
Index ¶
- Constants
- func AddStTiaRateLimit(ctx sdk.Context, k ratelimitkeeper.Keeper) error
- func CreateUpgradeHandler(mm *module.Manager, configurator module.Configurator, cdc codec.Codec, ...) upgradetypes.UpgradeHandler
- func MigrateRateLimitModule(ctx sdk.Context, k ratelimitkeeper.Keeper)
- func SetWasmPermissions(ctx sdk.Context, wk wasmkeeper.Keeper) error
Constants ¶
View Source
const ( UpgradeName = "v19" StTiaDenom = "stutia" RateLimitDurationHours = 24 CelestiaTransferChannelId = "channel-162" OsmosisTransferChannelId = "channel-5" NeutronTransferChannelId = "channel-123" WasmAdmin = "stride159smvptpq6evq0x6jmca6t8y7j8xmwj6kxapyh" )
Variables ¶
This section is empty.
Functions ¶
func AddStTiaRateLimit ¶
func AddStTiaRateLimit(ctx sdk.Context, k ratelimitkeeper.Keeper) error
Add a 10% rate limit for stTIA to Celestia and Osmosis
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, cdc codec.Codec, ratelimitKeeper ratelimitkeeper.Keeper, wasmKeeper wasmkeeper.Keeper, ) upgradetypes.UpgradeHandler
CreateUpgradeHandler creates an SDK upgrade handler for v19
func MigrateRateLimitModule ¶
func MigrateRateLimitModule(ctx sdk.Context, k ratelimitkeeper.Keeper)
Migrate the rate limit module to the open sourced version The module has the same store key so all the rate limit types can remain unchanged The only required change is to create the new epoch type that's used instead of the epochs module
func SetWasmPermissions ¶
func SetWasmPermissions(ctx sdk.Context, wk wasmkeeper.Keeper) error
Update wasm params so that contracts can only be uploaded through governance
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.