types

package
v0.2.0-gridiron Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

type SimRollapp

type SimRollapp struct {
	// rollappId is the unique identifier of the rollapp chain.
	// The rollappId follows the same standard as cosmos chain_id.
	RollappId string
	// maxSequencers is the maximum number of sequencers.
	MaxSequencers uint64
	// permissionedAddresses is a bech32-encoded address list of the
	// sequencers that are allowed to serve this rollappId.
	// In the case of an empty list, the rollapp is considered permissionless.
	PermissionedAddresses []string
	// Sequencers is a list of indexes of sequencers in
	// GlobalSequencerAddressesList by joining order
	Sequencers []int
	// LastHeight is the last updated rollapp height
	LastHeight uint64
	// LastCreationHeight is the last block height that an update was created in
	LastCreationHeight uint64
}

type SimSequencer

type SimSequencer struct {
	// Account is the account of the sequencer account.
	Account simtypes.Account
	// creator is the bech32-encoded address of the account sent the transaction (sequencer creator)
	Creator string
	// RollappIndex is the index of the rollapp in GlobalRollappList
	RollappIndex int
}

Jump to

Keyboard shortcuts

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