stakingplus

package
v0.46.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

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)

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 {
	GetEnabled(ctx sdk.Context) bool
	Accept(ctx sdk.Context, granter string, 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