types

package
v0.36.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ModuleName is the name of the module
	ModuleName = "ante"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiSig added in v0.21.0

type MultiSig interface {
	GetNextKeyID(ctx sdk.Context, chain nexus.ChainName) (multisig.KeyID, bool)
	GetActiveKeyIDs(ctx sdk.Context, chain nexus.ChainName) []multisig.KeyID
	GetKey(ctx sdk.Context, keyID multisig.KeyID) (multisig.Key, bool)
}

MultiSig provides access to the multisig functionality

type Nexus

type Nexus interface {
	GetChains(ctx sdk.Context) []nexus.Chain
	IsChainActivated(ctx sdk.Context, chain nexus.Chain) bool
}

Nexus provides access to the nexus functionality

type Permission added in v0.9.0

type Permission interface {
	GetRole(ctx sdk.Context, address sdk.AccAddress) permission.Role
}

Permission provides access to the permission functionality

type Reward added in v0.9.0

type Reward interface {
	SetPendingRefund(ctx sdk.Context, req rewardtypes.RefundMsgRequest, refund rewardtypes.Refund) error
}

Reward provides access to the reward functionality

type Snapshotter

type Snapshotter interface {
	GetOperator(ctx sdk.Context, proxy sdk.AccAddress) sdk.ValAddress
	GetProxy(ctx sdk.Context, operator sdk.ValAddress) (sdk.AccAddress, bool)
}

Snapshotter provides access to the snapshot functionality

type Staking

type Staking interface {
	Validator(ctx sdk.Context, addr sdk.ValAddress) stakingtypes.ValidatorI
}

Staking adopts the methods from "github.com/cosmos/cosmos-sdk/x/staking/exported" that are actually used by this module

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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