Documentation ¶
Index ¶
- Variables
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- type CreateValidatorAuthorization
- func (a CreateValidatorAuthorization) Accept(ctx sdk.Context, msg sdk.Msg) (foundation.AcceptResponse, error)
- func (*CreateValidatorAuthorization) Descriptor() ([]byte, []int)
- func (m *CreateValidatorAuthorization) GetValidatorAddress() string
- func (m *CreateValidatorAuthorization) Marshal() (dAtA []byte, err error)
- func (m *CreateValidatorAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateValidatorAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a CreateValidatorAuthorization) MsgTypeURL() string
- func (*CreateValidatorAuthorization) ProtoMessage()
- func (m *CreateValidatorAuthorization) Reset()
- func (m *CreateValidatorAuthorization) Size() (n int)
- func (m *CreateValidatorAuthorization) String() string
- func (m *CreateValidatorAuthorization) Unmarshal(dAtA []byte) error
- func (a CreateValidatorAuthorization) ValidateBasic() error
- func (m *CreateValidatorAuthorization) XXX_DiscardUnknown()
- func (m *CreateValidatorAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateValidatorAuthorization) XXX_Merge(src proto.Message)
- func (m *CreateValidatorAuthorization) XXX_Size() int
- func (m *CreateValidatorAuthorization) XXX_Unmarshal(b []byte) error
- type FoundationKeeper
Constants ¶
This section is empty.
Variables ¶
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 (a CreateValidatorAuthorization) Accept(ctx sdk.Context, msg sdk.Msg) (foundation.AcceptResponse, error)
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 (m *CreateValidatorAuthorization) String() 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
Click to show internal directories.
Click to hide internal directories.