Documentation ¶
Index ¶
- Constants
- Variables
- func GetCoordinatorChannelIDKey() []byte
- func GetPendingConsumerSlashListKey() []byte
- func GetPendingValidatorChangeSetKey() []byte
- func GetValidatorSetUpdateIDKey() []byte
- func NotifyUpdateValidatorKey() []byte
- func OperatorAddressKey(operatorAddress sdk.AccAddress, valAddr sdk.ValAddress) []byte
- func ParseValidatorOperatorKey(key []byte) []byte
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const ( // ModuleName is the name of the restaking coordinator module ModuleName = "restakingConsumer" // StoreKey is the string store representation StoreKey = ModuleName // RouterKey is the msg router key for the restaking coordinator module RouterKey = ModuleName QuerierRoute = ModuleName )
View Source
const ( ValidatorSetUpdateIDKey byte = iota ValidatorSetChangeSet PendingValidatorSlashListKey CoordinatorChannelID OperatorAddressPrefix NotifyUpdateValidators )
Variables ¶
View Source
var ( ErrRestakingChannelNotFound = errorsmod.Register(ModuleName, 1, "can't found restaking protocol ibc channel") ErrUnknownPacketChannel = errorsmod.Register(ModuleName, 2, "not restaking protocol channel") ErrUnknownValidator = errorsmod.Register(ModuleName, 3, "unknown validator") )
Functions ¶
func GetCoordinatorChannelIDKey ¶
func GetCoordinatorChannelIDKey() []byte
func GetPendingConsumerSlashListKey ¶
func GetPendingConsumerSlashListKey() []byte
func GetPendingValidatorChangeSetKey ¶
func GetPendingValidatorChangeSetKey() []byte
func GetValidatorSetUpdateIDKey ¶
func GetValidatorSetUpdateIDKey() []byte
func NotifyUpdateValidatorKey ¶
func NotifyUpdateValidatorKey() []byte
func OperatorAddressKey ¶
func OperatorAddressKey(operatorAddress sdk.AccAddress, valAddr sdk.ValAddress) []byte
Types ¶
type GenesisState ¶
type GenesisState struct { }
GenesisState defines the restaking consumer module's genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.