Documentation ¶
Index ¶
- Constants
- Variables
- func CalculateGas(base, each, n uint64) uint64
- func GasPriceKey(priceFeederName string, chainId string) []byte
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func PriceFeederInfoKey(name string) []byte
- func PriceKey(priceFeederName string, symbol string) []byte
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func SymbolRequestKey(symbol string) []byte
- func ValidatePriceFeederInfo(priceFeederInfo PriceFeederInfo) error
- func ValidateSymbolRequests(symbols []SymbolRequest) error
- type AccountKeeper
- type BankKeeper
- type ChannelKeeper
- type GasPrice
- func (*GasPrice) Descriptor() ([]byte, []int)
- func (m *GasPrice) GetChainId() string
- func (m *GasPrice) GetDecimals() uint64
- func (m *GasPrice) GetGasPrice() uint64
- func (m *GasPrice) GetPriceFeeder() string
- func (m *GasPrice) Marshal() (dAtA []byte, err error)
- func (m *GasPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *GasPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GasPrice) ProtoMessage()
- func (m *GasPrice) Reset()
- func (m *GasPrice) Size() (n int)
- func (m *GasPrice) String() string
- func (m *GasPrice) Unmarshal(dAtA []byte) error
- func (m *GasPrice) XXX_DiscardUnknown()
- func (m *GasPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GasPrice) XXX_Merge(src proto.Message)
- func (m *GasPrice) XXX_Size() int
- func (m *GasPrice) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetGasPriceList() []GasPrice
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPortId() string
- func (m *GenesisState) GetPriceFeederInfoList() []PriceFeederInfo
- func (m *GenesisState) GetPriceList() []Price
- func (m *GenesisState) GetSymbolRequestList() []SymbolRequest
- 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 (gs GenesisState) Validate() 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
- type MsgClient
- type MsgGasPrices
- func (*MsgGasPrices) Descriptor() ([]byte, []int)
- func (m *MsgGasPrices) GetGasPrices() []GasPrice
- func (m *MsgGasPrices) GetPriceFeederAddress() string
- func (m *MsgGasPrices) GetPriceFeederName() string
- func (msg *MsgGasPrices) GetSignBytes() []byte
- func (msg *MsgGasPrices) GetSigners() []sdk.AccAddress
- func (m *MsgGasPrices) Marshal() (dAtA []byte, err error)
- func (m *MsgGasPrices) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGasPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGasPrices) ProtoMessage()
- func (m *MsgGasPrices) Reset()
- func (msg *MsgGasPrices) Route() string
- func (m *MsgGasPrices) Size() (n int)
- func (m *MsgGasPrices) String() string
- func (msg *MsgGasPrices) Type() string
- func (m *MsgGasPrices) Unmarshal(dAtA []byte) error
- func (msg *MsgGasPrices) ValidateBasic() error
- func (m *MsgGasPrices) XXX_DiscardUnknown()
- func (m *MsgGasPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGasPrices) XXX_Merge(src proto.Message)
- func (m *MsgGasPrices) XXX_Size() int
- func (m *MsgGasPrices) XXX_Unmarshal(b []byte) error
- type MsgGasPricesResponse
- func (*MsgGasPricesResponse) Descriptor() ([]byte, []int)
- func (m *MsgGasPricesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGasPricesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGasPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGasPricesResponse) ProtoMessage()
- func (m *MsgGasPricesResponse) Reset()
- func (m *MsgGasPricesResponse) Size() (n int)
- func (m *MsgGasPricesResponse) String() string
- func (m *MsgGasPricesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGasPricesResponse) XXX_DiscardUnknown()
- func (m *MsgGasPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGasPricesResponse) XXX_Merge(src proto.Message)
- func (m *MsgGasPricesResponse) XXX_Size() int
- func (m *MsgGasPricesResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgTokenPrices
- func (*MsgTokenPrices) Descriptor() ([]byte, []int)
- func (m *MsgTokenPrices) GetPriceFeederAddress() string
- func (m *MsgTokenPrices) GetPriceFeederName() string
- func (msg *MsgTokenPrices) GetSignBytes() []byte
- func (msg *MsgTokenPrices) GetSigners() []sdk.AccAddress
- func (m *MsgTokenPrices) GetTokenPrices() []Price
- func (m *MsgTokenPrices) Marshal() (dAtA []byte, err error)
- func (m *MsgTokenPrices) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTokenPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTokenPrices) ProtoMessage()
- func (m *MsgTokenPrices) Reset()
- func (msg *MsgTokenPrices) Route() string
- func (m *MsgTokenPrices) Size() (n int)
- func (m *MsgTokenPrices) String() string
- func (msg *MsgTokenPrices) Type() string
- func (m *MsgTokenPrices) Unmarshal(dAtA []byte) error
- func (msg *MsgTokenPrices) ValidateBasic() error
- func (m *MsgTokenPrices) XXX_DiscardUnknown()
- func (m *MsgTokenPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTokenPrices) XXX_Merge(src proto.Message)
- func (m *MsgTokenPrices) XXX_Size() int
- func (m *MsgTokenPrices) XXX_Unmarshal(b []byte) error
- type MsgTokenPricesResponse
- func (*MsgTokenPricesResponse) Descriptor() ([]byte, []int)
- func (m *MsgTokenPricesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTokenPricesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTokenPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTokenPricesResponse) ProtoMessage()
- func (m *MsgTokenPricesResponse) Reset()
- func (m *MsgTokenPricesResponse) Size() (n int)
- func (m *MsgTokenPricesResponse) String() string
- func (m *MsgTokenPricesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTokenPricesResponse) XXX_DiscardUnknown()
- func (m *MsgTokenPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTokenPricesResponse) XXX_Merge(src proto.Message)
- func (m *MsgTokenPricesResponse) XXX_Size() int
- func (m *MsgTokenPricesResponse) XXX_Unmarshal(b []byte) error
- type MultichainKeeper
- type NoData
- func (*NoData) Descriptor() ([]byte, []int)
- func (m *NoData) Marshal() (dAtA []byte, err error)
- func (m *NoData) MarshalTo(dAtA []byte) (int, error)
- func (m *NoData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NoData) ProtoMessage()
- func (m *NoData) Reset()
- func (m *NoData) Size() (n int)
- func (m *NoData) String() string
- func (m *NoData) Unmarshal(dAtA []byte) error
- func (m *NoData) XXX_DiscardUnknown()
- func (m *NoData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NoData) XXX_Merge(src proto.Message)
- func (m *NoData) XXX_Size() int
- func (m *NoData) XXX_Unmarshal(b []byte) error
- type OracleTask
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetAskCount() uint64
- func (m *Params) GetExecuteGasBase() uint64
- func (m *Params) GetExecuteGasEach() uint64
- func (m *Params) GetFeeLimit() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Params) GetMinCount() uint64
- func (m *Params) GetMinDsCount() uint64
- func (m *Params) GetPrepareGasBase() uint64
- func (m *Params) GetPrepareGasEach() uint64
- func (m *Params) GetSourceChannel() string
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type PortKeeper
- type Price
- func (*Price) Descriptor() ([]byte, []int)
- func (m *Price) GetDecimals() uint64
- func (m *Price) GetPriceFeeder() string
- func (m *Price) GetResolveTime() int64
- func (m *Price) GetSymbol() string
- func (m *Price) Marshal() (dAtA []byte, err error)
- func (m *Price) MarshalTo(dAtA []byte) (int, error)
- func (m *Price) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Price) ProtoMessage()
- func (m *Price) Reset()
- func (m *Price) Size() (n int)
- func (m *Price) String() string
- func (m *Price) Unmarshal(dAtA []byte) error
- func (m *Price) XXX_DiscardUnknown()
- func (m *Price) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Price) XXX_Merge(src proto.Message)
- func (m *Price) XXX_Size() int
- func (m *Price) XXX_Unmarshal(b []byte) error
- type PriceFeederInfo
- func (*PriceFeederInfo) Descriptor() ([]byte, []int)
- func (m *PriceFeederInfo) GetActive() bool
- func (m *PriceFeederInfo) GetAddress() string
- func (m *PriceFeederInfo) GetName() string
- func (m *PriceFeederInfo) Marshal() (dAtA []byte, err error)
- func (m *PriceFeederInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *PriceFeederInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriceFeederInfo) ProtoMessage()
- func (m *PriceFeederInfo) Reset()
- func (m *PriceFeederInfo) Size() (n int)
- func (m *PriceFeederInfo) String() string
- func (m *PriceFeederInfo) Unmarshal(dAtA []byte) error
- func (m *PriceFeederInfo) XXX_DiscardUnknown()
- func (m *PriceFeederInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriceFeederInfo) XXX_Merge(src proto.Message)
- func (m *PriceFeederInfo) XXX_Size() int
- func (m *PriceFeederInfo) XXX_Unmarshal(b []byte) error
- type PricefeedPacketData
- func (*PricefeedPacketData) Descriptor() ([]byte, []int)
- func (m *PricefeedPacketData) GetNoData() *NoData
- func (m *PricefeedPacketData) GetPacket() isPricefeedPacketData_Packet
- func (m *PricefeedPacketData) Marshal() (dAtA []byte, err error)
- func (m *PricefeedPacketData) MarshalTo(dAtA []byte) (int, error)
- func (m *PricefeedPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PricefeedPacketData) ProtoMessage()
- func (m *PricefeedPacketData) Reset()
- func (m *PricefeedPacketData) Size() (n int)
- func (m *PricefeedPacketData) String() string
- func (m *PricefeedPacketData) Unmarshal(dAtA []byte) error
- func (m *PricefeedPacketData) XXX_DiscardUnknown()
- func (m *PricefeedPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PricefeedPacketData) XXX_Merge(src proto.Message)
- func (*PricefeedPacketData) XXX_OneofWrappers() []interface{}
- func (m *PricefeedPacketData) XXX_Size() int
- func (m *PricefeedPacketData) XXX_Unmarshal(b []byte) error
- type PricefeedPacketData_NoData
- type QueryAllGasPriceRequest
- func (*QueryAllGasPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllGasPriceRequest) GetPagination() *query.PageRequest
- func (m *QueryAllGasPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllGasPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllGasPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllGasPriceRequest) ProtoMessage()
- func (m *QueryAllGasPriceRequest) Reset()
- func (m *QueryAllGasPriceRequest) Size() (n int)
- func (m *QueryAllGasPriceRequest) String() string
- func (m *QueryAllGasPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllGasPriceRequest) XXX_DiscardUnknown()
- func (m *QueryAllGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllGasPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllGasPriceRequest) XXX_Size() int
- func (m *QueryAllGasPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryAllGasPriceResponse
- func (*QueryAllGasPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllGasPriceResponse) GetGasPrice() []GasPrice
- func (m *QueryAllGasPriceResponse) GetPagination() *query.PageResponse
- func (m *QueryAllGasPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllGasPriceResponse) ProtoMessage()
- func (m *QueryAllGasPriceResponse) Reset()
- func (m *QueryAllGasPriceResponse) Size() (n int)
- func (m *QueryAllGasPriceResponse) String() string
- func (m *QueryAllGasPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllGasPriceResponse) XXX_DiscardUnknown()
- func (m *QueryAllGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllGasPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllGasPriceResponse) XXX_Size() int
- func (m *QueryAllGasPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryAllPriceFeederInfoRequest
- func (*QueryAllPriceFeederInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPriceFeederInfoRequest) GetPagination() *query.PageRequest
- func (m *QueryAllPriceFeederInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPriceFeederInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPriceFeederInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPriceFeederInfoRequest) ProtoMessage()
- func (m *QueryAllPriceFeederInfoRequest) Reset()
- func (m *QueryAllPriceFeederInfoRequest) Size() (n int)
- func (m *QueryAllPriceFeederInfoRequest) String() string
- func (m *QueryAllPriceFeederInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPriceFeederInfoRequest) XXX_DiscardUnknown()
- func (m *QueryAllPriceFeederInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPriceFeederInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPriceFeederInfoRequest) XXX_Size() int
- func (m *QueryAllPriceFeederInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPriceFeederInfoResponse
- func (*QueryAllPriceFeederInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPriceFeederInfoResponse) GetPagination() *query.PageResponse
- func (m *QueryAllPriceFeederInfoResponse) GetPriceFeederInfo() []PriceFeederInfo
- func (m *QueryAllPriceFeederInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPriceFeederInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPriceFeederInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPriceFeederInfoResponse) ProtoMessage()
- func (m *QueryAllPriceFeederInfoResponse) Reset()
- func (m *QueryAllPriceFeederInfoResponse) Size() (n int)
- func (m *QueryAllPriceFeederInfoResponse) String() string
- func (m *QueryAllPriceFeederInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPriceFeederInfoResponse) XXX_DiscardUnknown()
- func (m *QueryAllPriceFeederInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPriceFeederInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPriceFeederInfoResponse) XXX_Size() int
- func (m *QueryAllPriceFeederInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryAllPriceRequest
- func (*QueryAllPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPriceRequest) GetPagination() *query.PageRequest
- func (m *QueryAllPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPriceRequest) ProtoMessage()
- func (m *QueryAllPriceRequest) Reset()
- func (m *QueryAllPriceRequest) Size() (n int)
- func (m *QueryAllPriceRequest) String() string
- func (m *QueryAllPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPriceRequest) XXX_DiscardUnknown()
- func (m *QueryAllPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPriceRequest) XXX_Size() int
- func (m *QueryAllPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPriceResponse
- func (*QueryAllPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPriceResponse) GetPagination() *query.PageResponse
- func (m *QueryAllPriceResponse) GetPrice() []Price
- func (m *QueryAllPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPriceResponse) ProtoMessage()
- func (m *QueryAllPriceResponse) Reset()
- func (m *QueryAllPriceResponse) Size() (n int)
- func (m *QueryAllPriceResponse) String() string
- func (m *QueryAllPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPriceResponse) XXX_DiscardUnknown()
- func (m *QueryAllPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPriceResponse) XXX_Size() int
- func (m *QueryAllPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryAllSymbolRequestRequest
- func (*QueryAllSymbolRequestRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllSymbolRequestRequest) GetPagination() *query.PageRequest
- func (m *QueryAllSymbolRequestRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllSymbolRequestRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllSymbolRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllSymbolRequestRequest) ProtoMessage()
- func (m *QueryAllSymbolRequestRequest) Reset()
- func (m *QueryAllSymbolRequestRequest) Size() (n int)
- func (m *QueryAllSymbolRequestRequest) String() string
- func (m *QueryAllSymbolRequestRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllSymbolRequestRequest) XXX_DiscardUnknown()
- func (m *QueryAllSymbolRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllSymbolRequestRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllSymbolRequestRequest) XXX_Size() int
- func (m *QueryAllSymbolRequestRequest) XXX_Unmarshal(b []byte) error
- type QueryAllSymbolRequestResponse
- func (*QueryAllSymbolRequestResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllSymbolRequestResponse) GetPagination() *query.PageResponse
- func (m *QueryAllSymbolRequestResponse) GetSymbolRequest() []SymbolRequest
- func (m *QueryAllSymbolRequestResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllSymbolRequestResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllSymbolRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllSymbolRequestResponse) ProtoMessage()
- func (m *QueryAllSymbolRequestResponse) Reset()
- func (m *QueryAllSymbolRequestResponse) Size() (n int)
- func (m *QueryAllSymbolRequestResponse) String() string
- func (m *QueryAllSymbolRequestResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllSymbolRequestResponse) XXX_DiscardUnknown()
- func (m *QueryAllSymbolRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllSymbolRequestResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllSymbolRequestResponse) XXX_Size() int
- func (m *QueryAllSymbolRequestResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetGasPriceRequest
- func (*QueryGetGasPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetGasPriceRequest) GetChainId() string
- func (m *QueryGetGasPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetGasPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetGasPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetGasPriceRequest) ProtoMessage()
- func (m *QueryGetGasPriceRequest) Reset()
- func (m *QueryGetGasPriceRequest) Size() (n int)
- func (m *QueryGetGasPriceRequest) String() string
- func (m *QueryGetGasPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetGasPriceRequest) XXX_DiscardUnknown()
- func (m *QueryGetGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetGasPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetGasPriceRequest) XXX_Size() int
- func (m *QueryGetGasPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryGetGasPriceResponse
- func (*QueryGetGasPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetGasPriceResponse) GetGasPrice() GasPrice
- func (m *QueryGetGasPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetGasPriceResponse) ProtoMessage()
- func (m *QueryGetGasPriceResponse) Reset()
- func (m *QueryGetGasPriceResponse) Size() (n int)
- func (m *QueryGetGasPriceResponse) String() string
- func (m *QueryGetGasPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetGasPriceResponse) XXX_DiscardUnknown()
- func (m *QueryGetGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetGasPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetGasPriceResponse) XXX_Size() int
- func (m *QueryGetGasPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPriceFeederInfoRequest
- func (*QueryGetPriceFeederInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPriceFeederInfoRequest) GetName() string
- func (m *QueryGetPriceFeederInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPriceFeederInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPriceFeederInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPriceFeederInfoRequest) ProtoMessage()
- func (m *QueryGetPriceFeederInfoRequest) Reset()
- func (m *QueryGetPriceFeederInfoRequest) Size() (n int)
- func (m *QueryGetPriceFeederInfoRequest) String() string
- func (m *QueryGetPriceFeederInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPriceFeederInfoRequest) XXX_DiscardUnknown()
- func (m *QueryGetPriceFeederInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPriceFeederInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPriceFeederInfoRequest) XXX_Size() int
- func (m *QueryGetPriceFeederInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPriceFeederInfoResponse
- func (*QueryGetPriceFeederInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPriceFeederInfoResponse) GetPriceFeederInfo() PriceFeederInfo
- func (m *QueryGetPriceFeederInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPriceFeederInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPriceFeederInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPriceFeederInfoResponse) ProtoMessage()
- func (m *QueryGetPriceFeederInfoResponse) Reset()
- func (m *QueryGetPriceFeederInfoResponse) Size() (n int)
- func (m *QueryGetPriceFeederInfoResponse) String() string
- func (m *QueryGetPriceFeederInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPriceFeederInfoResponse) XXX_DiscardUnknown()
- func (m *QueryGetPriceFeederInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPriceFeederInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPriceFeederInfoResponse) XXX_Size() int
- func (m *QueryGetPriceFeederInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPriceRequest
- func (*QueryGetPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPriceRequest) GetSymbol() string
- func (m *QueryGetPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPriceRequest) ProtoMessage()
- func (m *QueryGetPriceRequest) Reset()
- func (m *QueryGetPriceRequest) Size() (n int)
- func (m *QueryGetPriceRequest) String() string
- func (m *QueryGetPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPriceRequest) XXX_DiscardUnknown()
- func (m *QueryGetPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPriceRequest) XXX_Size() int
- func (m *QueryGetPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPriceResponse
- func (*QueryGetPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPriceResponse) GetPrice() Price
- func (m *QueryGetPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPriceResponse) ProtoMessage()
- func (m *QueryGetPriceResponse) Reset()
- func (m *QueryGetPriceResponse) Size() (n int)
- func (m *QueryGetPriceResponse) String() string
- func (m *QueryGetPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPriceResponse) XXX_DiscardUnknown()
- func (m *QueryGetPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPriceResponse) XXX_Size() int
- func (m *QueryGetPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryGetSymbolRequestRequest
- func (*QueryGetSymbolRequestRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetSymbolRequestRequest) GetSymbol() string
- func (m *QueryGetSymbolRequestRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetSymbolRequestRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetSymbolRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetSymbolRequestRequest) ProtoMessage()
- func (m *QueryGetSymbolRequestRequest) Reset()
- func (m *QueryGetSymbolRequestRequest) Size() (n int)
- func (m *QueryGetSymbolRequestRequest) String() string
- func (m *QueryGetSymbolRequestRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetSymbolRequestRequest) XXX_DiscardUnknown()
- func (m *QueryGetSymbolRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetSymbolRequestRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetSymbolRequestRequest) XXX_Size() int
- func (m *QueryGetSymbolRequestRequest) XXX_Unmarshal(b []byte) error
- type QueryGetSymbolRequestResponse
- func (*QueryGetSymbolRequestResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetSymbolRequestResponse) GetSymbolRequest() SymbolRequest
- func (m *QueryGetSymbolRequestResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetSymbolRequestResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetSymbolRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetSymbolRequestResponse) ProtoMessage()
- func (m *QueryGetSymbolRequestResponse) Reset()
- func (m *QueryGetSymbolRequestResponse) Size() (n int)
- func (m *QueryGetSymbolRequestResponse) String() string
- func (m *QueryGetSymbolRequestResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetSymbolRequestResponse) XXX_DiscardUnknown()
- func (m *QueryGetSymbolRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetSymbolRequestResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetSymbolRequestResponse) XXX_Size() int
- func (m *QueryGetSymbolRequestResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type ScopedKeeper
- type SymbolRequest
- func (*SymbolRequest) Descriptor() ([]byte, []int)
- func (m *SymbolRequest) GetBlockInterval() uint64
- func (m *SymbolRequest) GetOracleScriptID() uint64
- func (m *SymbolRequest) GetSymbol() string
- func (m *SymbolRequest) Marshal() (dAtA []byte, err error)
- func (m *SymbolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SymbolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SymbolRequest) ProtoMessage()
- func (m *SymbolRequest) Reset()
- func (m *SymbolRequest) Size() (n int)
- func (m *SymbolRequest) String() string
- func (m *SymbolRequest) Unmarshal(dAtA []byte) error
- func (m *SymbolRequest) XXX_DiscardUnknown()
- func (m *SymbolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SymbolRequest) XXX_Merge(src proto.Message)
- func (m *SymbolRequest) XXX_Size() int
- func (m *SymbolRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) GasPrice(ctx context.Context, req *QueryGetGasPriceRequest) (*QueryGetGasPriceResponse, error)
- func (*UnimplementedQueryServer) GasPriceAll(ctx context.Context, req *QueryAllGasPriceRequest) (*QueryAllGasPriceResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Price(ctx context.Context, req *QueryGetPriceRequest) (*QueryGetPriceResponse, error)
- func (*UnimplementedQueryServer) PriceAll(ctx context.Context, req *QueryAllPriceRequest) (*QueryAllPriceResponse, error)
- func (*UnimplementedQueryServer) PriceFeederInfo(ctx context.Context, req *QueryGetPriceFeederInfoRequest) (*QueryGetPriceFeederInfoResponse, error)
- func (*UnimplementedQueryServer) PriceFeederInfoAll(ctx context.Context, req *QueryAllPriceFeederInfoRequest) (*QueryAllPriceFeederInfoResponse, error)
- func (*UnimplementedQueryServer) SymbolRequest(ctx context.Context, req *QueryGetSymbolRequestRequest) (*QueryGetSymbolRequestResponse, error)
- func (*UnimplementedQueryServer) SymbolRequestAll(ctx context.Context, req *QueryAllSymbolRequestRequest) (*QueryAllSymbolRequestResponse, error)
- type UpdatePriceFeederInfoProposal
- func (*UpdatePriceFeederInfoProposal) Descriptor() ([]byte, []int)
- func (p *UpdatePriceFeederInfoProposal) GetDescription() string
- func (p *UpdatePriceFeederInfoProposal) GetTitle() string
- func (m *UpdatePriceFeederInfoProposal) Marshal() (dAtA []byte, err error)
- func (m *UpdatePriceFeederInfoProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdatePriceFeederInfoProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdatePriceFeederInfoProposal) ProposalRoute() string
- func (*UpdatePriceFeederInfoProposal) ProposalType() string
- func (*UpdatePriceFeederInfoProposal) ProtoMessage()
- func (m *UpdatePriceFeederInfoProposal) Reset()
- func (m *UpdatePriceFeederInfoProposal) Size() (n int)
- func (m *UpdatePriceFeederInfoProposal) String() string
- func (m *UpdatePriceFeederInfoProposal) Unmarshal(dAtA []byte) error
- func (p *UpdatePriceFeederInfoProposal) ValidateBasic() error
- func (m *UpdatePriceFeederInfoProposal) XXX_DiscardUnknown()
- func (m *UpdatePriceFeederInfoProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdatePriceFeederInfoProposal) XXX_Merge(src proto.Message)
- func (m *UpdatePriceFeederInfoProposal) XXX_Size() int
- func (m *UpdatePriceFeederInfoProposal) XXX_Unmarshal(b []byte) error
- type UpdateSymbolRequestProposal
- func (*UpdateSymbolRequestProposal) Descriptor() ([]byte, []int)
- func (p *UpdateSymbolRequestProposal) GetDescription() string
- func (p *UpdateSymbolRequestProposal) GetTitle() string
- func (m *UpdateSymbolRequestProposal) Marshal() (dAtA []byte, err error)
- func (m *UpdateSymbolRequestProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateSymbolRequestProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateSymbolRequestProposal) ProposalRoute() string
- func (*UpdateSymbolRequestProposal) ProposalType() string
- func (*UpdateSymbolRequestProposal) ProtoMessage()
- func (m *UpdateSymbolRequestProposal) Reset()
- func (m *UpdateSymbolRequestProposal) Size() (n int)
- func (m *UpdateSymbolRequestProposal) String() string
- func (m *UpdateSymbolRequestProposal) Unmarshal(dAtA []byte) error
- func (p *UpdateSymbolRequestProposal) ValidateBasic() error
- func (m *UpdateSymbolRequestProposal) XXX_DiscardUnknown()
- func (m *UpdateSymbolRequestProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateSymbolRequestProposal) XXX_Merge(src proto.Message)
- func (m *UpdateSymbolRequestProposal) XXX_Size() int
- func (m *UpdateSymbolRequestProposal) XXX_Unmarshal(b []byte) error
Constants ¶
const ( EventTypeTimeout = "timeout" AttributeKeyAckSuccess = "success" AttributeKeyAck = "acknowledgement" AttributeKeyAckError = "error" EventTypeRequestPacket = "oracle_request_packet" EventTypeResponsePacket = "oracle_response_packet" EventTypePriceUpdate = "price_update" AttributeKeyRequestID = "request_id" AttributeKeySymbol = "symbol" AttributeKeyPrice = "price" AttributeKeyTimestamp = "timestamp" )
IBC events
const ( // ModuleName defines the module name ModuleName = "pricefeed" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_pricefeed" // Version defines the current version the IBC module supports Version = "bandchain-1" // PortID is the default port id that module binds to PortID = "pricefeed" ROUTER_PRICE_FEEDER = "router_price_feeder" BAND_PRICE_FEEDER = "band_feeder" )
const ( DefaultAskCount = uint64(16) DefaultMinCount = uint64(10) DefaultMinDsCount = uint64(3) DefaultPrepareGasBase = uint64(3000) DefaultPrepareGasEach = uint64(600) DefaultExecuteGasBase = uint64(70000) DefaultExecuteGasEach = uint64(7500) DefaultSourceChannel = "channel-0" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const (
// GasPriceKeyPrefix is the prefix to retrieve all GasPrice
GasPriceKeyPrefix = "GasPrice/value/"
)
const NotSet = "[not_set]"
const (
// PriceFeederInfoKeyPrefix is the prefix to retrieve all PriceFeederInfo
PriceFeederInfoKeyPrefix = "PriceFeederInfo/value/"
)
const (
// PriceKeyPrefix is the prefix to retrieve all Price
PriceKeyPrefix = "Price/value/"
)
const (
// SymbolRequestKeyPrefix is the prefix to retrieve all SymbolRequest
SymbolRequestKeyPrefix = "SymbolRequest/value/"
)
const TypeMsgGasPrices = "gas_prices"
const TypeMsgTokenPrices = "token_prices"
const (
// UpdatePriceFeederInfo defines the type for a UpdatePriceFeederInfoProposal
UpdatePriceFeederInfo = "UpdatePriceFeederInfo"
)
const (
// UpdateSymbolRequest defines the type for a UpdateSymbolRequestProposal
UpdateSymbolRequest = "UpdateSymbolRequest"
)
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error") ErrInvalidPacketTimeout = sdkerrors.Register(ModuleName, 1500, "invalid packet timeout") ErrInvalidVersion = sdkerrors.Register(ModuleName, 1501, "invalid version") ErrSymbolRequestNotFound = sdkerrors.Register(ModuleName, 2, "symbol request not found") ErrPriceNotFound = sdkerrors.Register(ModuleName, 3, "price not found") ErrResolveStatusNotSuccess = sdkerrors.Register(ModuleName, 4, "request is not resolved successfully") ErrEmptySymbolRequests = sdkerrors.Register(ModuleName, 5, "submitted symbol requests are empty") ErrEmptySymbol = sdkerrors.Register(ModuleName, 6, "symbol is empty") ErrInvalidOracleScriptID = sdkerrors.Register(ModuleName, 7, "invalid oracle script id") ErrInvalidPricefeederName = sdkerrors.Register(ModuleName, 8, "pricefeeder name is nil") ErrInvalidPricefeederAddress = sdkerrors.Register(ModuleName, 9, "invalid pricefeeder address") )
x/pricefeed module sentinel errors
var ( ErrInvalidLengthGasPrice = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGasPrice = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGasPrice = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPacket = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPacket = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPacket = fmt.Errorf("proto: unexpected end of group") )
var ( KeyAskCount = []byte("AskCount") KeyMinCount = []byte("MinCount") KeyMinDsCount = []byte("MinDsCount") KeyPrepareGasBase = []byte("PrepareGasBase") KeyPrepareGasEach = []byte("PrepareGasEach") KeyExecuteGasBase = []byte("ExecuteGasBase") KeyExecuteGasEach = []byte("ExecuteGasEach") KeySourceChannel = []byte("SourceChannel") KeyFeeLimit = []byte("FeeLimit") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPrice = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPrice = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPrice = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPriceFeederInfo = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPriceFeederInfo = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPriceFeederInfo = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthSymbolRequest = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSymbolRequest = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSymbolRequest = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthUpdatePriceFeederRequestProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowUpdatePriceFeederRequestProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupUpdatePriceFeederRequestProposal = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthUpdateSymbolRequestProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowUpdateSymbolRequestProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupUpdateSymbolRequestProposal = fmt.Errorf("proto: unexpected end of group") )
var (
DefaultFeeLimit = sdk.NewCoins(sdk.NewInt64Coin("uband", 1000000))
)
var ( // PortKey defines the key to store the port ID in store PortKey = KeyPrefix("pricefeed-port-") )
Functions ¶
func CalculateGas ¶
func GasPriceKey ¶
GasPriceKey returns the store key to retrieve a GasPrice from the index fields
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func PriceFeederInfoKey ¶
PriceFeederInfoKey returns the store key to retrieve a PriceFeederInfo from the index fields
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func SymbolRequestKey ¶
SymbolRequestKey returns the store key to retrieve a SymbolRequest from the index fields
func ValidatePriceFeederInfo ¶
func ValidatePriceFeederInfo(priceFeederInfo PriceFeederInfo) error
ValidatePriceFeederInfo performs basic validation checks over a PriceFeederInfo. It returns an error if PriceFeederInfo is invalid.
func ValidateSymbolRequests ¶
func ValidateSymbolRequests(symbols []SymbolRequest) error
ValidateSymbolRequests performs basic validation checks over a set of SymbolRequest. It returns an error if any SymbolRequest is invalid.
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type ChannelKeeper ¶
type ChannelKeeper interface { GetChannel(ctx sdk.Context, portID, channelID string) (channeltypes.Channel, bool) GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool) SendPacket( ctx sdk.Context, channelCap *capabilitytypes.Capability, sourcePort string, sourceChannel string, timeoutHeight clienttypes.Height, timeoutTimestamp uint64, data []byte, ) (uint64, error) ChanCloseInit(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability) error }
ChannelKeeper defines the expected IBC channel keeper.
type GasPrice ¶
type GasPrice struct { PriceFeeder string `protobuf:"bytes,1,opt,name=price_feeder,json=priceFeeder,proto3" json:"price_feeder,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chainId,proto3" json:"chainId,omitempty"` GasPrice uint64 `protobuf:"varint,3,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"` Decimals uint64 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"` }
func (*GasPrice) Descriptor ¶
func (*GasPrice) GetChainId ¶
func (*GasPrice) GetDecimals ¶
func (*GasPrice) GetGasPrice ¶
func (*GasPrice) GetPriceFeeder ¶
func (*GasPrice) MarshalToSizedBuffer ¶
func (*GasPrice) ProtoMessage ¶
func (*GasPrice) ProtoMessage()
func (*GasPrice) XXX_DiscardUnknown ¶
func (m *GasPrice) XXX_DiscardUnknown()
func (*GasPrice) XXX_Marshal ¶
func (*GasPrice) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` PriceList []Price `protobuf:"bytes,3,rep,name=priceList,proto3" json:"priceList"` SymbolRequestList []SymbolRequest `protobuf:"bytes,4,rep,name=symbolRequestList,proto3" json:"symbolRequestList"` PriceFeederInfoList []PriceFeederInfo `protobuf:"bytes,5,rep,name=priceFeederInfoList,proto3" json:"priceFeederInfoList"` GasPriceList []GasPrice `protobuf:"bytes,6,rep,name=gasPriceList,proto3" json:"gasPriceList"` }
GenesisState defines the pricefeed module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetGasPriceList ¶
func (m *GenesisState) GetGasPriceList() []GasPrice
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPortId ¶
func (m *GenesisState) GetPortId() string
func (*GenesisState) GetPriceFeederInfoList ¶
func (m *GenesisState) GetPriceFeederInfoList() []PriceFeederInfo
func (*GenesisState) GetPriceList ¶
func (m *GenesisState) GetPriceList() []Price
func (*GenesisState) GetSymbolRequestList ¶
func (m *GenesisState) GetSymbolRequestList() []SymbolRequest
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) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
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
type MsgClient ¶
type MsgClient interface { TokenPrices(ctx context.Context, in *MsgTokenPrices, opts ...grpc.CallOption) (*MsgTokenPricesResponse, error) GasPrices(ctx context.Context, in *MsgGasPrices, opts ...grpc.CallOption) (*MsgGasPricesResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgGasPrices ¶
type MsgGasPrices struct { PriceFeederAddress string `protobuf:"bytes,1,opt,name=price_feeder_address,json=priceFeederAddress,proto3" json:"price_feeder_address,omitempty"` PriceFeederName string `protobuf:"bytes,2,opt,name=price_feeder_name,json=priceFeederName,proto3" json:"price_feeder_name,omitempty"` GasPrices []GasPrice `protobuf:"bytes,3,rep,name=gas_prices,json=gasPrices,proto3" json:"gas_prices"` }
func NewMsgGasPrices ¶
func NewMsgGasPrices(priceFeederAddress string, priceFeederName string, gasPrices []GasPrice) *MsgGasPrices
func (*MsgGasPrices) Descriptor ¶
func (*MsgGasPrices) Descriptor() ([]byte, []int)
func (*MsgGasPrices) GetGasPrices ¶
func (m *MsgGasPrices) GetGasPrices() []GasPrice
func (*MsgGasPrices) GetPriceFeederAddress ¶
func (m *MsgGasPrices) GetPriceFeederAddress() string
func (*MsgGasPrices) GetPriceFeederName ¶
func (m *MsgGasPrices) GetPriceFeederName() string
func (*MsgGasPrices) GetSignBytes ¶
func (msg *MsgGasPrices) GetSignBytes() []byte
func (*MsgGasPrices) GetSigners ¶
func (msg *MsgGasPrices) GetSigners() []sdk.AccAddress
func (*MsgGasPrices) Marshal ¶
func (m *MsgGasPrices) Marshal() (dAtA []byte, err error)
func (*MsgGasPrices) MarshalToSizedBuffer ¶
func (m *MsgGasPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGasPrices) ProtoMessage ¶
func (*MsgGasPrices) ProtoMessage()
func (*MsgGasPrices) Reset ¶
func (m *MsgGasPrices) Reset()
func (*MsgGasPrices) Route ¶
func (msg *MsgGasPrices) Route() string
func (*MsgGasPrices) Size ¶
func (m *MsgGasPrices) Size() (n int)
func (*MsgGasPrices) String ¶
func (m *MsgGasPrices) String() string
func (*MsgGasPrices) Type ¶
func (msg *MsgGasPrices) Type() string
func (*MsgGasPrices) Unmarshal ¶
func (m *MsgGasPrices) Unmarshal(dAtA []byte) error
func (*MsgGasPrices) ValidateBasic ¶
func (msg *MsgGasPrices) ValidateBasic() error
func (*MsgGasPrices) XXX_DiscardUnknown ¶
func (m *MsgGasPrices) XXX_DiscardUnknown()
func (*MsgGasPrices) XXX_Marshal ¶
func (m *MsgGasPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGasPrices) XXX_Merge ¶
func (m *MsgGasPrices) XXX_Merge(src proto.Message)
func (*MsgGasPrices) XXX_Size ¶
func (m *MsgGasPrices) XXX_Size() int
func (*MsgGasPrices) XXX_Unmarshal ¶
func (m *MsgGasPrices) XXX_Unmarshal(b []byte) error
type MsgGasPricesResponse ¶
type MsgGasPricesResponse struct { }
func (*MsgGasPricesResponse) Descriptor ¶
func (*MsgGasPricesResponse) Descriptor() ([]byte, []int)
func (*MsgGasPricesResponse) Marshal ¶
func (m *MsgGasPricesResponse) Marshal() (dAtA []byte, err error)
func (*MsgGasPricesResponse) MarshalTo ¶
func (m *MsgGasPricesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGasPricesResponse) MarshalToSizedBuffer ¶
func (m *MsgGasPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGasPricesResponse) ProtoMessage ¶
func (*MsgGasPricesResponse) ProtoMessage()
func (*MsgGasPricesResponse) Reset ¶
func (m *MsgGasPricesResponse) Reset()
func (*MsgGasPricesResponse) Size ¶
func (m *MsgGasPricesResponse) Size() (n int)
func (*MsgGasPricesResponse) String ¶
func (m *MsgGasPricesResponse) String() string
func (*MsgGasPricesResponse) Unmarshal ¶
func (m *MsgGasPricesResponse) Unmarshal(dAtA []byte) error
func (*MsgGasPricesResponse) XXX_DiscardUnknown ¶
func (m *MsgGasPricesResponse) XXX_DiscardUnknown()
func (*MsgGasPricesResponse) XXX_Marshal ¶
func (m *MsgGasPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGasPricesResponse) XXX_Merge ¶
func (m *MsgGasPricesResponse) XXX_Merge(src proto.Message)
func (*MsgGasPricesResponse) XXX_Size ¶
func (m *MsgGasPricesResponse) XXX_Size() int
func (*MsgGasPricesResponse) XXX_Unmarshal ¶
func (m *MsgGasPricesResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { TokenPrices(context.Context, *MsgTokenPrices) (*MsgTokenPricesResponse, error) GasPrices(context.Context, *MsgGasPrices) (*MsgGasPricesResponse, error) }
MsgServer is the server API for Msg service.
type MsgTokenPrices ¶
type MsgTokenPrices struct { PriceFeederAddress string `protobuf:"bytes,1,opt,name=price_feeder_address,json=priceFeederAddress,proto3" json:"price_feeder_address,omitempty"` PriceFeederName string `protobuf:"bytes,2,opt,name=price_feeder_name,json=priceFeederName,proto3" json:"price_feeder_name,omitempty"` TokenPrices []Price `protobuf:"bytes,3,rep,name=token_prices,json=tokenPrices,proto3" json:"token_prices"` }
func NewMsgTokenPrices ¶
func NewMsgTokenPrices(priceFeederAddress string, priceFeederName string, tokenPrices []Price) *MsgTokenPrices
func (*MsgTokenPrices) Descriptor ¶
func (*MsgTokenPrices) Descriptor() ([]byte, []int)
func (*MsgTokenPrices) GetPriceFeederAddress ¶
func (m *MsgTokenPrices) GetPriceFeederAddress() string
func (*MsgTokenPrices) GetPriceFeederName ¶
func (m *MsgTokenPrices) GetPriceFeederName() string
func (*MsgTokenPrices) GetSignBytes ¶
func (msg *MsgTokenPrices) GetSignBytes() []byte
func (*MsgTokenPrices) GetSigners ¶
func (msg *MsgTokenPrices) GetSigners() []sdk.AccAddress
func (*MsgTokenPrices) GetTokenPrices ¶
func (m *MsgTokenPrices) GetTokenPrices() []Price
func (*MsgTokenPrices) Marshal ¶
func (m *MsgTokenPrices) Marshal() (dAtA []byte, err error)
func (*MsgTokenPrices) MarshalToSizedBuffer ¶
func (m *MsgTokenPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTokenPrices) ProtoMessage ¶
func (*MsgTokenPrices) ProtoMessage()
func (*MsgTokenPrices) Reset ¶
func (m *MsgTokenPrices) Reset()
func (*MsgTokenPrices) Route ¶
func (msg *MsgTokenPrices) Route() string
func (*MsgTokenPrices) Size ¶
func (m *MsgTokenPrices) Size() (n int)
func (*MsgTokenPrices) String ¶
func (m *MsgTokenPrices) String() string
func (*MsgTokenPrices) Type ¶
func (msg *MsgTokenPrices) Type() string
func (*MsgTokenPrices) Unmarshal ¶
func (m *MsgTokenPrices) Unmarshal(dAtA []byte) error
func (*MsgTokenPrices) ValidateBasic ¶
func (msg *MsgTokenPrices) ValidateBasic() error
func (*MsgTokenPrices) XXX_DiscardUnknown ¶
func (m *MsgTokenPrices) XXX_DiscardUnknown()
func (*MsgTokenPrices) XXX_Marshal ¶
func (m *MsgTokenPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTokenPrices) XXX_Merge ¶
func (m *MsgTokenPrices) XXX_Merge(src proto.Message)
func (*MsgTokenPrices) XXX_Size ¶
func (m *MsgTokenPrices) XXX_Size() int
func (*MsgTokenPrices) XXX_Unmarshal ¶
func (m *MsgTokenPrices) XXX_Unmarshal(b []byte) error
type MsgTokenPricesResponse ¶
type MsgTokenPricesResponse struct { }
func (*MsgTokenPricesResponse) Descriptor ¶
func (*MsgTokenPricesResponse) Descriptor() ([]byte, []int)
func (*MsgTokenPricesResponse) Marshal ¶
func (m *MsgTokenPricesResponse) Marshal() (dAtA []byte, err error)
func (*MsgTokenPricesResponse) MarshalTo ¶
func (m *MsgTokenPricesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTokenPricesResponse) MarshalToSizedBuffer ¶
func (m *MsgTokenPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTokenPricesResponse) ProtoMessage ¶
func (*MsgTokenPricesResponse) ProtoMessage()
func (*MsgTokenPricesResponse) Reset ¶
func (m *MsgTokenPricesResponse) Reset()
func (*MsgTokenPricesResponse) Size ¶
func (m *MsgTokenPricesResponse) Size() (n int)
func (*MsgTokenPricesResponse) String ¶
func (m *MsgTokenPricesResponse) String() string
func (*MsgTokenPricesResponse) Unmarshal ¶
func (m *MsgTokenPricesResponse) Unmarshal(dAtA []byte) error
func (*MsgTokenPricesResponse) XXX_DiscardUnknown ¶
func (m *MsgTokenPricesResponse) XXX_DiscardUnknown()
func (*MsgTokenPricesResponse) XXX_Marshal ¶
func (m *MsgTokenPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTokenPricesResponse) XXX_Merge ¶
func (m *MsgTokenPricesResponse) XXX_Merge(src proto.Message)
func (*MsgTokenPricesResponse) XXX_Size ¶
func (m *MsgTokenPricesResponse) XXX_Size() int
func (*MsgTokenPricesResponse) XXX_Unmarshal ¶
func (m *MsgTokenPricesResponse) XXX_Unmarshal(b []byte) error
type MultichainKeeper ¶ added in v1.2.53
type MultichainKeeper interface {
GetChainConfig(ctx sdk.Context, chainId string) (val multichainTypes.ChainConfig, found bool)
}
type NoData ¶
type NoData struct { }
func (*NoData) Descriptor ¶
func (*NoData) MarshalToSizedBuffer ¶
func (*NoData) ProtoMessage ¶
func (*NoData) ProtoMessage()
func (*NoData) XXX_DiscardUnknown ¶
func (m *NoData) XXX_DiscardUnknown()
func (*NoData) XXX_Marshal ¶
func (*NoData) XXX_Unmarshal ¶
type OracleTask ¶
func ComputeOracleTasks ¶
func ComputeOracleTasks(symbols []SymbolRequest, blockHeight int64) []OracleTask
type Params ¶
type Params struct { // AskCount is the number of validators that are requested to respond to this // oracle request. Higher value means more security, at a higher gas cost. AskCount uint64 `protobuf:"varint,1,opt,name=ask_count,json=askCount,proto3" json:"ask_count,omitempty"` // MinCount is the minimum number of validators necessary for the request to // proceed to the execution phase. Higher value means more security, at the // cost of liveness. MinCount uint64 `protobuf:"varint,2,opt,name=min_count,json=minCount,proto3" json:"min_count,omitempty"` // MinDsCount is the minimum number of responses required from data sources // (oracles) to consider the request as successful. MinDsCount uint64 `protobuf:"varint,3,opt,name=min_ds_count,json=minDsCount,proto3" json:"min_ds_count,omitempty"` // PrepareGasBase is the amount of base gas needed to prepare an oracle // request. PrepareGasBase uint64 `protobuf:"varint,4,opt,name=prepare_gas_base,json=prepareGasBase,proto3" json:"prepare_gas_base,omitempty"` // PrepareGasEach is the amount of additional gas needed per symbol in an // oracle request. PrepareGasEach uint64 `protobuf:"varint,5,opt,name=prepare_gas_each,json=prepareGasEach,proto3" json:"prepare_gas_each,omitempty"` // ExecuteGasBase is the amount of base gas needed to execute an oracle // request. ExecuteGasBase uint64 `protobuf:"varint,6,opt,name=execute_gas_base,json=executeGasBase,proto3" json:"execute_gas_base,omitempty"` // ExecuteGasEach is the amount of additional gas needed per symbol in // executing an oracle request. ExecuteGasEach uint64 `protobuf:"varint,7,opt,name=execute_gas_each,json=executeGasEach,proto3" json:"execute_gas_each,omitempty"` // SourceChannel is the source channel to use when sending the oracle request // to BandChain via IBC SourceChannel string `protobuf:"bytes,8,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty"` // FeeLimit is the maximum tokens that will be paid to all data source // providers. FeeLimit github_com_cosmos_cosmos_sdk_types.Coins `` /* 129-byte string literal not displayed */ }
Params defines the parameters for the module.
func NewParams ¶
func NewParams( askCount, minCount, minDsCount, prepareGasBase, prepareGasEach, executeGasBase, executeGasEach uint64, sourceChannel string, feeLimit sdk.Coins, ) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetAskCount ¶
func (*Params) GetExecuteGasBase ¶
func (*Params) GetExecuteGasEach ¶
func (*Params) GetFeeLimit ¶
func (m *Params) GetFeeLimit() github_com_cosmos_cosmos_sdk_types.Coins
func (*Params) GetMinCount ¶
func (*Params) GetMinDsCount ¶
func (*Params) GetPrepareGasBase ¶
func (*Params) GetPrepareGasEach ¶
func (*Params) GetSourceChannel ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PortKeeper ¶
type PortKeeper interface {
BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
}
PortKeeper defines the expected IBC port keeper.
type Price ¶
type Price struct { PriceFeeder string `protobuf:"bytes,1,opt,name=price_feeder,json=priceFeeder,proto3" json:"price_feeder,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Price github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"price"` ResolveTime int64 `protobuf:"varint,4,opt,name=resolveTime,proto3" json:"resolveTime,omitempty"` Decimals uint64 `protobuf:"varint,5,opt,name=decimals,proto3" json:"decimals,omitempty"` }
func (*Price) Descriptor ¶
func (*Price) GetDecimals ¶ added in v1.2.73
func (*Price) GetPriceFeeder ¶
func (*Price) GetResolveTime ¶
func (*Price) ProtoMessage ¶
func (*Price) ProtoMessage()
func (*Price) XXX_DiscardUnknown ¶
func (m *Price) XXX_DiscardUnknown()
func (*Price) XXX_Marshal ¶
func (*Price) XXX_Unmarshal ¶
type PriceFeederInfo ¶
type PriceFeederInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` }
func (*PriceFeederInfo) Descriptor ¶
func (*PriceFeederInfo) Descriptor() ([]byte, []int)
func (*PriceFeederInfo) GetActive ¶
func (m *PriceFeederInfo) GetActive() bool
func (*PriceFeederInfo) GetAddress ¶
func (m *PriceFeederInfo) GetAddress() string
func (*PriceFeederInfo) GetName ¶
func (m *PriceFeederInfo) GetName() string
func (*PriceFeederInfo) Marshal ¶
func (m *PriceFeederInfo) Marshal() (dAtA []byte, err error)
func (*PriceFeederInfo) MarshalToSizedBuffer ¶
func (m *PriceFeederInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriceFeederInfo) ProtoMessage ¶
func (*PriceFeederInfo) ProtoMessage()
func (*PriceFeederInfo) Reset ¶
func (m *PriceFeederInfo) Reset()
func (*PriceFeederInfo) Size ¶
func (m *PriceFeederInfo) Size() (n int)
func (*PriceFeederInfo) String ¶
func (m *PriceFeederInfo) String() string
func (*PriceFeederInfo) Unmarshal ¶
func (m *PriceFeederInfo) Unmarshal(dAtA []byte) error
func (*PriceFeederInfo) XXX_DiscardUnknown ¶
func (m *PriceFeederInfo) XXX_DiscardUnknown()
func (*PriceFeederInfo) XXX_Marshal ¶
func (m *PriceFeederInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriceFeederInfo) XXX_Merge ¶
func (m *PriceFeederInfo) XXX_Merge(src proto.Message)
func (*PriceFeederInfo) XXX_Size ¶
func (m *PriceFeederInfo) XXX_Size() int
func (*PriceFeederInfo) XXX_Unmarshal ¶
func (m *PriceFeederInfo) XXX_Unmarshal(b []byte) error
type PricefeedPacketData ¶
type PricefeedPacketData struct { // Types that are valid to be assigned to Packet: // *PricefeedPacketData_NoData Packet isPricefeedPacketData_Packet `protobuf_oneof:"packet"` }
func (*PricefeedPacketData) Descriptor ¶
func (*PricefeedPacketData) Descriptor() ([]byte, []int)
func (*PricefeedPacketData) GetNoData ¶
func (m *PricefeedPacketData) GetNoData() *NoData
func (*PricefeedPacketData) GetPacket ¶
func (m *PricefeedPacketData) GetPacket() isPricefeedPacketData_Packet
func (*PricefeedPacketData) Marshal ¶
func (m *PricefeedPacketData) Marshal() (dAtA []byte, err error)
func (*PricefeedPacketData) MarshalTo ¶
func (m *PricefeedPacketData) MarshalTo(dAtA []byte) (int, error)
func (*PricefeedPacketData) MarshalToSizedBuffer ¶
func (m *PricefeedPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PricefeedPacketData) ProtoMessage ¶
func (*PricefeedPacketData) ProtoMessage()
func (*PricefeedPacketData) Reset ¶
func (m *PricefeedPacketData) Reset()
func (*PricefeedPacketData) Size ¶
func (m *PricefeedPacketData) Size() (n int)
func (*PricefeedPacketData) String ¶
func (m *PricefeedPacketData) String() string
func (*PricefeedPacketData) Unmarshal ¶
func (m *PricefeedPacketData) Unmarshal(dAtA []byte) error
func (*PricefeedPacketData) XXX_DiscardUnknown ¶
func (m *PricefeedPacketData) XXX_DiscardUnknown()
func (*PricefeedPacketData) XXX_Marshal ¶
func (m *PricefeedPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PricefeedPacketData) XXX_Merge ¶
func (m *PricefeedPacketData) XXX_Merge(src proto.Message)
func (*PricefeedPacketData) XXX_OneofWrappers ¶
func (*PricefeedPacketData) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*PricefeedPacketData) XXX_Size ¶
func (m *PricefeedPacketData) XXX_Size() int
func (*PricefeedPacketData) XXX_Unmarshal ¶
func (m *PricefeedPacketData) XXX_Unmarshal(b []byte) error
type PricefeedPacketData_NoData ¶
type PricefeedPacketData_NoData struct {
NoData *NoData `protobuf:"bytes,1,opt,name=noData,proto3,oneof" json:"noData,omitempty"`
}
func (*PricefeedPacketData_NoData) MarshalTo ¶
func (m *PricefeedPacketData_NoData) MarshalTo(dAtA []byte) (int, error)
func (*PricefeedPacketData_NoData) MarshalToSizedBuffer ¶
func (m *PricefeedPacketData_NoData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PricefeedPacketData_NoData) Size ¶
func (m *PricefeedPacketData_NoData) Size() (n int)
type QueryAllGasPriceRequest ¶
type QueryAllGasPriceRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllGasPriceRequest) Descriptor ¶
func (*QueryAllGasPriceRequest) Descriptor() ([]byte, []int)
func (*QueryAllGasPriceRequest) GetPagination ¶
func (m *QueryAllGasPriceRequest) GetPagination() *query.PageRequest
func (*QueryAllGasPriceRequest) Marshal ¶
func (m *QueryAllGasPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllGasPriceRequest) MarshalTo ¶
func (m *QueryAllGasPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllGasPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryAllGasPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllGasPriceRequest) ProtoMessage ¶
func (*QueryAllGasPriceRequest) ProtoMessage()
func (*QueryAllGasPriceRequest) Reset ¶
func (m *QueryAllGasPriceRequest) Reset()
func (*QueryAllGasPriceRequest) Size ¶
func (m *QueryAllGasPriceRequest) Size() (n int)
func (*QueryAllGasPriceRequest) String ¶
func (m *QueryAllGasPriceRequest) String() string
func (*QueryAllGasPriceRequest) Unmarshal ¶
func (m *QueryAllGasPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryAllGasPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryAllGasPriceRequest) XXX_DiscardUnknown()
func (*QueryAllGasPriceRequest) XXX_Marshal ¶
func (m *QueryAllGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllGasPriceRequest) XXX_Merge ¶
func (m *QueryAllGasPriceRequest) XXX_Merge(src proto.Message)
func (*QueryAllGasPriceRequest) XXX_Size ¶
func (m *QueryAllGasPriceRequest) XXX_Size() int
func (*QueryAllGasPriceRequest) XXX_Unmarshal ¶
func (m *QueryAllGasPriceRequest) XXX_Unmarshal(b []byte) error
type QueryAllGasPriceResponse ¶
type QueryAllGasPriceResponse struct { GasPrice []GasPrice `protobuf:"bytes,1,rep,name=gasPrice,proto3" json:"gasPrice"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllGasPriceResponse) Descriptor ¶
func (*QueryAllGasPriceResponse) Descriptor() ([]byte, []int)
func (*QueryAllGasPriceResponse) GetGasPrice ¶
func (m *QueryAllGasPriceResponse) GetGasPrice() []GasPrice
func (*QueryAllGasPriceResponse) GetPagination ¶
func (m *QueryAllGasPriceResponse) GetPagination() *query.PageResponse
func (*QueryAllGasPriceResponse) Marshal ¶
func (m *QueryAllGasPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllGasPriceResponse) MarshalTo ¶
func (m *QueryAllGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllGasPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryAllGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllGasPriceResponse) ProtoMessage ¶
func (*QueryAllGasPriceResponse) ProtoMessage()
func (*QueryAllGasPriceResponse) Reset ¶
func (m *QueryAllGasPriceResponse) Reset()
func (*QueryAllGasPriceResponse) Size ¶
func (m *QueryAllGasPriceResponse) Size() (n int)
func (*QueryAllGasPriceResponse) String ¶
func (m *QueryAllGasPriceResponse) String() string
func (*QueryAllGasPriceResponse) Unmarshal ¶
func (m *QueryAllGasPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryAllGasPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryAllGasPriceResponse) XXX_DiscardUnknown()
func (*QueryAllGasPriceResponse) XXX_Marshal ¶
func (m *QueryAllGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllGasPriceResponse) XXX_Merge ¶
func (m *QueryAllGasPriceResponse) XXX_Merge(src proto.Message)
func (*QueryAllGasPriceResponse) XXX_Size ¶
func (m *QueryAllGasPriceResponse) XXX_Size() int
func (*QueryAllGasPriceResponse) XXX_Unmarshal ¶
func (m *QueryAllGasPriceResponse) XXX_Unmarshal(b []byte) error
type QueryAllPriceFeederInfoRequest ¶
type QueryAllPriceFeederInfoRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllPriceFeederInfoRequest) Descriptor ¶
func (*QueryAllPriceFeederInfoRequest) Descriptor() ([]byte, []int)
func (*QueryAllPriceFeederInfoRequest) GetPagination ¶
func (m *QueryAllPriceFeederInfoRequest) GetPagination() *query.PageRequest
func (*QueryAllPriceFeederInfoRequest) Marshal ¶
func (m *QueryAllPriceFeederInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPriceFeederInfoRequest) MarshalTo ¶
func (m *QueryAllPriceFeederInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPriceFeederInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPriceFeederInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPriceFeederInfoRequest) ProtoMessage ¶
func (*QueryAllPriceFeederInfoRequest) ProtoMessage()
func (*QueryAllPriceFeederInfoRequest) Reset ¶
func (m *QueryAllPriceFeederInfoRequest) Reset()
func (*QueryAllPriceFeederInfoRequest) Size ¶
func (m *QueryAllPriceFeederInfoRequest) Size() (n int)
func (*QueryAllPriceFeederInfoRequest) String ¶
func (m *QueryAllPriceFeederInfoRequest) String() string
func (*QueryAllPriceFeederInfoRequest) Unmarshal ¶
func (m *QueryAllPriceFeederInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPriceFeederInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPriceFeederInfoRequest) XXX_DiscardUnknown()
func (*QueryAllPriceFeederInfoRequest) XXX_Marshal ¶
func (m *QueryAllPriceFeederInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPriceFeederInfoRequest) XXX_Merge ¶
func (m *QueryAllPriceFeederInfoRequest) XXX_Merge(src proto.Message)
func (*QueryAllPriceFeederInfoRequest) XXX_Size ¶
func (m *QueryAllPriceFeederInfoRequest) XXX_Size() int
func (*QueryAllPriceFeederInfoRequest) XXX_Unmarshal ¶
func (m *QueryAllPriceFeederInfoRequest) XXX_Unmarshal(b []byte) error
type QueryAllPriceFeederInfoResponse ¶
type QueryAllPriceFeederInfoResponse struct { PriceFeederInfo []PriceFeederInfo `protobuf:"bytes,1,rep,name=priceFeederInfo,proto3" json:"priceFeederInfo"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPriceFeederInfoResponse) Descriptor ¶
func (*QueryAllPriceFeederInfoResponse) Descriptor() ([]byte, []int)
func (*QueryAllPriceFeederInfoResponse) GetPagination ¶
func (m *QueryAllPriceFeederInfoResponse) GetPagination() *query.PageResponse
func (*QueryAllPriceFeederInfoResponse) GetPriceFeederInfo ¶
func (m *QueryAllPriceFeederInfoResponse) GetPriceFeederInfo() []PriceFeederInfo
func (*QueryAllPriceFeederInfoResponse) Marshal ¶
func (m *QueryAllPriceFeederInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPriceFeederInfoResponse) MarshalTo ¶
func (m *QueryAllPriceFeederInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPriceFeederInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPriceFeederInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPriceFeederInfoResponse) ProtoMessage ¶
func (*QueryAllPriceFeederInfoResponse) ProtoMessage()
func (*QueryAllPriceFeederInfoResponse) Reset ¶
func (m *QueryAllPriceFeederInfoResponse) Reset()
func (*QueryAllPriceFeederInfoResponse) Size ¶
func (m *QueryAllPriceFeederInfoResponse) Size() (n int)
func (*QueryAllPriceFeederInfoResponse) String ¶
func (m *QueryAllPriceFeederInfoResponse) String() string
func (*QueryAllPriceFeederInfoResponse) Unmarshal ¶
func (m *QueryAllPriceFeederInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPriceFeederInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPriceFeederInfoResponse) XXX_DiscardUnknown()
func (*QueryAllPriceFeederInfoResponse) XXX_Marshal ¶
func (m *QueryAllPriceFeederInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPriceFeederInfoResponse) XXX_Merge ¶
func (m *QueryAllPriceFeederInfoResponse) XXX_Merge(src proto.Message)
func (*QueryAllPriceFeederInfoResponse) XXX_Size ¶
func (m *QueryAllPriceFeederInfoResponse) XXX_Size() int
func (*QueryAllPriceFeederInfoResponse) XXX_Unmarshal ¶
func (m *QueryAllPriceFeederInfoResponse) XXX_Unmarshal(b []byte) error
type QueryAllPriceRequest ¶
type QueryAllPriceRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllPriceRequest) Descriptor ¶
func (*QueryAllPriceRequest) Descriptor() ([]byte, []int)
func (*QueryAllPriceRequest) GetPagination ¶
func (m *QueryAllPriceRequest) GetPagination() *query.PageRequest
func (*QueryAllPriceRequest) Marshal ¶
func (m *QueryAllPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPriceRequest) MarshalTo ¶
func (m *QueryAllPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPriceRequest) ProtoMessage ¶
func (*QueryAllPriceRequest) ProtoMessage()
func (*QueryAllPriceRequest) Reset ¶
func (m *QueryAllPriceRequest) Reset()
func (*QueryAllPriceRequest) Size ¶
func (m *QueryAllPriceRequest) Size() (n int)
func (*QueryAllPriceRequest) String ¶
func (m *QueryAllPriceRequest) String() string
func (*QueryAllPriceRequest) Unmarshal ¶
func (m *QueryAllPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPriceRequest) XXX_DiscardUnknown()
func (*QueryAllPriceRequest) XXX_Marshal ¶
func (m *QueryAllPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPriceRequest) XXX_Merge ¶
func (m *QueryAllPriceRequest) XXX_Merge(src proto.Message)
func (*QueryAllPriceRequest) XXX_Size ¶
func (m *QueryAllPriceRequest) XXX_Size() int
func (*QueryAllPriceRequest) XXX_Unmarshal ¶
func (m *QueryAllPriceRequest) XXX_Unmarshal(b []byte) error
type QueryAllPriceResponse ¶
type QueryAllPriceResponse struct { Price []Price `protobuf:"bytes,1,rep,name=price,proto3" json:"price"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPriceResponse) Descriptor ¶
func (*QueryAllPriceResponse) Descriptor() ([]byte, []int)
func (*QueryAllPriceResponse) GetPagination ¶
func (m *QueryAllPriceResponse) GetPagination() *query.PageResponse
func (*QueryAllPriceResponse) GetPrice ¶
func (m *QueryAllPriceResponse) GetPrice() []Price
func (*QueryAllPriceResponse) Marshal ¶
func (m *QueryAllPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPriceResponse) MarshalTo ¶
func (m *QueryAllPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPriceResponse) ProtoMessage ¶
func (*QueryAllPriceResponse) ProtoMessage()
func (*QueryAllPriceResponse) Reset ¶
func (m *QueryAllPriceResponse) Reset()
func (*QueryAllPriceResponse) Size ¶
func (m *QueryAllPriceResponse) Size() (n int)
func (*QueryAllPriceResponse) String ¶
func (m *QueryAllPriceResponse) String() string
func (*QueryAllPriceResponse) Unmarshal ¶
func (m *QueryAllPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPriceResponse) XXX_DiscardUnknown()
func (*QueryAllPriceResponse) XXX_Marshal ¶
func (m *QueryAllPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPriceResponse) XXX_Merge ¶
func (m *QueryAllPriceResponse) XXX_Merge(src proto.Message)
func (*QueryAllPriceResponse) XXX_Size ¶
func (m *QueryAllPriceResponse) XXX_Size() int
func (*QueryAllPriceResponse) XXX_Unmarshal ¶
func (m *QueryAllPriceResponse) XXX_Unmarshal(b []byte) error
type QueryAllSymbolRequestRequest ¶
type QueryAllSymbolRequestRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllSymbolRequestRequest) Descriptor ¶
func (*QueryAllSymbolRequestRequest) Descriptor() ([]byte, []int)
func (*QueryAllSymbolRequestRequest) GetPagination ¶
func (m *QueryAllSymbolRequestRequest) GetPagination() *query.PageRequest
func (*QueryAllSymbolRequestRequest) Marshal ¶
func (m *QueryAllSymbolRequestRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllSymbolRequestRequest) MarshalTo ¶
func (m *QueryAllSymbolRequestRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllSymbolRequestRequest) MarshalToSizedBuffer ¶
func (m *QueryAllSymbolRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllSymbolRequestRequest) ProtoMessage ¶
func (*QueryAllSymbolRequestRequest) ProtoMessage()
func (*QueryAllSymbolRequestRequest) Reset ¶
func (m *QueryAllSymbolRequestRequest) Reset()
func (*QueryAllSymbolRequestRequest) Size ¶
func (m *QueryAllSymbolRequestRequest) Size() (n int)
func (*QueryAllSymbolRequestRequest) String ¶
func (m *QueryAllSymbolRequestRequest) String() string
func (*QueryAllSymbolRequestRequest) Unmarshal ¶
func (m *QueryAllSymbolRequestRequest) Unmarshal(dAtA []byte) error
func (*QueryAllSymbolRequestRequest) XXX_DiscardUnknown ¶
func (m *QueryAllSymbolRequestRequest) XXX_DiscardUnknown()
func (*QueryAllSymbolRequestRequest) XXX_Marshal ¶
func (m *QueryAllSymbolRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllSymbolRequestRequest) XXX_Merge ¶
func (m *QueryAllSymbolRequestRequest) XXX_Merge(src proto.Message)
func (*QueryAllSymbolRequestRequest) XXX_Size ¶
func (m *QueryAllSymbolRequestRequest) XXX_Size() int
func (*QueryAllSymbolRequestRequest) XXX_Unmarshal ¶
func (m *QueryAllSymbolRequestRequest) XXX_Unmarshal(b []byte) error
type QueryAllSymbolRequestResponse ¶
type QueryAllSymbolRequestResponse struct { SymbolRequest []SymbolRequest `protobuf:"bytes,1,rep,name=symbolRequest,proto3" json:"symbolRequest"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllSymbolRequestResponse) Descriptor ¶
func (*QueryAllSymbolRequestResponse) Descriptor() ([]byte, []int)
func (*QueryAllSymbolRequestResponse) GetPagination ¶
func (m *QueryAllSymbolRequestResponse) GetPagination() *query.PageResponse
func (*QueryAllSymbolRequestResponse) GetSymbolRequest ¶
func (m *QueryAllSymbolRequestResponse) GetSymbolRequest() []SymbolRequest
func (*QueryAllSymbolRequestResponse) Marshal ¶
func (m *QueryAllSymbolRequestResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllSymbolRequestResponse) MarshalTo ¶
func (m *QueryAllSymbolRequestResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllSymbolRequestResponse) MarshalToSizedBuffer ¶
func (m *QueryAllSymbolRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllSymbolRequestResponse) ProtoMessage ¶
func (*QueryAllSymbolRequestResponse) ProtoMessage()
func (*QueryAllSymbolRequestResponse) Reset ¶
func (m *QueryAllSymbolRequestResponse) Reset()
func (*QueryAllSymbolRequestResponse) Size ¶
func (m *QueryAllSymbolRequestResponse) Size() (n int)
func (*QueryAllSymbolRequestResponse) String ¶
func (m *QueryAllSymbolRequestResponse) String() string
func (*QueryAllSymbolRequestResponse) Unmarshal ¶
func (m *QueryAllSymbolRequestResponse) Unmarshal(dAtA []byte) error
func (*QueryAllSymbolRequestResponse) XXX_DiscardUnknown ¶
func (m *QueryAllSymbolRequestResponse) XXX_DiscardUnknown()
func (*QueryAllSymbolRequestResponse) XXX_Marshal ¶
func (m *QueryAllSymbolRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllSymbolRequestResponse) XXX_Merge ¶
func (m *QueryAllSymbolRequestResponse) XXX_Merge(src proto.Message)
func (*QueryAllSymbolRequestResponse) XXX_Size ¶
func (m *QueryAllSymbolRequestResponse) XXX_Size() int
func (*QueryAllSymbolRequestResponse) XXX_Unmarshal ¶
func (m *QueryAllSymbolRequestResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of Price items. Price(ctx context.Context, in *QueryGetPriceRequest, opts ...grpc.CallOption) (*QueryGetPriceResponse, error) PriceAll(ctx context.Context, in *QueryAllPriceRequest, opts ...grpc.CallOption) (*QueryAllPriceResponse, error) // Queries a list of SymbolRequest items. SymbolRequest(ctx context.Context, in *QueryGetSymbolRequestRequest, opts ...grpc.CallOption) (*QueryGetSymbolRequestResponse, error) SymbolRequestAll(ctx context.Context, in *QueryAllSymbolRequestRequest, opts ...grpc.CallOption) (*QueryAllSymbolRequestResponse, error) // Queries a list of PriceFeederInfo items. PriceFeederInfo(ctx context.Context, in *QueryGetPriceFeederInfoRequest, opts ...grpc.CallOption) (*QueryGetPriceFeederInfoResponse, error) PriceFeederInfoAll(ctx context.Context, in *QueryAllPriceFeederInfoRequest, opts ...grpc.CallOption) (*QueryAllPriceFeederInfoResponse, error) // Queries a list of GasPrice items. GasPrice(ctx context.Context, in *QueryGetGasPriceRequest, opts ...grpc.CallOption) (*QueryGetGasPriceResponse, error) GasPriceAll(ctx context.Context, in *QueryAllGasPriceRequest, opts ...grpc.CallOption) (*QueryAllGasPriceResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryGetGasPriceRequest ¶
type QueryGetGasPriceRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
}
func (*QueryGetGasPriceRequest) Descriptor ¶
func (*QueryGetGasPriceRequest) Descriptor() ([]byte, []int)
func (*QueryGetGasPriceRequest) GetChainId ¶
func (m *QueryGetGasPriceRequest) GetChainId() string
func (*QueryGetGasPriceRequest) Marshal ¶
func (m *QueryGetGasPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetGasPriceRequest) MarshalTo ¶
func (m *QueryGetGasPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetGasPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryGetGasPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetGasPriceRequest) ProtoMessage ¶
func (*QueryGetGasPriceRequest) ProtoMessage()
func (*QueryGetGasPriceRequest) Reset ¶
func (m *QueryGetGasPriceRequest) Reset()
func (*QueryGetGasPriceRequest) Size ¶
func (m *QueryGetGasPriceRequest) Size() (n int)
func (*QueryGetGasPriceRequest) String ¶
func (m *QueryGetGasPriceRequest) String() string
func (*QueryGetGasPriceRequest) Unmarshal ¶
func (m *QueryGetGasPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryGetGasPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryGetGasPriceRequest) XXX_DiscardUnknown()
func (*QueryGetGasPriceRequest) XXX_Marshal ¶
func (m *QueryGetGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetGasPriceRequest) XXX_Merge ¶
func (m *QueryGetGasPriceRequest) XXX_Merge(src proto.Message)
func (*QueryGetGasPriceRequest) XXX_Size ¶
func (m *QueryGetGasPriceRequest) XXX_Size() int
func (*QueryGetGasPriceRequest) XXX_Unmarshal ¶
func (m *QueryGetGasPriceRequest) XXX_Unmarshal(b []byte) error
type QueryGetGasPriceResponse ¶
type QueryGetGasPriceResponse struct {
GasPrice GasPrice `protobuf:"bytes,1,opt,name=gasPrice,proto3" json:"gasPrice"`
}
func (*QueryGetGasPriceResponse) Descriptor ¶
func (*QueryGetGasPriceResponse) Descriptor() ([]byte, []int)
func (*QueryGetGasPriceResponse) GetGasPrice ¶
func (m *QueryGetGasPriceResponse) GetGasPrice() GasPrice
func (*QueryGetGasPriceResponse) Marshal ¶
func (m *QueryGetGasPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetGasPriceResponse) MarshalTo ¶
func (m *QueryGetGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetGasPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryGetGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetGasPriceResponse) ProtoMessage ¶
func (*QueryGetGasPriceResponse) ProtoMessage()
func (*QueryGetGasPriceResponse) Reset ¶
func (m *QueryGetGasPriceResponse) Reset()
func (*QueryGetGasPriceResponse) Size ¶
func (m *QueryGetGasPriceResponse) Size() (n int)
func (*QueryGetGasPriceResponse) String ¶
func (m *QueryGetGasPriceResponse) String() string
func (*QueryGetGasPriceResponse) Unmarshal ¶
func (m *QueryGetGasPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryGetGasPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryGetGasPriceResponse) XXX_DiscardUnknown()
func (*QueryGetGasPriceResponse) XXX_Marshal ¶
func (m *QueryGetGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetGasPriceResponse) XXX_Merge ¶
func (m *QueryGetGasPriceResponse) XXX_Merge(src proto.Message)
func (*QueryGetGasPriceResponse) XXX_Size ¶
func (m *QueryGetGasPriceResponse) XXX_Size() int
func (*QueryGetGasPriceResponse) XXX_Unmarshal ¶
func (m *QueryGetGasPriceResponse) XXX_Unmarshal(b []byte) error
type QueryGetPriceFeederInfoRequest ¶
type QueryGetPriceFeederInfoRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (*QueryGetPriceFeederInfoRequest) Descriptor ¶
func (*QueryGetPriceFeederInfoRequest) Descriptor() ([]byte, []int)
func (*QueryGetPriceFeederInfoRequest) GetName ¶
func (m *QueryGetPriceFeederInfoRequest) GetName() string
func (*QueryGetPriceFeederInfoRequest) Marshal ¶
func (m *QueryGetPriceFeederInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPriceFeederInfoRequest) MarshalTo ¶
func (m *QueryGetPriceFeederInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPriceFeederInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPriceFeederInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPriceFeederInfoRequest) ProtoMessage ¶
func (*QueryGetPriceFeederInfoRequest) ProtoMessage()
func (*QueryGetPriceFeederInfoRequest) Reset ¶
func (m *QueryGetPriceFeederInfoRequest) Reset()
func (*QueryGetPriceFeederInfoRequest) Size ¶
func (m *QueryGetPriceFeederInfoRequest) Size() (n int)
func (*QueryGetPriceFeederInfoRequest) String ¶
func (m *QueryGetPriceFeederInfoRequest) String() string
func (*QueryGetPriceFeederInfoRequest) Unmarshal ¶
func (m *QueryGetPriceFeederInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPriceFeederInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPriceFeederInfoRequest) XXX_DiscardUnknown()
func (*QueryGetPriceFeederInfoRequest) XXX_Marshal ¶
func (m *QueryGetPriceFeederInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPriceFeederInfoRequest) XXX_Merge ¶
func (m *QueryGetPriceFeederInfoRequest) XXX_Merge(src proto.Message)
func (*QueryGetPriceFeederInfoRequest) XXX_Size ¶
func (m *QueryGetPriceFeederInfoRequest) XXX_Size() int
func (*QueryGetPriceFeederInfoRequest) XXX_Unmarshal ¶
func (m *QueryGetPriceFeederInfoRequest) XXX_Unmarshal(b []byte) error
type QueryGetPriceFeederInfoResponse ¶
type QueryGetPriceFeederInfoResponse struct {
PriceFeederInfo PriceFeederInfo `protobuf:"bytes,1,opt,name=priceFeederInfo,proto3" json:"priceFeederInfo"`
}
func (*QueryGetPriceFeederInfoResponse) Descriptor ¶
func (*QueryGetPriceFeederInfoResponse) Descriptor() ([]byte, []int)
func (*QueryGetPriceFeederInfoResponse) GetPriceFeederInfo ¶
func (m *QueryGetPriceFeederInfoResponse) GetPriceFeederInfo() PriceFeederInfo
func (*QueryGetPriceFeederInfoResponse) Marshal ¶
func (m *QueryGetPriceFeederInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPriceFeederInfoResponse) MarshalTo ¶
func (m *QueryGetPriceFeederInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPriceFeederInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPriceFeederInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPriceFeederInfoResponse) ProtoMessage ¶
func (*QueryGetPriceFeederInfoResponse) ProtoMessage()
func (*QueryGetPriceFeederInfoResponse) Reset ¶
func (m *QueryGetPriceFeederInfoResponse) Reset()
func (*QueryGetPriceFeederInfoResponse) Size ¶
func (m *QueryGetPriceFeederInfoResponse) Size() (n int)
func (*QueryGetPriceFeederInfoResponse) String ¶
func (m *QueryGetPriceFeederInfoResponse) String() string
func (*QueryGetPriceFeederInfoResponse) Unmarshal ¶
func (m *QueryGetPriceFeederInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPriceFeederInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPriceFeederInfoResponse) XXX_DiscardUnknown()
func (*QueryGetPriceFeederInfoResponse) XXX_Marshal ¶
func (m *QueryGetPriceFeederInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPriceFeederInfoResponse) XXX_Merge ¶
func (m *QueryGetPriceFeederInfoResponse) XXX_Merge(src proto.Message)
func (*QueryGetPriceFeederInfoResponse) XXX_Size ¶
func (m *QueryGetPriceFeederInfoResponse) XXX_Size() int
func (*QueryGetPriceFeederInfoResponse) XXX_Unmarshal ¶
func (m *QueryGetPriceFeederInfoResponse) XXX_Unmarshal(b []byte) error
type QueryGetPriceRequest ¶
type QueryGetPriceRequest struct {
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
}
func (*QueryGetPriceRequest) Descriptor ¶
func (*QueryGetPriceRequest) Descriptor() ([]byte, []int)
func (*QueryGetPriceRequest) GetSymbol ¶
func (m *QueryGetPriceRequest) GetSymbol() string
func (*QueryGetPriceRequest) Marshal ¶
func (m *QueryGetPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPriceRequest) MarshalTo ¶
func (m *QueryGetPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPriceRequest) ProtoMessage ¶
func (*QueryGetPriceRequest) ProtoMessage()
func (*QueryGetPriceRequest) Reset ¶
func (m *QueryGetPriceRequest) Reset()
func (*QueryGetPriceRequest) Size ¶
func (m *QueryGetPriceRequest) Size() (n int)
func (*QueryGetPriceRequest) String ¶
func (m *QueryGetPriceRequest) String() string
func (*QueryGetPriceRequest) Unmarshal ¶
func (m *QueryGetPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPriceRequest) XXX_DiscardUnknown()
func (*QueryGetPriceRequest) XXX_Marshal ¶
func (m *QueryGetPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPriceRequest) XXX_Merge ¶
func (m *QueryGetPriceRequest) XXX_Merge(src proto.Message)
func (*QueryGetPriceRequest) XXX_Size ¶
func (m *QueryGetPriceRequest) XXX_Size() int
func (*QueryGetPriceRequest) XXX_Unmarshal ¶
func (m *QueryGetPriceRequest) XXX_Unmarshal(b []byte) error
type QueryGetPriceResponse ¶
type QueryGetPriceResponse struct {
Price Price `protobuf:"bytes,1,opt,name=price,proto3" json:"price"`
}
func (*QueryGetPriceResponse) Descriptor ¶
func (*QueryGetPriceResponse) Descriptor() ([]byte, []int)
func (*QueryGetPriceResponse) GetPrice ¶
func (m *QueryGetPriceResponse) GetPrice() Price
func (*QueryGetPriceResponse) Marshal ¶
func (m *QueryGetPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPriceResponse) MarshalTo ¶
func (m *QueryGetPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPriceResponse) ProtoMessage ¶
func (*QueryGetPriceResponse) ProtoMessage()
func (*QueryGetPriceResponse) Reset ¶
func (m *QueryGetPriceResponse) Reset()
func (*QueryGetPriceResponse) Size ¶
func (m *QueryGetPriceResponse) Size() (n int)
func (*QueryGetPriceResponse) String ¶
func (m *QueryGetPriceResponse) String() string
func (*QueryGetPriceResponse) Unmarshal ¶
func (m *QueryGetPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPriceResponse) XXX_DiscardUnknown()
func (*QueryGetPriceResponse) XXX_Marshal ¶
func (m *QueryGetPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPriceResponse) XXX_Merge ¶
func (m *QueryGetPriceResponse) XXX_Merge(src proto.Message)
func (*QueryGetPriceResponse) XXX_Size ¶
func (m *QueryGetPriceResponse) XXX_Size() int
func (*QueryGetPriceResponse) XXX_Unmarshal ¶
func (m *QueryGetPriceResponse) XXX_Unmarshal(b []byte) error
type QueryGetSymbolRequestRequest ¶
type QueryGetSymbolRequestRequest struct {
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
}
func (*QueryGetSymbolRequestRequest) Descriptor ¶
func (*QueryGetSymbolRequestRequest) Descriptor() ([]byte, []int)
func (*QueryGetSymbolRequestRequest) GetSymbol ¶
func (m *QueryGetSymbolRequestRequest) GetSymbol() string
func (*QueryGetSymbolRequestRequest) Marshal ¶
func (m *QueryGetSymbolRequestRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetSymbolRequestRequest) MarshalTo ¶
func (m *QueryGetSymbolRequestRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetSymbolRequestRequest) MarshalToSizedBuffer ¶
func (m *QueryGetSymbolRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetSymbolRequestRequest) ProtoMessage ¶
func (*QueryGetSymbolRequestRequest) ProtoMessage()
func (*QueryGetSymbolRequestRequest) Reset ¶
func (m *QueryGetSymbolRequestRequest) Reset()
func (*QueryGetSymbolRequestRequest) Size ¶
func (m *QueryGetSymbolRequestRequest) Size() (n int)
func (*QueryGetSymbolRequestRequest) String ¶
func (m *QueryGetSymbolRequestRequest) String() string
func (*QueryGetSymbolRequestRequest) Unmarshal ¶
func (m *QueryGetSymbolRequestRequest) Unmarshal(dAtA []byte) error
func (*QueryGetSymbolRequestRequest) XXX_DiscardUnknown ¶
func (m *QueryGetSymbolRequestRequest) XXX_DiscardUnknown()
func (*QueryGetSymbolRequestRequest) XXX_Marshal ¶
func (m *QueryGetSymbolRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetSymbolRequestRequest) XXX_Merge ¶
func (m *QueryGetSymbolRequestRequest) XXX_Merge(src proto.Message)
func (*QueryGetSymbolRequestRequest) XXX_Size ¶
func (m *QueryGetSymbolRequestRequest) XXX_Size() int
func (*QueryGetSymbolRequestRequest) XXX_Unmarshal ¶
func (m *QueryGetSymbolRequestRequest) XXX_Unmarshal(b []byte) error
type QueryGetSymbolRequestResponse ¶
type QueryGetSymbolRequestResponse struct {
SymbolRequest SymbolRequest `protobuf:"bytes,1,opt,name=symbolRequest,proto3" json:"symbolRequest"`
}
func (*QueryGetSymbolRequestResponse) Descriptor ¶
func (*QueryGetSymbolRequestResponse) Descriptor() ([]byte, []int)
func (*QueryGetSymbolRequestResponse) GetSymbolRequest ¶
func (m *QueryGetSymbolRequestResponse) GetSymbolRequest() SymbolRequest
func (*QueryGetSymbolRequestResponse) Marshal ¶
func (m *QueryGetSymbolRequestResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetSymbolRequestResponse) MarshalTo ¶
func (m *QueryGetSymbolRequestResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetSymbolRequestResponse) MarshalToSizedBuffer ¶
func (m *QueryGetSymbolRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetSymbolRequestResponse) ProtoMessage ¶
func (*QueryGetSymbolRequestResponse) ProtoMessage()
func (*QueryGetSymbolRequestResponse) Reset ¶
func (m *QueryGetSymbolRequestResponse) Reset()
func (*QueryGetSymbolRequestResponse) Size ¶
func (m *QueryGetSymbolRequestResponse) Size() (n int)
func (*QueryGetSymbolRequestResponse) String ¶
func (m *QueryGetSymbolRequestResponse) String() string
func (*QueryGetSymbolRequestResponse) Unmarshal ¶
func (m *QueryGetSymbolRequestResponse) Unmarshal(dAtA []byte) error
func (*QueryGetSymbolRequestResponse) XXX_DiscardUnknown ¶
func (m *QueryGetSymbolRequestResponse) XXX_DiscardUnknown()
func (*QueryGetSymbolRequestResponse) XXX_Marshal ¶
func (m *QueryGetSymbolRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetSymbolRequestResponse) XXX_Merge ¶
func (m *QueryGetSymbolRequestResponse) XXX_Merge(src proto.Message)
func (*QueryGetSymbolRequestResponse) XXX_Size ¶
func (m *QueryGetSymbolRequestResponse) XXX_Size() int
func (*QueryGetSymbolRequestResponse) XXX_Unmarshal ¶
func (m *QueryGetSymbolRequestResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of Price items. Price(context.Context, *QueryGetPriceRequest) (*QueryGetPriceResponse, error) PriceAll(context.Context, *QueryAllPriceRequest) (*QueryAllPriceResponse, error) // Queries a list of SymbolRequest items. SymbolRequest(context.Context, *QueryGetSymbolRequestRequest) (*QueryGetSymbolRequestResponse, error) SymbolRequestAll(context.Context, *QueryAllSymbolRequestRequest) (*QueryAllSymbolRequestResponse, error) // Queries a list of PriceFeederInfo items. PriceFeederInfo(context.Context, *QueryGetPriceFeederInfoRequest) (*QueryGetPriceFeederInfoResponse, error) PriceFeederInfoAll(context.Context, *QueryAllPriceFeederInfoRequest) (*QueryAllPriceFeederInfoResponse, error) // Queries a list of GasPrice items. GasPrice(context.Context, *QueryGetGasPriceRequest) (*QueryGetGasPriceResponse, error) GasPriceAll(context.Context, *QueryAllGasPriceRequest) (*QueryAllGasPriceResponse, error) }
QueryServer is the server API for Query service.
type ScopedKeeper ¶
type ScopedKeeper interface { GetCapability(ctx sdk.Context, name string) (*capabilitytypes.Capability, bool) AuthenticateCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) bool ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error }
ScopedKeeper defines the expected IBC scoped keeper.
type SymbolRequest ¶
type SymbolRequest struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` OracleScriptID uint64 `protobuf:"varint,2,opt,name=oracle_script_id,json=oracleScriptId,proto3" json:"oracle_script_id,omitempty"` BlockInterval uint64 `protobuf:"varint,3,opt,name=block_interval,json=blockInterval,proto3" json:"block_interval,omitempty"` }
SymbolRequest is a message that represents a symbol request data structure. It contains the symbol or name of the requested price data, the ID of the oracle script used to fetch the requested price data, and the block interval at which the price data should be update every n block.
func NewSymbolRequest ¶
func NewSymbolRequest(symbol string, oracleScriptID, interval uint64) SymbolRequest
func (*SymbolRequest) Descriptor ¶
func (*SymbolRequest) Descriptor() ([]byte, []int)
func (*SymbolRequest) GetBlockInterval ¶
func (m *SymbolRequest) GetBlockInterval() uint64
func (*SymbolRequest) GetOracleScriptID ¶
func (m *SymbolRequest) GetOracleScriptID() uint64
func (*SymbolRequest) GetSymbol ¶
func (m *SymbolRequest) GetSymbol() string
func (*SymbolRequest) Marshal ¶
func (m *SymbolRequest) Marshal() (dAtA []byte, err error)
func (*SymbolRequest) MarshalToSizedBuffer ¶
func (m *SymbolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SymbolRequest) ProtoMessage ¶
func (*SymbolRequest) ProtoMessage()
func (*SymbolRequest) Reset ¶
func (m *SymbolRequest) Reset()
func (*SymbolRequest) Size ¶
func (m *SymbolRequest) Size() (n int)
func (*SymbolRequest) String ¶
func (m *SymbolRequest) String() string
func (*SymbolRequest) Unmarshal ¶
func (m *SymbolRequest) Unmarshal(dAtA []byte) error
func (*SymbolRequest) XXX_DiscardUnknown ¶
func (m *SymbolRequest) XXX_DiscardUnknown()
func (*SymbolRequest) XXX_Marshal ¶
func (m *SymbolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SymbolRequest) XXX_Merge ¶
func (m *SymbolRequest) XXX_Merge(src proto.Message)
func (*SymbolRequest) XXX_Size ¶
func (m *SymbolRequest) XXX_Size() int
func (*SymbolRequest) XXX_Unmarshal ¶
func (m *SymbolRequest) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) GasPrices ¶
func (*UnimplementedMsgServer) GasPrices(ctx context.Context, req *MsgGasPrices) (*MsgGasPricesResponse, error)
func (*UnimplementedMsgServer) TokenPrices ¶
func (*UnimplementedMsgServer) TokenPrices(ctx context.Context, req *MsgTokenPrices) (*MsgTokenPricesResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) GasPrice ¶
func (*UnimplementedQueryServer) GasPrice(ctx context.Context, req *QueryGetGasPriceRequest) (*QueryGetGasPriceResponse, error)
func (*UnimplementedQueryServer) GasPriceAll ¶
func (*UnimplementedQueryServer) GasPriceAll(ctx context.Context, req *QueryAllGasPriceRequest) (*QueryAllGasPriceResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Price ¶
func (*UnimplementedQueryServer) Price(ctx context.Context, req *QueryGetPriceRequest) (*QueryGetPriceResponse, error)
func (*UnimplementedQueryServer) PriceAll ¶
func (*UnimplementedQueryServer) PriceAll(ctx context.Context, req *QueryAllPriceRequest) (*QueryAllPriceResponse, error)
func (*UnimplementedQueryServer) PriceFeederInfo ¶
func (*UnimplementedQueryServer) PriceFeederInfo(ctx context.Context, req *QueryGetPriceFeederInfoRequest) (*QueryGetPriceFeederInfoResponse, error)
func (*UnimplementedQueryServer) PriceFeederInfoAll ¶
func (*UnimplementedQueryServer) PriceFeederInfoAll(ctx context.Context, req *QueryAllPriceFeederInfoRequest) (*QueryAllPriceFeederInfoResponse, error)
func (*UnimplementedQueryServer) SymbolRequest ¶
func (*UnimplementedQueryServer) SymbolRequest(ctx context.Context, req *QueryGetSymbolRequestRequest) (*QueryGetSymbolRequestResponse, error)
func (*UnimplementedQueryServer) SymbolRequestAll ¶
func (*UnimplementedQueryServer) SymbolRequestAll(ctx context.Context, req *QueryAllSymbolRequestRequest) (*QueryAllSymbolRequestResponse, error)
type UpdatePriceFeederInfoProposal ¶
type UpdatePriceFeederInfoProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` PriceFeederInfo PriceFeederInfo `protobuf:"bytes,3,opt,name=price_feeder_info,json=priceFeederInfo,proto3" json:"price_feeder_info"` }
UpdatePriceFeederInfoProposal is a message that represents a proposal to update a pricefeeder info. It contains a title, description, and pricefeeder info requests to be updated. Once approved, the data will update the PriceFeederInfo in the state.
func NewUpdatePriceFeederInfoProposal ¶
func NewUpdatePriceFeederInfoProposal( title, description string, priceFeederInfo PriceFeederInfo, ) *UpdatePriceFeederInfoProposal
func (*UpdatePriceFeederInfoProposal) Descriptor ¶
func (*UpdatePriceFeederInfoProposal) Descriptor() ([]byte, []int)
func (*UpdatePriceFeederInfoProposal) GetDescription ¶
func (p *UpdatePriceFeederInfoProposal) GetDescription() string
GetDescription returns the description of a update price feeder info proposal.
func (*UpdatePriceFeederInfoProposal) GetTitle ¶
func (p *UpdatePriceFeederInfoProposal) GetTitle() string
GetTitle returns the title of a update price feeder info proposal.
func (*UpdatePriceFeederInfoProposal) Marshal ¶
func (m *UpdatePriceFeederInfoProposal) Marshal() (dAtA []byte, err error)
func (*UpdatePriceFeederInfoProposal) MarshalTo ¶
func (m *UpdatePriceFeederInfoProposal) MarshalTo(dAtA []byte) (int, error)
func (*UpdatePriceFeederInfoProposal) MarshalToSizedBuffer ¶
func (m *UpdatePriceFeederInfoProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdatePriceFeederInfoProposal) ProposalRoute ¶
func (*UpdatePriceFeederInfoProposal) ProposalRoute() string
ProposalRoute returns the routing key of a update price feeder info proposal.
func (*UpdatePriceFeederInfoProposal) ProposalType ¶
func (*UpdatePriceFeederInfoProposal) ProposalType() string
ProposalType returns the type of a update price feeder info proposal.
func (*UpdatePriceFeederInfoProposal) ProtoMessage ¶
func (*UpdatePriceFeederInfoProposal) ProtoMessage()
func (*UpdatePriceFeederInfoProposal) Reset ¶
func (m *UpdatePriceFeederInfoProposal) Reset()
func (*UpdatePriceFeederInfoProposal) Size ¶
func (m *UpdatePriceFeederInfoProposal) Size() (n int)
func (*UpdatePriceFeederInfoProposal) String ¶
func (m *UpdatePriceFeederInfoProposal) String() string
func (*UpdatePriceFeederInfoProposal) Unmarshal ¶
func (m *UpdatePriceFeederInfoProposal) Unmarshal(dAtA []byte) error
func (*UpdatePriceFeederInfoProposal) ValidateBasic ¶
func (p *UpdatePriceFeederInfoProposal) ValidateBasic() error
ValidateBasic validates the update price feeder info proposal.
func (*UpdatePriceFeederInfoProposal) XXX_DiscardUnknown ¶
func (m *UpdatePriceFeederInfoProposal) XXX_DiscardUnknown()
func (*UpdatePriceFeederInfoProposal) XXX_Marshal ¶
func (m *UpdatePriceFeederInfoProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdatePriceFeederInfoProposal) XXX_Merge ¶
func (m *UpdatePriceFeederInfoProposal) XXX_Merge(src proto.Message)
func (*UpdatePriceFeederInfoProposal) XXX_Size ¶
func (m *UpdatePriceFeederInfoProposal) XXX_Size() int
func (*UpdatePriceFeederInfoProposal) XXX_Unmarshal ¶
func (m *UpdatePriceFeederInfoProposal) XXX_Unmarshal(b []byte) error
type UpdateSymbolRequestProposal ¶
type UpdateSymbolRequestProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` SymbolRequests []SymbolRequest `protobuf:"bytes,3,rep,name=symbol_requests,json=symbolRequests,proto3" json:"symbol_requests"` }
UpdateSymbolRequestProposal is a message that represents a proposal to update a symbol request. It contains a title, description, and a list of symbol requests to be updated. Once approved, the data will update the SymbolRequest in the state.
func NewUpdateSymbolRequestProposal ¶
func NewUpdateSymbolRequestProposal( title, description string, symbolRequests []SymbolRequest, ) *UpdateSymbolRequestProposal
func (*UpdateSymbolRequestProposal) Descriptor ¶
func (*UpdateSymbolRequestProposal) Descriptor() ([]byte, []int)
func (*UpdateSymbolRequestProposal) GetDescription ¶
func (p *UpdateSymbolRequestProposal) GetDescription() string
GetDescription returns the description of a update symbol request proposal.
func (*UpdateSymbolRequestProposal) GetTitle ¶
func (p *UpdateSymbolRequestProposal) GetTitle() string
GetTitle returns the title of a update symbol request proposal.
func (*UpdateSymbolRequestProposal) Marshal ¶
func (m *UpdateSymbolRequestProposal) Marshal() (dAtA []byte, err error)
func (*UpdateSymbolRequestProposal) MarshalTo ¶
func (m *UpdateSymbolRequestProposal) MarshalTo(dAtA []byte) (int, error)
func (*UpdateSymbolRequestProposal) MarshalToSizedBuffer ¶
func (m *UpdateSymbolRequestProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateSymbolRequestProposal) ProposalRoute ¶
func (*UpdateSymbolRequestProposal) ProposalRoute() string
ProposalRoute returns the routing key of a update symbol request proposal.
func (*UpdateSymbolRequestProposal) ProposalType ¶
func (*UpdateSymbolRequestProposal) ProposalType() string
ProposalType returns the type of a update symbol request proposal.
func (*UpdateSymbolRequestProposal) ProtoMessage ¶
func (*UpdateSymbolRequestProposal) ProtoMessage()
func (*UpdateSymbolRequestProposal) Reset ¶
func (m *UpdateSymbolRequestProposal) Reset()
func (*UpdateSymbolRequestProposal) Size ¶
func (m *UpdateSymbolRequestProposal) Size() (n int)
func (*UpdateSymbolRequestProposal) String ¶
func (m *UpdateSymbolRequestProposal) String() string
func (*UpdateSymbolRequestProposal) Unmarshal ¶
func (m *UpdateSymbolRequestProposal) Unmarshal(dAtA []byte) error
func (*UpdateSymbolRequestProposal) ValidateBasic ¶
func (p *UpdateSymbolRequestProposal) ValidateBasic() error
ValidateBasic validates the update symbol request proposal.
func (*UpdateSymbolRequestProposal) XXX_DiscardUnknown ¶
func (m *UpdateSymbolRequestProposal) XXX_DiscardUnknown()
func (*UpdateSymbolRequestProposal) XXX_Marshal ¶
func (m *UpdateSymbolRequestProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateSymbolRequestProposal) XXX_Merge ¶
func (m *UpdateSymbolRequestProposal) XXX_Merge(src proto.Message)
func (*UpdateSymbolRequestProposal) XXX_Size ¶
func (m *UpdateSymbolRequestProposal) XXX_Size() int
func (*UpdateSymbolRequestProposal) XXX_Unmarshal ¶
func (m *UpdateSymbolRequestProposal) XXX_Unmarshal(b []byte) error
Source Files ¶
- codec.go
- errors.go
- events_ibc.go
- expected_ibc_keeper.go
- expected_keepers.go
- gas_price.pb.go
- genesis.go
- genesis.pb.go
- helpers.go
- key_gas_price.go
- key_price.go
- key_price_feeder_info.go
- key_symbol_request.go
- keys.go
- message_gas_prices.go
- message_token_prices.go
- packet.pb.go
- params.go
- params.pb.go
- price.pb.go
- price_feeder_info.pb.go
- pricefeeder_info_proposal.go
- proposal.go
- query.pb.go
- symbol_request.pb.go
- tx.pb.go
- types.go
- update_price_feeder_request_proposal.pb.go
- update_symbol_request_proposal.pb.go