stakingplus

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 15 Imported by: 0 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

View Source
var (
	ErrInvalidLengthAuthz        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAuthz          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAuthz = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterInterfaces added in v0.46.0

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec added in v0.46.0

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers the necessary x/authz interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.

Types

type CreateValidatorAuthorization added in v0.46.0

type CreateValidatorAuthorization struct {
	// redundant, but good for the query.
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}

CreateValidatorAuthorization allows the grantee to create a new validator.

func (CreateValidatorAuthorization) Accept added in v0.46.0

func (*CreateValidatorAuthorization) Descriptor added in v0.46.0

func (*CreateValidatorAuthorization) Descriptor() ([]byte, []int)

func (*CreateValidatorAuthorization) GetValidatorAddress added in v0.46.0

func (m *CreateValidatorAuthorization) GetValidatorAddress() string

func (*CreateValidatorAuthorization) Marshal added in v0.46.0

func (m *CreateValidatorAuthorization) Marshal() (dAtA []byte, err error)

func (*CreateValidatorAuthorization) MarshalTo added in v0.46.0

func (m *CreateValidatorAuthorization) MarshalTo(dAtA []byte) (int, error)

func (*CreateValidatorAuthorization) MarshalToSizedBuffer added in v0.46.0

func (m *CreateValidatorAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (CreateValidatorAuthorization) MsgTypeURL added in v0.46.0

func (a CreateValidatorAuthorization) MsgTypeURL() string

func (*CreateValidatorAuthorization) ProtoMessage added in v0.46.0

func (*CreateValidatorAuthorization) ProtoMessage()

func (*CreateValidatorAuthorization) Reset added in v0.46.0

func (m *CreateValidatorAuthorization) Reset()

func (*CreateValidatorAuthorization) Size added in v0.46.0

func (m *CreateValidatorAuthorization) Size() (n int)

func (*CreateValidatorAuthorization) String added in v0.46.0

func (*CreateValidatorAuthorization) Unmarshal added in v0.46.0

func (m *CreateValidatorAuthorization) Unmarshal(dAtA []byte) error

func (CreateValidatorAuthorization) ValidateBasic added in v0.46.0

func (a CreateValidatorAuthorization) ValidateBasic() error

func (*CreateValidatorAuthorization) XXX_DiscardUnknown added in v0.46.0

func (m *CreateValidatorAuthorization) XXX_DiscardUnknown()

func (*CreateValidatorAuthorization) XXX_Marshal added in v0.46.0

func (m *CreateValidatorAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateValidatorAuthorization) XXX_Merge added in v0.46.0

func (m *CreateValidatorAuthorization) XXX_Merge(src proto.Message)

func (*CreateValidatorAuthorization) XXX_Size added in v0.46.0

func (m *CreateValidatorAuthorization) XXX_Size() int

func (*CreateValidatorAuthorization) XXX_Unmarshal added in v0.46.0

func (m *CreateValidatorAuthorization) XXX_Unmarshal(b []byte) error

type FoundationKeeper added in v0.46.0

type FoundationKeeper interface {
	Accept(ctx sdk.Context, grantee sdk.AccAddress, msg sdk.Msg) error
}

FoundationKeeper defines the expected foundation keeper

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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