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 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, fee sdk.Coin) error
}
Reward provides access to the reward functionality
type Snapshotter ¶
type Snapshotter interface { GetSnapshot(ctx sdk.Context, counter int64) (snapshot.Snapshot, bool) 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
type Tss ¶
type Tss interface { GetCurrentKeyID(ctx sdk.Context, chain nexus.Chain, keyRole tss.KeyRole) (tss.KeyID, bool) GetNextKeyID(ctx sdk.Context, chain nexus.Chain, keyRole tss.KeyRole) (tss.KeyID, bool) GetSnapshotCounterForKeyID(ctx sdk.Context, keyID tss.KeyID) (int64, bool) GetKeyUnbondingLockingKeyRotationCount(ctx sdk.Context) int64 GetRotationCount(ctx sdk.Context, chain nexus.Chain, keyRole tss.KeyRole) int64 GetKeyByRotationCount(ctx sdk.Context, chain nexus.Chain, keyRole tss.KeyRole, rotationCount int64) (exported.Key, bool) GetOldActiveKeys(ctx sdk.Context, chain nexus.Chain, keyRole tss.KeyRole) ([]tss.Key, error) }
Tss provides access to the tss functionality
Click to show internal directories.
Click to hide internal directories.