v25

package
v25.0.0-testnet Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UpgradeName = "v25"

	// Redemption rate bounds updated to give ~3 months of slack on outer bounds
	RedemptionRateOuterMinAdjustment = sdk.MustNewDecFromStr("0.05")
	RedemptionRateOuterMaxAdjustment = sdk.MustNewDecFromStr("0.10")

	// Osmosis will have a slighly larger buffer with the redemption rate
	// since their yield is less predictable
	OsmosisChainId              = "osmosis-1"
	OsmosisRedemptionRateBuffer = sdk.MustNewDecFromStr("0.02")

	// Inner redemption rate adjustment variables
	RedemptionRateInnerAdjustment = sdk.MustNewDecFromStr("0.001")

	// Info for failed LSM record
	CosmosChainId         = "cosmoshub-4"
	FailedLSMDepositDenom = "cosmosvaloper1yh089p0cre4nhpdqw35uzde5amg3qzexkeggdn/59223"
)
View Source
var (
	CommunityPoolGrowthAddress = "stride1lj0m72d70qerts9ksrsphy9nmsd4h0s88ll9gfphmhemh8ewet5qj44jc9"
	BnocsCustodian             = "stride1ff875h5plrnyumhm3cezn85dj4hzjzjqpz99mg"
	BnocsProposalAmount        = sdk.NewInt(17_857_000_000)
	Ustrd                      = "ustrd"
)
View Source
var Validators = []struct {
	address string
	name    string
	weight  uint64
}{
	{/* contains filtered or unexported fields */},
}

Functions

func AddCelestiaValidators

func AddCelestiaValidators(ctx sdk.Context, k stakeibckeeper.Keeper) error

Adds the full celestia validator set, with a 0 delegation for each

func CreateUpgradeHandler

func CreateUpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	bankKeeper bankkeeper.Keeper,
	recordsKeeper recordskeeper.Keeper,
	stakeibcKeeper stakeibckeeper.Keeper,
	staketiaKeeper staketiakeeper.Keeper,
) upgradetypes.UpgradeHandler

CreateUpgradeHandler creates an SDK upgrade handler for v25

func ExecuteProp256

func ExecuteProp256(ctx sdk.Context, k bankkeeper.Keeper) error

Execute Prop #256 - Signaling proposal to give a grant to Bnocs Sends 17,857 STRD from "Community Pool - Growth" to Bnocs recipient address See more here: https://www.mintscan.io/stride/proposals/256 And here: https://common.xyz/stride/discussion/25922-proposal-for-grant-bnocscom-dashboard-for-the-stride-ecosystem

func ResetLSMRecord

func ResetLSMRecord(ctx sdk.Context, k recordskeeper.Keeper)

Reset the failed LSM detokenization record status and decrement the amount by 1 so that it will succeed on the retry

func UpdateCelestiaInnerBounds

func UpdateCelestiaInnerBounds(ctx sdk.Context, k stakeibckeeper.Keeper)

Tighten Celestia's inner bounds as a safety measure

func UpdateRedemptionRateBounds

func UpdateRedemptionRateBounds(ctx sdk.Context, k stakeibckeeper.Keeper)

Updates the outer redemption rate bounds

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL