Documentation ¶
Index ¶
- Constants
- func AddHourEpoch(ctx sdk.Context, k epochskeeper.Keeper)
- func AddICAHostAllowMessages(ctx sdk.Context, k icahostkeeper.Keeper)
- func AddRedemptionRateSafetyChecks(ctx sdk.Context, k stakeibckeeper.Keeper)
- func CreateRewardCollectorModuleAccount(ctx sdk.Context, k authkeeper.AccountKeeper) error
- func CreateUpgradeHandler(mm *module.Manager, configurator module.Configurator, cdc codec.Codec, ...) upgradetypes.UpgradeHandler
- func ExecuteProp153(ctx sdk.Context, k bankkeeper.Keeper) error
- func IncreaseStrideInflation(ctx sdk.Context, k mintkeeper.Keeper)
- func ModifyJunoUnbondingFrequency(ctx sdk.Context, k stakeibckeeper.Keeper) error
Constants ¶
const ( STRDProp153SendAmount = 3_000_000_000_000 UpgradeName = "v7" Ustrd = "ustrd" IncentiveProgramAddress = "stride1tlxk4as9sgpqkh42cfaxqja0mdj6qculqshy0gg3glazmrnx3y8s8gsvqk" StrideFoundationAddress_F4 = "stride1yz3mp7c2m739nftfrv5r3h6j64aqp95f3degpf" )
Amount to be sent from the incentive program to the Stride Foundation for the incentive diversification proposal. The 3M STRD will be swapped to USDC.
Variables ¶
This section is empty.
Functions ¶
func AddHourEpoch ¶
func AddHourEpoch(ctx sdk.Context, k epochskeeper.Keeper)
Add a new hourly epoch that will be used by the rate limit module
func AddICAHostAllowMessages ¶
func AddICAHostAllowMessages(ctx sdk.Context, k icahostkeeper.Keeper)
Add stride messages (LiquidStake, RedeemStake, Claim) to the ICAHost allow messages to allow other protocols to liquid stake via ICA
func AddRedemptionRateSafetyChecks ¶
func AddRedemptionRateSafetyChecks(ctx sdk.Context, k stakeibckeeper.Keeper)
Add the min/max redemption rate to each host zone as safety bounds, using the default for each Also set the Halted boolean to false
func CreateRewardCollectorModuleAccount ¶
func CreateRewardCollectorModuleAccount(ctx sdk.Context, k authkeeper.AccountKeeper) error
Create reward collector module account for Prop #8
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, cdc codec.Codec, accountKeeper authkeeper.AccountKeeper, bankKeeper bankkeeper.Keeper, epochsKeeper epochskeeper.Keeper, icahostKeeper icahostkeeper.Keeper, mintKeeper mintkeeper.Keeper, stakeibcKeeper stakeibckeeper.Keeper, ) upgradetypes.UpgradeHandler
CreateUpgradeHandler creates an SDK upgrade handler for v7
func ExecuteProp153 ¶
func ExecuteProp153(ctx sdk.Context, k bankkeeper.Keeper) error
Incentive diversification (Prop #153) - Send 3M STRD from Incentive Program to Stride Foundation so that it can be swapped for USDC and deployed as incentives The 3M STRD will be swapped to USDC.
func IncreaseStrideInflation ¶
func IncreaseStrideInflation(ctx sdk.Context, k mintkeeper.Keeper)
Increase stride inflation from 285 STRD to 1078 STRD
func ModifyJunoUnbondingFrequency ¶
func ModifyJunoUnbondingFrequency(ctx sdk.Context, k stakeibckeeper.Keeper) error
Update the unbonding frequency of juno to 5 to align with the 28 day unbonding period
Types ¶
This section is empty.