types

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 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 (
	TypeMsgSetPriceFeeder    = "update_price_feeder"
	TypeMsgDeletePriceFeeder = "delete_price_feeder"
)
View Source
const (
	ProposalTypeAddAssetInfo       string = "AddAssetInfo"
	ProposalTypeRemoveAssetInfo    string = "RemoveAssetInfo"
	ProposalTypeAddPriceFeeders    string = "AddPriceFeeders"
	ProposalTypeRemovePriceFeeders string = "RemovePriceFeeders"
)
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"
)
View Source
const TypeMsgRequestBandPrice = "request_band_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         = sdkerrors.Register(ModuleName, 1500, "sample error")
	ErrInvalidPacketTimeout = sdkerrors.Register(ModuleName, 1501, "invalid packet timeout")
	ErrInvalidVersion       = sdkerrors.Register(ModuleName, 1502, "invalid version")
	ErrNotAPriceFeeder      = sdkerrors.Register(ModuleName, 1503, "not a price feeder")
	ErrPriceFeederNotActive = sdkerrors.Register(ModuleName, 1504, "price feeder is not active")
	ErrNotModuleAdmin       = sdkerrors.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")
)
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 (
	ErrInvalidLengthProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProposal = 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 NewProposalAddAssetInfo

func NewProposalAddAssetInfo(
	title, description string,
	denom string,
	display string,
	bandTicker string,
	elysTicker string,
	decimal uint64,
) gov.Content

NewProposalAddAssetInfo creates a new ProposalAddAssetInfo instance

func NewProposalAddPriceFeeders

func NewProposalAddPriceFeeders(
	title, description string,
	feeders []string,
) gov.Content

NewProposalAddPriceFeeders creates a new ProposalAddPriceFeeders instance

func NewProposalRemoveAssetInfo

func NewProposalRemoveAssetInfo(title, description, denom string) gov.Content

func NewProposalRemovePriceFeeders

func NewProposalRemovePriceFeeders(title, description string, feeders []string) gov.Content

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 MsgClient

type MsgClient interface {
	FeedPrice(ctx context.Context, in *MsgFeedPrice, opts ...grpc.CallOption) (*MsgFeedPriceResponse, error)
	FeedMultiplePrices(ctx context.Context, in *MsgFeedMultiplePrices, opts ...grpc.CallOption) (*MsgFeedMultiplePricesResponse, error)
	RequestBandPrice(ctx context.Context, in *MsgRequestBandPrice, opts ...grpc.CallOption) (*MsgRequestBandPriceResponse, error)
	SetPriceFeeder(ctx context.Context, in *MsgSetPriceFeeder, opts ...grpc.CallOption) (*MsgSetPriceFeederResponse, error)
	DeletePriceFeeder(ctx context.Context, in *MsgDeletePriceFeeder, opts ...grpc.CallOption) (*MsgDeletePriceFeederResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type 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 MsgRequestBandPrice

type MsgRequestBandPrice struct {
	Creator        string                                   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	OracleScriptID uint64                                   `protobuf:"varint,2,opt,name=oracle_script_id,json=oracleScriptId,proto3" json:"oracle_script_id,omitempty"`
	SourceChannel  string                                   `protobuf:"bytes,3,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty"`
	Calldata       *BandPriceCallData                       `protobuf:"bytes,4,opt,name=calldata,proto3" json:"calldata,omitempty"`
	AskCount       uint64                                   `protobuf:"varint,5,opt,name=ask_count,json=askCount,proto3" json:"ask_count,omitempty"`
	MinCount       uint64                                   `protobuf:"varint,6,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,8,opt,name=prepare_gas,json=prepareGas,proto3" json:"prepare_gas,omitempty"`
	ExecuteGas     uint64                                   `protobuf:"varint,9,opt,name=execute_gas,json=executeGas,proto3" json:"execute_gas,omitempty"`
	ClientID       string                                   `protobuf:"bytes,10,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
}

func NewMsgRequestBandPrice

func NewMsgRequestBandPrice(
	creator string,
	oracleScriptID OracleScriptID,
	sourceChannel string,
	calldata *BandPriceCallData,
	askCount uint64,
	minCount uint64,
	feeLimit sdk.Coins,
	prepareGas uint64,
	executeGas uint64,
) *MsgRequestBandPrice

NewMsgRequestBandPrice creates a new BandPrice message

func (*MsgRequestBandPrice) Descriptor

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

func (*MsgRequestBandPrice) GetAskCount

func (m *MsgRequestBandPrice) GetAskCount() uint64

func (*MsgRequestBandPrice) GetCalldata

func (m *MsgRequestBandPrice) GetCalldata() *BandPriceCallData

func (*MsgRequestBandPrice) GetClientID

func (m *MsgRequestBandPrice) GetClientID() string

func (*MsgRequestBandPrice) GetCreator

func (m *MsgRequestBandPrice) GetCreator() string

func (*MsgRequestBandPrice) GetExecuteGas

func (m *MsgRequestBandPrice) GetExecuteGas() uint64

func (*MsgRequestBandPrice) GetFeeLimit

func (*MsgRequestBandPrice) GetMinCount

func (m *MsgRequestBandPrice) GetMinCount() uint64

func (*MsgRequestBandPrice) GetOracleScriptID

func (m *MsgRequestBandPrice) GetOracleScriptID() uint64

func (*MsgRequestBandPrice) GetPrepareGas

func (m *MsgRequestBandPrice) GetPrepareGas() uint64

func (*MsgRequestBandPrice) GetSignBytes

func (m *MsgRequestBandPrice) GetSignBytes() []byte

GetSignBytes returns the signed bytes from the message

func (*MsgRequestBandPrice) GetSigners

func (m *MsgRequestBandPrice) GetSigners() []sdk.AccAddress

GetSigners returns the message signers

func (*MsgRequestBandPrice) GetSourceChannel

func (m *MsgRequestBandPrice) GetSourceChannel() string

func (*MsgRequestBandPrice) Marshal

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

func (*MsgRequestBandPrice) MarshalTo

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

func (*MsgRequestBandPrice) MarshalToSizedBuffer

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

func (*MsgRequestBandPrice) ProtoMessage

func (*MsgRequestBandPrice) ProtoMessage()

func (*MsgRequestBandPrice) Reset

func (m *MsgRequestBandPrice) Reset()

func (*MsgRequestBandPrice) Route

func (m *MsgRequestBandPrice) Route() string

Route returns the message route

func (*MsgRequestBandPrice) Size

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

func (*MsgRequestBandPrice) String

func (m *MsgRequestBandPrice) String() string

func (*MsgRequestBandPrice) Type

func (m *MsgRequestBandPrice) Type() string

Type returns the message type

func (*MsgRequestBandPrice) Unmarshal

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

func (*MsgRequestBandPrice) ValidateBasic

func (m *MsgRequestBandPrice) ValidateBasic() error

ValidateBasic check the basic message validation

func (*MsgRequestBandPrice) XXX_DiscardUnknown

func (m *MsgRequestBandPrice) XXX_DiscardUnknown()

func (*MsgRequestBandPrice) XXX_Marshal

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

func (*MsgRequestBandPrice) XXX_Merge

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

func (*MsgRequestBandPrice) XXX_Size

func (m *MsgRequestBandPrice) XXX_Size() int

func (*MsgRequestBandPrice) XXX_Unmarshal

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

type MsgRequestBandPriceResponse

type MsgRequestBandPriceResponse struct {
}

func (*MsgRequestBandPriceResponse) Descriptor

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

func (*MsgRequestBandPriceResponse) Marshal

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

func (*MsgRequestBandPriceResponse) MarshalTo

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

func (*MsgRequestBandPriceResponse) MarshalToSizedBuffer

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

func (*MsgRequestBandPriceResponse) ProtoMessage

func (*MsgRequestBandPriceResponse) ProtoMessage()

func (*MsgRequestBandPriceResponse) Reset

func (m *MsgRequestBandPriceResponse) Reset()

func (*MsgRequestBandPriceResponse) Size

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

func (*MsgRequestBandPriceResponse) String

func (m *MsgRequestBandPriceResponse) String() string

func (*MsgRequestBandPriceResponse) Unmarshal

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

func (*MsgRequestBandPriceResponse) XXX_DiscardUnknown

func (m *MsgRequestBandPriceResponse) XXX_DiscardUnknown()

func (*MsgRequestBandPriceResponse) XXX_Marshal

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

func (*MsgRequestBandPriceResponse) XXX_Merge

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

func (*MsgRequestBandPriceResponse) XXX_Size

func (m *MsgRequestBandPriceResponse) XXX_Size() int

func (*MsgRequestBandPriceResponse) XXX_Unmarshal

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

type MsgServer

MsgServer is the server API for Msg service.

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 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"`
}

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,
) 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) 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"`
}

func (*Price) Descriptor

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

func (*Price) GetAsset

func (m *Price) GetAsset() string

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 ProposalAddAssetInfo

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

func (*ProposalAddAssetInfo) Descriptor

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

func (*ProposalAddAssetInfo) GetBandTicker

func (m *ProposalAddAssetInfo) GetBandTicker() string

func (*ProposalAddAssetInfo) GetDecimal

func (m *ProposalAddAssetInfo) GetDecimal() uint64

func (*ProposalAddAssetInfo) GetDenom

func (m *ProposalAddAssetInfo) GetDenom() string

func (*ProposalAddAssetInfo) GetDescription

func (m *ProposalAddAssetInfo) GetDescription() string

func (*ProposalAddAssetInfo) GetDisplay

func (m *ProposalAddAssetInfo) GetDisplay() string

func (*ProposalAddAssetInfo) GetElysTicker

func (m *ProposalAddAssetInfo) GetElysTicker() string

func (*ProposalAddAssetInfo) GetTitle

func (m *ProposalAddAssetInfo) GetTitle() string

func (*ProposalAddAssetInfo) Marshal

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

func (*ProposalAddAssetInfo) MarshalTo

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

func (*ProposalAddAssetInfo) MarshalToSizedBuffer

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

func (*ProposalAddAssetInfo) ProposalRoute

func (sup *ProposalAddAssetInfo) ProposalRoute() string

ProposalRoute gets the proposal's router key

func (*ProposalAddAssetInfo) ProposalType

func (sup *ProposalAddAssetInfo) ProposalType() string

ProposalType is "SoftwareUpgrade"

func (*ProposalAddAssetInfo) ProtoMessage

func (*ProposalAddAssetInfo) ProtoMessage()

func (*ProposalAddAssetInfo) Reset

func (m *ProposalAddAssetInfo) Reset()

func (*ProposalAddAssetInfo) Size

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

func (*ProposalAddAssetInfo) String

func (m *ProposalAddAssetInfo) String() string

func (*ProposalAddAssetInfo) Unmarshal

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

func (*ProposalAddAssetInfo) ValidateBasic

func (sup *ProposalAddAssetInfo) ValidateBasic() error

ValidateBasic validates the proposal

func (*ProposalAddAssetInfo) XXX_DiscardUnknown

func (m *ProposalAddAssetInfo) XXX_DiscardUnknown()

func (*ProposalAddAssetInfo) XXX_Marshal

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

func (*ProposalAddAssetInfo) XXX_Merge

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

func (*ProposalAddAssetInfo) XXX_Size

func (m *ProposalAddAssetInfo) XXX_Size() int

func (*ProposalAddAssetInfo) XXX_Unmarshal

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

type ProposalAddPriceFeeders

type ProposalAddPriceFeeders struct {
	Title       string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Feeders     []string `protobuf:"bytes,3,rep,name=feeders,proto3" json:"feeders,omitempty"`
}

func (*ProposalAddPriceFeeders) Descriptor

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

func (*ProposalAddPriceFeeders) GetDescription

func (m *ProposalAddPriceFeeders) GetDescription() string

func (*ProposalAddPriceFeeders) GetFeeders

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

func (*ProposalAddPriceFeeders) GetTitle

func (m *ProposalAddPriceFeeders) GetTitle() string

func (*ProposalAddPriceFeeders) Marshal

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

func (*ProposalAddPriceFeeders) MarshalTo

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

func (*ProposalAddPriceFeeders) MarshalToSizedBuffer

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

func (*ProposalAddPriceFeeders) ProposalRoute

func (sup *ProposalAddPriceFeeders) ProposalRoute() string

ProposalRoute gets the proposal's router key

func (*ProposalAddPriceFeeders) ProposalType

func (sup *ProposalAddPriceFeeders) ProposalType() string

ProposalType is "SoftwareUpgrade"

func (*ProposalAddPriceFeeders) ProtoMessage

func (*ProposalAddPriceFeeders) ProtoMessage()

func (*ProposalAddPriceFeeders) Reset

func (m *ProposalAddPriceFeeders) Reset()

func (*ProposalAddPriceFeeders) Size

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

func (*ProposalAddPriceFeeders) String

func (m *ProposalAddPriceFeeders) String() string

func (*ProposalAddPriceFeeders) Unmarshal

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

func (*ProposalAddPriceFeeders) ValidateBasic

func (sup *ProposalAddPriceFeeders) ValidateBasic() error

ValidateBasic validates the proposal

func (*ProposalAddPriceFeeders) XXX_DiscardUnknown

func (m *ProposalAddPriceFeeders) XXX_DiscardUnknown()

func (*ProposalAddPriceFeeders) XXX_Marshal

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

func (*ProposalAddPriceFeeders) XXX_Merge

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

func (*ProposalAddPriceFeeders) XXX_Size

func (m *ProposalAddPriceFeeders) XXX_Size() int

func (*ProposalAddPriceFeeders) XXX_Unmarshal

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

type ProposalRemoveAssetInfo

type ProposalRemoveAssetInfo struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Denom       string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*ProposalRemoveAssetInfo) Descriptor

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

func (*ProposalRemoveAssetInfo) GetDenom

func (m *ProposalRemoveAssetInfo) GetDenom() string

func (*ProposalRemoveAssetInfo) GetDescription

func (m *ProposalRemoveAssetInfo) GetDescription() string

func (*ProposalRemoveAssetInfo) GetTitle

func (m *ProposalRemoveAssetInfo) GetTitle() string

func (*ProposalRemoveAssetInfo) Marshal

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

func (*ProposalRemoveAssetInfo) MarshalTo

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

func (*ProposalRemoveAssetInfo) MarshalToSizedBuffer

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

func (*ProposalRemoveAssetInfo) ProposalRoute

func (csup *ProposalRemoveAssetInfo) ProposalRoute() string

func (*ProposalRemoveAssetInfo) ProposalType

func (csup *ProposalRemoveAssetInfo) ProposalType() string

func (*ProposalRemoveAssetInfo) ProtoMessage

func (*ProposalRemoveAssetInfo) ProtoMessage()

func (*ProposalRemoveAssetInfo) Reset

func (m *ProposalRemoveAssetInfo) Reset()

func (*ProposalRemoveAssetInfo) Size

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

func (*ProposalRemoveAssetInfo) String

func (m *ProposalRemoveAssetInfo) String() string

func (*ProposalRemoveAssetInfo) Unmarshal

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

func (*ProposalRemoveAssetInfo) ValidateBasic

func (csup *ProposalRemoveAssetInfo) ValidateBasic() error

func (*ProposalRemoveAssetInfo) XXX_DiscardUnknown

func (m *ProposalRemoveAssetInfo) XXX_DiscardUnknown()

func (*ProposalRemoveAssetInfo) XXX_Marshal

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

func (*ProposalRemoveAssetInfo) XXX_Merge

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

func (*ProposalRemoveAssetInfo) XXX_Size

func (m *ProposalRemoveAssetInfo) XXX_Size() int

func (*ProposalRemoveAssetInfo) XXX_Unmarshal

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

type ProposalRemovePriceFeeders

type ProposalRemovePriceFeeders struct {
	Title       string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Feeders     []string `protobuf:"bytes,3,rep,name=feeders,proto3" json:"feeders,omitempty"`
}

func (*ProposalRemovePriceFeeders) Descriptor

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

func (*ProposalRemovePriceFeeders) GetDescription

func (m *ProposalRemovePriceFeeders) GetDescription() string

func (*ProposalRemovePriceFeeders) GetFeeders

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

func (*ProposalRemovePriceFeeders) GetTitle

func (m *ProposalRemovePriceFeeders) GetTitle() string

func (*ProposalRemovePriceFeeders) Marshal

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

func (*ProposalRemovePriceFeeders) MarshalTo

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

func (*ProposalRemovePriceFeeders) MarshalToSizedBuffer

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

func (*ProposalRemovePriceFeeders) ProposalRoute

func (csup *ProposalRemovePriceFeeders) ProposalRoute() string

func (*ProposalRemovePriceFeeders) ProposalType

func (csup *ProposalRemovePriceFeeders) ProposalType() string

func (*ProposalRemovePriceFeeders) ProtoMessage

func (*ProposalRemovePriceFeeders) ProtoMessage()

func (*ProposalRemovePriceFeeders) Reset

func (m *ProposalRemovePriceFeeders) Reset()

func (*ProposalRemovePriceFeeders) Size

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

func (*ProposalRemovePriceFeeders) String

func (m *ProposalRemovePriceFeeders) String() string

func (*ProposalRemovePriceFeeders) Unmarshal

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

func (*ProposalRemovePriceFeeders) ValidateBasic

func (csup *ProposalRemovePriceFeeders) ValidateBasic() error

func (*ProposalRemovePriceFeeders) XXX_DiscardUnknown

func (m *ProposalRemovePriceFeeders) XXX_DiscardUnknown()

func (*ProposalRemovePriceFeeders) XXX_Marshal

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

func (*ProposalRemovePriceFeeders) XXX_Merge

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

func (*ProposalRemovePriceFeeders) XXX_Size

func (m *ProposalRemovePriceFeeders) XXX_Size() int

func (*ProposalRemovePriceFeeders) XXX_Unmarshal

func (m *ProposalRemovePriceFeeders) 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) DeletePriceFeeder

func (*UnimplementedMsgServer) FeedMultiplePrices

func (*UnimplementedMsgServer) FeedPrice

func (*UnimplementedMsgServer) RequestBandPrice

func (*UnimplementedMsgServer) SetPriceFeeder

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