Documentation ¶
Index ¶
- Variables
- func GetIbcSequenceHeightKey(sourcePort, sourceChannel string, sequence uint64) []byte
- func GetParamSetPairs(params *types.Params) paramtypes.ParamSetPairs
- type LegacyOracle
- func (*LegacyOracle) Descriptor() ([]byte, []int)
- func (m *LegacyOracle) GetDepositAmount() types.Coin
- func (m *LegacyOracle) GetExternalAddress() string
- func (m *LegacyOracle) GetJailed() bool
- func (m *LegacyOracle) GetJailedHeight() int64
- func (m *LegacyOracle) GetOracleAddress() string
- func (m *LegacyOracle) GetOrchestratorAddress() string
- func (m *LegacyOracle) GetStartHeight() int64
- func (m *LegacyOracle) Marshal() (dAtA []byte, err error)
- func (m *LegacyOracle) MarshalTo(dAtA []byte) (int, error)
- func (m *LegacyOracle) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LegacyOracle) ProtoMessage()
- func (m *LegacyOracle) Reset()
- func (m *LegacyOracle) Size() (n int)
- func (m *LegacyOracle) String() string
- func (m *LegacyOracle) Unmarshal(dAtA []byte) error
- func (m *LegacyOracle) XXX_DiscardUnknown()
- func (m *LegacyOracle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LegacyOracle) XXX_Merge(src proto.Message)
- func (m *LegacyOracle) XXX_Size() int
- func (m *LegacyOracle) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthLegacyOracle = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLegacyOracle = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupLegacyOracle = fmt.Errorf("proto: unexpected end of group") )
View Source
var IbcSequenceHeightKey = []byte{0x34}
IbcSequenceHeightKey indexes the gravity -> ibc sequence block height
View Source
var OracleTotalDepositKey = []byte{0x11}
View Source
var ParamOracleDepositThreshold = []byte("OracleDepositThreshold")
View Source
var ParamStoreOracles = []byte("Oracles")
Functions ¶
func GetIbcSequenceHeightKey ¶
GetIbcSequenceHeightKey returns the following key format
func GetParamSetPairs ¶
func GetParamSetPairs(params *types.Params) paramtypes.ParamSetPairs
Types ¶
type LegacyOracle ¶
type LegacyOracle struct { OracleAddress string `protobuf:"bytes,1,opt,name=oracle_address,json=oracleAddress,proto3" json:"oracle_address,omitempty"` OrchestratorAddress string `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"` ExternalAddress string `protobuf:"bytes,3,opt,name=external_address,json=externalAddress,proto3" json:"external_address,omitempty"` DepositAmount types.Coin `protobuf:"bytes,4,opt,name=deposit_amount,json=depositAmount,proto3" json:"deposit_amount"` // start oracle height StartHeight int64 `protobuf:"varint,5,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` Jailed bool `protobuf:"varint,6,opt,name=jailed,proto3" json:"jailed,omitempty"` JailedHeight int64 `protobuf:"varint,7,opt,name=jailed_height,json=jailedHeight,proto3" json:"jailed_height,omitempty"` }
func (*LegacyOracle) Descriptor ¶
func (*LegacyOracle) Descriptor() ([]byte, []int)
func (*LegacyOracle) GetDepositAmount ¶
func (m *LegacyOracle) GetDepositAmount() types.Coin
func (*LegacyOracle) GetExternalAddress ¶
func (m *LegacyOracle) GetExternalAddress() string
func (*LegacyOracle) GetJailed ¶
func (m *LegacyOracle) GetJailed() bool
func (*LegacyOracle) GetJailedHeight ¶
func (m *LegacyOracle) GetJailedHeight() int64
func (*LegacyOracle) GetOracleAddress ¶
func (m *LegacyOracle) GetOracleAddress() string
func (*LegacyOracle) GetOrchestratorAddress ¶
func (m *LegacyOracle) GetOrchestratorAddress() string
func (*LegacyOracle) GetStartHeight ¶
func (m *LegacyOracle) GetStartHeight() int64
func (*LegacyOracle) Marshal ¶
func (m *LegacyOracle) Marshal() (dAtA []byte, err error)
func (*LegacyOracle) MarshalToSizedBuffer ¶
func (m *LegacyOracle) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LegacyOracle) ProtoMessage ¶
func (*LegacyOracle) ProtoMessage()
func (*LegacyOracle) Reset ¶
func (m *LegacyOracle) Reset()
func (*LegacyOracle) Size ¶
func (m *LegacyOracle) Size() (n int)
func (*LegacyOracle) String ¶
func (m *LegacyOracle) String() string
func (*LegacyOracle) Unmarshal ¶
func (m *LegacyOracle) Unmarshal(dAtA []byte) error
func (*LegacyOracle) XXX_DiscardUnknown ¶
func (m *LegacyOracle) XXX_DiscardUnknown()
func (*LegacyOracle) XXX_Marshal ¶
func (m *LegacyOracle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LegacyOracle) XXX_Merge ¶
func (m *LegacyOracle) XXX_Merge(src proto.Message)
func (*LegacyOracle) XXX_Size ¶
func (m *LegacyOracle) XXX_Size() int
func (*LegacyOracle) XXX_Unmarshal ¶
func (m *LegacyOracle) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.