types

package
v0.38.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 34 Imported by: 1

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeTimeout = "timeout"

	AttributeKeyAckSuccess = "success"
	AttributeKeyAck        = "acknowledgement"
	AttributeKeyAckError   = "error"
)

IBC events

View Source
const (
	// ModuleName defines the module name
	ModuleName = "oracle"

	// 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_oracle"

	// Version defines the current version the IBC module supports
	Version = "bandchain-1"

	// PortID is the default port id that module binds to
	PortID = "oracle"
)
View Source
const (
	TypeMsgUpdateParams       string = "UpdateParams"
	TypeMsgAddAssetInfo       string = "AddAssetInfo"
	TypeMsgRemoveAssetInfo    string = "RemoveAssetInfo"
	TypeMsgAddPriceFeeders    string = "AddPriceFeeders"
	TypeMsgRemovePriceFeeders string = "RemovePriceFeeders"
)
View Source
const (
	TypeMsgSetPriceFeeder    = "update_price_feeder"
	TypeMsgDeletePriceFeeder = "delete_price_feeder"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const TypeMsgFeedMultiplePrices = "feed_multiple_prices"
View Source
const (
	TypeMsgFeedPrice = "feed_price"
)

Variables

View Source
var (
	BAND = "band"
	ELYS = "elys"
)
View Source
var (
	ErrInvalidLengthAssetInfo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAssetInfo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAssetInfo = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// BandPriceResultStoreKeyPrefix is a prefix for storing result
	BandPriceResultStoreKeyPrefix = "band_price_result"

	// LastBandRequestIdKey is the key for the last request id
	LastBandRequestIdKey = "last_band_request_id"

	// BandPriceClientIDKey is query request identifier
	BandPriceClientIDKey = "band_price_id"

	// PrefixKeyBandRequest is the prefix for band requests
	PrefixKeyBandRequest = "band_request_"
)
View Source
var (
	ErrInvalidLengthBandPrice        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBandPrice          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupBandPrice = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrNotAvailable         = errorsmod.Register(ModuleName, 1500, "sample error")
	ErrInvalidPacketTimeout = errorsmod.Register(ModuleName, 1501, "invalid packet timeout")
	ErrInvalidVersion       = errorsmod.Register(ModuleName, 1502, "invalid version")
	ErrNotAPriceFeeder      = errorsmod.Register(ModuleName, 1503, "not a price feeder")
	ErrPriceFeederNotActive = errorsmod.Register(ModuleName, 1504, "price feeder is not active")
	ErrNotModuleAdmin       = errorsmod.Register(ModuleName, 1505, "not a module admin")
)

x/oracle module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// PortKey defines the key to store the port ID in store
	PortKey = KeyPrefix("oracle-port-")
	// AssetInfoKeyPrefix is the prefix to retrieve all AssetInfo
	AssetInfoKeyPrefix = "AssetInfo/value/"
	// PriceKeyPrefix is the prefix to retrieve all Price
	PriceKeyPrefix = "Price/value/"
	// PriceFeederKeyPrefix is the prefix to retrieve all PriceFeeder
	PriceFeederKeyPrefix = "PriceFeeder/value/"
)
View Source
var (
	KeyBandEpoch         = []byte("BandEpoch")
	KeyClientID          = []byte("ClientID")
	KeyOracleScriptID    = []byte("OracleScriptID")
	KeyMultiplier        = []byte("Multiplier")
	KeyBandChannelSource = []byte("BandChannelSource")
	KeyAskCount          = []byte("AskCount")
	KeyMinCount          = []byte("MinCount")
	KeyFeeLimit          = []byte("FeeLimit")
	KeyPrepareGas        = []byte("PrepareGas")
	KeyExecuteGas        = []byte("ExecuteGas")
	KeyModuleAdmin       = []byte("ModuleAdmin")
	KeyPriceExpiryTime   = []byte("PriceExpiryTime")
	KeyLifeTimeInBlocks  = []byte("LifeTimeInBlocks")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPrice        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPrice          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPrice = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPriceFeeder        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPriceFeeder          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPriceFeeder = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func AssetInfoKey

func AssetInfoKey(denom string) []byte

AssetInfoKey returns the store key to retrieve a AssetInfo from the index fields

func BandPriceResultStoreKey

func BandPriceResultStoreKey(requestID OracleRequestID) []byte

BandPriceResultStoreKey is a function to generate key for each result in store

func BandRequestStoreKey

func BandRequestStoreKey(requestID OracleRequestID) []byte

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func PriceFeederKey

func PriceFeederKey(feeder string) []byte

PriceFeederKey returns the store key to retrieve a PriceFeeder from the feeder fields

func PriceKey

func PriceKey(asset, source string, timestamp uint64) []byte

PriceKey returns the store key to retrieve a Price from the index fields

func PriceKeyPrefixAsset

func PriceKeyPrefixAsset(asset string) []byte

func PriceKeyPrefixAssetAndSource

func PriceKeyPrefixAssetAndSource(asset, source string) []byte

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type AssetInfo

type AssetInfo struct {
	Denom      string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Display    string `protobuf:"bytes,2,opt,name=display,proto3" json:"display,omitempty"`
	BandTicker string `protobuf:"bytes,3,opt,name=band_ticker,json=bandTicker,proto3" json:"band_ticker,omitempty"`
	ElysTicker string `protobuf:"bytes,4,opt,name=elys_ticker,json=elysTicker,proto3" json:"elys_ticker,omitempty"`
	Decimal    uint64 `protobuf:"varint,5,opt,name=decimal,proto3" json:"decimal,omitempty"`
}

func (*AssetInfo) Descriptor

func (*AssetInfo) Descriptor() ([]byte, []int)

func (*AssetInfo) GetBandTicker

func (m *AssetInfo) GetBandTicker() string

func (*AssetInfo) GetDecimal

func (m *AssetInfo) GetDecimal() uint64

func (*AssetInfo) GetDenom

func (m *AssetInfo) GetDenom() string

func (*AssetInfo) GetDisplay

func (m *AssetInfo) GetDisplay() string

func (*AssetInfo) GetElysTicker

func (m *AssetInfo) GetElysTicker() string

func (*AssetInfo) Marshal

func (m *AssetInfo) Marshal() (dAtA []byte, err error)

func (*AssetInfo) MarshalTo

func (m *AssetInfo) MarshalTo(dAtA []byte) (int, error)

func (*AssetInfo) MarshalToSizedBuffer

func (m *AssetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AssetInfo) ProtoMessage

func (*AssetInfo) ProtoMessage()

func (*AssetInfo) Reset

func (m *AssetInfo) Reset()

func (*AssetInfo) Size

func (m *AssetInfo) Size() (n int)

func (*AssetInfo) String

func (m *AssetInfo) String() string

func (*AssetInfo) Unmarshal

func (m *AssetInfo) Unmarshal(dAtA []byte) error

func (*AssetInfo) XXX_DiscardUnknown

func (m *AssetInfo) XXX_DiscardUnknown()

func (*AssetInfo) XXX_Marshal

func (m *AssetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssetInfo) XXX_Merge

func (m *AssetInfo) XXX_Merge(src proto.Message)

func (*AssetInfo) XXX_Size

func (m *AssetInfo) XXX_Size() int

func (*AssetInfo) XXX_Unmarshal

func (m *AssetInfo) XXX_Unmarshal(b []byte) error

type BandPriceCallData

type BandPriceCallData struct {
	Symbols    []string `protobuf:"bytes,1,rep,name=symbols,proto3" json:"symbols,omitempty"`
	Multiplier uint64   `protobuf:"varint,2,opt,name=multiplier,proto3" json:"multiplier,omitempty"`
}

func (*BandPriceCallData) Descriptor

func (*BandPriceCallData) Descriptor() ([]byte, []int)

func (*BandPriceCallData) GetMultiplier

func (m *BandPriceCallData) GetMultiplier() uint64

func (*BandPriceCallData) GetSymbols

func (m *BandPriceCallData) GetSymbols() []string

func (*BandPriceCallData) Marshal

func (m *BandPriceCallData) Marshal() (dAtA []byte, err error)

func (*BandPriceCallData) MarshalTo

func (m *BandPriceCallData) MarshalTo(dAtA []byte) (int, error)

func (*BandPriceCallData) MarshalToSizedBuffer

func (m *BandPriceCallData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BandPriceCallData) ProtoMessage

func (*BandPriceCallData) ProtoMessage()

func (*BandPriceCallData) Reset

func (m *BandPriceCallData) Reset()

func (*BandPriceCallData) Size

func (m *BandPriceCallData) Size() (n int)

func (*BandPriceCallData) String

func (m *BandPriceCallData) String() string

func (*BandPriceCallData) Unmarshal

func (m *BandPriceCallData) Unmarshal(dAtA []byte) error

func (*BandPriceCallData) XXX_DiscardUnknown

func (m *BandPriceCallData) XXX_DiscardUnknown()

func (*BandPriceCallData) XXX_Marshal

func (m *BandPriceCallData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BandPriceCallData) XXX_Merge

func (m *BandPriceCallData) XXX_Merge(src proto.Message)

func (*BandPriceCallData) XXX_Size

func (m *BandPriceCallData) XXX_Size() int

func (*BandPriceCallData) XXX_Unmarshal

func (m *BandPriceCallData) XXX_Unmarshal(b []byte) error

type BandPriceResult

type BandPriceResult struct {
	Rates []uint64 `protobuf:"varint,1,rep,packed,name=rates,proto3" json:"rates,omitempty"`
}

func (*BandPriceResult) Descriptor

func (*BandPriceResult) Descriptor() ([]byte, []int)

func (*BandPriceResult) GetRates

func (m *BandPriceResult) GetRates() []uint64

func (*BandPriceResult) Marshal

func (m *BandPriceResult) Marshal() (dAtA []byte, err error)

func (*BandPriceResult) MarshalTo

func (m *BandPriceResult) MarshalTo(dAtA []byte) (int, error)

func (*BandPriceResult) MarshalToSizedBuffer

func (m *BandPriceResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BandPriceResult) ProtoMessage

func (*BandPriceResult) ProtoMessage()

func (*BandPriceResult) Reset

func (m *BandPriceResult) Reset()

func (*BandPriceResult) Size

func (m *BandPriceResult) Size() (n int)

func (*BandPriceResult) String

func (m *BandPriceResult) String() string

func (*BandPriceResult) Unmarshal

func (m *BandPriceResult) Unmarshal(dAtA []byte) error

func (*BandPriceResult) XXX_DiscardUnknown

func (m *BandPriceResult) XXX_DiscardUnknown()

func (*BandPriceResult) XXX_Marshal

func (m *BandPriceResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BandPriceResult) XXX_Merge

func (m *BandPriceResult) XXX_Merge(src proto.Message)

func (*BandPriceResult) XXX_Size

func (m *BandPriceResult) XXX_Size() int

func (*BandPriceResult) XXX_Unmarshal

func (m *BandPriceResult) XXX_Unmarshal(b []byte) error

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

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 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"`
	AssetInfos   []AssetInfo   `protobuf:"bytes,3,rep,name=asset_infos,json=assetInfos,proto3" json:"asset_infos"`
	Prices       []Price       `protobuf:"bytes,4,rep,name=prices,proto3" json:"prices"`
	PriceFeeders []PriceFeeder `protobuf:"bytes,5,rep,name=price_feeders,json=priceFeeders,proto3" json:"price_feeders"`
}

GenesisState defines the oracle 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) GetAssetInfos

func (m *GenesisState) GetAssetInfos() []AssetInfo

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPortId

func (m *GenesisState) GetPortId() string

func (*GenesisState) GetPriceFeeders

func (m *GenesisState) GetPriceFeeders() []PriceFeeder

func (*GenesisState) GetPrices

func (m *GenesisState) GetPrices() []Price

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, 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 LegacyPrice added in v0.29.19

type LegacyPrice struct {
	Asset     string                                 `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	Price     github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	Source    string                                 `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Provider  string                                 `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`
	Timestamp uint64                                 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*LegacyPrice) Descriptor added in v0.29.19

func (*LegacyPrice) Descriptor() ([]byte, []int)

func (*LegacyPrice) GetAsset added in v0.29.19

func (m *LegacyPrice) GetAsset() string

func (*LegacyPrice) GetProvider added in v0.29.19

func (m *LegacyPrice) GetProvider() string

func (*LegacyPrice) GetSource added in v0.29.19

func (m *LegacyPrice) GetSource() string

func (*LegacyPrice) GetTimestamp added in v0.29.19

func (m *LegacyPrice) GetTimestamp() uint64

func (*LegacyPrice) Marshal added in v0.29.19

func (m *LegacyPrice) Marshal() (dAtA []byte, err error)

func (*LegacyPrice) MarshalTo added in v0.29.19

func (m *LegacyPrice) MarshalTo(dAtA []byte) (int, error)

func (*LegacyPrice) MarshalToSizedBuffer added in v0.29.19

func (m *LegacyPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LegacyPrice) ProtoMessage added in v0.29.19

func (*LegacyPrice) ProtoMessage()

func (*LegacyPrice) Reset added in v0.29.19

func (m *LegacyPrice) Reset()

func (*LegacyPrice) Size added in v0.29.19

func (m *LegacyPrice) Size() (n int)

func (*LegacyPrice) String added in v0.29.19

func (m *LegacyPrice) String() string

func (*LegacyPrice) Unmarshal added in v0.29.19

func (m *LegacyPrice) Unmarshal(dAtA []byte) error

func (*LegacyPrice) XXX_DiscardUnknown added in v0.29.19

func (m *LegacyPrice) XXX_DiscardUnknown()

func (*LegacyPrice) XXX_Marshal added in v0.29.19

func (m *LegacyPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LegacyPrice) XXX_Merge added in v0.29.19

func (m *LegacyPrice) XXX_Merge(src proto.Message)

func (*LegacyPrice) XXX_Size added in v0.29.19

func (m *LegacyPrice) XXX_Size() int

func (*LegacyPrice) XXX_Unmarshal added in v0.29.19

func (m *LegacyPrice) XXX_Unmarshal(b []byte) error

type MsgAddAssetInfo added in v0.29.21

type MsgAddAssetInfo struct {
	Authority  string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Denom      string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Display    string `protobuf:"bytes,3,opt,name=display,proto3" json:"display,omitempty"`
	BandTicker string `protobuf:"bytes,4,opt,name=band_ticker,json=bandTicker,proto3" json:"band_ticker,omitempty"`
	ElysTicker string `protobuf:"bytes,5,opt,name=elys_ticker,json=elysTicker,proto3" json:"elys_ticker,omitempty"`
	Decimal    uint64 `protobuf:"varint,6,opt,name=decimal,proto3" json:"decimal,omitempty"`
}

func NewMsgAddAssetInfo added in v0.29.21

func NewMsgAddAssetInfo(
	authority string,
	denom string,
	display string,
	bandTicker string,
	elysTicker string,
	decimal uint64,
) *MsgAddAssetInfo

func (*MsgAddAssetInfo) Descriptor added in v0.29.21

func (*MsgAddAssetInfo) Descriptor() ([]byte, []int)

func (*MsgAddAssetInfo) GetAuthority added in v0.29.21

func (m *MsgAddAssetInfo) GetAuthority() string

func (*MsgAddAssetInfo) GetBandTicker added in v0.29.21

func (m *MsgAddAssetInfo) GetBandTicker() string

func (*MsgAddAssetInfo) GetDecimal added in v0.29.21

func (m *MsgAddAssetInfo) GetDecimal() uint64

func (*MsgAddAssetInfo) GetDenom added in v0.29.21

func (m *MsgAddAssetInfo) GetDenom() string

func (*MsgAddAssetInfo) GetDisplay added in v0.29.21

func (m *MsgAddAssetInfo) GetDisplay() string

func (*MsgAddAssetInfo) GetElysTicker added in v0.29.21

func (m *MsgAddAssetInfo) GetElysTicker() string

func (*MsgAddAssetInfo) GetSignBytes added in v0.29.21

func (msg *MsgAddAssetInfo) GetSignBytes() []byte

func (*MsgAddAssetInfo) GetSigners added in v0.29.21

func (msg *MsgAddAssetInfo) GetSigners() []sdk.AccAddress

func (*MsgAddAssetInfo) Marshal added in v0.29.21

func (m *MsgAddAssetInfo) Marshal() (dAtA []byte, err error)

func (*MsgAddAssetInfo) MarshalTo added in v0.29.21

func (m *MsgAddAssetInfo) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddAssetInfo) MarshalToSizedBuffer added in v0.29.21

func (m *MsgAddAssetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddAssetInfo) ProtoMessage added in v0.29.21

func (*MsgAddAssetInfo) ProtoMessage()

func (*MsgAddAssetInfo) Reset added in v0.29.21

func (m *MsgAddAssetInfo) Reset()

func (*MsgAddAssetInfo) Route added in v0.29.21

func (msg *MsgAddAssetInfo) Route() string

func (*MsgAddAssetInfo) Size added in v0.29.21

func (m *MsgAddAssetInfo) Size() (n int)

func (*MsgAddAssetInfo) String added in v0.29.21

func (m *MsgAddAssetInfo) String() string

func (*MsgAddAssetInfo) Type added in v0.29.21

func (msg *MsgAddAssetInfo) Type() string

func (*MsgAddAssetInfo) Unmarshal added in v0.29.21

func (m *MsgAddAssetInfo) Unmarshal(dAtA []byte) error

func (*MsgAddAssetInfo) ValidateBasic added in v0.29.21

func (msg *MsgAddAssetInfo) ValidateBasic() error

func (*MsgAddAssetInfo) XXX_DiscardUnknown added in v0.29.21

func (m *MsgAddAssetInfo) XXX_DiscardUnknown()

func (*MsgAddAssetInfo) XXX_Marshal added in v0.29.21

func (m *MsgAddAssetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddAssetInfo) XXX_Merge added in v0.29.21

func (m *MsgAddAssetInfo) XXX_Merge(src proto.Message)

func (*MsgAddAssetInfo) XXX_Size added in v0.29.21

func (m *MsgAddAssetInfo) XXX_Size() int

func (*MsgAddAssetInfo) XXX_Unmarshal added in v0.29.21

func (m *MsgAddAssetInfo) XXX_Unmarshal(b []byte) error

type MsgAddAssetInfoResponse added in v0.29.21

type MsgAddAssetInfoResponse struct {
}

func (*MsgAddAssetInfoResponse) Descriptor added in v0.29.21

func (*MsgAddAssetInfoResponse) Descriptor() ([]byte, []int)

func (*MsgAddAssetInfoResponse) Marshal added in v0.29.21

func (m *MsgAddAssetInfoResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddAssetInfoResponse) MarshalTo added in v0.29.21

func (m *MsgAddAssetInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddAssetInfoResponse) MarshalToSizedBuffer added in v0.29.21

func (m *MsgAddAssetInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddAssetInfoResponse) ProtoMessage added in v0.29.21

func (*MsgAddAssetInfoResponse) ProtoMessage()

func (*MsgAddAssetInfoResponse) Reset added in v0.29.21

func (m *MsgAddAssetInfoResponse) Reset()

func (*MsgAddAssetInfoResponse) Size added in v0.29.21

func (m *MsgAddAssetInfoResponse) Size() (n int)

func (*MsgAddAssetInfoResponse) String added in v0.29.21

func (m *MsgAddAssetInfoResponse) String() string

func (*MsgAddAssetInfoResponse) Unmarshal added in v0.29.21

func (m *MsgAddAssetInfoResponse) Unmarshal(dAtA []byte) error

func (*MsgAddAssetInfoResponse) XXX_DiscardUnknown added in v0.29.21

func (m *MsgAddAssetInfoResponse) XXX_DiscardUnknown()

func (*MsgAddAssetInfoResponse) XXX_Marshal added in v0.29.21

func (m *MsgAddAssetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddAssetInfoResponse) XXX_Merge added in v0.29.21

func (m *MsgAddAssetInfoResponse) XXX_Merge(src proto.Message)

func (*MsgAddAssetInfoResponse) XXX_Size added in v0.29.21

func (m *MsgAddAssetInfoResponse) XXX_Size() int

func (*MsgAddAssetInfoResponse) XXX_Unmarshal added in v0.29.21

func (m *MsgAddAssetInfoResponse) XXX_Unmarshal(b []byte) error

type MsgAddPriceFeeders added in v0.29.21

type MsgAddPriceFeeders struct {
	Authority string   `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Feeders   []string `protobuf:"bytes,2,rep,name=feeders,proto3" json:"feeders,omitempty"`
}

func NewMsgAddPriceFeeders added in v0.29.21

func NewMsgAddPriceFeeders(
	authority string,
	feeders []string,
) *MsgAddPriceFeeders

NewMsgAddPriceFeeders creates a new MsgAddPriceFeeders instance

func (*MsgAddPriceFeeders) Descriptor added in v0.29.21

func (*MsgAddPriceFeeders) Descriptor() ([]byte, []int)

func (*MsgAddPriceFeeders) GetAuthority added in v0.29.21

func (m *MsgAddPriceFeeders) GetAuthority() string

func (*MsgAddPriceFeeders) GetFeeders added in v0.29.21

func (m *MsgAddPriceFeeders) GetFeeders() []string

func (*MsgAddPriceFeeders) GetSignBytes added in v0.29.21

func (msg *MsgAddPriceFeeders) GetSignBytes() []byte

func (*MsgAddPriceFeeders) GetSigners added in v0.29.21

func (msg *MsgAddPriceFeeders) GetSigners() []sdk.AccAddress

func (*MsgAddPriceFeeders) Marshal added in v0.29.21

func (m *MsgAddPriceFeeders) Marshal() (dAtA []byte, err error)

func (*MsgAddPriceFeeders) MarshalTo added in v0.29.21

func (m *MsgAddPriceFeeders) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddPriceFeeders) MarshalToSizedBuffer added in v0.29.21

func (m *MsgAddPriceFeeders) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddPriceFeeders) ProtoMessage added in v0.29.21

func (*MsgAddPriceFeeders) ProtoMessage()

func (*MsgAddPriceFeeders) Reset added in v0.29.21

func (m *MsgAddPriceFeeders) Reset()

func (*MsgAddPriceFeeders) Route added in v0.29.21

func (msg *MsgAddPriceFeeders) Route() string

func (*MsgAddPriceFeeders) Size added in v0.29.21

func (m *MsgAddPriceFeeders) Size() (n int)

func (*MsgAddPriceFeeders) String added in v0.29.21

func (m *MsgAddPriceFeeders) String() string

func (*MsgAddPriceFeeders) Type added in v0.29.21

func (msg *MsgAddPriceFeeders) Type() string

func (*MsgAddPriceFeeders) Unmarshal added in v0.29.21

func (m *MsgAddPriceFeeders) Unmarshal(dAtA []byte) error

func (*MsgAddPriceFeeders) ValidateBasic added in v0.29.21

func (msg *MsgAddPriceFeeders) ValidateBasic() error

func (*MsgAddPriceFeeders) XXX_DiscardUnknown added in v0.29.21

func (m *MsgAddPriceFeeders) XXX_DiscardUnknown()

func (*MsgAddPriceFeeders) XXX_Marshal added in v0.29.21

func (m *MsgAddPriceFeeders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddPriceFeeders) XXX_Merge added in v0.29.21

func (m *MsgAddPriceFeeders) XXX_Merge(src proto.Message)

func (*MsgAddPriceFeeders) XXX_Size added in v0.29.21

func (m *MsgAddPriceFeeders) XXX_Size() int

func (*MsgAddPriceFeeders) XXX_Unmarshal added in v0.29.21

func (m *MsgAddPriceFeeders) XXX_Unmarshal(b []byte) error

type MsgAddPriceFeedersResponse added in v0.29.21

type MsgAddPriceFeedersResponse struct {
}

func (*MsgAddPriceFeedersResponse) Descriptor added in v0.29.21

func (*MsgAddPriceFeedersResponse) Descriptor() ([]byte, []int)

func (*MsgAddPriceFeedersResponse) Marshal added in v0.29.21

func (m *MsgAddPriceFeedersResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddPriceFeedersResponse) MarshalTo added in v0.29.21

func (m *MsgAddPriceFeedersResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddPriceFeedersResponse) MarshalToSizedBuffer added in v0.29.21

func (m *MsgAddPriceFeedersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddPriceFeedersResponse) ProtoMessage added in v0.29.21

func (*MsgAddPriceFeedersResponse) ProtoMessage()

func (*MsgAddPriceFeedersResponse) Reset added in v0.29.21

func (m *MsgAddPriceFeedersResponse) Reset()

func (*MsgAddPriceFeedersResponse) Size added in v0.29.21

func (m *MsgAddPriceFeedersResponse) Size() (n int)

func (*MsgAddPriceFeedersResponse) String added in v0.29.21

func (m *MsgAddPriceFeedersResponse) String() string

func (*MsgAddPriceFeedersResponse) Unmarshal added in v0.29.21

func (m *MsgAddPriceFeedersResponse) Unmarshal(dAtA []byte) error

func (*MsgAddPriceFeedersResponse) XXX_DiscardUnknown added in v0.29.21

func (m *MsgAddPriceFeedersResponse) XXX_DiscardUnknown()

func (*MsgAddPriceFeedersResponse) XXX_Marshal added in v0.29.21

func (m *MsgAddPriceFeedersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddPriceFeedersResponse) XXX_Merge added in v0.29.21

func (m *MsgAddPriceFeedersResponse) XXX_Merge(src proto.Message)

func (*MsgAddPriceFeedersResponse) XXX_Size added in v0.29.21

func (m *MsgAddPriceFeedersResponse) XXX_Size() int

func (*MsgAddPriceFeedersResponse) XXX_Unmarshal added in v0.29.21

func (m *MsgAddPriceFeedersResponse) XXX_Unmarshal(b []byte) error

type MsgClient

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 MsgDeletePriceFeeder

type MsgDeletePriceFeeder struct {
	Feeder string `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
}

func NewMsgDeletePriceFeeder

func NewMsgDeletePriceFeeder(
	feeder string,
) *MsgDeletePriceFeeder

func (*MsgDeletePriceFeeder) Descriptor

func (*MsgDeletePriceFeeder) Descriptor() ([]byte, []int)

func (*MsgDeletePriceFeeder) GetFeeder

func (m *MsgDeletePriceFeeder) GetFeeder() string

func (*MsgDeletePriceFeeder) GetSignBytes

func (msg *MsgDeletePriceFeeder) GetSignBytes() []byte

func (*MsgDeletePriceFeeder) GetSigners

func (msg *MsgDeletePriceFeeder) GetSigners() []sdk.AccAddress

func (*MsgDeletePriceFeeder) Marshal

func (m *MsgDeletePriceFeeder) Marshal() (dAtA []byte, err error)

func (*MsgDeletePriceFeeder) MarshalTo

func (m *MsgDeletePriceFeeder) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeletePriceFeeder) MarshalToSizedBuffer

func (m *MsgDeletePriceFeeder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeletePriceFeeder) ProtoMessage

func (*MsgDeletePriceFeeder) ProtoMessage()

func (*MsgDeletePriceFeeder) Reset

func (m *MsgDeletePriceFeeder) Reset()

func (*MsgDeletePriceFeeder) Route

func (msg *MsgDeletePriceFeeder) Route() string

func (*MsgDeletePriceFeeder) Size

func (m *MsgDeletePriceFeeder) Size() (n int)

func (*MsgDeletePriceFeeder) String

func (m *MsgDeletePriceFeeder) String() string

func (*MsgDeletePriceFeeder) Type

func (msg *MsgDeletePriceFeeder) Type() string

func (*MsgDeletePriceFeeder) Unmarshal

func (m *MsgDeletePriceFeeder) Unmarshal(dAtA []byte) error

func (*MsgDeletePriceFeeder) ValidateBasic

func (msg *MsgDeletePriceFeeder) ValidateBasic() error

func (*MsgDeletePriceFeeder) XXX_DiscardUnknown

func (m *MsgDeletePriceFeeder) XXX_DiscardUnknown()

func (*MsgDeletePriceFeeder) XXX_Marshal

func (m *MsgDeletePriceFeeder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeletePriceFeeder) XXX_Merge

func (m *MsgDeletePriceFeeder) XXX_Merge(src proto.Message)

func (*MsgDeletePriceFeeder) XXX_Size

func (m *MsgDeletePriceFeeder) XXX_Size() int

func (*MsgDeletePriceFeeder) XXX_Unmarshal

func (m *MsgDeletePriceFeeder) XXX_Unmarshal(b []byte) error

type MsgDeletePriceFeederResponse

type MsgDeletePriceFeederResponse struct {
}

func (*MsgDeletePriceFeederResponse) Descriptor

func (*MsgDeletePriceFeederResponse) Descriptor() ([]byte, []int)

func (*MsgDeletePriceFeederResponse) Marshal

func (m *MsgDeletePriceFeederResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeletePriceFeederResponse) MarshalTo

func (m *MsgDeletePriceFeederResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeletePriceFeederResponse) MarshalToSizedBuffer

func (m *MsgDeletePriceFeederResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeletePriceFeederResponse) ProtoMessage

func (*MsgDeletePriceFeederResponse) ProtoMessage()

func (*MsgDeletePriceFeederResponse) Reset

func (m *MsgDeletePriceFeederResponse) Reset()

func (*MsgDeletePriceFeederResponse) Size

func (m *MsgDeletePriceFeederResponse) Size() (n int)

func (*MsgDeletePriceFeederResponse) String

func (*MsgDeletePriceFeederResponse) Unmarshal

func (m *MsgDeletePriceFeederResponse) Unmarshal(dAtA []byte) error

func (*MsgDeletePriceFeederResponse) XXX_DiscardUnknown

func (m *MsgDeletePriceFeederResponse) XXX_DiscardUnknown()

func (*MsgDeletePriceFeederResponse) XXX_Marshal

func (m *MsgDeletePriceFeederResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeletePriceFeederResponse) XXX_Merge

func (m *MsgDeletePriceFeederResponse) XXX_Merge(src proto.Message)

func (*MsgDeletePriceFeederResponse) XXX_Size

func (m *MsgDeletePriceFeederResponse) XXX_Size() int

func (*MsgDeletePriceFeederResponse) XXX_Unmarshal

func (m *MsgDeletePriceFeederResponse) XXX_Unmarshal(b []byte) error

type MsgFeedMultiplePrices

type MsgFeedMultiplePrices struct {
	Creator string  `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Prices  []Price `protobuf:"bytes,2,rep,name=prices,proto3" json:"prices"`
}

func NewMsgFeedMultiplePrices

func NewMsgFeedMultiplePrices(creator string) *MsgFeedMultiplePrices

func (*MsgFeedMultiplePrices) Descriptor

func (*MsgFeedMultiplePrices) Descriptor() ([]byte, []int)

func (*MsgFeedMultiplePrices) GetCreator

func (m *MsgFeedMultiplePrices) GetCreator() string

func (*MsgFeedMultiplePrices) GetPrices

func (m *MsgFeedMultiplePrices) GetPrices() []Price

func (*MsgFeedMultiplePrices) GetSignBytes

func (msg *MsgFeedMultiplePrices) GetSignBytes() []byte

func (*MsgFeedMultiplePrices) GetSigners

func (msg *MsgFeedMultiplePrices) GetSigners() []sdk.AccAddress

func (*MsgFeedMultiplePrices) Marshal

func (m *MsgFeedMultiplePrices) Marshal() (dAtA []byte, err error)

func (*MsgFeedMultiplePrices) MarshalTo

func (m *MsgFeedMultiplePrices) MarshalTo(dAtA []byte) (int, error)

func (*MsgFeedMultiplePrices) MarshalToSizedBuffer

func (m *MsgFeedMultiplePrices) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgFeedMultiplePrices) ProtoMessage

func (*MsgFeedMultiplePrices) ProtoMessage()

func (*MsgFeedMultiplePrices) Reset

func (m *MsgFeedMultiplePrices) Reset()

func (*MsgFeedMultiplePrices) Route

func (msg *MsgFeedMultiplePrices) Route() string

func (*MsgFeedMultiplePrices) Size

func (m *MsgFeedMultiplePrices) Size() (n int)

func (*MsgFeedMultiplePrices) String

func (m *MsgFeedMultiplePrices) String() string

func (*MsgFeedMultiplePrices) Type

func (msg *MsgFeedMultiplePrices) Type() string

func (*MsgFeedMultiplePrices) Unmarshal

func (m *MsgFeedMultiplePrices) Unmarshal(dAtA []byte) error

func (*MsgFeedMultiplePrices) ValidateBasic

func (msg *MsgFeedMultiplePrices) ValidateBasic() error

func (*MsgFeedMultiplePrices) XXX_DiscardUnknown

func (m *MsgFeedMultiplePrices) XXX_DiscardUnknown()

func (*MsgFeedMultiplePrices) XXX_Marshal

func (m *MsgFeedMultiplePrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgFeedMultiplePrices) XXX_Merge

func (m *MsgFeedMultiplePrices) XXX_Merge(src proto.Message)

func (*MsgFeedMultiplePrices) XXX_Size

func (m *MsgFeedMultiplePrices) XXX_Size() int

func (*MsgFeedMultiplePrices) XXX_Unmarshal

func (m *MsgFeedMultiplePrices) XXX_Unmarshal(b []byte) error

type MsgFeedMultiplePricesResponse

type MsgFeedMultiplePricesResponse struct {
}

func (*MsgFeedMultiplePricesResponse) Descriptor

func (*MsgFeedMultiplePricesResponse) Descriptor() ([]byte, []int)

func (*MsgFeedMultiplePricesResponse) Marshal

func (m *MsgFeedMultiplePricesResponse) Marshal() (dAtA []byte, err error)

func (*MsgFeedMultiplePricesResponse) MarshalTo

func (m *MsgFeedMultiplePricesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgFeedMultiplePricesResponse) MarshalToSizedBuffer

func (m *MsgFeedMultiplePricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgFeedMultiplePricesResponse) ProtoMessage

func (*MsgFeedMultiplePricesResponse) ProtoMessage()

func (*MsgFeedMultiplePricesResponse) Reset

func (m *MsgFeedMultiplePricesResponse) Reset()

func (*MsgFeedMultiplePricesResponse) Size

func (m *MsgFeedMultiplePricesResponse) Size() (n int)

func (*MsgFeedMultiplePricesResponse) String

func (*MsgFeedMultiplePricesResponse) Unmarshal

func (m *MsgFeedMultiplePricesResponse) Unmarshal(dAtA []byte) error

func (*MsgFeedMultiplePricesResponse) XXX_DiscardUnknown

func (m *MsgFeedMultiplePricesResponse) XXX_DiscardUnknown()

func (*MsgFeedMultiplePricesResponse) XXX_Marshal

func (m *MsgFeedMultiplePricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgFeedMultiplePricesResponse) XXX_Merge

func (m *MsgFeedMultiplePricesResponse) XXX_Merge(src proto.Message)

func (*MsgFeedMultiplePricesResponse) XXX_Size

func (m *MsgFeedMultiplePricesResponse) XXX_Size() int

func (*MsgFeedMultiplePricesResponse) XXX_Unmarshal

func (m *MsgFeedMultiplePricesResponse) XXX_Unmarshal(b []byte) error

type MsgFeedPrice

type MsgFeedPrice struct {
	Asset    string                                 `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	Price    github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	Source   string                                 `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Provider string                                 `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`
}

func NewMsgFeedPrice

func NewMsgFeedPrice(
	creator string,
	asset string,
	price sdk.Dec,
	source string,
) *MsgFeedPrice

func (*MsgFeedPrice) Descriptor

func (*MsgFeedPrice) Descriptor() ([]byte, []int)

func (*MsgFeedPrice) GetAsset

func (m *MsgFeedPrice) GetAsset() string

func (*MsgFeedPrice) GetProvider

func (m *MsgFeedPrice) GetProvider() string

func (*MsgFeedPrice) GetSignBytes

func (msg *MsgFeedPrice) GetSignBytes() []byte

func (*MsgFeedPrice) GetSigners

func (msg *MsgFeedPrice) GetSigners() []sdk.AccAddress

func (*MsgFeedPrice) GetSource

func (m *MsgFeedPrice) GetSource() string

func (*MsgFeedPrice) Marshal

func (m *MsgFeedPrice) Marshal() (dAtA []byte, err error)

func (*MsgFeedPrice) MarshalTo

func (m *MsgFeedPrice) MarshalTo(dAtA []byte) (int, error)

func (*MsgFeedPrice) MarshalToSizedBuffer

func (m *MsgFeedPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgFeedPrice) ProtoMessage

func (*MsgFeedPrice) ProtoMessage()

func (*MsgFeedPrice) Reset

func (m *MsgFeedPrice) Reset()

func (*MsgFeedPrice) Route

func (msg *MsgFeedPrice) Route() string

func (*MsgFeedPrice) Size

func (m *MsgFeedPrice) Size() (n int)

func (*MsgFeedPrice) String

func (m *MsgFeedPrice) String() string

func (*MsgFeedPrice) Type

func (msg *MsgFeedPrice) Type() string

func (*MsgFeedPrice) Unmarshal

func (m *MsgFeedPrice) Unmarshal(dAtA []byte) error

func (*MsgFeedPrice) ValidateBasic

func (msg *MsgFeedPrice) ValidateBasic() error

func (*MsgFeedPrice) XXX_DiscardUnknown

func (m *MsgFeedPrice) XXX_DiscardUnknown()

func (*MsgFeedPrice) XXX_Marshal

func (m *MsgFeedPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgFeedPrice) XXX_Merge

func (m *MsgFeedPrice) XXX_Merge(src proto.Message)

func (*MsgFeedPrice) XXX_Size

func (m *MsgFeedPrice) XXX_Size() int

func (*MsgFeedPrice) XXX_Unmarshal

func (m *MsgFeedPrice) XXX_Unmarshal(b []byte) error

type MsgFeedPriceResponse

type MsgFeedPriceResponse struct {
}

func (*MsgFeedPriceResponse) Descriptor

func (*MsgFeedPriceResponse) Descriptor() ([]byte, []int)

func (*MsgFeedPriceResponse) Marshal

func (m *MsgFeedPriceResponse) Marshal() (dAtA []byte, err error)

func (*MsgFeedPriceResponse) MarshalTo

func (m *MsgFeedPriceResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgFeedPriceResponse) MarshalToSizedBuffer

func (m *MsgFeedPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgFeedPriceResponse) ProtoMessage

func (*MsgFeedPriceResponse) ProtoMessage()

func (*MsgFeedPriceResponse) Reset

func (m *MsgFeedPriceResponse) Reset()

func (*MsgFeedPriceResponse) Size

func (m *MsgFeedPriceResponse) Size() (n int)

func (*MsgFeedPriceResponse) String

func (m *MsgFeedPriceResponse) String() string

func (*MsgFeedPriceResponse) Unmarshal

func (m *MsgFeedPriceResponse) Unmarshal(dAtA []byte) error

func (*MsgFeedPriceResponse) XXX_DiscardUnknown

func (m *MsgFeedPriceResponse) XXX_DiscardUnknown()

func (*MsgFeedPriceResponse) XXX_Marshal

func (m *MsgFeedPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgFeedPriceResponse) XXX_Merge

func (m *MsgFeedPriceResponse) XXX_Merge(src proto.Message)

func (*MsgFeedPriceResponse) XXX_Size

func (m *MsgFeedPriceResponse) XXX_Size() int

func (*MsgFeedPriceResponse) XXX_Unmarshal

func (m *MsgFeedPriceResponse) XXX_Unmarshal(b []byte) error

type MsgRemoveAssetInfo added in v0.29.21

type MsgRemoveAssetInfo struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Denom     string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
}

func NewMsgRemoveAssetInfo added in v0.29.21

func NewMsgRemoveAssetInfo(authority, denom string) *MsgRemoveAssetInfo

func (*MsgRemoveAssetInfo) Descriptor added in v0.29.21

func (*MsgRemoveAssetInfo) Descriptor() ([]byte, []int)

func (*MsgRemoveAssetInfo) GetAuthority added in v0.29.21

func (m *MsgRemoveAssetInfo) GetAuthority() string

func (*MsgRemoveAssetInfo) GetDenom added in v0.29.21

func (m *MsgRemoveAssetInfo) GetDenom() string

func (*MsgRemoveAssetInfo) GetSignBytes added in v0.29.21

func (msg *MsgRemoveAssetInfo) GetSignBytes() []byte

func (*MsgRemoveAssetInfo) GetSigners added in v0.29.21

func (msg *MsgRemoveAssetInfo) GetSigners() []sdk.AccAddress

func (*MsgRemoveAssetInfo) Marshal added in v0.29.21

func (m *MsgRemoveAssetInfo) Marshal() (dAtA []byte, err error)

func (*MsgRemoveAssetInfo) MarshalTo added in v0.29.21

func (m *MsgRemoveAssetInfo) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemoveAssetInfo) MarshalToSizedBuffer added in v0.29.21

func (m *MsgRemoveAssetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemoveAssetInfo) ProtoMessage added in v0.29.21

func (*MsgRemoveAssetInfo) ProtoMessage()

func (*MsgRemoveAssetInfo) Reset added in v0.29.21

func (m *MsgRemoveAssetInfo) Reset()

func (*MsgRemoveAssetInfo) Route added in v0.29.21

func (msg *MsgRemoveAssetInfo) Route() string

func (*MsgRemoveAssetInfo) Size added in v0.29.21

func (m *MsgRemoveAssetInfo) Size() (n int)

func (*MsgRemoveAssetInfo) String added in v0.29.21

func (m *MsgRemoveAssetInfo) String() string

func (*MsgRemoveAssetInfo) Type added in v0.29.21

func (msg *MsgRemoveAssetInfo) Type() string

func (*MsgRemoveAssetInfo) Unmarshal added in v0.29.21

func (m *MsgRemoveAssetInfo) Unmarshal(dAtA []byte) error

func (*MsgRemoveAssetInfo) ValidateBasic added in v0.29.21

func (msg *MsgRemoveAssetInfo) ValidateBasic() error

func (*MsgRemoveAssetInfo) XXX_DiscardUnknown added in v0.29.21

func (m *MsgRemoveAssetInfo) XXX_DiscardUnknown()

func (*MsgRemoveAssetInfo) XXX_Marshal added in v0.29.21

func (m *MsgRemoveAssetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemoveAssetInfo) XXX_Merge added in v0.29.21

func (m *MsgRemoveAssetInfo) XXX_Merge(src proto.Message)

func (*MsgRemoveAssetInfo) XXX_Size added in v0.29.21

func (m *MsgRemoveAssetInfo) XXX_Size() int

func (*MsgRemoveAssetInfo) XXX_Unmarshal added in v0.29.21

func (m *MsgRemoveAssetInfo) XXX_Unmarshal(b []byte) error

type MsgRemoveAssetInfoResponse added in v0.29.21

type MsgRemoveAssetInfoResponse struct {
}

func (*MsgRemoveAssetInfoResponse) Descriptor added in v0.29.21

func (*MsgRemoveAssetInfoResponse) Descriptor() ([]byte, []int)

func (*MsgRemoveAssetInfoResponse) Marshal added in v0.29.21

func (m *MsgRemoveAssetInfoResponse) Marshal() (dAtA []byte, err error)

func (*MsgRemoveAssetInfoResponse) MarshalTo added in v0.29.21

func (m *MsgRemoveAssetInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemoveAssetInfoResponse) MarshalToSizedBuffer added in v0.29.21

func (m *MsgRemoveAssetInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemoveAssetInfoResponse) ProtoMessage added in v0.29.21

func (*MsgRemoveAssetInfoResponse) ProtoMessage()

func (*MsgRemoveAssetInfoResponse) Reset added in v0.29.21

func (m *MsgRemoveAssetInfoResponse) Reset()

func (*MsgRemoveAssetInfoResponse) Size added in v0.29.21

func (m *MsgRemoveAssetInfoResponse) Size() (n int)

func (*MsgRemoveAssetInfoResponse) String added in v0.29.21

func (m *MsgRemoveAssetInfoResponse) String() string

func (*MsgRemoveAssetInfoResponse) Unmarshal added in v0.29.21

func (m *MsgRemoveAssetInfoResponse) Unmarshal(dAtA []byte) error

func (*MsgRemoveAssetInfoResponse) XXX_DiscardUnknown added in v0.29.21

func (m *MsgRemoveAssetInfoResponse) XXX_DiscardUnknown()

func (*MsgRemoveAssetInfoResponse) XXX_Marshal added in v0.29.21

func (m *MsgRemoveAssetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemoveAssetInfoResponse) XXX_Merge added in v0.29.21

func (m *MsgRemoveAssetInfoResponse) XXX_Merge(src proto.Message)

func (*MsgRemoveAssetInfoResponse) XXX_Size added in v0.29.21

func (m *MsgRemoveAssetInfoResponse) XXX_Size() int

func (*MsgRemoveAssetInfoResponse) XXX_Unmarshal added in v0.29.21

func (m *MsgRemoveAssetInfoResponse) XXX_Unmarshal(b []byte) error

type MsgRemovePriceFeeders added in v0.29.21

type MsgRemovePriceFeeders struct {
	Authority string   `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Feeders   []string `protobuf:"bytes,2,rep,name=feeders,proto3" json:"feeders,omitempty"`
}

func NewMsgRemovePriceFeeders added in v0.29.21

func NewMsgRemovePriceFeeders(authority string, feeders []string) *MsgRemovePriceFeeders

func (*MsgRemovePriceFeeders) Descriptor added in v0.29.21

func (*MsgRemovePriceFeeders) Descriptor() ([]byte, []int)

func (*MsgRemovePriceFeeders) GetAuthority added in v0.29.21

func (m *MsgRemovePriceFeeders) GetAuthority() string

func (*MsgRemovePriceFeeders) GetFeeders added in v0.29.21

func (m *MsgRemovePriceFeeders) GetFeeders() []string

func (*MsgRemovePriceFeeders) GetSignBytes added in v0.29.21

func (msg *MsgRemovePriceFeeders) GetSignBytes() []byte

func (*MsgRemovePriceFeeders) GetSigners added in v0.29.21

func (msg *MsgRemovePriceFeeders) GetSigners() []sdk.AccAddress

func (*MsgRemovePriceFeeders) Marshal added in v0.29.21

func (m *MsgRemovePriceFeeders) Marshal() (dAtA []byte, err error)

func (*MsgRemovePriceFeeders) MarshalTo added in v0.29.21

func (m *MsgRemovePriceFeeders) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemovePriceFeeders) MarshalToSizedBuffer added in v0.29.21

func (m *MsgRemovePriceFeeders) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemovePriceFeeders) ProtoMessage added in v0.29.21

func (*MsgRemovePriceFeeders) ProtoMessage()

func (*MsgRemovePriceFeeders) Reset added in v0.29.21

func (m *MsgRemovePriceFeeders) Reset()

func (*MsgRemovePriceFeeders) Route added in v0.29.21

func (msg *MsgRemovePriceFeeders) Route() string

func (*MsgRemovePriceFeeders) Size added in v0.29.21

func (m *MsgRemovePriceFeeders) Size() (n int)

func (*MsgRemovePriceFeeders) String added in v0.29.21

func (m *MsgRemovePriceFeeders) String() string

func (*MsgRemovePriceFeeders) Type added in v0.29.21

func (msg *MsgRemovePriceFeeders) Type() string

func (*MsgRemovePriceFeeders) Unmarshal added in v0.29.21

func (m *MsgRemovePriceFeeders) Unmarshal(dAtA []byte) error

func (*MsgRemovePriceFeeders) ValidateBasic added in v0.29.21

func (msg *MsgRemovePriceFeeders) ValidateBasic() error

func (*MsgRemovePriceFeeders) XXX_DiscardUnknown added in v0.29.21

func (m *MsgRemovePriceFeeders) XXX_DiscardUnknown()

func (*MsgRemovePriceFeeders) XXX_Marshal added in v0.29.21

func (m *MsgRemovePriceFeeders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemovePriceFeeders) XXX_Merge added in v0.29.21

func (m *MsgRemovePriceFeeders) XXX_Merge(src proto.Message)

func (*MsgRemovePriceFeeders) XXX_Size added in v0.29.21

func (m *MsgRemovePriceFeeders) XXX_Size() int

func (*MsgRemovePriceFeeders) XXX_Unmarshal added in v0.29.21

func (m *MsgRemovePriceFeeders) XXX_Unmarshal(b []byte) error

type MsgRemovePriceFeedersResponse added in v0.29.21

type MsgRemovePriceFeedersResponse struct {
}

func (*MsgRemovePriceFeedersResponse) Descriptor added in v0.29.21

func (*MsgRemovePriceFeedersResponse) Descriptor() ([]byte, []int)

func (*MsgRemovePriceFeedersResponse) Marshal added in v0.29.21

func (m *MsgRemovePriceFeedersResponse) Marshal() (dAtA []byte, err error)

func (*MsgRemovePriceFeedersResponse) MarshalTo added in v0.29.21

func (m *MsgRemovePriceFeedersResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemovePriceFeedersResponse) MarshalToSizedBuffer added in v0.29.21

func (m *MsgRemovePriceFeedersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemovePriceFeedersResponse) ProtoMessage added in v0.29.21

func (*MsgRemovePriceFeedersResponse) ProtoMessage()

func (*MsgRemovePriceFeedersResponse) Reset added in v0.29.21

func (m *MsgRemovePriceFeedersResponse) Reset()

func (*MsgRemovePriceFeedersResponse) Size added in v0.29.21

func (m *MsgRemovePriceFeedersResponse) Size() (n int)

func (*MsgRemovePriceFeedersResponse) String added in v0.29.21

func (*MsgRemovePriceFeedersResponse) Unmarshal added in v0.29.21

func (m *MsgRemovePriceFeedersResponse) Unmarshal(dAtA []byte) error

func (*MsgRemovePriceFeedersResponse) XXX_DiscardUnknown added in v0.29.21

func (m *MsgRemovePriceFeedersResponse) XXX_DiscardUnknown()

func (*MsgRemovePriceFeedersResponse) XXX_Marshal added in v0.29.21

func (m *MsgRemovePriceFeedersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemovePriceFeedersResponse) XXX_Merge added in v0.29.21

func (m *MsgRemovePriceFeedersResponse) XXX_Merge(src proto.Message)

func (*MsgRemovePriceFeedersResponse) XXX_Size added in v0.29.21

func (m *MsgRemovePriceFeedersResponse) XXX_Size() int

func (*MsgRemovePriceFeedersResponse) XXX_Unmarshal added in v0.29.21

func (m *MsgRemovePriceFeedersResponse) XXX_Unmarshal(b []byte) error

type MsgSetPriceFeeder

type MsgSetPriceFeeder struct {
	Feeder   string `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
	IsActive bool   `protobuf:"varint,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
}

func NewMsgSetPriceFeeder

func NewMsgSetPriceFeeder(
	feeder string,
	isActive bool,
) *MsgSetPriceFeeder

func (*MsgSetPriceFeeder) Descriptor

func (*MsgSetPriceFeeder) Descriptor() ([]byte, []int)

func (*MsgSetPriceFeeder) GetFeeder

func (m *MsgSetPriceFeeder) GetFeeder() string

func (*MsgSetPriceFeeder) GetIsActive

func (m *MsgSetPriceFeeder) GetIsActive() bool

func (*MsgSetPriceFeeder) GetSignBytes

func (msg *MsgSetPriceFeeder) GetSignBytes() []byte

func (*MsgSetPriceFeeder) GetSigners

func (msg *MsgSetPriceFeeder) GetSigners() []sdk.AccAddress

func (*MsgSetPriceFeeder) Marshal

func (m *MsgSetPriceFeeder) Marshal() (dAtA []byte, err error)

func (*MsgSetPriceFeeder) MarshalTo

func (m *MsgSetPriceFeeder) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetPriceFeeder) MarshalToSizedBuffer

func (m *MsgSetPriceFeeder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetPriceFeeder) ProtoMessage

func (*MsgSetPriceFeeder) ProtoMessage()

func (*MsgSetPriceFeeder) Reset

func (m *MsgSetPriceFeeder) Reset()

func (*MsgSetPriceFeeder) Route

func (msg *MsgSetPriceFeeder) Route() string

func (*MsgSetPriceFeeder) Size

func (m *MsgSetPriceFeeder) Size() (n int)

func (*MsgSetPriceFeeder) String

func (m *MsgSetPriceFeeder) String() string

func (*MsgSetPriceFeeder) Type

func (msg *MsgSetPriceFeeder) Type() string

func (*MsgSetPriceFeeder) Unmarshal

func (m *MsgSetPriceFeeder) Unmarshal(dAtA []byte) error

func (*MsgSetPriceFeeder) ValidateBasic

func (msg *MsgSetPriceFeeder) ValidateBasic() error

func (*MsgSetPriceFeeder) XXX_DiscardUnknown

func (m *MsgSetPriceFeeder) XXX_DiscardUnknown()

func (*MsgSetPriceFeeder) XXX_Marshal

func (m *MsgSetPriceFeeder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetPriceFeeder) XXX_Merge

func (m *MsgSetPriceFeeder) XXX_Merge(src proto.Message)

func (*MsgSetPriceFeeder) XXX_Size

func (m *MsgSetPriceFeeder) XXX_Size() int

func (*MsgSetPriceFeeder) XXX_Unmarshal

func (m *MsgSetPriceFeeder) XXX_Unmarshal(b []byte) error

type MsgSetPriceFeederResponse

type MsgSetPriceFeederResponse struct {
}

func (*MsgSetPriceFeederResponse) Descriptor

func (*MsgSetPriceFeederResponse) Descriptor() ([]byte, []int)

func (*MsgSetPriceFeederResponse) Marshal

func (m *MsgSetPriceFeederResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetPriceFeederResponse) MarshalTo

func (m *MsgSetPriceFeederResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetPriceFeederResponse) MarshalToSizedBuffer

func (m *MsgSetPriceFeederResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetPriceFeederResponse) ProtoMessage

func (*MsgSetPriceFeederResponse) ProtoMessage()

func (*MsgSetPriceFeederResponse) Reset

func (m *MsgSetPriceFeederResponse) Reset()

func (*MsgSetPriceFeederResponse) Size

func (m *MsgSetPriceFeederResponse) Size() (n int)

func (*MsgSetPriceFeederResponse) String

func (m *MsgSetPriceFeederResponse) String() string

func (*MsgSetPriceFeederResponse) Unmarshal

func (m *MsgSetPriceFeederResponse) Unmarshal(dAtA []byte) error

func (*MsgSetPriceFeederResponse) XXX_DiscardUnknown

func (m *MsgSetPriceFeederResponse) XXX_DiscardUnknown()

func (*MsgSetPriceFeederResponse) XXX_Marshal

func (m *MsgSetPriceFeederResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetPriceFeederResponse) XXX_Merge

func (m *MsgSetPriceFeederResponse) XXX_Merge(src proto.Message)

func (*MsgSetPriceFeederResponse) XXX_Size

func (m *MsgSetPriceFeederResponse) XXX_Size() int

func (*MsgSetPriceFeederResponse) XXX_Unmarshal

func (m *MsgSetPriceFeederResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateParams added in v0.29.21

type MsgUpdateParams struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

func (*MsgUpdateParams) Descriptor added in v0.29.21

func (*MsgUpdateParams) Descriptor() ([]byte, []int)

func (*MsgUpdateParams) GetAuthority added in v0.29.21

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams added in v0.29.21

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) GetSignBytes added in v0.29.21

func (msg *MsgUpdateParams) GetSignBytes() []byte

func (*MsgUpdateParams) GetSigners added in v0.29.21

func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress

func (*MsgUpdateParams) Marshal added in v0.29.21

func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParams) MarshalTo added in v0.29.21

func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParams) MarshalToSizedBuffer added in v0.29.21

func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParams) ProtoMessage added in v0.29.21

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset added in v0.29.21

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Route added in v0.29.21

func (msg *MsgUpdateParams) Route() string

func (*MsgUpdateParams) Size added in v0.29.21

func (m *MsgUpdateParams) Size() (n int)

func (*MsgUpdateParams) String added in v0.29.21

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Type added in v0.29.21

func (msg *MsgUpdateParams) Type() string

func (*MsgUpdateParams) Unmarshal added in v0.29.21

func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error

func (*MsgUpdateParams) ValidateBasic added in v0.29.21

func (msg *MsgUpdateParams) ValidateBasic() error

func (*MsgUpdateParams) XXX_DiscardUnknown added in v0.29.21

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal added in v0.29.21

func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParams) XXX_Merge added in v0.29.21

func (m *MsgUpdateParams) XXX_Merge(src proto.Message)

func (*MsgUpdateParams) XXX_Size added in v0.29.21

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal added in v0.29.21

func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error

type MsgUpdateParamsResponse added in v0.29.21

type MsgUpdateParamsResponse struct {
}

func (*MsgUpdateParamsResponse) Descriptor added in v0.29.21

func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateParamsResponse) Marshal added in v0.29.21

func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParamsResponse) MarshalTo added in v0.29.21

func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer added in v0.29.21

func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) ProtoMessage added in v0.29.21

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset added in v0.29.21

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size added in v0.29.21

func (m *MsgUpdateParamsResponse) Size() (n int)

func (*MsgUpdateParamsResponse) String added in v0.29.21

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal added in v0.29.21

func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown added in v0.29.21

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal added in v0.29.21

func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParamsResponse) XXX_Merge added in v0.29.21

func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateParamsResponse) XXX_Size added in v0.29.21

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal added in v0.29.21

func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error

type OracleRequestID

type OracleRequestID int64

OracleRequestID is the type-safe unique identifier type for data requests.

type OracleScriptID

type OracleScriptID uint64

OracleScriptID is the type-safe unique identifier type for oracle scripts.

type Params

type Params struct {
	BandChannelSource string                                   `protobuf:"bytes,1,opt,name=band_channel_source,json=bandChannelSource,proto3" json:"band_channel_source,omitempty"`
	OracleScriptID    uint64                                   `protobuf:"varint,2,opt,name=oracle_script_id,json=oracleScriptId,proto3" json:"oracle_script_id,omitempty"`
	Multiplier        uint64                                   `protobuf:"varint,3,opt,name=multiplier,proto3" json:"multiplier,omitempty"`
	AskCount          uint64                                   `protobuf:"varint,4,opt,name=ask_count,json=askCount,proto3" json:"ask_count,omitempty"`
	MinCount          uint64                                   `protobuf:"varint,5,opt,name=min_count,json=minCount,proto3" json:"min_count,omitempty"`
	FeeLimit          github_com_cosmos_cosmos_sdk_types.Coins `` /* 129-byte string literal not displayed */
	PrepareGas        uint64                                   `protobuf:"varint,7,opt,name=prepare_gas,json=prepareGas,proto3" json:"prepare_gas,omitempty"`
	ExecuteGas        uint64                                   `protobuf:"varint,8,opt,name=execute_gas,json=executeGas,proto3" json:"execute_gas,omitempty"`
	ClientID          string                                   `protobuf:"bytes,9,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	BandEpoch         string                                   `protobuf:"bytes,10,opt,name=band_epoch,json=bandEpoch,proto3" json:"band_epoch,omitempty"`
	PriceExpiryTime   uint64                                   `protobuf:"varint,11,opt,name=price_expiry_time,json=priceExpiryTime,proto3" json:"price_expiry_time,omitempty"`
	LifeTimeInBlocks  uint64                                   `protobuf:"varint,12,opt,name=life_time_in_blocks,json=lifeTimeInBlocks,proto3" json:"life_time_in_blocks,omitempty"`
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(
	bandEpoch string,
	oracleScriptID OracleScriptID,
	multiplier uint64,
	bandChannelSrc string,
	askCount uint64,
	minCount uint64,
	feeLimit sdk.Coins,
	prepareGas uint64,
	executeGas uint64,
	priceExpiryTime uint64,
	lifeTimeInBlocks uint64,
) Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) GetAskCount

func (m *Params) GetAskCount() uint64

func (*Params) GetBandChannelSource

func (m *Params) GetBandChannelSource() string

func (*Params) GetBandEpoch

func (m *Params) GetBandEpoch() string

func (*Params) GetClientID

func (m *Params) GetClientID() string

func (*Params) GetExecuteGas

func (m *Params) GetExecuteGas() uint64

func (*Params) GetFeeLimit

func (*Params) GetLifeTimeInBlocks added in v0.29.19

func (m *Params) GetLifeTimeInBlocks() uint64

func (*Params) GetMinCount

func (m *Params) GetMinCount() uint64

func (*Params) GetMultiplier

func (m *Params) GetMultiplier() uint64

func (*Params) GetOracleScriptID

func (m *Params) GetOracleScriptID() uint64

func (*Params) GetPrepareGas

func (m *Params) GetPrepareGas() uint64

func (*Params) GetPriceExpiryTime

func (m *Params) GetPriceExpiryTime() uint64

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

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 {
	Asset       string                                 `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	Price       github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	Source      string                                 `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Provider    string                                 `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`
	Timestamp   uint64                                 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	BlockHeight uint64                                 `protobuf:"varint,6,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
}

func (*Price) Descriptor

func (*Price) Descriptor() ([]byte, []int)

func (*Price) GetAsset

func (m *Price) GetAsset() string

func (*Price) GetBlockHeight added in v0.29.19

func (m *Price) GetBlockHeight() uint64

func (*Price) GetProvider

func (m *Price) GetProvider() string

func (*Price) GetSource

func (m *Price) GetSource() string

func (*Price) GetTimestamp

func (m *Price) GetTimestamp() uint64

func (*Price) Marshal

func (m *Price) Marshal() (dAtA []byte, err error)

func (*Price) MarshalTo

func (m *Price) MarshalTo(dAtA []byte) (int, error)

func (*Price) MarshalToSizedBuffer

func (m *Price) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Price) ProtoMessage

func (*Price) ProtoMessage()

func (*Price) Reset

func (m *Price) Reset()

func (*Price) Size

func (m *Price) Size() (n int)

func (*Price) String

func (m *Price) String() string

func (*Price) Unmarshal

func (m *Price) Unmarshal(dAtA []byte) error

func (*Price) XXX_DiscardUnknown

func (m *Price) XXX_DiscardUnknown()

func (*Price) XXX_Marshal

func (m *Price) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Price) XXX_Merge

func (m *Price) XXX_Merge(src proto.Message)

func (*Price) XXX_Size

func (m *Price) XXX_Size() int

func (*Price) XXX_Unmarshal

func (m *Price) XXX_Unmarshal(b []byte) error

type PriceFeeder

type PriceFeeder struct {
	Feeder   string `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
	IsActive bool   `protobuf:"varint,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
}

func (*PriceFeeder) Descriptor

func (*PriceFeeder) Descriptor() ([]byte, []int)

func (*PriceFeeder) GetFeeder

func (m *PriceFeeder) GetFeeder() string

func (*PriceFeeder) GetIsActive

func (m *PriceFeeder) GetIsActive() bool

func (*PriceFeeder) Marshal

func (m *PriceFeeder) Marshal() (dAtA []byte, err error)

func (*PriceFeeder) MarshalTo

func (m *PriceFeeder) MarshalTo(dAtA []byte) (int, error)

func (*PriceFeeder) MarshalToSizedBuffer

func (m *PriceFeeder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PriceFeeder) ProtoMessage

func (*PriceFeeder) ProtoMessage()

func (*PriceFeeder) Reset

func (m *PriceFeeder) Reset()

func (*PriceFeeder) Size

func (m *PriceFeeder) Size() (n int)

func (*PriceFeeder) String

func (m *PriceFeeder) String() string

func (*PriceFeeder) Unmarshal

func (m *PriceFeeder) Unmarshal(dAtA []byte) error

func (*PriceFeeder) XXX_DiscardUnknown

func (m *PriceFeeder) XXX_DiscardUnknown()

func (*PriceFeeder) XXX_Marshal

func (m *PriceFeeder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PriceFeeder) XXX_Merge

func (m *PriceFeeder) XXX_Merge(src proto.Message)

func (*PriceFeeder) XXX_Size

func (m *PriceFeeder) XXX_Size() int

func (*PriceFeeder) XXX_Unmarshal

func (m *PriceFeeder) XXX_Unmarshal(b []byte) error

type QueryAllAssetInfoRequest

type QueryAllAssetInfoRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllAssetInfoRequest) Descriptor

func (*QueryAllAssetInfoRequest) Descriptor() ([]byte, []int)

func (*QueryAllAssetInfoRequest) GetPagination

func (m *QueryAllAssetInfoRequest) GetPagination() *query.PageRequest

func (*QueryAllAssetInfoRequest) Marshal

func (m *QueryAllAssetInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllAssetInfoRequest) MarshalTo

func (m *QueryAllAssetInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllAssetInfoRequest) MarshalToSizedBuffer

func (m *QueryAllAssetInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllAssetInfoRequest) ProtoMessage

func (*QueryAllAssetInfoRequest) ProtoMessage()

func (*QueryAllAssetInfoRequest) Reset

func (m *QueryAllAssetInfoRequest) Reset()

func (*QueryAllAssetInfoRequest) Size

func (m *QueryAllAssetInfoRequest) Size() (n int)

func (*QueryAllAssetInfoRequest) String

func (m *QueryAllAssetInfoRequest) String() string

func (*QueryAllAssetInfoRequest) Unmarshal

func (m *QueryAllAssetInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryAllAssetInfoRequest) XXX_DiscardUnknown

func (m *QueryAllAssetInfoRequest) XXX_DiscardUnknown()

func (*QueryAllAssetInfoRequest) XXX_Marshal

func (m *QueryAllAssetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllAssetInfoRequest) XXX_Merge

func (m *QueryAllAssetInfoRequest) XXX_Merge(src proto.Message)

func (*QueryAllAssetInfoRequest) XXX_Size

func (m *QueryAllAssetInfoRequest) XXX_Size() int

func (*QueryAllAssetInfoRequest) XXX_Unmarshal

func (m *QueryAllAssetInfoRequest) XXX_Unmarshal(b []byte) error

type QueryAllAssetInfoResponse

type QueryAllAssetInfoResponse struct {
	AssetInfo  []AssetInfo         `protobuf:"bytes,1,rep,name=asset_info,json=assetInfo,proto3" json:"asset_info"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllAssetInfoResponse) Descriptor

func (*QueryAllAssetInfoResponse) Descriptor() ([]byte, []int)

func (*QueryAllAssetInfoResponse) GetAssetInfo

func (m *QueryAllAssetInfoResponse) GetAssetInfo() []AssetInfo

func (*QueryAllAssetInfoResponse) GetPagination

func (m *QueryAllAssetInfoResponse) GetPagination() *query.PageResponse

func (*QueryAllAssetInfoResponse) Marshal

func (m *QueryAllAssetInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllAssetInfoResponse) MarshalTo

func (m *QueryAllAssetInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllAssetInfoResponse) MarshalToSizedBuffer

func (m *QueryAllAssetInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllAssetInfoResponse) ProtoMessage

func (*QueryAllAssetInfoResponse) ProtoMessage()

func (*QueryAllAssetInfoResponse) Reset

func (m *QueryAllAssetInfoResponse) Reset()

func (*QueryAllAssetInfoResponse) Size

func (m *QueryAllAssetInfoResponse) Size() (n int)

func (*QueryAllAssetInfoResponse) String

func (m *QueryAllAssetInfoResponse) String() string

func (*QueryAllAssetInfoResponse) Unmarshal

func (m *QueryAllAssetInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryAllAssetInfoResponse) XXX_DiscardUnknown

func (m *QueryAllAssetInfoResponse) XXX_DiscardUnknown()

func (*QueryAllAssetInfoResponse) XXX_Marshal

func (m *QueryAllAssetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllAssetInfoResponse) XXX_Merge

func (m *QueryAllAssetInfoResponse) XXX_Merge(src proto.Message)

func (*QueryAllAssetInfoResponse) XXX_Size

func (m *QueryAllAssetInfoResponse) XXX_Size() int

func (*QueryAllAssetInfoResponse) XXX_Unmarshal

func (m *QueryAllAssetInfoResponse) XXX_Unmarshal(b []byte) error

type QueryAllPriceFeederRequest

type QueryAllPriceFeederRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllPriceFeederRequest) Descriptor

func (*QueryAllPriceFeederRequest) Descriptor() ([]byte, []int)

func (*QueryAllPriceFeederRequest) GetPagination

func (m *QueryAllPriceFeederRequest) GetPagination() *query.PageRequest

func (*QueryAllPriceFeederRequest) Marshal

func (m *QueryAllPriceFeederRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllPriceFeederRequest) MarshalTo

func (m *QueryAllPriceFeederRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllPriceFeederRequest) MarshalToSizedBuffer

func (m *QueryAllPriceFeederRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllPriceFeederRequest) ProtoMessage

func (*QueryAllPriceFeederRequest) ProtoMessage()

func (*QueryAllPriceFeederRequest) Reset

func (m *QueryAllPriceFeederRequest) Reset()

func (*QueryAllPriceFeederRequest) Size

func (m *QueryAllPriceFeederRequest) Size() (n int)

func (*QueryAllPriceFeederRequest) String

func (m *QueryAllPriceFeederRequest) String() string

func (*QueryAllPriceFeederRequest) Unmarshal

func (m *QueryAllPriceFeederRequest) Unmarshal(dAtA []byte) error

func (*QueryAllPriceFeederRequest) XXX_DiscardUnknown

func (m *QueryAllPriceFeederRequest) XXX_DiscardUnknown()

func (*QueryAllPriceFeederRequest) XXX_Marshal

func (m *QueryAllPriceFeederRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllPriceFeederRequest) XXX_Merge

func (m *QueryAllPriceFeederRequest) XXX_Merge(src proto.Message)

func (*QueryAllPriceFeederRequest) XXX_Size

func (m *QueryAllPriceFeederRequest) XXX_Size() int

func (*QueryAllPriceFeederRequest) XXX_Unmarshal

func (m *QueryAllPriceFeederRequest) XXX_Unmarshal(b []byte) error

type QueryAllPriceFeederResponse

type QueryAllPriceFeederResponse struct {
	PriceFeeder []PriceFeeder       `protobuf:"bytes,1,rep,name=price_feeder,json=priceFeeder,proto3" json:"price_feeder"`
	Pagination  *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllPriceFeederResponse) Descriptor

func (*QueryAllPriceFeederResponse) Descriptor() ([]byte, []int)

func (*QueryAllPriceFeederResponse) GetPagination

func (m *QueryAllPriceFeederResponse) GetPagination() *query.PageResponse

func (*QueryAllPriceFeederResponse) GetPriceFeeder

func (m *QueryAllPriceFeederResponse) GetPriceFeeder() []PriceFeeder

func (*QueryAllPriceFeederResponse) Marshal

func (m *QueryAllPriceFeederResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllPriceFeederResponse) MarshalTo

func (m *QueryAllPriceFeederResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllPriceFeederResponse) MarshalToSizedBuffer

func (m *QueryAllPriceFeederResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllPriceFeederResponse) ProtoMessage

func (*QueryAllPriceFeederResponse) ProtoMessage()

func (*QueryAllPriceFeederResponse) Reset

func (m *QueryAllPriceFeederResponse) Reset()

func (*QueryAllPriceFeederResponse) Size

func (m *QueryAllPriceFeederResponse) Size() (n int)

func (*QueryAllPriceFeederResponse) String

func (m *QueryAllPriceFeederResponse) String() string

func (*QueryAllPriceFeederResponse) Unmarshal

func (m *QueryAllPriceFeederResponse) Unmarshal(dAtA []byte) error

func (*QueryAllPriceFeederResponse) XXX_DiscardUnknown

func (m *QueryAllPriceFeederResponse) XXX_DiscardUnknown()

func (*QueryAllPriceFeederResponse) XXX_Marshal

func (m *QueryAllPriceFeederResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllPriceFeederResponse) XXX_Merge

func (m *QueryAllPriceFeederResponse) XXX_Merge(src proto.Message)

func (*QueryAllPriceFeederResponse) XXX_Size

func (m *QueryAllPriceFeederResponse) XXX_Size() int

func (*QueryAllPriceFeederResponse) XXX_Unmarshal

func (m *QueryAllPriceFeederResponse) 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 QueryBandPriceRequest

type QueryBandPriceRequest struct {
	RequestId int64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
}

func (*QueryBandPriceRequest) Descriptor

func (*QueryBandPriceRequest) Descriptor() ([]byte, []int)

func (*QueryBandPriceRequest) GetRequestId

func (m *QueryBandPriceRequest) GetRequestId() int64

func (*QueryBandPriceRequest) Marshal

func (m *QueryBandPriceRequest) Marshal() (dAtA []byte, err error)

func (*QueryBandPriceRequest) MarshalTo

func (m *QueryBandPriceRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBandPriceRequest) MarshalToSizedBuffer

func (m *QueryBandPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBandPriceRequest) ProtoMessage

func (*QueryBandPriceRequest) ProtoMessage()

func (*QueryBandPriceRequest) Reset

func (m *QueryBandPriceRequest) Reset()

func (*QueryBandPriceRequest) Size

func (m *QueryBandPriceRequest) Size() (n int)

func (*QueryBandPriceRequest) String

func (m *QueryBandPriceRequest) String() string

func (*QueryBandPriceRequest) Unmarshal

func (m *QueryBandPriceRequest) Unmarshal(dAtA []byte) error

func (*QueryBandPriceRequest) XXX_DiscardUnknown

func (m *QueryBandPriceRequest) XXX_DiscardUnknown()

func (*QueryBandPriceRequest) XXX_Marshal

func (m *QueryBandPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBandPriceRequest) XXX_Merge

func (m *QueryBandPriceRequest) XXX_Merge(src proto.Message)

func (*QueryBandPriceRequest) XXX_Size

func (m *QueryBandPriceRequest) XXX_Size() int

func (*QueryBandPriceRequest) XXX_Unmarshal

func (m *QueryBandPriceRequest) XXX_Unmarshal(b []byte) error

type QueryBandPriceResponse

type QueryBandPriceResponse struct {
	Result *BandPriceResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
}

func (*QueryBandPriceResponse) Descriptor

func (*QueryBandPriceResponse) Descriptor() ([]byte, []int)

func (*QueryBandPriceResponse) GetResult

func (m *QueryBandPriceResponse) GetResult() *BandPriceResult

func (*QueryBandPriceResponse) Marshal

func (m *QueryBandPriceResponse) Marshal() (dAtA []byte, err error)

func (*QueryBandPriceResponse) MarshalTo

func (m *QueryBandPriceResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBandPriceResponse) MarshalToSizedBuffer

func (m *QueryBandPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBandPriceResponse) ProtoMessage

func (*QueryBandPriceResponse) ProtoMessage()

func (*QueryBandPriceResponse) Reset

func (m *QueryBandPriceResponse) Reset()

func (*QueryBandPriceResponse) Size

func (m *QueryBandPriceResponse) Size() (n int)

func (*QueryBandPriceResponse) String

func (m *QueryBandPriceResponse) String() string

func (*QueryBandPriceResponse) Unmarshal

func (m *QueryBandPriceResponse) Unmarshal(dAtA []byte) error

func (*QueryBandPriceResponse) XXX_DiscardUnknown

func (m *QueryBandPriceResponse) XXX_DiscardUnknown()

func (*QueryBandPriceResponse) XXX_Marshal

func (m *QueryBandPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBandPriceResponse) XXX_Merge

func (m *QueryBandPriceResponse) XXX_Merge(src proto.Message)

func (*QueryBandPriceResponse) XXX_Size

func (m *QueryBandPriceResponse) XXX_Size() int

func (*QueryBandPriceResponse) XXX_Unmarshal

func (m *QueryBandPriceResponse) 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)
	// BandPriceResult defines a rpc handler method for MsgRequestBandPrice.
	BandPriceResult(ctx context.Context, in *QueryBandPriceRequest, opts ...grpc.CallOption) (*QueryBandPriceResponse, error)
	// LastBandRequestId query the last BandPrice result id
	LastBandRequestId(ctx context.Context, in *QueryLastBandRequestIdRequest, opts ...grpc.CallOption) (*QueryLastBandRequestIdResponse, error)
	// Queries a AssetInfo by denom.
	AssetInfo(ctx context.Context, in *QueryGetAssetInfoRequest, opts ...grpc.CallOption) (*QueryGetAssetInfoResponse, error)
	// Queries a list of AssetInfo items.
	AssetInfoAll(ctx context.Context, in *QueryAllAssetInfoRequest, opts ...grpc.CallOption) (*QueryAllAssetInfoResponse, error)
	// Queries a Price by asset.
	Price(ctx context.Context, in *QueryGetPriceRequest, opts ...grpc.CallOption) (*QueryGetPriceResponse, error)
	// Queries a list of Price items.
	PriceAll(ctx context.Context, in *QueryAllPriceRequest, opts ...grpc.CallOption) (*QueryAllPriceResponse, error)
	// Queries a PriceFeeder by feeder.
	PriceFeeder(ctx context.Context, in *QueryGetPriceFeederRequest, opts ...grpc.CallOption) (*QueryGetPriceFeederResponse, error)
	// Queries a list of PriceFeeder items.
	PriceFeederAll(ctx context.Context, in *QueryAllPriceFeederRequest, opts ...grpc.CallOption) (*QueryAllPriceFeederResponse, 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 QueryGetAssetInfoRequest

type QueryGetAssetInfoRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*QueryGetAssetInfoRequest) Descriptor

func (*QueryGetAssetInfoRequest) Descriptor() ([]byte, []int)

func (*QueryGetAssetInfoRequest) GetDenom

func (m *QueryGetAssetInfoRequest) GetDenom() string

func (*QueryGetAssetInfoRequest) Marshal

func (m *QueryGetAssetInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetAssetInfoRequest) MarshalTo

func (m *QueryGetAssetInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetAssetInfoRequest) MarshalToSizedBuffer

func (m *QueryGetAssetInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetAssetInfoRequest) ProtoMessage

func (*QueryGetAssetInfoRequest) ProtoMessage()

func (*QueryGetAssetInfoRequest) Reset

func (m *QueryGetAssetInfoRequest) Reset()

func (*QueryGetAssetInfoRequest) Size

func (m *QueryGetAssetInfoRequest) Size() (n int)

func (*QueryGetAssetInfoRequest) String

func (m *QueryGetAssetInfoRequest) String() string

func (*QueryGetAssetInfoRequest) Unmarshal

func (m *QueryGetAssetInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryGetAssetInfoRequest) XXX_DiscardUnknown

func (m *QueryGetAssetInfoRequest) XXX_DiscardUnknown()

func (*QueryGetAssetInfoRequest) XXX_Marshal

func (m *QueryGetAssetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetAssetInfoRequest) XXX_Merge

func (m *QueryGetAssetInfoRequest) XXX_Merge(src proto.Message)

func (*QueryGetAssetInfoRequest) XXX_Size

func (m *QueryGetAssetInfoRequest) XXX_Size() int

func (*QueryGetAssetInfoRequest) XXX_Unmarshal

func (m *QueryGetAssetInfoRequest) XXX_Unmarshal(b []byte) error

type QueryGetAssetInfoResponse

type QueryGetAssetInfoResponse struct {
	AssetInfo AssetInfo `protobuf:"bytes,1,opt,name=asset_info,json=assetInfo,proto3" json:"asset_info"`
}

func (*QueryGetAssetInfoResponse) Descriptor

func (*QueryGetAssetInfoResponse) Descriptor() ([]byte, []int)

func (*QueryGetAssetInfoResponse) GetAssetInfo

func (m *QueryGetAssetInfoResponse) GetAssetInfo() AssetInfo

func (*QueryGetAssetInfoResponse) Marshal

func (m *QueryGetAssetInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetAssetInfoResponse) MarshalTo

func (m *QueryGetAssetInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetAssetInfoResponse) MarshalToSizedBuffer

func (m *QueryGetAssetInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetAssetInfoResponse) ProtoMessage

func (*QueryGetAssetInfoResponse) ProtoMessage()

func (*QueryGetAssetInfoResponse) Reset

func (m *QueryGetAssetInfoResponse) Reset()

func (*QueryGetAssetInfoResponse) Size

func (m *QueryGetAssetInfoResponse) Size() (n int)

func (*QueryGetAssetInfoResponse) String

func (m *QueryGetAssetInfoResponse) String() string

func (*QueryGetAssetInfoResponse) Unmarshal

func (m *QueryGetAssetInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryGetAssetInfoResponse) XXX_DiscardUnknown

func (m *QueryGetAssetInfoResponse) XXX_DiscardUnknown()

func (*QueryGetAssetInfoResponse) XXX_Marshal

func (m *QueryGetAssetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetAssetInfoResponse) XXX_Merge

func (m *QueryGetAssetInfoResponse) XXX_Merge(src proto.Message)

func (*QueryGetAssetInfoResponse) XXX_Size

func (m *QueryGetAssetInfoResponse) XXX_Size() int

func (*QueryGetAssetInfoResponse) XXX_Unmarshal

func (m *QueryGetAssetInfoResponse) XXX_Unmarshal(b []byte) error

type QueryGetPriceFeederRequest

type QueryGetPriceFeederRequest struct {
	Feeder string `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
}

func (*QueryGetPriceFeederRequest) Descriptor

func (*QueryGetPriceFeederRequest) Descriptor() ([]byte, []int)

func (*QueryGetPriceFeederRequest) GetFeeder

func (m *QueryGetPriceFeederRequest) GetFeeder() string

func (*QueryGetPriceFeederRequest) Marshal

func (m *QueryGetPriceFeederRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetPriceFeederRequest) MarshalTo

func (m *QueryGetPriceFeederRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetPriceFeederRequest) MarshalToSizedBuffer

func (m *QueryGetPriceFeederRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetPriceFeederRequest) ProtoMessage

func (*QueryGetPriceFeederRequest) ProtoMessage()

func (*QueryGetPriceFeederRequest) Reset

func (m *QueryGetPriceFeederRequest) Reset()

func (*QueryGetPriceFeederRequest) Size

func (m *QueryGetPriceFeederRequest) Size() (n int)

func (*QueryGetPriceFeederRequest) String

func (m *QueryGetPriceFeederRequest) String() string

func (*QueryGetPriceFeederRequest) Unmarshal

func (m *QueryGetPriceFeederRequest) Unmarshal(dAtA []byte) error

func (*QueryGetPriceFeederRequest) XXX_DiscardUnknown

func (m *QueryGetPriceFeederRequest) XXX_DiscardUnknown()

func (*QueryGetPriceFeederRequest) XXX_Marshal

func (m *QueryGetPriceFeederRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetPriceFeederRequest) XXX_Merge

func (m *QueryGetPriceFeederRequest) XXX_Merge(src proto.Message)

func (*QueryGetPriceFeederRequest) XXX_Size

func (m *QueryGetPriceFeederRequest) XXX_Size() int

func (*QueryGetPriceFeederRequest) XXX_Unmarshal

func (m *QueryGetPriceFeederRequest) XXX_Unmarshal(b []byte) error

type QueryGetPriceFeederResponse

type QueryGetPriceFeederResponse struct {
	PriceFeeder PriceFeeder `protobuf:"bytes,1,opt,name=price_feeder,json=priceFeeder,proto3" json:"price_feeder"`
}

func (*QueryGetPriceFeederResponse) Descriptor

func (*QueryGetPriceFeederResponse) Descriptor() ([]byte, []int)

func (*QueryGetPriceFeederResponse) GetPriceFeeder

func (m *QueryGetPriceFeederResponse) GetPriceFeeder() PriceFeeder

func (*QueryGetPriceFeederResponse) Marshal

func (m *QueryGetPriceFeederResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetPriceFeederResponse) MarshalTo

func (m *QueryGetPriceFeederResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetPriceFeederResponse) MarshalToSizedBuffer

func (m *QueryGetPriceFeederResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetPriceFeederResponse) ProtoMessage

func (*QueryGetPriceFeederResponse) ProtoMessage()

func (*QueryGetPriceFeederResponse) Reset

func (m *QueryGetPriceFeederResponse) Reset()

func (*QueryGetPriceFeederResponse) Size

func (m *QueryGetPriceFeederResponse) Size() (n int)

func (*QueryGetPriceFeederResponse) String

func (m *QueryGetPriceFeederResponse) String() string

func (*QueryGetPriceFeederResponse) Unmarshal

func (m *QueryGetPriceFeederResponse) Unmarshal(dAtA []byte) error

func (*QueryGetPriceFeederResponse) XXX_DiscardUnknown

func (m *QueryGetPriceFeederResponse) XXX_DiscardUnknown()

func (*QueryGetPriceFeederResponse) XXX_Marshal

func (m *QueryGetPriceFeederResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetPriceFeederResponse) XXX_Merge

func (m *QueryGetPriceFeederResponse) XXX_Merge(src proto.Message)

func (*QueryGetPriceFeederResponse) XXX_Size

func (m *QueryGetPriceFeederResponse) XXX_Size() int

func (*QueryGetPriceFeederResponse) XXX_Unmarshal

func (m *QueryGetPriceFeederResponse) XXX_Unmarshal(b []byte) error

type QueryGetPriceRequest

type QueryGetPriceRequest struct {
	Asset     string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	Source    string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*QueryGetPriceRequest) Descriptor

func (*QueryGetPriceRequest) Descriptor() ([]byte, []int)

func (*QueryGetPriceRequest) GetAsset

func (m *QueryGetPriceRequest) GetAsset() string

func (*QueryGetPriceRequest) GetSource

func (m *QueryGetPriceRequest) GetSource() string

func (*QueryGetPriceRequest) GetTimestamp

func (m *QueryGetPriceRequest) GetTimestamp() uint64

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 QueryLastBandRequestIdRequest

type QueryLastBandRequestIdRequest struct {
}

func (*QueryLastBandRequestIdRequest) Descriptor

func (*QueryLastBandRequestIdRequest) Descriptor() ([]byte, []int)

func (*QueryLastBandRequestIdRequest) Marshal

func (m *QueryLastBandRequestIdRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastBandRequestIdRequest) MarshalTo

func (m *QueryLastBandRequestIdRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastBandRequestIdRequest) MarshalToSizedBuffer

func (m *QueryLastBandRequestIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastBandRequestIdRequest) ProtoMessage

func (*QueryLastBandRequestIdRequest) ProtoMessage()

func (*QueryLastBandRequestIdRequest) Reset

func (m *QueryLastBandRequestIdRequest) Reset()

func (*QueryLastBandRequestIdRequest) Size

func (m *QueryLastBandRequestIdRequest) Size() (n int)

func (*QueryLastBandRequestIdRequest) String

func (*QueryLastBandRequestIdRequest) Unmarshal

func (m *QueryLastBandRequestIdRequest) Unmarshal(dAtA []byte) error

func (*QueryLastBandRequestIdRequest) XXX_DiscardUnknown

func (m *QueryLastBandRequestIdRequest) XXX_DiscardUnknown()

func (*QueryLastBandRequestIdRequest) XXX_Marshal

func (m *QueryLastBandRequestIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastBandRequestIdRequest) XXX_Merge

func (m *QueryLastBandRequestIdRequest) XXX_Merge(src proto.Message)

func (*QueryLastBandRequestIdRequest) XXX_Size

func (m *QueryLastBandRequestIdRequest) XXX_Size() int

func (*QueryLastBandRequestIdRequest) XXX_Unmarshal

func (m *QueryLastBandRequestIdRequest) XXX_Unmarshal(b []byte) error

type QueryLastBandRequestIdResponse

type QueryLastBandRequestIdResponse struct {
	RequestId int64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
}

func (*QueryLastBandRequestIdResponse) Descriptor

func (*QueryLastBandRequestIdResponse) Descriptor() ([]byte, []int)

func (*QueryLastBandRequestIdResponse) GetRequestId

func (m *QueryLastBandRequestIdResponse) GetRequestId() int64

func (*QueryLastBandRequestIdResponse) Marshal

func (m *QueryLastBandRequestIdResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastBandRequestIdResponse) MarshalTo

func (m *QueryLastBandRequestIdResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastBandRequestIdResponse) MarshalToSizedBuffer

func (m *QueryLastBandRequestIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastBandRequestIdResponse) ProtoMessage

func (*QueryLastBandRequestIdResponse) ProtoMessage()

func (*QueryLastBandRequestIdResponse) Reset

func (m *QueryLastBandRequestIdResponse) Reset()

func (*QueryLastBandRequestIdResponse) Size

func (m *QueryLastBandRequestIdResponse) Size() (n int)

func (*QueryLastBandRequestIdResponse) String

func (*QueryLastBandRequestIdResponse) Unmarshal

func (m *QueryLastBandRequestIdResponse) Unmarshal(dAtA []byte) error

func (*QueryLastBandRequestIdResponse) XXX_DiscardUnknown

func (m *QueryLastBandRequestIdResponse) XXX_DiscardUnknown()

func (*QueryLastBandRequestIdResponse) XXX_Marshal

func (m *QueryLastBandRequestIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastBandRequestIdResponse) XXX_Merge

func (m *QueryLastBandRequestIdResponse) XXX_Merge(src proto.Message)

func (*QueryLastBandRequestIdResponse) XXX_Size

func (m *QueryLastBandRequestIdResponse) XXX_Size() int

func (*QueryLastBandRequestIdResponse) XXX_Unmarshal

func (m *QueryLastBandRequestIdResponse) 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)
	// BandPriceResult defines a rpc handler method for MsgRequestBandPrice.
	BandPriceResult(context.Context, *QueryBandPriceRequest) (*QueryBandPriceResponse, error)
	// LastBandRequestId query the last BandPrice result id
	LastBandRequestId(context.Context, *QueryLastBandRequestIdRequest) (*QueryLastBandRequestIdResponse, error)
	// Queries a AssetInfo by denom.
	AssetInfo(context.Context, *QueryGetAssetInfoRequest) (*QueryGetAssetInfoResponse, error)
	// Queries a list of AssetInfo items.
	AssetInfoAll(context.Context, *QueryAllAssetInfoRequest) (*QueryAllAssetInfoResponse, error)
	// Queries a Price by asset.
	Price(context.Context, *QueryGetPriceRequest) (*QueryGetPriceResponse, error)
	// Queries a list of Price items.
	PriceAll(context.Context, *QueryAllPriceRequest) (*QueryAllPriceResponse, error)
	// Queries a PriceFeeder by feeder.
	PriceFeeder(context.Context, *QueryGetPriceFeederRequest) (*QueryGetPriceFeederResponse, error)
	// Queries a list of PriceFeeder items.
	PriceFeederAll(context.Context, *QueryAllPriceFeederRequest) (*QueryAllPriceFeederResponse, 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 UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddAssetInfo added in v0.29.21

func (*UnimplementedMsgServer) AddPriceFeeders added in v0.29.21

func (*UnimplementedMsgServer) DeletePriceFeeder

func (*UnimplementedMsgServer) FeedMultiplePrices

func (*UnimplementedMsgServer) FeedPrice

func (*UnimplementedMsgServer) RemoveAssetInfo added in v0.29.21

func (*UnimplementedMsgServer) RemovePriceFeeders added in v0.29.21

func (*UnimplementedMsgServer) SetPriceFeeder

func (*UnimplementedMsgServer) UpdateParams added in v0.29.21

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AssetInfo

func (*UnimplementedQueryServer) AssetInfoAll

func (*UnimplementedQueryServer) BandPriceResult

func (*UnimplementedQueryServer) LastBandRequestId

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Price

func (*UnimplementedQueryServer) PriceAll

func (*UnimplementedQueryServer) PriceFeeder

func (*UnimplementedQueryServer) PriceFeederAll

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL