v25

package
v26.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpgradeName = "v25"

	// Noble USDC is used as the auction denom
	AuctionUSDCDenom = "ibc/498A0751C798A0D9A389AA3691123DADA57DAA4FE165D5C75894505B876BA6E4"

	NewMaxAgeNumBlocks = int64(1_000_000)      // 1.5s blocks * 1_000_000 = 1.5M seconds > 2 weeks
	NewMaxAgeDuration  = time.Second * 1209600 // 2 weeks

	// MaximumUnauthenticatedGas for smart account transactions to verify the fee payer
	MaximumUnauthenticatedGas = uint64(120_000)

	// IsSmartAccountActive is used for the smart account circuit breaker, smartaccounts are deactivated for v25
	IsSmartAccountActive = false

	// CircuitBreakerController is a DAODAO address, used only to deactivate the smart account module
	// https://daodao.zone/dao/osmo1wn58hxkv0869ua7qmz3gvek3sz773l89a778fjqvenl6anwuhgnq6ks7kl/home
	CircuitBreakerController = "osmo1wn58hxkv0869ua7qmz3gvek3sz773l89a778fjqvenl6anwuhgnq6ks7kl"
)

UpgradeName defines the on-chain upgrade name for the Osmosis v25 upgrade.

Variables

View Source
var AuctionParams = auctiontypes.Params{
	MaxBundleSize:          5,
	ReserveFee:             sdk.NewCoin(AuctionUSDCDenom, osmomath.NewInt(1000000)),
	MinBidIncrement:        sdk.NewCoin(AuctionUSDCDenom, osmomath.NewInt(1000000)),
	EscrowAccountAddress:   auctiontypes.DefaultEscrowAccountAddress,
	FrontRunningProtection: true,
	ProposerFee:            osmomath.MustNewDecFromStr("0.05"),
}

AuctionParams expected initial params for the block-sdk

View Source
var Upgrade = upgrades.Upgrade{
	UpgradeName:          UpgradeName,
	CreateUpgradeHandler: CreateUpgradeHandler,
	StoreUpgrades: store.StoreUpgrades{
		Added: []string{
			auctiontypes.StoreKey,
			smartaccounttypes.StoreKey,
		},
		Deleted: []string{},
	},
}

Functions

Types

This section is empty.

Jump to

Keyboard shortcuts

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