Documentation ¶
Index ¶
- Variables
- func ParamKeyTable() paramtypes.KeyTable
- type V2GenesisState
- func (*V2GenesisState) Descriptor() ([]byte, []int)
- func (m *V2GenesisState) GetV2Params() V2Params
- func (m *V2GenesisState) Marshal() (dAtA []byte, err error)
- func (m *V2GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *V2GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*V2GenesisState) ProtoMessage()
- func (m *V2GenesisState) Reset()
- func (m *V2GenesisState) Size() (n int)
- func (m *V2GenesisState) String() string
- func (m *V2GenesisState) Unmarshal(dAtA []byte) error
- func (m *V2GenesisState) XXX_DiscardUnknown()
- func (m *V2GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *V2GenesisState) XXX_Merge(src proto.Message)
- func (m *V2GenesisState) XXX_Size() int
- func (m *V2GenesisState) XXX_Unmarshal(b []byte) error
- type V2Params
- func (*V2Params) Descriptor() ([]byte, []int)
- func (m *V2Params) GetEnableRecovery() bool
- func (m *V2Params) GetPacketTimeoutDuration() time.Duration
- func (m *V2Params) Marshal() (dAtA []byte, err error)
- func (m *V2Params) MarshalTo(dAtA []byte) (int, error)
- func (m *V2Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *V2Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*V2Params) ProtoMessage()
- func (m *V2Params) Reset()
- func (m *V2Params) Size() (n int)
- func (m *V2Params) String() string
- func (m *V2Params) Unmarshal(dAtA []byte) error
- func (p V2Params) Validate() error
- func (m *V2Params) XXX_DiscardUnknown()
- func (m *V2Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *V2Params) XXX_Merge(src proto.Message)
- func (m *V2Params) XXX_Size() int
- func (m *V2Params) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ParamsKey = []byte("Params") ParamStoreKeyEnableRecovery = []byte("EnableRecovery") ParamStoreKeyPacketTimeoutDuration = []byte("PacketTimeoutDuration") )
Parameter store key
View Source
var ( DefaultEnableRecovery = true DefaultPacketTimeoutDuration = 4 * time.Hour )
DefaultPacketTimeoutDuration defines the default packet timeout for outgoing IBC transfers
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table.
Types ¶
type V2GenesisState ¶
type V2GenesisState struct { // V2Params defines all the paramaters of the module. V2Params V2Params `protobuf:"bytes,1,opt,name=V2Params,proto3" json:"V2Params"` }
V2GenesisState defines the recovery module's genesis state.
func (*V2GenesisState) Descriptor ¶
func (*V2GenesisState) Descriptor() ([]byte, []int)
func (*V2GenesisState) GetV2Params ¶
func (m *V2GenesisState) GetV2Params() V2Params
func (*V2GenesisState) Marshal ¶
func (m *V2GenesisState) Marshal() (dAtA []byte, err error)
func (*V2GenesisState) MarshalToSizedBuffer ¶
func (m *V2GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*V2GenesisState) ProtoMessage ¶
func (*V2GenesisState) ProtoMessage()
func (*V2GenesisState) Reset ¶
func (m *V2GenesisState) Reset()
func (*V2GenesisState) Size ¶
func (m *V2GenesisState) Size() (n int)
func (*V2GenesisState) String ¶
func (m *V2GenesisState) String() string
func (*V2GenesisState) Unmarshal ¶
func (m *V2GenesisState) Unmarshal(dAtA []byte) error
func (*V2GenesisState) XXX_DiscardUnknown ¶
func (m *V2GenesisState) XXX_DiscardUnknown()
func (*V2GenesisState) XXX_Marshal ¶
func (m *V2GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*V2GenesisState) XXX_Merge ¶
func (m *V2GenesisState) XXX_Merge(src proto.Message)
func (*V2GenesisState) XXX_Size ¶
func (m *V2GenesisState) XXX_Size() int
func (*V2GenesisState) XXX_Unmarshal ¶
func (m *V2GenesisState) XXX_Unmarshal(b []byte) error
type V2Params ¶
type V2Params struct { // enable_recovery IBC middleware EnableRecovery bool `protobuf:"varint,1,opt,name=enable_recovery,json=enableRecovery,proto3" json:"enable_recovery,omitempty"` // packet_timeout_duration is the duration added to timeout timestamp for balances recovered via IBC packets PacketTimeoutDuration time.Duration `` /* 128-byte string literal not displayed */ }
V2Params holds parameters for the recovery module
func DefaultParams ¶
func DefaultParams() V2Params
DefaultParams defines the default params for the recovery module
func (*V2Params) Descriptor ¶
func (*V2Params) GetEnableRecovery ¶
func (*V2Params) GetPacketTimeoutDuration ¶
func (*V2Params) MarshalToSizedBuffer ¶
func (*V2Params) ParamSetPairs ¶
func (p *V2Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs returns the parameter set pairs.
func (*V2Params) ProtoMessage ¶
func (*V2Params) ProtoMessage()
func (*V2Params) XXX_DiscardUnknown ¶
func (m *V2Params) XXX_DiscardUnknown()
func (*V2Params) XXX_Marshal ¶
func (*V2Params) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.