stakingplus

package
v0.48.0-ramus1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 16 Imported by: 5

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

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

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

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

func (*CreateValidatorAuthorization) Descriptor

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

func (*CreateValidatorAuthorization) GetValidatorAddress

func (m *CreateValidatorAuthorization) GetValidatorAddress() string

func (*CreateValidatorAuthorization) Marshal

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

func (*CreateValidatorAuthorization) MarshalTo

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

func (*CreateValidatorAuthorization) MarshalToSizedBuffer

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

func (CreateValidatorAuthorization) MsgTypeURL

func (a CreateValidatorAuthorization) MsgTypeURL() string

func (*CreateValidatorAuthorization) ProtoMessage

func (*CreateValidatorAuthorization) ProtoMessage()

func (*CreateValidatorAuthorization) Reset

func (m *CreateValidatorAuthorization) Reset()

func (*CreateValidatorAuthorization) Size

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

func (*CreateValidatorAuthorization) String

func (*CreateValidatorAuthorization) Unmarshal

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

func (CreateValidatorAuthorization) ValidateBasic

func (a CreateValidatorAuthorization) ValidateBasic() error

func (*CreateValidatorAuthorization) XXX_DiscardUnknown

func (m *CreateValidatorAuthorization) XXX_DiscardUnknown()

func (*CreateValidatorAuthorization) XXX_Marshal

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

func (*CreateValidatorAuthorization) XXX_Merge

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

func (*CreateValidatorAuthorization) XXX_Size

func (m *CreateValidatorAuthorization) XXX_Size() int

func (*CreateValidatorAuthorization) XXX_Unmarshal

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

type FoundationKeeper

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

FoundationKeeper defines the expected foundation keeper

Directories

Path Synopsis
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.

Jump to

Keyboard shortcuts

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