Documentation ¶
Overview ¶
Package ecocredit is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func FormatClassID(creditType CreditType, classSeqNo uint64) string
- func FormatDenom(classId string, batchSeqNo uint64, startDate *time.Time, endDate *time.Time) (string, error)
- func NormalizeCreditTypeName(name string) string
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func RegisterTypes(registry codectypes.InterfaceRegistry)
- func ValidateClassID(classId string) error
- func ValidateDenom(denom string) error
- type AccountKeeper
- type AskDenom
- func (*AskDenom) Descriptor() ([]byte, []int)
- func (m *AskDenom) GetDenom() string
- func (m *AskDenom) GetDisplayDenom() string
- func (m *AskDenom) GetExponent() uint32
- func (m *AskDenom) Marshal() (dAtA []byte, err error)
- func (m *AskDenom) MarshalTo(dAtA []byte) (int, error)
- func (m *AskDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *AskDenom) PrimaryKeyFields() []interface{}
- func (*AskDenom) ProtoMessage()
- func (m *AskDenom) Reset()
- func (m *AskDenom) Size() (n int)
- func (m *AskDenom) String() string
- func (m *AskDenom) Unmarshal(dAtA []byte) error
- func (m *AskDenom) XXX_DiscardUnknown()
- func (m *AskDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AskDenom) XXX_Merge(src proto.Message)
- func (m *AskDenom) XXX_Size() int
- func (m *AskDenom) XXX_Unmarshal(b []byte) error
- type Balance
- func (*Balance) Descriptor() ([]byte, []int)
- func (m *Balance) GetAddress() string
- func (m *Balance) GetBatchDenom() string
- func (m *Balance) GetRetiredBalance() string
- func (m *Balance) GetTradableBalance() string
- func (m *Balance) Marshal() (dAtA []byte, err error)
- func (m *Balance) MarshalTo(dAtA []byte) (int, error)
- func (m *Balance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Balance) ProtoMessage()
- func (m *Balance) Reset()
- func (m *Balance) Size() (n int)
- func (m *Balance) String() string
- func (m *Balance) Unmarshal(dAtA []byte) error
- func (m *Balance) XXX_DiscardUnknown()
- func (m *Balance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Balance) XXX_Merge(src proto.Message)
- func (m *Balance) XXX_Size() int
- func (m *Balance) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type BatchInfo
- func (*BatchInfo) Descriptor() ([]byte, []int)
- func (m *BatchInfo) GetAmountCancelled() string
- func (m *BatchInfo) GetBatchDenom() string
- func (m *BatchInfo) GetClassId() string
- func (m *BatchInfo) GetEndDate() *time.Time
- func (m *BatchInfo) GetIssuer() string
- func (m *BatchInfo) GetMetadata() []byte
- func (m *BatchInfo) GetProjectLocation() string
- func (m *BatchInfo) GetStartDate() *time.Time
- func (m *BatchInfo) GetTotalAmount() string
- func (m *BatchInfo) Marshal() (dAtA []byte, err error)
- func (m *BatchInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *BatchInfo) PrimaryKeyFields() []interface{}
- func (*BatchInfo) ProtoMessage()
- func (m *BatchInfo) Reset()
- func (m *BatchInfo) Size() (n int)
- func (m *BatchInfo) String() string
- func (m *BatchInfo) Unmarshal(dAtA []byte) error
- func (m *BatchInfo) XXX_DiscardUnknown()
- func (m *BatchInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchInfo) XXX_Merge(src proto.Message)
- func (m *BatchInfo) XXX_Size() int
- func (m *BatchInfo) XXX_Unmarshal(b []byte) error
- type BuyOrder
- func (*BuyOrder) Descriptor() ([]byte, []int)
- func (m *BuyOrder) GetBidPrice() *types1.Coin
- func (m *BuyOrder) GetBuyOrderId() uint64
- func (m *BuyOrder) GetDisableAutoRetire() bool
- func (m *BuyOrder) GetDisablePartialFill() bool
- func (m *BuyOrder) GetQuantity() string
- func (m *BuyOrder) GetSelection() *BuyOrder_Selection
- func (m *BuyOrder) Marshal() (dAtA []byte, err error)
- func (m *BuyOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *BuyOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *BuyOrder) PrimaryKeyFields() []interface{}
- func (*BuyOrder) ProtoMessage()
- func (m *BuyOrder) Reset()
- func (m *BuyOrder) Size() (n int)
- func (m *BuyOrder) String() string
- func (m *BuyOrder) Unmarshal(dAtA []byte) error
- func (m *BuyOrder) XXX_DiscardUnknown()
- func (m *BuyOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuyOrder) XXX_Merge(src proto.Message)
- func (m *BuyOrder) XXX_Size() int
- func (m *BuyOrder) XXX_Unmarshal(b []byte) error
- type BuyOrder_Selection
- func (*BuyOrder_Selection) Descriptor() ([]byte, []int)
- func (m *BuyOrder_Selection) GetSellOrderId() uint64
- func (m *BuyOrder_Selection) GetSum() isBuyOrder_Selection_Sum
- func (m *BuyOrder_Selection) Marshal() (dAtA []byte, err error)
- func (m *BuyOrder_Selection) MarshalTo(dAtA []byte) (int, error)
- func (m *BuyOrder_Selection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BuyOrder_Selection) ProtoMessage()
- func (m *BuyOrder_Selection) Reset()
- func (m *BuyOrder_Selection) Size() (n int)
- func (m *BuyOrder_Selection) String() string
- func (m *BuyOrder_Selection) Unmarshal(dAtA []byte) error
- func (m *BuyOrder_Selection) XXX_DiscardUnknown()
- func (m *BuyOrder_Selection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuyOrder_Selection) XXX_Merge(src proto.Message)
- func (*BuyOrder_Selection) XXX_OneofWrappers() []interface{}
- func (m *BuyOrder_Selection) XXX_Size() int
- func (m *BuyOrder_Selection) XXX_Unmarshal(b []byte) error
- type BuyOrder_Selection_SellOrderId
- type ClassInfo
- func (m *ClassInfo) AssertClassIssuer(issuer string) error
- func (*ClassInfo) Descriptor() ([]byte, []int)
- func (m *ClassInfo) GetAdmin() string
- func (m *ClassInfo) GetClassId() string
- func (m *ClassInfo) GetCreditType() *CreditType
- func (m *ClassInfo) GetIssuers() []string
- func (m *ClassInfo) GetMetadata() []byte
- func (m *ClassInfo) GetNumBatches() uint64
- func (m *ClassInfo) Marshal() (dAtA []byte, err error)
- func (m *ClassInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ClassInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *ClassInfo) PrimaryKeyFields() []interface{}
- func (*ClassInfo) ProtoMessage()
- func (m *ClassInfo) Reset()
- func (m *ClassInfo) Size() (n int)
- func (m *ClassInfo) String() string
- func (m *ClassInfo) Unmarshal(dAtA []byte) error
- func (m *ClassInfo) XXX_DiscardUnknown()
- func (m *ClassInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClassInfo) XXX_Merge(src proto.Message)
- func (m *ClassInfo) XXX_Size() int
- func (m *ClassInfo) XXX_Unmarshal(b []byte) error
- type CreditType
- func (*CreditType) Descriptor() ([]byte, []int)
- func (m *CreditType) GetAbbreviation() string
- func (m *CreditType) GetName() string
- func (m *CreditType) GetPrecision() uint32
- func (m *CreditType) GetUnit() string
- func (m *CreditType) Marshal() (dAtA []byte, err error)
- func (m *CreditType) MarshalTo(dAtA []byte) (int, error)
- func (m *CreditType) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreditType) ProtoMessage()
- func (m *CreditType) Reset()
- func (m *CreditType) Size() (n int)
- func (m *CreditType) String() string
- func (m *CreditType) Unmarshal(dAtA []byte) error
- func (m *CreditType) XXX_DiscardUnknown()
- func (m *CreditType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreditType) XXX_Merge(src proto.Message)
- func (m *CreditType) XXX_Size() int
- func (m *CreditType) XXX_Unmarshal(b []byte) error
- type CreditTypeSeq
- func (*CreditTypeSeq) Descriptor() ([]byte, []int)
- func (m *CreditTypeSeq) GetAbbreviation() string
- func (m *CreditTypeSeq) GetSeqNumber() uint64
- func (m *CreditTypeSeq) Marshal() (dAtA []byte, err error)
- func (m *CreditTypeSeq) MarshalTo(dAtA []byte) (int, error)
- func (m *CreditTypeSeq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *CreditTypeSeq) PrimaryKeyFields() []interface{}
- func (*CreditTypeSeq) ProtoMessage()
- func (m *CreditTypeSeq) Reset()
- func (m *CreditTypeSeq) Size() (n int)
- func (m *CreditTypeSeq) String() string
- func (m *CreditTypeSeq) Unmarshal(dAtA []byte) error
- func (m *CreditTypeSeq) XXX_DiscardUnknown()
- func (m *CreditTypeSeq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreditTypeSeq) XXX_Merge(src proto.Message)
- func (m *CreditTypeSeq) XXX_Size() int
- func (m *CreditTypeSeq) XXX_Unmarshal(b []byte) error
- type EventAllowAskDenom
- func (*EventAllowAskDenom) Descriptor() ([]byte, []int)
- func (m *EventAllowAskDenom) GetDenom() string
- func (m *EventAllowAskDenom) GetDisplayDenom() string
- func (m *EventAllowAskDenom) GetExponent() uint32
- func (m *EventAllowAskDenom) Marshal() (dAtA []byte, err error)
- func (m *EventAllowAskDenom) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAllowAskDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAllowAskDenom) ProtoMessage()
- func (m *EventAllowAskDenom) Reset()
- func (m *EventAllowAskDenom) Size() (n int)
- func (m *EventAllowAskDenom) String() string
- func (m *EventAllowAskDenom) Unmarshal(dAtA []byte) error
- func (m *EventAllowAskDenom) XXX_DiscardUnknown()
- func (m *EventAllowAskDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAllowAskDenom) XXX_Merge(src proto.Message)
- func (m *EventAllowAskDenom) XXX_Size() int
- func (m *EventAllowAskDenom) XXX_Unmarshal(b []byte) error
- type EventBuyOrderCreated
- func (*EventBuyOrderCreated) Descriptor() ([]byte, []int)
- func (m *EventBuyOrderCreated) GetBidPrice() *types.Coin
- func (m *EventBuyOrderCreated) GetBuyOrderId() uint64
- func (m *EventBuyOrderCreated) GetDisableAutoRetire() bool
- func (m *EventBuyOrderCreated) GetDisablePartialFill() bool
- func (m *EventBuyOrderCreated) GetQuantity() string
- func (m *EventBuyOrderCreated) GetSellOrderId() uint64
- func (m *EventBuyOrderCreated) Marshal() (dAtA []byte, err error)
- func (m *EventBuyOrderCreated) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBuyOrderCreated) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBuyOrderCreated) ProtoMessage()
- func (m *EventBuyOrderCreated) Reset()
- func (m *EventBuyOrderCreated) Size() (n int)
- func (m *EventBuyOrderCreated) String() string
- func (m *EventBuyOrderCreated) Unmarshal(dAtA []byte) error
- func (m *EventBuyOrderCreated) XXX_DiscardUnknown()
- func (m *EventBuyOrderCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBuyOrderCreated) XXX_Merge(src proto.Message)
- func (m *EventBuyOrderCreated) XXX_Size() int
- func (m *EventBuyOrderCreated) XXX_Unmarshal(b []byte) error
- type EventBuyOrderFilled
- func (*EventBuyOrderFilled) Descriptor() ([]byte, []int)
- func (m *EventBuyOrderFilled) GetBatchDenom() string
- func (m *EventBuyOrderFilled) GetBuyOrderId() uint64
- func (m *EventBuyOrderFilled) GetQuantity() string
- func (m *EventBuyOrderFilled) GetSellOrderId() uint64
- func (m *EventBuyOrderFilled) GetTotalPrice() *types.Coin
- func (m *EventBuyOrderFilled) Marshal() (dAtA []byte, err error)
- func (m *EventBuyOrderFilled) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBuyOrderFilled) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBuyOrderFilled) ProtoMessage()
- func (m *EventBuyOrderFilled) Reset()
- func (m *EventBuyOrderFilled) Size() (n int)
- func (m *EventBuyOrderFilled) String() string
- func (m *EventBuyOrderFilled) Unmarshal(dAtA []byte) error
- func (m *EventBuyOrderFilled) XXX_DiscardUnknown()
- func (m *EventBuyOrderFilled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBuyOrderFilled) XXX_Merge(src proto.Message)
- func (m *EventBuyOrderFilled) XXX_Size() int
- func (m *EventBuyOrderFilled) XXX_Unmarshal(b []byte) error
- type EventCancel
- func (*EventCancel) Descriptor() ([]byte, []int)
- func (m *EventCancel) GetAmount() string
- func (m *EventCancel) GetBatchDenom() string
- func (m *EventCancel) GetCanceller() string
- func (m *EventCancel) Marshal() (dAtA []byte, err error)
- func (m *EventCancel) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCancel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCancel) ProtoMessage()
- func (m *EventCancel) Reset()
- func (m *EventCancel) Size() (n int)
- func (m *EventCancel) String() string
- func (m *EventCancel) Unmarshal(dAtA []byte) error
- func (m *EventCancel) XXX_DiscardUnknown()
- func (m *EventCancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCancel) XXX_Merge(src proto.Message)
- func (m *EventCancel) XXX_Size() int
- func (m *EventCancel) XXX_Unmarshal(b []byte) error
- type EventCreateBatch
- func (*EventCreateBatch) Descriptor() ([]byte, []int)
- func (m *EventCreateBatch) GetBatchDenom() string
- func (m *EventCreateBatch) GetClassId() string
- func (m *EventCreateBatch) GetEndDate() string
- func (m *EventCreateBatch) GetIssuer() string
- func (m *EventCreateBatch) GetProjectLocation() string
- func (m *EventCreateBatch) GetStartDate() string
- func (m *EventCreateBatch) GetTotalAmount() string
- func (m *EventCreateBatch) Marshal() (dAtA []byte, err error)
- func (m *EventCreateBatch) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateBatch) ProtoMessage()
- func (m *EventCreateBatch) Reset()
- func (m *EventCreateBatch) Size() (n int)
- func (m *EventCreateBatch) String() string
- func (m *EventCreateBatch) Unmarshal(dAtA []byte) error
- func (m *EventCreateBatch) XXX_DiscardUnknown()
- func (m *EventCreateBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateBatch) XXX_Merge(src proto.Message)
- func (m *EventCreateBatch) XXX_Size() int
- func (m *EventCreateBatch) XXX_Unmarshal(b []byte) error
- type EventCreateClass
- func (*EventCreateClass) Descriptor() ([]byte, []int)
- func (m *EventCreateClass) GetAdmin() string
- func (m *EventCreateClass) GetClassId() string
- func (m *EventCreateClass) Marshal() (dAtA []byte, err error)
- func (m *EventCreateClass) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateClass) ProtoMessage()
- func (m *EventCreateClass) Reset()
- func (m *EventCreateClass) Size() (n int)
- func (m *EventCreateClass) String() string
- func (m *EventCreateClass) Unmarshal(dAtA []byte) error
- func (m *EventCreateClass) XXX_DiscardUnknown()
- func (m *EventCreateClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateClass) XXX_Merge(src proto.Message)
- func (m *EventCreateClass) XXX_Size() int
- func (m *EventCreateClass) XXX_Unmarshal(b []byte) error
- type EventReceive
- func (*EventReceive) Descriptor() ([]byte, []int)
- func (m *EventReceive) GetBatchDenom() string
- func (m *EventReceive) GetRecipient() string
- func (m *EventReceive) GetRetiredAmount() string
- func (m *EventReceive) GetSender() string
- func (m *EventReceive) GetTradableAmount() string
- func (m *EventReceive) Marshal() (dAtA []byte, err error)
- func (m *EventReceive) MarshalTo(dAtA []byte) (int, error)
- func (m *EventReceive) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventReceive) ProtoMessage()
- func (m *EventReceive) Reset()
- func (m *EventReceive) Size() (n int)
- func (m *EventReceive) String() string
- func (m *EventReceive) Unmarshal(dAtA []byte) error
- func (m *EventReceive) XXX_DiscardUnknown()
- func (m *EventReceive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventReceive) XXX_Merge(src proto.Message)
- func (m *EventReceive) XXX_Size() int
- func (m *EventReceive) XXX_Unmarshal(b []byte) error
- type EventRetire
- func (*EventRetire) Descriptor() ([]byte, []int)
- func (m *EventRetire) GetAmount() string
- func (m *EventRetire) GetBatchDenom() string
- func (m *EventRetire) GetLocation() string
- func (m *EventRetire) GetRetirer() string
- func (m *EventRetire) Marshal() (dAtA []byte, err error)
- func (m *EventRetire) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRetire) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRetire) ProtoMessage()
- func (m *EventRetire) Reset()
- func (m *EventRetire) Size() (n int)
- func (m *EventRetire) String() string
- func (m *EventRetire) Unmarshal(dAtA []byte) error
- func (m *EventRetire) XXX_DiscardUnknown()
- func (m *EventRetire) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRetire) XXX_Merge(src proto.Message)
- func (m *EventRetire) XXX_Size() int
- func (m *EventRetire) XXX_Unmarshal(b []byte) error
- type EventSell
- func (*EventSell) Descriptor() ([]byte, []int)
- func (m *EventSell) GetAskPrice() *types.Coin
- func (m *EventSell) GetBatchDenom() string
- func (m *EventSell) GetDisableAutoRetire() bool
- func (m *EventSell) GetOrderId() uint64
- func (m *EventSell) GetQuantity() string
- func (m *EventSell) Marshal() (dAtA []byte, err error)
- func (m *EventSell) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSell) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSell) ProtoMessage()
- func (m *EventSell) Reset()
- func (m *EventSell) Size() (n int)
- func (m *EventSell) String() string
- func (m *EventSell) Unmarshal(dAtA []byte) error
- func (m *EventSell) XXX_DiscardUnknown()
- func (m *EventSell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSell) XXX_Merge(src proto.Message)
- func (m *EventSell) XXX_Size() int
- func (m *EventSell) XXX_Unmarshal(b []byte) error
- type EventUpdateSellOrder
- func (*EventUpdateSellOrder) Descriptor() ([]byte, []int)
- func (m *EventUpdateSellOrder) GetBatchDenom() string
- func (m *EventUpdateSellOrder) GetDisableAutoRetire() bool
- func (m *EventUpdateSellOrder) GetNewAskPrice() *types.Coin
- func (m *EventUpdateSellOrder) GetNewQuantity() string
- func (m *EventUpdateSellOrder) GetOwner() string
- func (m *EventUpdateSellOrder) GetSellOrderId() uint64
- func (m *EventUpdateSellOrder) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateSellOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateSellOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateSellOrder) ProtoMessage()
- func (m *EventUpdateSellOrder) Reset()
- func (m *EventUpdateSellOrder) Size() (n int)
- func (m *EventUpdateSellOrder) String() string
- func (m *EventUpdateSellOrder) Unmarshal(dAtA []byte) error
- func (m *EventUpdateSellOrder) XXX_DiscardUnknown()
- func (m *EventUpdateSellOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateSellOrder) XXX_Merge(src proto.Message)
- func (m *EventUpdateSellOrder) XXX_Size() int
- func (m *EventUpdateSellOrder) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetBalances() []*Balance
- func (m *GenesisState) GetBatchInfo() []*BatchInfo
- func (m *GenesisState) GetClassInfo() []*ClassInfo
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetSequences() []*CreditTypeSeq
- func (m *GenesisState) GetSupplies() []*Supply
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (s *GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgAllowAskDenom
- func (*MsgAllowAskDenom) Descriptor() ([]byte, []int)
- func (m *MsgAllowAskDenom) GetDenom() string
- func (m *MsgAllowAskDenom) GetDisplayDenom() string
- func (m *MsgAllowAskDenom) GetExponent() uint32
- func (m *MsgAllowAskDenom) GetRootAddress() string
- func (m MsgAllowAskDenom) GetSignBytes() []byte
- func (m *MsgAllowAskDenom) GetSigners() []sdk.AccAddress
- func (m *MsgAllowAskDenom) Marshal() (dAtA []byte, err error)
- func (m *MsgAllowAskDenom) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAllowAskDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAllowAskDenom) ProtoMessage()
- func (m *MsgAllowAskDenom) Reset()
- func (m MsgAllowAskDenom) Route() string
- func (m *MsgAllowAskDenom) Size() (n int)
- func (m *MsgAllowAskDenom) String() string
- func (m MsgAllowAskDenom) Type() string
- func (m *MsgAllowAskDenom) Unmarshal(dAtA []byte) error
- func (m *MsgAllowAskDenom) ValidateBasic() error
- func (m *MsgAllowAskDenom) XXX_DiscardUnknown()
- func (m *MsgAllowAskDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAllowAskDenom) XXX_Merge(src proto.Message)
- func (m *MsgAllowAskDenom) XXX_Size() int
- func (m *MsgAllowAskDenom) XXX_Unmarshal(b []byte) error
- type MsgAllowAskDenomResponse
- func (*MsgAllowAskDenomResponse) Descriptor() ([]byte, []int)
- func (m *MsgAllowAskDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAllowAskDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAllowAskDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAllowAskDenomResponse) ProtoMessage()
- func (m *MsgAllowAskDenomResponse) Reset()
- func (m *MsgAllowAskDenomResponse) Size() (n int)
- func (m *MsgAllowAskDenomResponse) String() string
- func (m *MsgAllowAskDenomResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAllowAskDenomResponse) XXX_DiscardUnknown()
- func (m *MsgAllowAskDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAllowAskDenomResponse) XXX_Merge(src proto.Message)
- func (m *MsgAllowAskDenomResponse) XXX_Size() int
- func (m *MsgAllowAskDenomResponse) XXX_Unmarshal(b []byte) error
- type MsgBuy
- func (*MsgBuy) Descriptor() ([]byte, []int)
- func (m *MsgBuy) GetBuyer() string
- func (m *MsgBuy) GetOrders() []*MsgBuy_Order
- func (m MsgBuy) GetSignBytes() []byte
- func (m *MsgBuy) GetSigners() []sdk.AccAddress
- func (m *MsgBuy) Marshal() (dAtA []byte, err error)
- func (m *MsgBuy) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBuy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBuy) ProtoMessage()
- func (m *MsgBuy) Reset()
- func (m MsgBuy) Route() string
- func (m *MsgBuy) Size() (n int)
- func (m *MsgBuy) String() string
- func (m MsgBuy) Type() string
- func (m *MsgBuy) Unmarshal(dAtA []byte) error
- func (m *MsgBuy) ValidateBasic() error
- func (m *MsgBuy) XXX_DiscardUnknown()
- func (m *MsgBuy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBuy) XXX_Merge(src proto.Message)
- func (m *MsgBuy) XXX_Size() int
- func (m *MsgBuy) XXX_Unmarshal(b []byte) error
- type MsgBuyResponse
- func (*MsgBuyResponse) Descriptor() ([]byte, []int)
- func (m *MsgBuyResponse) GetBuyOrderIds() []uint64
- func (m *MsgBuyResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBuyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBuyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBuyResponse) ProtoMessage()
- func (m *MsgBuyResponse) Reset()
- func (m *MsgBuyResponse) Size() (n int)
- func (m *MsgBuyResponse) String() string
- func (m *MsgBuyResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBuyResponse) XXX_DiscardUnknown()
- func (m *MsgBuyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBuyResponse) XXX_Merge(src proto.Message)
- func (m *MsgBuyResponse) XXX_Size() int
- func (m *MsgBuyResponse) XXX_Unmarshal(b []byte) error
- type MsgBuy_Order
- func (*MsgBuy_Order) Descriptor() ([]byte, []int)
- func (m *MsgBuy_Order) GetBidPrice() *types1.Coin
- func (m *MsgBuy_Order) GetDisableAutoRetire() bool
- func (m *MsgBuy_Order) GetDisablePartialFill() bool
- func (m *MsgBuy_Order) GetQuantity() string
- func (m *MsgBuy_Order) GetSelection() *MsgBuy_Order_Selection
- func (m *MsgBuy_Order) Marshal() (dAtA []byte, err error)
- func (m *MsgBuy_Order) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBuy_Order) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBuy_Order) ProtoMessage()
- func (m *MsgBuy_Order) Reset()
- func (m *MsgBuy_Order) Size() (n int)
- func (m *MsgBuy_Order) String() string
- func (m *MsgBuy_Order) Unmarshal(dAtA []byte) error
- func (m *MsgBuy_Order) XXX_DiscardUnknown()
- func (m *MsgBuy_Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBuy_Order) XXX_Merge(src proto.Message)
- func (m *MsgBuy_Order) XXX_Size() int
- func (m *MsgBuy_Order) XXX_Unmarshal(b []byte) error
- type MsgBuy_Order_Selection
- func (*MsgBuy_Order_Selection) Descriptor() ([]byte, []int)
- func (m *MsgBuy_Order_Selection) GetSellOrderId() uint64
- func (m *MsgBuy_Order_Selection) GetSum() isMsgBuy_Order_Selection_Sum
- func (m *MsgBuy_Order_Selection) Marshal() (dAtA []byte, err error)
- func (m *MsgBuy_Order_Selection) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBuy_Order_Selection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBuy_Order_Selection) ProtoMessage()
- func (m *MsgBuy_Order_Selection) Reset()
- func (m *MsgBuy_Order_Selection) Size() (n int)
- func (m *MsgBuy_Order_Selection) String() string
- func (m *MsgBuy_Order_Selection) Unmarshal(dAtA []byte) error
- func (m *MsgBuy_Order_Selection) XXX_DiscardUnknown()
- func (m *MsgBuy_Order_Selection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBuy_Order_Selection) XXX_Merge(src proto.Message)
- func (*MsgBuy_Order_Selection) XXX_OneofWrappers() []interface{}
- func (m *MsgBuy_Order_Selection) XXX_Size() int
- func (m *MsgBuy_Order_Selection) XXX_Unmarshal(b []byte) error
- type MsgBuy_Order_Selection_SellOrderId
- type MsgCancel
- func (*MsgCancel) Descriptor() ([]byte, []int)
- func (m *MsgCancel) GetCredits() []*MsgCancel_CancelCredits
- func (m *MsgCancel) GetHolder() string
- func (m MsgCancel) GetSignBytes() []byte
- func (m *MsgCancel) GetSigners() []sdk.AccAddress
- func (m *MsgCancel) Marshal() (dAtA []byte, err error)
- func (m *MsgCancel) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancel) ProtoMessage()
- func (m *MsgCancel) Reset()
- func (m MsgCancel) Route() string
- func (m *MsgCancel) Size() (n int)
- func (m *MsgCancel) String() string
- func (m MsgCancel) Type() string
- func (m *MsgCancel) Unmarshal(dAtA []byte) error
- func (m *MsgCancel) ValidateBasic() error
- func (m *MsgCancel) XXX_DiscardUnknown()
- func (m *MsgCancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancel) XXX_Merge(src proto.Message)
- func (m *MsgCancel) XXX_Size() int
- func (m *MsgCancel) XXX_Unmarshal(b []byte) error
- type MsgCancelResponse
- func (*MsgCancelResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelResponse) ProtoMessage()
- func (m *MsgCancelResponse) Reset()
- func (m *MsgCancelResponse) Size() (n int)
- func (m *MsgCancelResponse) String() string
- func (m *MsgCancelResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelResponse) XXX_DiscardUnknown()
- func (m *MsgCancelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelResponse) XXX_Size() int
- func (m *MsgCancelResponse) XXX_Unmarshal(b []byte) error
- type MsgCancel_CancelCredits
- func (*MsgCancel_CancelCredits) Descriptor() ([]byte, []int)
- func (m *MsgCancel_CancelCredits) GetAmount() string
- func (m *MsgCancel_CancelCredits) GetBatchDenom() string
- func (m *MsgCancel_CancelCredits) Marshal() (dAtA []byte, err error)
- func (m *MsgCancel_CancelCredits) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancel_CancelCredits) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancel_CancelCredits) ProtoMessage()
- func (m *MsgCancel_CancelCredits) Reset()
- func (m *MsgCancel_CancelCredits) Size() (n int)
- func (m *MsgCancel_CancelCredits) String() string
- func (m *MsgCancel_CancelCredits) Unmarshal(dAtA []byte) error
- func (m *MsgCancel_CancelCredits) XXX_DiscardUnknown()
- func (m *MsgCancel_CancelCredits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancel_CancelCredits) XXX_Merge(src proto.Message)
- func (m *MsgCancel_CancelCredits) XXX_Size() int
- func (m *MsgCancel_CancelCredits) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateBatch
- func (*MsgCreateBatch) Descriptor() ([]byte, []int)
- func (m *MsgCreateBatch) GetClassId() string
- func (m *MsgCreateBatch) GetEndDate() *time.Time
- func (m *MsgCreateBatch) GetIssuance() []*MsgCreateBatch_BatchIssuance
- func (m *MsgCreateBatch) GetIssuer() string
- func (m *MsgCreateBatch) GetMetadata() []byte
- func (m *MsgCreateBatch) GetProjectLocation() string
- func (m MsgCreateBatch) GetSignBytes() []byte
- func (m *MsgCreateBatch) GetSigners() []sdk.AccAddress
- func (m *MsgCreateBatch) GetStartDate() *time.Time
- func (m *MsgCreateBatch) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateBatch) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateBatch) ProtoMessage()
- func (m *MsgCreateBatch) Reset()
- func (m MsgCreateBatch) Route() string
- func (m *MsgCreateBatch) Size() (n int)
- func (m *MsgCreateBatch) String() string
- func (m MsgCreateBatch) Type() string
- func (m *MsgCreateBatch) Unmarshal(dAtA []byte) error
- func (m *MsgCreateBatch) ValidateBasic() error
- func (m *MsgCreateBatch) XXX_DiscardUnknown()
- func (m *MsgCreateBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateBatch) XXX_Merge(src proto.Message)
- func (m *MsgCreateBatch) XXX_Size() int
- func (m *MsgCreateBatch) XXX_Unmarshal(b []byte) error
- type MsgCreateBatchResponse
- func (*MsgCreateBatchResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateBatchResponse) GetBatchDenom() string
- func (m *MsgCreateBatchResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateBatchResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateBatchResponse) ProtoMessage()
- func (m *MsgCreateBatchResponse) Reset()
- func (m *MsgCreateBatchResponse) Size() (n int)
- func (m *MsgCreateBatchResponse) String() string
- func (m *MsgCreateBatchResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateBatchResponse) XXX_DiscardUnknown()
- func (m *MsgCreateBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateBatchResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateBatchResponse) XXX_Size() int
- func (m *MsgCreateBatchResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateBatch_BatchIssuance
- func (*MsgCreateBatch_BatchIssuance) Descriptor() ([]byte, []int)
- func (m *MsgCreateBatch_BatchIssuance) GetRecipient() string
- func (m *MsgCreateBatch_BatchIssuance) GetRetiredAmount() string
- func (m *MsgCreateBatch_BatchIssuance) GetRetirementLocation() string
- func (m *MsgCreateBatch_BatchIssuance) GetTradableAmount() string
- func (m *MsgCreateBatch_BatchIssuance) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateBatch_BatchIssuance) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateBatch_BatchIssuance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateBatch_BatchIssuance) ProtoMessage()
- func (m *MsgCreateBatch_BatchIssuance) Reset()
- func (m *MsgCreateBatch_BatchIssuance) Size() (n int)
- func (m *MsgCreateBatch_BatchIssuance) String() string
- func (m *MsgCreateBatch_BatchIssuance) Unmarshal(dAtA []byte) error
- func (m *MsgCreateBatch_BatchIssuance) XXX_DiscardUnknown()
- func (m *MsgCreateBatch_BatchIssuance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateBatch_BatchIssuance) XXX_Merge(src proto.Message)
- func (m *MsgCreateBatch_BatchIssuance) XXX_Size() int
- func (m *MsgCreateBatch_BatchIssuance) XXX_Unmarshal(b []byte) error
- type MsgCreateClass
- func (*MsgCreateClass) Descriptor() ([]byte, []int)
- func (m *MsgCreateClass) GetAdmin() string
- func (m *MsgCreateClass) GetCreditTypeName() string
- func (m *MsgCreateClass) GetIssuers() []string
- func (m *MsgCreateClass) GetMetadata() []byte
- func (m MsgCreateClass) GetSignBytes() []byte
- func (m *MsgCreateClass) GetSigners() []sdk.AccAddress
- func (m *MsgCreateClass) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateClass) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateClass) ProtoMessage()
- func (m *MsgCreateClass) Reset()
- func (m MsgCreateClass) Route() string
- func (m *MsgCreateClass) Size() (n int)
- func (m *MsgCreateClass) String() string
- func (m MsgCreateClass) Type() string
- func (m *MsgCreateClass) Unmarshal(dAtA []byte) error
- func (m *MsgCreateClass) ValidateBasic() error
- func (m *MsgCreateClass) XXX_DiscardUnknown()
- func (m *MsgCreateClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateClass) XXX_Merge(src proto.Message)
- func (m *MsgCreateClass) XXX_Size() int
- func (m *MsgCreateClass) XXX_Unmarshal(b []byte) error
- type MsgCreateClassResponse
- func (*MsgCreateClassResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateClassResponse) GetClassId() string
- func (m *MsgCreateClassResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateClassResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateClassResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateClassResponse) ProtoMessage()
- func (m *MsgCreateClassResponse) Reset()
- func (m *MsgCreateClassResponse) Size() (n int)
- func (m *MsgCreateClassResponse) String() string
- func (m *MsgCreateClassResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateClassResponse) XXX_DiscardUnknown()
- func (m *MsgCreateClassResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateClassResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateClassResponse) XXX_Size() int
- func (m *MsgCreateClassResponse) XXX_Unmarshal(b []byte) error
- type MsgRetire
- func (*MsgRetire) Descriptor() ([]byte, []int)
- func (m *MsgRetire) GetCredits() []*MsgRetire_RetireCredits
- func (m *MsgRetire) GetHolder() string
- func (m *MsgRetire) GetLocation() string
- func (m MsgRetire) GetSignBytes() []byte
- func (m *MsgRetire) GetSigners() []sdk.AccAddress
- func (m *MsgRetire) Marshal() (dAtA []byte, err error)
- func (m *MsgRetire) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRetire) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRetire) ProtoMessage()
- func (m *MsgRetire) Reset()
- func (m MsgRetire) Route() string
- func (m *MsgRetire) Size() (n int)
- func (m *MsgRetire) String() string
- func (m MsgRetire) Type() string
- func (m *MsgRetire) Unmarshal(dAtA []byte) error
- func (m *MsgRetire) ValidateBasic() error
- func (m *MsgRetire) XXX_DiscardUnknown()
- func (m *MsgRetire) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRetire) XXX_Merge(src proto.Message)
- func (m *MsgRetire) XXX_Size() int
- func (m *MsgRetire) XXX_Unmarshal(b []byte) error
- type MsgRetireResponse
- func (*MsgRetireResponse) Descriptor() ([]byte, []int)
- func (m *MsgRetireResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRetireResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRetireResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRetireResponse) ProtoMessage()
- func (m *MsgRetireResponse) Reset()
- func (m *MsgRetireResponse) Size() (n int)
- func (m *MsgRetireResponse) String() string
- func (m *MsgRetireResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRetireResponse) XXX_DiscardUnknown()
- func (m *MsgRetireResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRetireResponse) XXX_Merge(src proto.Message)
- func (m *MsgRetireResponse) XXX_Size() int
- func (m *MsgRetireResponse) XXX_Unmarshal(b []byte) error
- type MsgRetire_RetireCredits
- func (*MsgRetire_RetireCredits) Descriptor() ([]byte, []int)
- func (m *MsgRetire_RetireCredits) GetAmount() string
- func (m *MsgRetire_RetireCredits) GetBatchDenom() string
- func (m *MsgRetire_RetireCredits) Marshal() (dAtA []byte, err error)
- func (m *MsgRetire_RetireCredits) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRetire_RetireCredits) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRetire_RetireCredits) ProtoMessage()
- func (m *MsgRetire_RetireCredits) Reset()
- func (m *MsgRetire_RetireCredits) Size() (n int)
- func (m *MsgRetire_RetireCredits) String() string
- func (m *MsgRetire_RetireCredits) Unmarshal(dAtA []byte) error
- func (m *MsgRetire_RetireCredits) XXX_DiscardUnknown()
- func (m *MsgRetire_RetireCredits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRetire_RetireCredits) XXX_Merge(src proto.Message)
- func (m *MsgRetire_RetireCredits) XXX_Size() int
- func (m *MsgRetire_RetireCredits) XXX_Unmarshal(b []byte) error
- type MsgSell
- func (*MsgSell) Descriptor() ([]byte, []int)
- func (m *MsgSell) GetOrders() []*MsgSell_Order
- func (m *MsgSell) GetOwner() string
- func (m MsgSell) GetSignBytes() []byte
- func (m *MsgSell) GetSigners() []sdk.AccAddress
- func (m *MsgSell) Marshal() (dAtA []byte, err error)
- func (m *MsgSell) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSell) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSell) ProtoMessage()
- func (m *MsgSell) Reset()
- func (m MsgSell) Route() string
- func (m *MsgSell) Size() (n int)
- func (m *MsgSell) String() string
- func (m MsgSell) Type() string
- func (m *MsgSell) Unmarshal(dAtA []byte) error
- func (m *MsgSell) ValidateBasic() error
- func (m *MsgSell) XXX_DiscardUnknown()
- func (m *MsgSell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSell) XXX_Merge(src proto.Message)
- func (m *MsgSell) XXX_Size() int
- func (m *MsgSell) XXX_Unmarshal(b []byte) error
- type MsgSellResponse
- func (*MsgSellResponse) Descriptor() ([]byte, []int)
- func (m *MsgSellResponse) GetSellOrderIds() []uint64
- func (m *MsgSellResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSellResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSellResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSellResponse) ProtoMessage()
- func (m *MsgSellResponse) Reset()
- func (m *MsgSellResponse) Size() (n int)
- func (m *MsgSellResponse) String() string
- func (m *MsgSellResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSellResponse) XXX_DiscardUnknown()
- func (m *MsgSellResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSellResponse) XXX_Merge(src proto.Message)
- func (m *MsgSellResponse) XXX_Size() int
- func (m *MsgSellResponse) XXX_Unmarshal(b []byte) error
- type MsgSell_Order
- func (*MsgSell_Order) Descriptor() ([]byte, []int)
- func (m *MsgSell_Order) GetAskPrice() *types1.Coin
- func (m *MsgSell_Order) GetBatchDenom() string
- func (m *MsgSell_Order) GetDisableAutoRetire() bool
- func (m *MsgSell_Order) GetQuantity() string
- func (m *MsgSell_Order) Marshal() (dAtA []byte, err error)
- func (m *MsgSell_Order) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSell_Order) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSell_Order) ProtoMessage()
- func (m *MsgSell_Order) Reset()
- func (m *MsgSell_Order) Size() (n int)
- func (m *MsgSell_Order) String() string
- func (m *MsgSell_Order) Unmarshal(dAtA []byte) error
- func (m *MsgSell_Order) XXX_DiscardUnknown()
- func (m *MsgSell_Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSell_Order) XXX_Merge(src proto.Message)
- func (m *MsgSell_Order) XXX_Size() int
- func (m *MsgSell_Order) XXX_Unmarshal(b []byte) error
- type MsgSend
- func (*MsgSend) Descriptor() ([]byte, []int)
- func (m *MsgSend) GetCredits() []*MsgSend_SendCredits
- func (m *MsgSend) GetRecipient() string
- func (m *MsgSend) GetSender() string
- func (m MsgSend) GetSignBytes() []byte
- func (m *MsgSend) GetSigners() []sdk.AccAddress
- func (m *MsgSend) Marshal() (dAtA []byte, err error)
- func (m *MsgSend) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSend) ProtoMessage()
- func (m *MsgSend) Reset()
- func (m MsgSend) Route() string
- func (m *MsgSend) Size() (n int)
- func (m *MsgSend) String() string
- func (m MsgSend) Type() string
- func (m *MsgSend) Unmarshal(dAtA []byte) error
- func (m *MsgSend) ValidateBasic() error
- func (m *MsgSend) XXX_DiscardUnknown()
- func (m *MsgSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSend) XXX_Merge(src proto.Message)
- func (m *MsgSend) XXX_Size() int
- func (m *MsgSend) XXX_Unmarshal(b []byte) error
- type MsgSendResponse
- func (*MsgSendResponse) Descriptor() ([]byte, []int)
- func (m *MsgSendResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSendResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendResponse) ProtoMessage()
- func (m *MsgSendResponse) Reset()
- func (m *MsgSendResponse) Size() (n int)
- func (m *MsgSendResponse) String() string
- func (m *MsgSendResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSendResponse) XXX_DiscardUnknown()
- func (m *MsgSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendResponse) XXX_Merge(src proto.Message)
- func (m *MsgSendResponse) XXX_Size() int
- func (m *MsgSendResponse) XXX_Unmarshal(b []byte) error
- type MsgSend_SendCredits
- func (*MsgSend_SendCredits) Descriptor() ([]byte, []int)
- func (m *MsgSend_SendCredits) GetBatchDenom() string
- func (m *MsgSend_SendCredits) GetRetiredAmount() string
- func (m *MsgSend_SendCredits) GetRetirementLocation() string
- func (m *MsgSend_SendCredits) GetTradableAmount() string
- func (m *MsgSend_SendCredits) Marshal() (dAtA []byte, err error)
- func (m *MsgSend_SendCredits) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSend_SendCredits) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSend_SendCredits) ProtoMessage()
- func (m *MsgSend_SendCredits) Reset()
- func (m *MsgSend_SendCredits) Size() (n int)
- func (m *MsgSend_SendCredits) String() string
- func (m *MsgSend_SendCredits) Unmarshal(dAtA []byte) error
- func (m *MsgSend_SendCredits) XXX_DiscardUnknown()
- func (m *MsgSend_SendCredits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSend_SendCredits) XXX_Merge(src proto.Message)
- func (m *MsgSend_SendCredits) XXX_Size() int
- func (m *MsgSend_SendCredits) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateClassAdmin
- func (*MsgUpdateClassAdmin) Descriptor() ([]byte, []int)
- func (m *MsgUpdateClassAdmin) GetAdmin() string
- func (m *MsgUpdateClassAdmin) GetClassId() string
- func (m *MsgUpdateClassAdmin) GetNewAdmin() string
- func (m MsgUpdateClassAdmin) GetSignBytes() []byte
- func (m *MsgUpdateClassAdmin) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateClassAdmin) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateClassAdmin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateClassAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateClassAdmin) ProtoMessage()
- func (m *MsgUpdateClassAdmin) Reset()
- func (m MsgUpdateClassAdmin) Route() string
- func (m *MsgUpdateClassAdmin) Size() (n int)
- func (m *MsgUpdateClassAdmin) String() string
- func (m MsgUpdateClassAdmin) Type() string
- func (m *MsgUpdateClassAdmin) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateClassAdmin) ValidateBasic() error
- func (m *MsgUpdateClassAdmin) XXX_DiscardUnknown()
- func (m *MsgUpdateClassAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateClassAdmin) XXX_Merge(src proto.Message)
- func (m *MsgUpdateClassAdmin) XXX_Size() int
- func (m *MsgUpdateClassAdmin) XXX_Unmarshal(b []byte) error
- type MsgUpdateClassAdminResponse
- func (*MsgUpdateClassAdminResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateClassAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateClassAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateClassAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateClassAdminResponse) ProtoMessage()
- func (m *MsgUpdateClassAdminResponse) Reset()
- func (m *MsgUpdateClassAdminResponse) Size() (n int)
- func (m *MsgUpdateClassAdminResponse) String() string
- func (m *MsgUpdateClassAdminResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateClassAdminResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateClassAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateClassAdminResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateClassAdminResponse) XXX_Size() int
- func (m *MsgUpdateClassAdminResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateClassIssuers
- func (*MsgUpdateClassIssuers) Descriptor() ([]byte, []int)
- func (m *MsgUpdateClassIssuers) GetAdmin() string
- func (m *MsgUpdateClassIssuers) GetClassId() string
- func (m *MsgUpdateClassIssuers) GetIssuers() []string
- func (m MsgUpdateClassIssuers) GetSignBytes() []byte
- func (m *MsgUpdateClassIssuers) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateClassIssuers) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateClassIssuers) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateClassIssuers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateClassIssuers) ProtoMessage()
- func (m *MsgUpdateClassIssuers) Reset()
- func (m MsgUpdateClassIssuers) Route() string
- func (m *MsgUpdateClassIssuers) Size() (n int)
- func (m *MsgUpdateClassIssuers) String() string
- func (m MsgUpdateClassIssuers) Type() string
- func (m *MsgUpdateClassIssuers) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateClassIssuers) ValidateBasic() error
- func (m *MsgUpdateClassIssuers) XXX_DiscardUnknown()
- func (m *MsgUpdateClassIssuers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateClassIssuers) XXX_Merge(src proto.Message)
- func (m *MsgUpdateClassIssuers) XXX_Size() int
- func (m *MsgUpdateClassIssuers) XXX_Unmarshal(b []byte) error
- type MsgUpdateClassIssuersResponse
- func (*MsgUpdateClassIssuersResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateClassIssuersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateClassIssuersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateClassIssuersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateClassIssuersResponse) ProtoMessage()
- func (m *MsgUpdateClassIssuersResponse) Reset()
- func (m *MsgUpdateClassIssuersResponse) Size() (n int)
- func (m *MsgUpdateClassIssuersResponse) String() string
- func (m *MsgUpdateClassIssuersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateClassIssuersResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateClassIssuersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateClassIssuersResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateClassIssuersResponse) XXX_Size() int
- func (m *MsgUpdateClassIssuersResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateClassMetadata
- func (*MsgUpdateClassMetadata) Descriptor() ([]byte, []int)
- func (m *MsgUpdateClassMetadata) GetAdmin() string
- func (m *MsgUpdateClassMetadata) GetClassId() string
- func (m *MsgUpdateClassMetadata) GetMetadata() []byte
- func (m MsgUpdateClassMetadata) GetSignBytes() []byte
- func (m *MsgUpdateClassMetadata) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateClassMetadata) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateClassMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateClassMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateClassMetadata) ProtoMessage()
- func (m *MsgUpdateClassMetadata) Reset()
- func (m MsgUpdateClassMetadata) Route() string
- func (m *MsgUpdateClassMetadata) Size() (n int)
- func (m *MsgUpdateClassMetadata) String() string
- func (m MsgUpdateClassMetadata) Type() string
- func (m *MsgUpdateClassMetadata) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateClassMetadata) ValidateBasic() error
- func (m *MsgUpdateClassMetadata) XXX_DiscardUnknown()
- func (m *MsgUpdateClassMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateClassMetadata) XXX_Merge(src proto.Message)
- func (m *MsgUpdateClassMetadata) XXX_Size() int
- func (m *MsgUpdateClassMetadata) XXX_Unmarshal(b []byte) error
- type MsgUpdateClassMetadataResponse
- func (*MsgUpdateClassMetadataResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateClassMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateClassMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateClassMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateClassMetadataResponse) ProtoMessage()
- func (m *MsgUpdateClassMetadataResponse) Reset()
- func (m *MsgUpdateClassMetadataResponse) Size() (n int)
- func (m *MsgUpdateClassMetadataResponse) String() string
- func (m *MsgUpdateClassMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateClassMetadataResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateClassMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateClassMetadataResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateClassMetadataResponse) XXX_Size() int
- func (m *MsgUpdateClassMetadataResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateSellOrders
- func (*MsgUpdateSellOrders) Descriptor() ([]byte, []int)
- func (m *MsgUpdateSellOrders) GetOwner() string
- func (m MsgUpdateSellOrders) GetSignBytes() []byte
- func (m *MsgUpdateSellOrders) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateSellOrders) GetUpdates() []*MsgUpdateSellOrders_Update
- func (m *MsgUpdateSellOrders) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateSellOrders) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateSellOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateSellOrders) ProtoMessage()
- func (m *MsgUpdateSellOrders) Reset()
- func (m MsgUpdateSellOrders) Route() string
- func (m *MsgUpdateSellOrders) Size() (n int)
- func (m *MsgUpdateSellOrders) String() string
- func (m MsgUpdateSellOrders) Type() string
- func (m *MsgUpdateSellOrders) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateSellOrders) ValidateBasic() error
- func (m *MsgUpdateSellOrders) XXX_DiscardUnknown()
- func (m *MsgUpdateSellOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateSellOrders) XXX_Merge(src proto.Message)
- func (m *MsgUpdateSellOrders) XXX_Size() int
- func (m *MsgUpdateSellOrders) XXX_Unmarshal(b []byte) error
- type MsgUpdateSellOrdersResponse
- func (*MsgUpdateSellOrdersResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateSellOrdersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateSellOrdersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateSellOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateSellOrdersResponse) ProtoMessage()
- func (m *MsgUpdateSellOrdersResponse) Reset()
- func (m *MsgUpdateSellOrdersResponse) Size() (n int)
- func (m *MsgUpdateSellOrdersResponse) String() string
- func (m *MsgUpdateSellOrdersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateSellOrdersResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateSellOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateSellOrdersResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateSellOrdersResponse) XXX_Size() int
- func (m *MsgUpdateSellOrdersResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateSellOrders_Update
- func (*MsgUpdateSellOrders_Update) Descriptor() ([]byte, []int)
- func (m *MsgUpdateSellOrders_Update) GetDisableAutoRetire() bool
- func (m *MsgUpdateSellOrders_Update) GetNewAskPrice() *types1.Coin
- func (m *MsgUpdateSellOrders_Update) GetNewQuantity() string
- func (m *MsgUpdateSellOrders_Update) GetSellOrderId() uint64
- func (m *MsgUpdateSellOrders_Update) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateSellOrders_Update) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateSellOrders_Update) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateSellOrders_Update) ProtoMessage()
- func (m *MsgUpdateSellOrders_Update) Reset()
- func (m *MsgUpdateSellOrders_Update) Size() (n int)
- func (m *MsgUpdateSellOrders_Update) String() string
- func (m *MsgUpdateSellOrders_Update) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateSellOrders_Update) XXX_DiscardUnknown()
- func (m *MsgUpdateSellOrders_Update) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateSellOrders_Update) XXX_Merge(src proto.Message)
- func (m *MsgUpdateSellOrders_Update) XXX_Size() int
- func (m *MsgUpdateSellOrders_Update) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetAllowedClassCreators() []string
- func (m *Params) GetAllowlistEnabled() bool
- func (m *Params) GetCreditClassFee() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Params) GetCreditTypes() []*CreditType
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryBalanceRequest
- func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
- func (m *QueryBalanceRequest) GetAccount() string
- func (m *QueryBalanceRequest) GetBatchDenom() string
- func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceRequest) ProtoMessage()
- func (m *QueryBalanceRequest) Reset()
- func (m *QueryBalanceRequest) Size() (n int)
- func (m *QueryBalanceRequest) String() string
- func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceRequest) XXX_DiscardUnknown()
- func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)
- func (m *QueryBalanceRequest) XXX_Size() int
- func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error
- type QueryBalanceResponse
- func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
- func (m *QueryBalanceResponse) GetRetiredAmount() string
- func (m *QueryBalanceResponse) GetTradableAmount() string
- func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceResponse) ProtoMessage()
- func (m *QueryBalanceResponse) Reset()
- func (m *QueryBalanceResponse) Size() (n int)
- func (m *QueryBalanceResponse) String() string
- func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceResponse) XXX_DiscardUnknown()
- func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)
- func (m *QueryBalanceResponse) XXX_Size() int
- func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error
- type QueryBatchInfoRequest
- func (*QueryBatchInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryBatchInfoRequest) GetBatchDenom() string
- func (m *QueryBatchInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBatchInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBatchInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBatchInfoRequest) ProtoMessage()
- func (m *QueryBatchInfoRequest) Reset()
- func (m *QueryBatchInfoRequest) Size() (n int)
- func (m *QueryBatchInfoRequest) String() string
- func (m *QueryBatchInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBatchInfoRequest) XXX_DiscardUnknown()
- func (m *QueryBatchInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBatchInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryBatchInfoRequest) XXX_Size() int
- func (m *QueryBatchInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryBatchInfoResponse
- func (*QueryBatchInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryBatchInfoResponse) GetInfo() *BatchInfo
- func (m *QueryBatchInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBatchInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBatchInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBatchInfoResponse) ProtoMessage()
- func (m *QueryBatchInfoResponse) Reset()
- func (m *QueryBatchInfoResponse) Size() (n int)
- func (m *QueryBatchInfoResponse) String() string
- func (m *QueryBatchInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBatchInfoResponse) XXX_DiscardUnknown()
- func (m *QueryBatchInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBatchInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryBatchInfoResponse) XXX_Size() int
- func (m *QueryBatchInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryBatchesRequest
- func (*QueryBatchesRequest) Descriptor() ([]byte, []int)
- func (m *QueryBatchesRequest) GetClassId() string
- func (m *QueryBatchesRequest) GetPagination() *query.PageRequest
- func (m *QueryBatchesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBatchesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBatchesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBatchesRequest) ProtoMessage()
- func (m *QueryBatchesRequest) Reset()
- func (m *QueryBatchesRequest) Size() (n int)
- func (m *QueryBatchesRequest) String() string
- func (m *QueryBatchesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBatchesRequest) XXX_DiscardUnknown()
- func (m *QueryBatchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBatchesRequest) XXX_Merge(src proto.Message)
- func (m *QueryBatchesRequest) XXX_Size() int
- func (m *QueryBatchesRequest) XXX_Unmarshal(b []byte) error
- type QueryBatchesResponse
- func (*QueryBatchesResponse) Descriptor() ([]byte, []int)
- func (m *QueryBatchesResponse) GetBatches() []*BatchInfo
- func (m *QueryBatchesResponse) GetPagination() *query.PageResponse
- func (m *QueryBatchesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBatchesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBatchesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBatchesResponse) ProtoMessage()
- func (m *QueryBatchesResponse) Reset()
- func (m *QueryBatchesResponse) Size() (n int)
- func (m *QueryBatchesResponse) String() string
- func (m *QueryBatchesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBatchesResponse) XXX_DiscardUnknown()
- func (m *QueryBatchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBatchesResponse) XXX_Merge(src proto.Message)
- func (m *QueryBatchesResponse) XXX_Size() int
- func (m *QueryBatchesResponse) XXX_Unmarshal(b []byte) error
- type QueryClassInfoRequest
- func (*QueryClassInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryClassInfoRequest) GetClassId() string
- func (m *QueryClassInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClassInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClassInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClassInfoRequest) ProtoMessage()
- func (m *QueryClassInfoRequest) Reset()
- func (m *QueryClassInfoRequest) Size() (n int)
- func (m *QueryClassInfoRequest) String() string
- func (m *QueryClassInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClassInfoRequest) XXX_DiscardUnknown()
- func (m *QueryClassInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClassInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryClassInfoRequest) XXX_Size() int
- func (m *QueryClassInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryClassInfoResponse
- func (*QueryClassInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryClassInfoResponse) GetInfo() *ClassInfo
- func (m *QueryClassInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClassInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClassInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClassInfoResponse) ProtoMessage()
- func (m *QueryClassInfoResponse) Reset()
- func (m *QueryClassInfoResponse) Size() (n int)
- func (m *QueryClassInfoResponse) String() string
- func (m *QueryClassInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryClassInfoResponse) XXX_DiscardUnknown()
- func (m *QueryClassInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClassInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryClassInfoResponse) XXX_Size() int
- func (m *QueryClassInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryClassesRequest
- func (*QueryClassesRequest) Descriptor() ([]byte, []int)
- func (m *QueryClassesRequest) GetPagination() *query.PageRequest
- func (m *QueryClassesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClassesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClassesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClassesRequest) ProtoMessage()
- func (m *QueryClassesRequest) Reset()
- func (m *QueryClassesRequest) Size() (n int)
- func (m *QueryClassesRequest) String() string
- func (m *QueryClassesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClassesRequest) XXX_DiscardUnknown()
- func (m *QueryClassesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClassesRequest) XXX_Merge(src proto.Message)
- func (m *QueryClassesRequest) XXX_Size() int
- func (m *QueryClassesRequest) XXX_Unmarshal(b []byte) error
- type QueryClassesResponse
- func (*QueryClassesResponse) Descriptor() ([]byte, []int)
- func (m *QueryClassesResponse) GetClasses() []*ClassInfo
- func (m *QueryClassesResponse) GetPagination() *query.PageResponse
- func (m *QueryClassesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClassesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClassesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClassesResponse) ProtoMessage()
- func (m *QueryClassesResponse) Reset()
- func (m *QueryClassesResponse) Size() (n int)
- func (m *QueryClassesResponse) String() string
- func (m *QueryClassesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryClassesResponse) XXX_DiscardUnknown()
- func (m *QueryClassesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClassesResponse) XXX_Merge(src proto.Message)
- func (m *QueryClassesResponse) XXX_Size() int
- func (m *QueryClassesResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCreditTypesRequest
- func (*QueryCreditTypesRequest) Descriptor() ([]byte, []int)
- func (m *QueryCreditTypesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCreditTypesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCreditTypesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCreditTypesRequest) ProtoMessage()
- func (m *QueryCreditTypesRequest) Reset()
- func (m *QueryCreditTypesRequest) Size() (n int)
- func (m *QueryCreditTypesRequest) String() string
- func (m *QueryCreditTypesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCreditTypesRequest) XXX_DiscardUnknown()
- func (m *QueryCreditTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCreditTypesRequest) XXX_Merge(src proto.Message)
- func (m *QueryCreditTypesRequest) XXX_Size() int
- func (m *QueryCreditTypesRequest) XXX_Unmarshal(b []byte) error
- type QueryCreditTypesResponse
- func (*QueryCreditTypesResponse) Descriptor() ([]byte, []int)
- func (m *QueryCreditTypesResponse) GetCreditTypes() []*CreditType
- func (m *QueryCreditTypesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCreditTypesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCreditTypesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCreditTypesResponse) ProtoMessage()
- func (m *QueryCreditTypesResponse) Reset()
- func (m *QueryCreditTypesResponse) Size() (n int)
- func (m *QueryCreditTypesResponse) String() string
- func (m *QueryCreditTypesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCreditTypesResponse) XXX_DiscardUnknown()
- func (m *QueryCreditTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCreditTypesResponse) XXX_Merge(src proto.Message)
- func (m *QueryCreditTypesResponse) XXX_Size() int
- func (m *QueryCreditTypesResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() *Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QuerySupplyRequest
- func (*QuerySupplyRequest) Descriptor() ([]byte, []int)
- func (m *QuerySupplyRequest) GetBatchDenom() string
- func (m *QuerySupplyRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySupplyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySupplyRequest) ProtoMessage()
- func (m *QuerySupplyRequest) Reset()
- func (m *QuerySupplyRequest) Size() (n int)
- func (m *QuerySupplyRequest) String() string
- func (m *QuerySupplyRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySupplyRequest) XXX_DiscardUnknown()
- func (m *QuerySupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySupplyRequest) XXX_Merge(src proto.Message)
- func (m *QuerySupplyRequest) XXX_Size() int
- func (m *QuerySupplyRequest) XXX_Unmarshal(b []byte) error
- type QuerySupplyResponse
- func (*QuerySupplyResponse) Descriptor() ([]byte, []int)
- func (m *QuerySupplyResponse) GetRetiredSupply() string
- func (m *QuerySupplyResponse) GetTradableSupply() string
- func (m *QuerySupplyResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySupplyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySupplyResponse) ProtoMessage()
- func (m *QuerySupplyResponse) Reset()
- func (m *QuerySupplyResponse) Size() (n int)
- func (m *QuerySupplyResponse) String() string
- func (m *QuerySupplyResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySupplyResponse) XXX_DiscardUnknown()
- func (m *QuerySupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySupplyResponse) XXX_Merge(src proto.Message)
- func (m *QuerySupplyResponse) XXX_Size() int
- func (m *QuerySupplyResponse) XXX_Unmarshal(b []byte) error
- type SellOrder
- func (*SellOrder) Descriptor() ([]byte, []int)
- func (m *SellOrder) GetAskPrice() *types1.Coin
- func (m *SellOrder) GetBatchDenom() string
- func (m *SellOrder) GetDisableAutoRetire() bool
- func (m *SellOrder) GetOrderId() uint64
- func (m *SellOrder) GetOwner() string
- func (m *SellOrder) GetQuantity() string
- func (m *SellOrder) Marshal() (dAtA []byte, err error)
- func (m *SellOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *SellOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *SellOrder) PrimaryKeyFields() []interface{}
- func (*SellOrder) ProtoMessage()
- func (m *SellOrder) Reset()
- func (m *SellOrder) Size() (n int)
- func (m *SellOrder) String() string
- func (m *SellOrder) Unmarshal(dAtA []byte) error
- func (m *SellOrder) XXX_DiscardUnknown()
- func (m *SellOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SellOrder) XXX_Merge(src proto.Message)
- func (m *SellOrder) XXX_Size() int
- func (m *SellOrder) XXX_Unmarshal(b []byte) error
- type Supply
- func (*Supply) Descriptor() ([]byte, []int)
- func (m *Supply) GetBatchDenom() string
- func (m *Supply) GetRetiredSupply() string
- func (m *Supply) GetTradableSupply() string
- func (m *Supply) Marshal() (dAtA []byte, err error)
- func (m *Supply) MarshalTo(dAtA []byte) (int, error)
- func (m *Supply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Supply) ProtoMessage()
- func (m *Supply) Reset()
- func (m *Supply) Size() (n int)
- func (m *Supply) String() string
- func (m *Supply) Unmarshal(dAtA []byte) error
- func (m *Supply) XXX_DiscardUnknown()
- func (m *Supply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Supply) XXX_Merge(src proto.Message)
- func (m *Supply) XXX_Size() int
- func (m *Supply) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AllowAskDenom(ctx context.Context, req *MsgAllowAskDenom) (*MsgAllowAskDenomResponse, error)
- func (*UnimplementedMsgServer) Buy(ctx context.Context, req *MsgBuy) (*MsgBuyResponse, error)
- func (*UnimplementedMsgServer) Cancel(ctx context.Context, req *MsgCancel) (*MsgCancelResponse, error)
- func (*UnimplementedMsgServer) CreateBatch(ctx context.Context, req *MsgCreateBatch) (*MsgCreateBatchResponse, error)
- func (*UnimplementedMsgServer) CreateClass(ctx context.Context, req *MsgCreateClass) (*MsgCreateClassResponse, error)
- func (*UnimplementedMsgServer) Retire(ctx context.Context, req *MsgRetire) (*MsgRetireResponse, error)
- func (*UnimplementedMsgServer) Sell(ctx context.Context, req *MsgSell) (*MsgSellResponse, error)
- func (*UnimplementedMsgServer) Send(ctx context.Context, req *MsgSend) (*MsgSendResponse, error)
- func (*UnimplementedMsgServer) UpdateClassAdmin(ctx context.Context, req *MsgUpdateClassAdmin) (*MsgUpdateClassAdminResponse, error)
- func (*UnimplementedMsgServer) UpdateClassIssuers(ctx context.Context, req *MsgUpdateClassIssuers) (*MsgUpdateClassIssuersResponse, error)
- func (*UnimplementedMsgServer) UpdateClassMetadata(ctx context.Context, req *MsgUpdateClassMetadata) (*MsgUpdateClassMetadataResponse, error)
- func (*UnimplementedMsgServer) UpdateSellOrders(ctx context.Context, req *MsgUpdateSellOrders) (*MsgUpdateSellOrdersResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error)
- func (*UnimplementedQueryServer) BatchInfo(ctx context.Context, req *QueryBatchInfoRequest) (*QueryBatchInfoResponse, error)
- func (*UnimplementedQueryServer) Batches(ctx context.Context, req *QueryBatchesRequest) (*QueryBatchesResponse, error)
- func (*UnimplementedQueryServer) ClassInfo(ctx context.Context, req *QueryClassInfoRequest) (*QueryClassInfoResponse, error)
- func (*UnimplementedQueryServer) Classes(ctx context.Context, req *QueryClassesRequest) (*QueryClassesResponse, error)
- func (*UnimplementedQueryServer) CreditTypes(ctx context.Context, req *QueryCreditTypesRequest) (*QueryCreditTypesResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Supply(ctx context.Context, req *QuerySupplyRequest) (*QuerySupplyResponse, error)
Constants ¶
const ( // ModuleName is the module name constant used in many places ModuleName = "ecocredit" DefaultParamspace = ModuleName )
const MaxMetadataLength = 256
MaxMetadataLength defines the max length of the metadata bytes field for the credit-class & credit-batch. TODO: This could be used as params once x/params is upgraded to use protobuf
const (
PRECISION uint32 = 6
)
TODO: remove after we open governance changes for precision
Variables ¶
var ( ReClassID = `[A-Z]{1,3}[0-9]{2,}` ReBatchDenom = fmt.Sprintf(`%s-[0-9]{8}-[0-9]{8}-[0-9]{3,}`, ReClassID) )
var ( ErrParseFailure = sdkerrors.Register(ModuleName, 2, "parse error") ErrInsufficientFunds = sdkerrors.Register(ModuleName, 3, "insufficient credit balance") ErrMaxLimit = sdkerrors.Register(ModuleName, 4, "limit exceeded") ErrInvalidSellOrder = sdkerrors.Register(ModuleName, 5, "invalid sell order") )
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( // This is a value of 20 REGEN DefaultCreditClassFeeTokens = sdk.NewInt(2e7) KeyCreditClassFee = []byte("CreditClassFee") KeyAllowedClassCreators = []byte("AllowedClassCreators") KeyAllowlistEnabled = []byte("AllowlistEnabled") KeyCreditTypes = []byte("CreditTypes") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
Functions ¶
func FormatClassID ¶
func FormatClassID(creditType CreditType, classSeqNo uint64) string
Calculate the ID to use for a new credit class, based on the credit type and sequence number. This format may evolve over time, but will maintain backwards compatibility.
The initial version has format: <credit type abbreviation><class seq no>
func FormatDenom ¶
func FormatDenom(classId string, batchSeqNo uint64, startDate *time.Time, endDate *time.Time) (string, error)
Calculate the denomination to use for a batch, based on the batch information. This format may evolve over time, but will maintain backwards compatibility.
The initial version has format: <class id>-<start date>-<end date>-<batch seq no> where:
- <class id> is the string ID of the credit class
- <start date> is the start date of the batch in form YYYYMMDD
- <end date> is the end date of the batch in form YYYYMMDD
- <batch seq no> is the sequence number of the batch, padded to at least three digits
e.g. C01-20190101-20200101-001
NB: This might differ from the actual denomination used.
func NormalizeCreditTypeName ¶
Normalize credit type name by removing whitespace and converting to lowercase
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table.
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers all the necessary ecocredit module concrete types with the provided codec reference. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func RegisterTypes ¶
func RegisterTypes(registry codectypes.InterfaceRegistry)
func ValidateClassID ¶
Validate a class ID conforms to the format described in FormatClassID. The return is nil if the ID is valid.
func ValidateDenom ¶
Validate a batch denomination conforms to the format described in FormatDenom. The return is nil if the denom is valid.
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { // Return a new account with the next account number. Does not save the new account to the store. NewAccount(sdk.Context, authtypes.AccountI) authtypes.AccountI // Retrieve an account from the store. GetAccount(sdk.Context, sdk.AccAddress) authtypes.AccountI // Set an account in the store. SetAccount(sdk.Context, authtypes.AccountI) }
AccountKeeper defines the expected interface needed to create and retrieve accounts.
type AskDenom ¶
type AskDenom struct { // denom is the denom to allow (ex. ibc/GLKHDSG423SGS) Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // display_denom is the denom to display to the user and is informational DisplayDenom string `protobuf:"bytes,2,opt,name=display_denom,json=displayDenom,proto3" json:"display_denom,omitempty"` // exponent is the exponent that relates the denom to the display_denom and is // informational Exponent uint32 `protobuf:"varint,3,opt,name=exponent,proto3" json:"exponent,omitempty"` }
AskDenom represents the information for an ask denom.
func (*AskDenom) Descriptor ¶
func (*AskDenom) GetDisplayDenom ¶
func (*AskDenom) GetExponent ¶
func (*AskDenom) MarshalToSizedBuffer ¶
func (*AskDenom) PrimaryKeyFields ¶
func (m *AskDenom) PrimaryKeyFields() []interface{}
PrimaryKeyFields returns the fields of the object that will make up the primary key for AskDenom.
func (*AskDenom) ProtoMessage ¶
func (*AskDenom) ProtoMessage()
func (*AskDenom) XXX_DiscardUnknown ¶
func (m *AskDenom) XXX_DiscardUnknown()
func (*AskDenom) XXX_Marshal ¶
func (*AskDenom) XXX_Unmarshal ¶
type Balance ¶
type Balance struct { // address is the account address of the account holding credits. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // batch_denom is the unique ID of the credit batch. BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // tradable_balance is the tradable balance of the credit batch. TradableBalance string `protobuf:"bytes,3,opt,name=tradable_balance,json=tradableBalance,proto3" json:"tradable_balance,omitempty"` // retired_balance is the retired balance of the credit batch. RetiredBalance string `protobuf:"bytes,4,opt,name=retired_balance,json=retiredBalance,proto3" json:"retired_balance,omitempty"` }
Balance represents tradable or retired units of a credit batch with an account address, batch_denom, and balance.
func (*Balance) Descriptor ¶
func (*Balance) GetAddress ¶
func (*Balance) GetBatchDenom ¶
func (*Balance) GetRetiredBalance ¶
func (*Balance) GetTradableBalance ¶
func (*Balance) MarshalToSizedBuffer ¶
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) XXX_DiscardUnknown ¶
func (m *Balance) XXX_DiscardUnknown()
func (*Balance) XXX_Marshal ¶
func (*Balance) XXX_Unmarshal ¶
type BankKeeper ¶
type BankKeeper interface { BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to burn and send coins and to retrieve account balances.
type BatchInfo ¶
type BatchInfo struct { // class_id is the unique ID of credit class. ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // batch_denom is the unique ID of credit batch. BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // issuer is the issuer of the credit batch. Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"` // total_amount is the total number of active credits in the credit batch. // Some of the issued credits may be cancelled and will be removed from // total_amount and tracked in amount_cancelled. total_amount and // amount_cancelled will always sum to the original amount of credits that // were issued. TotalAmount string `protobuf:"bytes,4,opt,name=total_amount,json=totalAmount,proto3" json:"total_amount,omitempty"` // metadata is any arbitrary metadata attached to the credit batch. Metadata []byte `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // amount_cancelled is the number of credits in the batch that have been // cancelled, effectively undoing there issuance. The sum of total_amount and // amount_cancelled will always sum to the original amount of credits that // were issued. AmountCancelled string `protobuf:"bytes,6,opt,name=amount_cancelled,json=amountCancelled,proto3" json:"amount_cancelled,omitempty"` // start_date is the beginning of the period during which this credit batch // was quantified and verified. StartDate *time.Time `protobuf:"bytes,7,opt,name=start_date,json=startDate,proto3,stdtime" json:"start_date,omitempty"` // end_date is the end of the period during which this credit batch was // quantified and verified. EndDate *time.Time `protobuf:"bytes,8,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"` // project_location is the location of the project backing the credits in this // batch. Full documentation can be found in MsgCreateBatch.project_location. ProjectLocation string `protobuf:"bytes,9,opt,name=project_location,json=projectLocation,proto3" json:"project_location,omitempty"` }
BatchInfo represents the high-level on-chain information for a credit batch.
func (*BatchInfo) Descriptor ¶
func (*BatchInfo) GetAmountCancelled ¶
func (*BatchInfo) GetBatchDenom ¶
func (*BatchInfo) GetClassId ¶
func (*BatchInfo) GetEndDate ¶
func (*BatchInfo) GetMetadata ¶
func (*BatchInfo) GetProjectLocation ¶
func (*BatchInfo) GetStartDate ¶
func (*BatchInfo) GetTotalAmount ¶
func (*BatchInfo) MarshalToSizedBuffer ¶
func (*BatchInfo) PrimaryKeyFields ¶
func (m *BatchInfo) PrimaryKeyFields() []interface{}
PrimaryKeyFields returns the fields of the object that will make up the primary key for BatchInfo.
func (*BatchInfo) ProtoMessage ¶
func (*BatchInfo) ProtoMessage()
func (*BatchInfo) XXX_DiscardUnknown ¶
func (m *BatchInfo) XXX_DiscardUnknown()
func (*BatchInfo) XXX_Marshal ¶
func (*BatchInfo) XXX_Unmarshal ¶
type BuyOrder ¶
type BuyOrder struct { // buy_order_id is the unique ID of buy order. BuyOrderId uint64 `protobuf:"varint,1,opt,name=buy_order_id,json=buyOrderId,proto3" json:"buy_order_id,omitempty"` // selection is the buy order selection. Selection *BuyOrder_Selection `protobuf:"bytes,2,opt,name=selection,proto3" json:"selection,omitempty"` // quantity is the quantity of credits to buy. If the quantity of credits // available is less than this amount the order will be partially filled // unless disable_partial_fill is true. Quantity string `protobuf:"bytes,3,opt,name=quantity,proto3" json:"quantity,omitempty"` // bid price is the bid price for this buy order. A credit unit will be // settled at a purchase price that is no more than the bid price. The // buy order will fail if the buyer does not have enough funds available // to complete the purchase. BidPrice *types1.Coin `protobuf:"bytes,4,opt,name=bid_price,json=bidPrice,proto3" json:"bid_price,omitempty"` // disable_auto_retire allows auto-retirement to be disabled. If it is set to true // the credits will not auto-retire and can be resold assuming that the // corresponding sell order has auto-retirement disabled. If the sell order // hasn't disabled auto-retirement and the buy order tries to disable it, // that buy order will fail. DisableAutoRetire bool `protobuf:"varint,5,opt,name=disable_auto_retire,json=disableAutoRetire,proto3" json:"disable_auto_retire,omitempty"` // disable_partial_fill disables the default behavior of partially filling // buy orders if the requested quantity is not available. DisablePartialFill bool `protobuf:"varint,6,opt,name=disable_partial_fill,json=disablePartialFill,proto3" json:"disable_partial_fill,omitempty"` }
BuyOrder represents the information for a buy order.
func (*BuyOrder) Descriptor ¶
func (*BuyOrder) GetBidPrice ¶
func (*BuyOrder) GetBuyOrderId ¶
func (*BuyOrder) GetDisableAutoRetire ¶
func (*BuyOrder) GetDisablePartialFill ¶
func (*BuyOrder) GetQuantity ¶
func (*BuyOrder) GetSelection ¶
func (m *BuyOrder) GetSelection() *BuyOrder_Selection
func (*BuyOrder) MarshalToSizedBuffer ¶
func (*BuyOrder) PrimaryKeyFields ¶
func (m *BuyOrder) PrimaryKeyFields() []interface{}
PrimaryKeyFields returns the fields of the object that will make up the primary key for BuyOrder.
func (*BuyOrder) ProtoMessage ¶
func (*BuyOrder) ProtoMessage()
func (*BuyOrder) XXX_DiscardUnknown ¶
func (m *BuyOrder) XXX_DiscardUnknown()
func (*BuyOrder) XXX_Marshal ¶
func (*BuyOrder) XXX_Unmarshal ¶
type BuyOrder_Selection ¶
type BuyOrder_Selection struct { // sum defines the type of selection. // // Types that are valid to be assigned to Sum: // *BuyOrder_Selection_SellOrderId Sum isBuyOrder_Selection_Sum `protobuf_oneof:"sum"` }
Selection defines a buy order selection.
func (*BuyOrder_Selection) Descriptor ¶
func (*BuyOrder_Selection) Descriptor() ([]byte, []int)
func (*BuyOrder_Selection) GetSellOrderId ¶
func (m *BuyOrder_Selection) GetSellOrderId() uint64
func (*BuyOrder_Selection) GetSum ¶
func (m *BuyOrder_Selection) GetSum() isBuyOrder_Selection_Sum
func (*BuyOrder_Selection) Marshal ¶
func (m *BuyOrder_Selection) Marshal() (dAtA []byte, err error)
func (*BuyOrder_Selection) MarshalTo ¶
func (m *BuyOrder_Selection) MarshalTo(dAtA []byte) (int, error)
func (*BuyOrder_Selection) MarshalToSizedBuffer ¶
func (m *BuyOrder_Selection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BuyOrder_Selection) ProtoMessage ¶
func (*BuyOrder_Selection) ProtoMessage()
func (*BuyOrder_Selection) Reset ¶
func (m *BuyOrder_Selection) Reset()
func (*BuyOrder_Selection) Size ¶
func (m *BuyOrder_Selection) Size() (n int)
func (*BuyOrder_Selection) String ¶
func (m *BuyOrder_Selection) String() string
func (*BuyOrder_Selection) Unmarshal ¶
func (m *BuyOrder_Selection) Unmarshal(dAtA []byte) error
func (*BuyOrder_Selection) XXX_DiscardUnknown ¶
func (m *BuyOrder_Selection) XXX_DiscardUnknown()
func (*BuyOrder_Selection) XXX_Marshal ¶
func (m *BuyOrder_Selection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuyOrder_Selection) XXX_Merge ¶
func (m *BuyOrder_Selection) XXX_Merge(src proto.Message)
func (*BuyOrder_Selection) XXX_OneofWrappers ¶
func (*BuyOrder_Selection) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*BuyOrder_Selection) XXX_Size ¶
func (m *BuyOrder_Selection) XXX_Size() int
func (*BuyOrder_Selection) XXX_Unmarshal ¶
func (m *BuyOrder_Selection) XXX_Unmarshal(b []byte) error
type BuyOrder_Selection_SellOrderId ¶
type BuyOrder_Selection_SellOrderId struct {
SellOrderId uint64 `protobuf:"varint,1,opt,name=sell_order_id,json=sellOrderId,proto3,oneof" json:"sell_order_id,omitempty"`
}
func (*BuyOrder_Selection_SellOrderId) MarshalTo ¶
func (m *BuyOrder_Selection_SellOrderId) MarshalTo(dAtA []byte) (int, error)
func (*BuyOrder_Selection_SellOrderId) MarshalToSizedBuffer ¶
func (m *BuyOrder_Selection_SellOrderId) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BuyOrder_Selection_SellOrderId) Size ¶
func (m *BuyOrder_Selection_SellOrderId) Size() (n int)
type ClassInfo ¶
type ClassInfo struct { // class_id is the unique ID of credit class. ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // admin is the admin of the credit class. Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"` // issuers are the approved issuers of the credit class. Issuers []string `protobuf:"bytes,3,rep,name=issuers,proto3" json:"issuers,omitempty"` // metadata is any arbitrary metadata to attached to the credit class. Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // credit_type describes the type of credit (e.g. carbon, biodiversity), as well as unit and precision. CreditType *CreditType `protobuf:"bytes,5,opt,name=credit_type,json=creditType,proto3" json:"credit_type,omitempty"` // The number of batches issued in this credit class. NumBatches uint64 `protobuf:"varint,6,opt,name=num_batches,json=numBatches,proto3" json:"num_batches,omitempty"` }
ClassInfo represents the high-level on-chain information for a credit class.
func (*ClassInfo) AssertClassIssuer ¶
AssertClassIssuer makes sure that the issuer is part of issuers of given classID. Returns ErrUnauthorized otherwise.
func (*ClassInfo) Descriptor ¶
func (*ClassInfo) GetClassId ¶
func (*ClassInfo) GetCreditType ¶
func (m *ClassInfo) GetCreditType() *CreditType
func (*ClassInfo) GetIssuers ¶
func (*ClassInfo) GetMetadata ¶
func (*ClassInfo) GetNumBatches ¶
func (*ClassInfo) MarshalToSizedBuffer ¶
func (*ClassInfo) PrimaryKeyFields ¶
func (m *ClassInfo) PrimaryKeyFields() []interface{}
PrimaryKeyFields returns the fields of the object that will make up the primary key for ClassInfo.
func (*ClassInfo) ProtoMessage ¶
func (*ClassInfo) ProtoMessage()
func (*ClassInfo) XXX_DiscardUnknown ¶
func (m *ClassInfo) XXX_DiscardUnknown()
func (*ClassInfo) XXX_Marshal ¶
func (*ClassInfo) XXX_Unmarshal ¶
type CreditType ¶
type CreditType struct { // the type of credit (e.g. carbon, biodiversity, etc) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // abbreviation is a 1-3 character uppercase abbreviation of the CreditType // name, used in batch denominations within the CreditType. It must be unique. Abbreviation string `protobuf:"bytes,2,opt,name=abbreviation,proto3" json:"abbreviation,omitempty"` // the measurement unit (e.g. kg, ton, etc) Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"` // the decimal precision Precision uint32 `protobuf:"varint,4,opt,name=precision,proto3" json:"precision,omitempty"` }
CreditType defines the measurement unit/precision of a certain credit type (e.g. carbon, biodiversity...)
func (*CreditType) Descriptor ¶
func (*CreditType) Descriptor() ([]byte, []int)
func (*CreditType) GetAbbreviation ¶
func (m *CreditType) GetAbbreviation() string
func (*CreditType) GetName ¶
func (m *CreditType) GetName() string
func (*CreditType) GetPrecision ¶
func (m *CreditType) GetPrecision() uint32
func (*CreditType) GetUnit ¶
func (m *CreditType) GetUnit() string
func (*CreditType) Marshal ¶
func (m *CreditType) Marshal() (dAtA []byte, err error)
func (*CreditType) MarshalToSizedBuffer ¶
func (m *CreditType) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreditType) ProtoMessage ¶
func (*CreditType) ProtoMessage()
func (*CreditType) Reset ¶
func (m *CreditType) Reset()
func (*CreditType) Size ¶
func (m *CreditType) Size() (n int)
func (*CreditType) String ¶
func (m *CreditType) String() string
func (*CreditType) Unmarshal ¶
func (m *CreditType) Unmarshal(dAtA []byte) error
func (*CreditType) XXX_DiscardUnknown ¶
func (m *CreditType) XXX_DiscardUnknown()
func (*CreditType) XXX_Marshal ¶
func (m *CreditType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreditType) XXX_Merge ¶
func (m *CreditType) XXX_Merge(src proto.Message)
func (*CreditType) XXX_Size ¶
func (m *CreditType) XXX_Size() int
func (*CreditType) XXX_Unmarshal ¶
func (m *CreditType) XXX_Unmarshal(b []byte) error
type CreditTypeSeq ¶
type CreditTypeSeq struct { // The credit type abbreviation Abbreviation string `protobuf:"bytes,1,opt,name=abbreviation,proto3" json:"abbreviation,omitempty"` // The sequence number of classes of the credit type SeqNumber uint64 `protobuf:"varint,2,opt,name=seq_number,json=seqNumber,proto3" json:"seq_number,omitempty"` }
CreditTypeSeq associates a sequence number with a credit type abbreviation. This represents the number of credit classes created with that credit type.
func (*CreditTypeSeq) Descriptor ¶
func (*CreditTypeSeq) Descriptor() ([]byte, []int)
func (*CreditTypeSeq) GetAbbreviation ¶
func (m *CreditTypeSeq) GetAbbreviation() string
func (*CreditTypeSeq) GetSeqNumber ¶
func (m *CreditTypeSeq) GetSeqNumber() uint64
func (*CreditTypeSeq) Marshal ¶
func (m *CreditTypeSeq) Marshal() (dAtA []byte, err error)
func (*CreditTypeSeq) MarshalToSizedBuffer ¶
func (m *CreditTypeSeq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreditTypeSeq) PrimaryKeyFields ¶
func (m *CreditTypeSeq) PrimaryKeyFields() []interface{}
PrimaryKeyFields returns the fields of the object that will make up the primary key for CreditTypeSeq.
func (*CreditTypeSeq) ProtoMessage ¶
func (*CreditTypeSeq) ProtoMessage()
func (*CreditTypeSeq) Reset ¶
func (m *CreditTypeSeq) Reset()
func (*CreditTypeSeq) Size ¶
func (m *CreditTypeSeq) Size() (n int)
func (*CreditTypeSeq) String ¶
func (m *CreditTypeSeq) String() string
func (*CreditTypeSeq) Unmarshal ¶
func (m *CreditTypeSeq) Unmarshal(dAtA []byte) error
func (*CreditTypeSeq) XXX_DiscardUnknown ¶
func (m *CreditTypeSeq) XXX_DiscardUnknown()
func (*CreditTypeSeq) XXX_Marshal ¶
func (m *CreditTypeSeq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreditTypeSeq) XXX_Merge ¶
func (m *CreditTypeSeq) XXX_Merge(src proto.Message)
func (*CreditTypeSeq) XXX_Size ¶
func (m *CreditTypeSeq) XXX_Size() int
func (*CreditTypeSeq) XXX_Unmarshal ¶
func (m *CreditTypeSeq) XXX_Unmarshal(b []byte) error
type EventAllowAskDenom ¶
type EventAllowAskDenom struct { // denom is the denom to allow (ex. ibc/GLKHDSG423SGS) Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // display_denom is the denom to display to the user and is informational DisplayDenom string `protobuf:"bytes,2,opt,name=display_denom,json=displayDenom,proto3" json:"display_denom,omitempty"` // exponent is the exponent that relates the denom to the display_denom and is // informational Exponent uint32 `protobuf:"varint,3,opt,name=exponent,proto3" json:"exponent,omitempty"` }
EventAllowAskDenom is an event emitted when an ask denom is added.
func (*EventAllowAskDenom) Descriptor ¶
func (*EventAllowAskDenom) Descriptor() ([]byte, []int)
func (*EventAllowAskDenom) GetDenom ¶
func (m *EventAllowAskDenom) GetDenom() string
func (*EventAllowAskDenom) GetDisplayDenom ¶
func (m *EventAllowAskDenom) GetDisplayDenom() string
func (*EventAllowAskDenom) GetExponent ¶
func (m *EventAllowAskDenom) GetExponent() uint32
func (*EventAllowAskDenom) Marshal ¶
func (m *EventAllowAskDenom) Marshal() (dAtA []byte, err error)
func (*EventAllowAskDenom) MarshalTo ¶
func (m *EventAllowAskDenom) MarshalTo(dAtA []byte) (int, error)
func (*EventAllowAskDenom) MarshalToSizedBuffer ¶
func (m *EventAllowAskDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventAllowAskDenom) ProtoMessage ¶
func (*EventAllowAskDenom) ProtoMessage()
func (*EventAllowAskDenom) Reset ¶
func (m *EventAllowAskDenom) Reset()
func (*EventAllowAskDenom) Size ¶
func (m *EventAllowAskDenom) Size() (n int)
func (*EventAllowAskDenom) String ¶
func (m *EventAllowAskDenom) String() string
func (*EventAllowAskDenom) Unmarshal ¶
func (m *EventAllowAskDenom) Unmarshal(dAtA []byte) error
func (*EventAllowAskDenom) XXX_DiscardUnknown ¶
func (m *EventAllowAskDenom) XXX_DiscardUnknown()
func (*EventAllowAskDenom) XXX_Marshal ¶
func (m *EventAllowAskDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventAllowAskDenom) XXX_Merge ¶
func (m *EventAllowAskDenom) XXX_Merge(src proto.Message)
func (*EventAllowAskDenom) XXX_Size ¶
func (m *EventAllowAskDenom) XXX_Size() int
func (*EventAllowAskDenom) XXX_Unmarshal ¶
func (m *EventAllowAskDenom) XXX_Unmarshal(b []byte) error
type EventBuyOrderCreated ¶
type EventBuyOrderCreated struct { // buy_order_id is the unique ID of buy order. BuyOrderId uint64 `protobuf:"varint,1,opt,name=buy_order_id,json=buyOrderId,proto3" json:"buy_order_id,omitempty"` // sell_order_id is the sell order ID against which the buyer is trying to buy. SellOrderId uint64 `protobuf:"varint,2,opt,name=sell_order_id,json=sellOrderId,proto3" json:"sell_order_id,omitempty"` // quantity is the quantity of credits to buy. If the quantity of credits // available is less than this amount the order will be partially filled // unless disable_partial_fill is true. Quantity string `protobuf:"bytes,3,opt,name=quantity,proto3" json:"quantity,omitempty"` // bid price is the bid price for this buy order. A credit unit will be // settled at a purchase price that is no more than the bid price. The // buy order will fail if the buyer does not have enough funds available // to complete the purchase. BidPrice *types.Coin `protobuf:"bytes,4,opt,name=bid_price,json=bidPrice,proto3" json:"bid_price,omitempty"` // disable_auto_retire allows auto-retirement to be disabled. If it is set to true // the credits will not auto-retire and can be resold assuming that the // corresponding sell order has auto-retirement disabled. If the sell order // hasn't disabled auto-retirement and the buy order tries to disable it, // that buy order will fail. DisableAutoRetire bool `protobuf:"varint,5,opt,name=disable_auto_retire,json=disableAutoRetire,proto3" json:"disable_auto_retire,omitempty"` // disable_partial_fill disables the default behavior of partially filling // buy orders if the requested quantity is not available. DisablePartialFill bool `protobuf:"varint,6,opt,name=disable_partial_fill,json=disablePartialFill,proto3" json:"disable_partial_fill,omitempty"` }
EventBuyOrderCreated is an event emitted when a buy order is created.
func (*EventBuyOrderCreated) Descriptor ¶
func (*EventBuyOrderCreated) Descriptor() ([]byte, []int)
func (*EventBuyOrderCreated) GetBidPrice ¶
func (m *EventBuyOrderCreated) GetBidPrice() *types.Coin
func (*EventBuyOrderCreated) GetBuyOrderId ¶
func (m *EventBuyOrderCreated) GetBuyOrderId() uint64
func (*EventBuyOrderCreated) GetDisableAutoRetire ¶
func (m *EventBuyOrderCreated) GetDisableAutoRetire() bool
func (*EventBuyOrderCreated) GetDisablePartialFill ¶
func (m *EventBuyOrderCreated) GetDisablePartialFill() bool
func (*EventBuyOrderCreated) GetQuantity ¶
func (m *EventBuyOrderCreated) GetQuantity() string
func (*EventBuyOrderCreated) GetSellOrderId ¶
func (m *EventBuyOrderCreated) GetSellOrderId() uint64
func (*EventBuyOrderCreated) Marshal ¶
func (m *EventBuyOrderCreated) Marshal() (dAtA []byte, err error)
func (*EventBuyOrderCreated) MarshalTo ¶
func (m *EventBuyOrderCreated) MarshalTo(dAtA []byte) (int, error)
func (*EventBuyOrderCreated) MarshalToSizedBuffer ¶
func (m *EventBuyOrderCreated) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventBuyOrderCreated) ProtoMessage ¶
func (*EventBuyOrderCreated) ProtoMessage()
func (*EventBuyOrderCreated) Reset ¶
func (m *EventBuyOrderCreated) Reset()
func (*EventBuyOrderCreated) Size ¶
func (m *EventBuyOrderCreated) Size() (n int)
func (*EventBuyOrderCreated) String ¶
func (m *EventBuyOrderCreated) String() string
func (*EventBuyOrderCreated) Unmarshal ¶
func (m *EventBuyOrderCreated) Unmarshal(dAtA []byte) error
func (*EventBuyOrderCreated) XXX_DiscardUnknown ¶
func (m *EventBuyOrderCreated) XXX_DiscardUnknown()
func (*EventBuyOrderCreated) XXX_Marshal ¶
func (m *EventBuyOrderCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventBuyOrderCreated) XXX_Merge ¶
func (m *EventBuyOrderCreated) XXX_Merge(src proto.Message)
func (*EventBuyOrderCreated) XXX_Size ¶
func (m *EventBuyOrderCreated) XXX_Size() int
func (*EventBuyOrderCreated) XXX_Unmarshal ¶
func (m *EventBuyOrderCreated) XXX_Unmarshal(b []byte) error
type EventBuyOrderFilled ¶
type EventBuyOrderFilled struct { // buy_order_id is the unique ID of the buy order. BuyOrderId uint64 `protobuf:"varint,1,opt,name=buy_order_id,json=buyOrderId,proto3" json:"buy_order_id,omitempty"` // sell_order_id is the unique ID of the sell order. SellOrderId uint64 `protobuf:"varint,2,opt,name=sell_order_id,json=sellOrderId,proto3" json:"sell_order_id,omitempty"` // batch_denom is the credit batch ID of the purchased credits. BatchDenom string `protobuf:"bytes,3,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // quantity is the quantity of the purchased credits. Quantity string `protobuf:"bytes,4,opt,name=quantity,proto3" json:"quantity,omitempty"` // total_price is the total price for the purchased credits. TotalPrice *types.Coin `protobuf:"bytes,5,opt,name=total_price,json=totalPrice,proto3" json:"total_price,omitempty"` }
EventBuyOrderFilled is an event emitted when a buy order is filled.
func (*EventBuyOrderFilled) Descriptor ¶
func (*EventBuyOrderFilled) Descriptor() ([]byte, []int)
func (*EventBuyOrderFilled) GetBatchDenom ¶
func (m *EventBuyOrderFilled) GetBatchDenom() string
func (*EventBuyOrderFilled) GetBuyOrderId ¶
func (m *EventBuyOrderFilled) GetBuyOrderId() uint64
func (*EventBuyOrderFilled) GetQuantity ¶
func (m *EventBuyOrderFilled) GetQuantity() string
func (*EventBuyOrderFilled) GetSellOrderId ¶
func (m *EventBuyOrderFilled) GetSellOrderId() uint64
func (*EventBuyOrderFilled) GetTotalPrice ¶
func (m *EventBuyOrderFilled) GetTotalPrice() *types.Coin
func (*EventBuyOrderFilled) Marshal ¶
func (m *EventBuyOrderFilled) Marshal() (dAtA []byte, err error)
func (*EventBuyOrderFilled) MarshalTo ¶
func (m *EventBuyOrderFilled) MarshalTo(dAtA []byte) (int, error)
func (*EventBuyOrderFilled) MarshalToSizedBuffer ¶
func (m *EventBuyOrderFilled) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventBuyOrderFilled) ProtoMessage ¶
func (*EventBuyOrderFilled) ProtoMessage()
func (*EventBuyOrderFilled) Reset ¶
func (m *EventBuyOrderFilled) Reset()
func (*EventBuyOrderFilled) Size ¶
func (m *EventBuyOrderFilled) Size() (n int)
func (*EventBuyOrderFilled) String ¶
func (m *EventBuyOrderFilled) String() string
func (*EventBuyOrderFilled) Unmarshal ¶
func (m *EventBuyOrderFilled) Unmarshal(dAtA []byte) error
func (*EventBuyOrderFilled) XXX_DiscardUnknown ¶
func (m *EventBuyOrderFilled) XXX_DiscardUnknown()
func (*EventBuyOrderFilled) XXX_Marshal ¶
func (m *EventBuyOrderFilled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventBuyOrderFilled) XXX_Merge ¶
func (m *EventBuyOrderFilled) XXX_Merge(src proto.Message)
func (*EventBuyOrderFilled) XXX_Size ¶
func (m *EventBuyOrderFilled) XXX_Size() int
func (*EventBuyOrderFilled) XXX_Unmarshal ¶
func (m *EventBuyOrderFilled) XXX_Unmarshal(b []byte) error
type EventCancel ¶
type EventCancel struct { // canceller is the account which has cancelled the credits, which should be // the holder of the credits. Canceller string `protobuf:"bytes,1,opt,name=canceller,proto3" json:"canceller,omitempty"` // batch_denom is the unique ID of credit batch. BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // amount is the decimal number of credits that have been cancelled. Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` }
EventCancel is an event emitted when credits are cancelled. When credits are cancelled from multiple batches in the same transaction, a separate event is emitted for each batch_denom. This allows for easier indexing.
func (*EventCancel) Descriptor ¶
func (*EventCancel) Descriptor() ([]byte, []int)
func (*EventCancel) GetAmount ¶
func (m *EventCancel) GetAmount() string
func (*EventCancel) GetBatchDenom ¶
func (m *EventCancel) GetBatchDenom() string
func (*EventCancel) GetCanceller ¶
func (m *EventCancel) GetCanceller() string
func (*EventCancel) Marshal ¶
func (m *EventCancel) Marshal() (dAtA []byte, err error)
func (*EventCancel) MarshalToSizedBuffer ¶
func (m *EventCancel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCancel) ProtoMessage ¶
func (*EventCancel) ProtoMessage()
func (*EventCancel) Reset ¶
func (m *EventCancel) Reset()
func (*EventCancel) Size ¶
func (m *EventCancel) Size() (n int)
func (*EventCancel) String ¶
func (m *EventCancel) String() string
func (*EventCancel) Unmarshal ¶
func (m *EventCancel) Unmarshal(dAtA []byte) error
func (*EventCancel) XXX_DiscardUnknown ¶
func (m *EventCancel) XXX_DiscardUnknown()
func (*EventCancel) XXX_Marshal ¶
func (m *EventCancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCancel) XXX_Merge ¶
func (m *EventCancel) XXX_Merge(src proto.Message)
func (*EventCancel) XXX_Size ¶
func (m *EventCancel) XXX_Size() int
func (*EventCancel) XXX_Unmarshal ¶
func (m *EventCancel) XXX_Unmarshal(b []byte) error
type EventCreateBatch ¶
type EventCreateBatch struct { // class_id is the unique ID of credit class. ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // batch_denom is the unique ID of credit batch. BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // issuer is the account address of the issuer of the credit batch. Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"` // total_amount is the total number of credits in the credit batch. TotalAmount string `protobuf:"bytes,4,opt,name=total_amount,json=totalAmount,proto3" json:"total_amount,omitempty"` // start_date is the beginning of the period during which this credit batch // was quantified and verified. StartDate string `protobuf:"bytes,5,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` // end_date is the end of the period during which this credit batch was // quantified and verified. EndDate string `protobuf:"bytes,6,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` // project_location is the location of the project backing the credits in this // batch. Full documentation can be found in MsgCreateBatch.project_location. ProjectLocation string `protobuf:"bytes,7,opt,name=project_location,json=projectLocation,proto3" json:"project_location,omitempty"` }
EventCreateBatch is an event emitted when a credit batch is created.
func (*EventCreateBatch) Descriptor ¶
func (*EventCreateBatch) Descriptor() ([]byte, []int)
func (*EventCreateBatch) GetBatchDenom ¶
func (m *EventCreateBatch) GetBatchDenom() string
func (*EventCreateBatch) GetClassId ¶
func (m *EventCreateBatch) GetClassId() string
func (*EventCreateBatch) GetEndDate ¶
func (m *EventCreateBatch) GetEndDate() string
func (*EventCreateBatch) GetIssuer ¶
func (m *EventCreateBatch) GetIssuer() string
func (*EventCreateBatch) GetProjectLocation ¶
func (m *EventCreateBatch) GetProjectLocation() string
func (*EventCreateBatch) GetStartDate ¶
func (m *EventCreateBatch) GetStartDate() string
func (*EventCreateBatch) GetTotalAmount ¶
func (m *EventCreateBatch) GetTotalAmount() string
func (*EventCreateBatch) Marshal ¶
func (m *EventCreateBatch) Marshal() (dAtA []byte, err error)
func (*EventCreateBatch) MarshalToSizedBuffer ¶
func (m *EventCreateBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateBatch) ProtoMessage ¶
func (*EventCreateBatch) ProtoMessage()
func (*EventCreateBatch) Reset ¶
func (m *EventCreateBatch) Reset()
func (*EventCreateBatch) Size ¶
func (m *EventCreateBatch) Size() (n int)
func (*EventCreateBatch) String ¶
func (m *EventCreateBatch) String() string
func (*EventCreateBatch) Unmarshal ¶
func (m *EventCreateBatch) Unmarshal(dAtA []byte) error
func (*EventCreateBatch) XXX_DiscardUnknown ¶
func (m *EventCreateBatch) XXX_DiscardUnknown()
func (*EventCreateBatch) XXX_Marshal ¶
func (m *EventCreateBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateBatch) XXX_Merge ¶
func (m *EventCreateBatch) XXX_Merge(src proto.Message)
func (*EventCreateBatch) XXX_Size ¶
func (m *EventCreateBatch) XXX_Size() int
func (*EventCreateBatch) XXX_Unmarshal ¶
func (m *EventCreateBatch) XXX_Unmarshal(b []byte) error
type EventCreateClass ¶
type EventCreateClass struct { // class_id is the unique ID of credit class. ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // admin is the admin of the credit class. Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"` }
EventCreateClass is an event emitted when a credit class is created.
func (*EventCreateClass) Descriptor ¶
func (*EventCreateClass) Descriptor() ([]byte, []int)
func (*EventCreateClass) GetAdmin ¶
func (m *EventCreateClass) GetAdmin() string
func (*EventCreateClass) GetClassId ¶
func (m *EventCreateClass) GetClassId() string
func (*EventCreateClass) Marshal ¶
func (m *EventCreateClass) Marshal() (dAtA []byte, err error)
func (*EventCreateClass) MarshalToSizedBuffer ¶
func (m *EventCreateClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateClass) ProtoMessage ¶
func (*EventCreateClass) ProtoMessage()
func (*EventCreateClass) Reset ¶
func (m *EventCreateClass) Reset()
func (*EventCreateClass) Size ¶
func (m *EventCreateClass) Size() (n int)
func (*EventCreateClass) String ¶
func (m *EventCreateClass) String() string
func (*EventCreateClass) Unmarshal ¶
func (m *EventCreateClass) Unmarshal(dAtA []byte) error
func (*EventCreateClass) XXX_DiscardUnknown ¶
func (m *EventCreateClass) XXX_DiscardUnknown()
func (*EventCreateClass) XXX_Marshal ¶
func (m *EventCreateClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateClass) XXX_Merge ¶
func (m *EventCreateClass) XXX_Merge(src proto.Message)
func (*EventCreateClass) XXX_Size ¶
func (m *EventCreateClass) XXX_Size() int
func (*EventCreateClass) XXX_Unmarshal ¶
func (m *EventCreateClass) XXX_Unmarshal(b []byte) error
type EventReceive ¶
type EventReceive struct { // sender is the sender of the credits in the case that this event is the // result of a transfer. It will not be set when credits are received at // initial issuance. Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // recipient is the recipient of the credits Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` // batch_denom is the unique ID of credit batch. BatchDenom string `protobuf:"bytes,3,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // tradable_amount is the decimal number of tradable credits received. TradableAmount string `protobuf:"bytes,4,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"` // retired_amount is the decimal number of retired credits received. RetiredAmount string `protobuf:"bytes,5,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"` }
EventReceive is an event emitted when credits are received either upon creation of a new batch or upon transfer. Each batch_denom created or transferred will result in a separate EventReceive for easy indexing.
func (*EventReceive) Descriptor ¶
func (*EventReceive) Descriptor() ([]byte, []int)
func (*EventReceive) GetBatchDenom ¶
func (m *EventReceive) GetBatchDenom() string
func (*EventReceive) GetRecipient ¶
func (m *EventReceive) GetRecipient() string
func (*EventReceive) GetRetiredAmount ¶
func (m *EventReceive) GetRetiredAmount() string
func (*EventReceive) GetSender ¶
func (m *EventReceive) GetSender() string
func (*EventReceive) GetTradableAmount ¶
func (m *EventReceive) GetTradableAmount() string
func (*EventReceive) Marshal ¶
func (m *EventReceive) Marshal() (dAtA []byte, err error)
func (*EventReceive) MarshalToSizedBuffer ¶
func (m *EventReceive) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventReceive) ProtoMessage ¶
func (*EventReceive) ProtoMessage()
func (*EventReceive) Reset ¶
func (m *EventReceive) Reset()
func (*EventReceive) Size ¶
func (m *EventReceive) Size() (n int)
func (*EventReceive) String ¶
func (m *EventReceive) String() string
func (*EventReceive) Unmarshal ¶
func (m *EventReceive) Unmarshal(dAtA []byte) error
func (*EventReceive) XXX_DiscardUnknown ¶
func (m *EventReceive) XXX_DiscardUnknown()
func (*EventReceive) XXX_Marshal ¶
func (m *EventReceive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventReceive) XXX_Merge ¶
func (m *EventReceive) XXX_Merge(src proto.Message)
func (*EventReceive) XXX_Size ¶
func (m *EventReceive) XXX_Size() int
func (*EventReceive) XXX_Unmarshal ¶
func (m *EventReceive) XXX_Unmarshal(b []byte) error
type EventRetire ¶
type EventRetire struct { // retirer is the account which has done the "retiring". This will be the // account receiving credits in the case that credits were retired upon // issuance using Msg/CreateBatch or retired upon transfer using Msg/Send. Retirer string `protobuf:"bytes,1,opt,name=retirer,proto3" json:"retirer,omitempty"` // batch_denom is the unique ID of credit batch. BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // amount is the decimal number of credits that have been retired. Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // location is the location of the beneficiary or buyer of the retired // credits. It is a string of the form // <country-code>[-<sub-national-code>[ <postal-code>]], with the first two // fields conforming to ISO 3166-2, and postal-code being up to 64 // alphanumeric characters. Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` }
EventRetire is an event emitted when credits are retired. When credits are retired from multiple batches in the same transaction, a separate event is emitted for each batch_denom. This allows for easier indexing.
func (*EventRetire) Descriptor ¶
func (*EventRetire) Descriptor() ([]byte, []int)
func (*EventRetire) GetAmount ¶
func (m *EventRetire) GetAmount() string
func (*EventRetire) GetBatchDenom ¶
func (m *EventRetire) GetBatchDenom() string
func (*EventRetire) GetLocation ¶
func (m *EventRetire) GetLocation() string
func (*EventRetire) GetRetirer ¶
func (m *EventRetire) GetRetirer() string
func (*EventRetire) Marshal ¶
func (m *EventRetire) Marshal() (dAtA []byte, err error)
func (*EventRetire) MarshalToSizedBuffer ¶
func (m *EventRetire) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRetire) ProtoMessage ¶
func (*EventRetire) ProtoMessage()
func (*EventRetire) Reset ¶
func (m *EventRetire) Reset()
func (*EventRetire) Size ¶
func (m *EventRetire) Size() (n int)
func (*EventRetire) String ¶
func (m *EventRetire) String() string
func (*EventRetire) Unmarshal ¶
func (m *EventRetire) Unmarshal(dAtA []byte) error
func (*EventRetire) XXX_DiscardUnknown ¶
func (m *EventRetire) XXX_DiscardUnknown()
func (*EventRetire) XXX_Marshal ¶
func (m *EventRetire) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRetire) XXX_Merge ¶
func (m *EventRetire) XXX_Merge(src proto.Message)
func (*EventRetire) XXX_Size ¶
func (m *EventRetire) XXX_Size() int
func (*EventRetire) XXX_Unmarshal ¶
func (m *EventRetire) XXX_Unmarshal(b []byte) error
type EventSell ¶
type EventSell struct { // order_id is the unique ID of sell order. OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // batch_denom is the credit batch being sold. BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // quantity is the quantity of credits being sold. Quantity string `protobuf:"bytes,3,opt,name=quantity,proto3" json:"quantity,omitempty"` // ask_price is the price the seller is asking for each unit of the // batch_denom. Each credit unit of the batch will be sold for at least the // ask_price or more. AskPrice *types.Coin `protobuf:"bytes,4,opt,name=ask_price,json=askPrice,proto3" json:"ask_price,omitempty"` // disable_auto_retire disables auto-retirement of credits which allows a // buyer to disable auto-retirement in their buy order enabling them to // resell the credits to another buyer. DisableAutoRetire bool `protobuf:"varint,5,opt,name=disable_auto_retire,json=disableAutoRetire,proto3" json:"disable_auto_retire,omitempty"` }
EventSell is an event emitted when a sell order is created.
func (*EventSell) Descriptor ¶
func (*EventSell) GetAskPrice ¶
func (*EventSell) GetBatchDenom ¶
func (*EventSell) GetDisableAutoRetire ¶
func (*EventSell) GetOrderId ¶
func (*EventSell) GetQuantity ¶
func (*EventSell) MarshalToSizedBuffer ¶
func (*EventSell) ProtoMessage ¶
func (*EventSell) ProtoMessage()
func (*EventSell) XXX_DiscardUnknown ¶
func (m *EventSell) XXX_DiscardUnknown()
func (*EventSell) XXX_Marshal ¶
func (*EventSell) XXX_Unmarshal ¶
type EventUpdateSellOrder ¶
type EventUpdateSellOrder struct { // owner is the owner of the sell orders. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // sell_order_id is the ID of an existing sell order. SellOrderId uint64 `protobuf:"varint,2,opt,name=sell_order_id,json=sellOrderId,proto3" json:"sell_order_id,omitempty"` // batch_denom is the credit batch being sold. BatchDenom string `protobuf:"bytes,3,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // new_quantity is the updated quantity of credits available to sell, if it // is set to zero then the order is cancelled. NewQuantity string `protobuf:"bytes,4,opt,name=new_quantity,json=newQuantity,proto3" json:"new_quantity,omitempty"` // new_ask_price is the new ask price for this sell order NewAskPrice *types.Coin `protobuf:"bytes,5,opt,name=new_ask_price,json=newAskPrice,proto3" json:"new_ask_price,omitempty"` // disable_auto_retire updates the disable_auto_retire field in the sell order. DisableAutoRetire bool `protobuf:"varint,6,opt,name=disable_auto_retire,json=disableAutoRetire,proto3" json:"disable_auto_retire,omitempty"` }
EventUpdateSellOrder is an event emitted when a sell order is updated.
func (*EventUpdateSellOrder) Descriptor ¶
func (*EventUpdateSellOrder) Descriptor() ([]byte, []int)
func (*EventUpdateSellOrder) GetBatchDenom ¶
func (m *EventUpdateSellOrder) GetBatchDenom() string
func (*EventUpdateSellOrder) GetDisableAutoRetire ¶
func (m *EventUpdateSellOrder) GetDisableAutoRetire() bool
func (*EventUpdateSellOrder) GetNewAskPrice ¶
func (m *EventUpdateSellOrder) GetNewAskPrice() *types.Coin
func (*EventUpdateSellOrder) GetNewQuantity ¶
func (m *EventUpdateSellOrder) GetNewQuantity() string
func (*EventUpdateSellOrder) GetOwner ¶
func (m *EventUpdateSellOrder) GetOwner() string
func (*EventUpdateSellOrder) GetSellOrderId ¶
func (m *EventUpdateSellOrder) GetSellOrderId() uint64
func (*EventUpdateSellOrder) Marshal ¶
func (m *EventUpdateSellOrder) Marshal() (dAtA []byte, err error)
func (*EventUpdateSellOrder) MarshalTo ¶
func (m *EventUpdateSellOrder) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateSellOrder) MarshalToSizedBuffer ¶
func (m *EventUpdateSellOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateSellOrder) ProtoMessage ¶
func (*EventUpdateSellOrder) ProtoMessage()
func (*EventUpdateSellOrder) Reset ¶
func (m *EventUpdateSellOrder) Reset()
func (*EventUpdateSellOrder) Size ¶
func (m *EventUpdateSellOrder) Size() (n int)
func (*EventUpdateSellOrder) String ¶
func (m *EventUpdateSellOrder) String() string
func (*EventUpdateSellOrder) Unmarshal ¶
func (m *EventUpdateSellOrder) Unmarshal(dAtA []byte) error
func (*EventUpdateSellOrder) XXX_DiscardUnknown ¶
func (m *EventUpdateSellOrder) XXX_DiscardUnknown()
func (*EventUpdateSellOrder) XXX_Marshal ¶
func (m *EventUpdateSellOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateSellOrder) XXX_Merge ¶
func (m *EventUpdateSellOrder) XXX_Merge(src proto.Message)
func (*EventUpdateSellOrder) XXX_Size ¶
func (m *EventUpdateSellOrder) XXX_Size() int
func (*EventUpdateSellOrder) XXX_Unmarshal ¶
func (m *EventUpdateSellOrder) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // Params contains the updateable global parameters for use with the x/params // module Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // class_info is the list of credit class info. ClassInfo []*ClassInfo `protobuf:"bytes,2,rep,name=class_info,json=classInfo,proto3" json:"class_info,omitempty"` // batch_info is the list of credit batch info. BatchInfo []*BatchInfo `protobuf:"bytes,3,rep,name=batch_info,json=batchInfo,proto3" json:"batch_info,omitempty"` // sequences is the list of credit type sequence. Sequences []*CreditTypeSeq `protobuf:"bytes,4,rep,name=sequences,proto3" json:"sequences,omitempty"` // balances is the list of credit batch tradable/retired units. Balances []*Balance `protobuf:"bytes,5,rep,name=balances,proto3" json:"balances,omitempty"` // supplies is the list of credit batch tradable/retired supply. Supplies []*Supply `protobuf:"bytes,6,rep,name=supplies,proto3" json:"supplies,omitempty"` }
GenesisState defines ecocredit module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState returns a default ecocredit module genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetBalances ¶
func (m *GenesisState) GetBalances() []*Balance
func (*GenesisState) GetBatchInfo ¶
func (m *GenesisState) GetBatchInfo() []*BatchInfo
func (*GenesisState) GetClassInfo ¶
func (m *GenesisState) GetClassInfo() []*ClassInfo
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetSequences ¶
func (m *GenesisState) GetSequences() []*CreditTypeSeq
func (*GenesisState) GetSupplies ¶
func (m *GenesisState) GetSupplies() []*Supply
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) Validate ¶
func (s *GenesisState) Validate() error
Validate performs basic validation for each credit-batch, it returns an error if credit-batch tradable or retired supply does not match the sum of all tradable or retired balances
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 MsgAllowAskDenom ¶
type MsgAllowAskDenom struct { // root_address is the address of the governance account which can authorize ask denoms RootAddress string `protobuf:"bytes,1,opt,name=root_address,json=rootAddress,proto3" json:"root_address,omitempty"` // denom is the denom to allow (ex. ibc/GLKHDSG423SGS) Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` // display_denom is the denom to display to the user and is informational DisplayDenom string `protobuf:"bytes,3,opt,name=display_denom,json=displayDenom,proto3" json:"display_denom,omitempty"` // exponent is the exponent that relates the denom to the display_denom and is // informational Exponent uint32 `protobuf:"varint,4,opt,name=exponent,proto3" json:"exponent,omitempty"` }
MsgAllowAskDenom is the Msg/AllowAskDenom request type.
func (*MsgAllowAskDenom) Descriptor ¶
func (*MsgAllowAskDenom) Descriptor() ([]byte, []int)
func (*MsgAllowAskDenom) GetDenom ¶
func (m *MsgAllowAskDenom) GetDenom() string
func (*MsgAllowAskDenom) GetDisplayDenom ¶
func (m *MsgAllowAskDenom) GetDisplayDenom() string
func (*MsgAllowAskDenom) GetExponent ¶
func (m *MsgAllowAskDenom) GetExponent() uint32
func (*MsgAllowAskDenom) GetRootAddress ¶
func (m *MsgAllowAskDenom) GetRootAddress() string
func (MsgAllowAskDenom) GetSignBytes ¶
func (m MsgAllowAskDenom) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgAllowAskDenom) GetSigners ¶
func (m *MsgAllowAskDenom) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for MsgAllowAskDenom.
func (*MsgAllowAskDenom) Marshal ¶
func (m *MsgAllowAskDenom) Marshal() (dAtA []byte, err error)
func (*MsgAllowAskDenom) MarshalToSizedBuffer ¶
func (m *MsgAllowAskDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAllowAskDenom) ProtoMessage ¶
func (*MsgAllowAskDenom) ProtoMessage()
func (*MsgAllowAskDenom) Reset ¶
func (m *MsgAllowAskDenom) Reset()
func (MsgAllowAskDenom) Route ¶
func (m MsgAllowAskDenom) Route() string
Route implements the LegacyMsg interface.
func (*MsgAllowAskDenom) Size ¶
func (m *MsgAllowAskDenom) Size() (n int)
func (*MsgAllowAskDenom) String ¶
func (m *MsgAllowAskDenom) String() string
func (MsgAllowAskDenom) Type ¶
func (m MsgAllowAskDenom) Type() string
Type implements the LegacyMsg interface.
func (*MsgAllowAskDenom) Unmarshal ¶
func (m *MsgAllowAskDenom) Unmarshal(dAtA []byte) error
func (*MsgAllowAskDenom) ValidateBasic ¶
func (m *MsgAllowAskDenom) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgAllowAskDenom) XXX_DiscardUnknown ¶
func (m *MsgAllowAskDenom) XXX_DiscardUnknown()
func (*MsgAllowAskDenom) XXX_Marshal ¶
func (m *MsgAllowAskDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAllowAskDenom) XXX_Merge ¶
func (m *MsgAllowAskDenom) XXX_Merge(src proto.Message)
func (*MsgAllowAskDenom) XXX_Size ¶
func (m *MsgAllowAskDenom) XXX_Size() int
func (*MsgAllowAskDenom) XXX_Unmarshal ¶
func (m *MsgAllowAskDenom) XXX_Unmarshal(b []byte) error
type MsgAllowAskDenomResponse ¶
type MsgAllowAskDenomResponse struct { }
MsgAllowAskDenomResponse is the Msg/AllowAskDenom response type.
func (*MsgAllowAskDenomResponse) Descriptor ¶
func (*MsgAllowAskDenomResponse) Descriptor() ([]byte, []int)
func (*MsgAllowAskDenomResponse) Marshal ¶
func (m *MsgAllowAskDenomResponse) Marshal() (dAtA []byte, err error)
func (*MsgAllowAskDenomResponse) MarshalTo ¶
func (m *MsgAllowAskDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAllowAskDenomResponse) MarshalToSizedBuffer ¶
func (m *MsgAllowAskDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAllowAskDenomResponse) ProtoMessage ¶
func (*MsgAllowAskDenomResponse) ProtoMessage()
func (*MsgAllowAskDenomResponse) Reset ¶
func (m *MsgAllowAskDenomResponse) Reset()
func (*MsgAllowAskDenomResponse) Size ¶
func (m *MsgAllowAskDenomResponse) Size() (n int)
func (*MsgAllowAskDenomResponse) String ¶
func (m *MsgAllowAskDenomResponse) String() string
func (*MsgAllowAskDenomResponse) Unmarshal ¶
func (m *MsgAllowAskDenomResponse) Unmarshal(dAtA []byte) error
func (*MsgAllowAskDenomResponse) XXX_DiscardUnknown ¶
func (m *MsgAllowAskDenomResponse) XXX_DiscardUnknown()
func (*MsgAllowAskDenomResponse) XXX_Marshal ¶
func (m *MsgAllowAskDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAllowAskDenomResponse) XXX_Merge ¶
func (m *MsgAllowAskDenomResponse) XXX_Merge(src proto.Message)
func (*MsgAllowAskDenomResponse) XXX_Size ¶
func (m *MsgAllowAskDenomResponse) XXX_Size() int
func (*MsgAllowAskDenomResponse) XXX_Unmarshal ¶
func (m *MsgAllowAskDenomResponse) XXX_Unmarshal(b []byte) error
type MsgBuy ¶
type MsgBuy struct { // buyer is the address of the credit buyer. Buyer string `protobuf:"bytes,1,opt,name=buyer,proto3" json:"buyer,omitempty"` // orders are the new buy orders. Orders []*MsgBuy_Order `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders,omitempty"` }
MsgBuy is the Msg/Buy request type.
func (*MsgBuy) Descriptor ¶
func (*MsgBuy) GetOrders ¶
func (m *MsgBuy) GetOrders() []*MsgBuy_Order
func (MsgBuy) GetSignBytes ¶
GetSignBytes implements the LegacyMsg interface.
func (*MsgBuy) GetSigners ¶
func (m *MsgBuy) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for MsgBuy.
func (*MsgBuy) MarshalToSizedBuffer ¶
func (*MsgBuy) ProtoMessage ¶
func (*MsgBuy) ProtoMessage()
func (*MsgBuy) ValidateBasic ¶
ValidateBasic does a sanity check on the provided data.
func (*MsgBuy) XXX_DiscardUnknown ¶
func (m *MsgBuy) XXX_DiscardUnknown()
func (*MsgBuy) XXX_Marshal ¶
func (*MsgBuy) XXX_Unmarshal ¶
type MsgBuyResponse ¶
type MsgBuyResponse struct { // buy_order_ids are the buy order IDs of the newly created buy orders. Buy // orders may not settle instantaneously, but rather in batches at specified // batch epoch times. BuyOrderIds []uint64 `protobuf:"varint,1,rep,packed,name=buy_order_ids,json=buyOrderIds,proto3" json:"buy_order_ids,omitempty"` }
MsgBuyResponse is the Msg/Buy response type.
func (*MsgBuyResponse) Descriptor ¶
func (*MsgBuyResponse) Descriptor() ([]byte, []int)
func (*MsgBuyResponse) GetBuyOrderIds ¶
func (m *MsgBuyResponse) GetBuyOrderIds() []uint64
func (*MsgBuyResponse) Marshal ¶
func (m *MsgBuyResponse) Marshal() (dAtA []byte, err error)
func (*MsgBuyResponse) MarshalToSizedBuffer ¶
func (m *MsgBuyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBuyResponse) ProtoMessage ¶
func (*MsgBuyResponse) ProtoMessage()
func (*MsgBuyResponse) Reset ¶
func (m *MsgBuyResponse) Reset()
func (*MsgBuyResponse) Size ¶
func (m *MsgBuyResponse) Size() (n int)
func (*MsgBuyResponse) String ¶
func (m *MsgBuyResponse) String() string
func (*MsgBuyResponse) Unmarshal ¶
func (m *MsgBuyResponse) Unmarshal(dAtA []byte) error
func (*MsgBuyResponse) XXX_DiscardUnknown ¶
func (m *MsgBuyResponse) XXX_DiscardUnknown()
func (*MsgBuyResponse) XXX_Marshal ¶
func (m *MsgBuyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBuyResponse) XXX_Merge ¶
func (m *MsgBuyResponse) XXX_Merge(src proto.Message)
func (*MsgBuyResponse) XXX_Size ¶
func (m *MsgBuyResponse) XXX_Size() int
func (*MsgBuyResponse) XXX_Unmarshal ¶
func (m *MsgBuyResponse) XXX_Unmarshal(b []byte) error
type MsgBuy_Order ¶
type MsgBuy_Order struct { // selection is the buy order selection. Selection *MsgBuy_Order_Selection `protobuf:"bytes,1,opt,name=selection,proto3" json:"selection,omitempty"` // quantity is the quantity of credits to buy. If the quantity of credits // available is less than this amount the order will be partially filled // unless disable_partial_fill is true. Quantity string `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"` // bid price is the bid price for this buy order. A credit unit will be // settled at a purchase price that is no more than the bid price. The // buy order will fail if the buyer does not have enough funds available // to complete the purchase. BidPrice *types1.Coin `protobuf:"bytes,3,opt,name=bid_price,json=bidPrice,proto3" json:"bid_price,omitempty"` // disable_auto_retire allows auto-retirement to be disabled. If it is set to true // the credits will not auto-retire and can be resold assuming that the // corresponding sell order has auto-retirement disabled. If the sell order // hasn't disabled auto-retirement and the buy order tries to disable it, // that buy order will fail. DisableAutoRetire bool `protobuf:"varint,4,opt,name=disable_auto_retire,json=disableAutoRetire,proto3" json:"disable_auto_retire,omitempty"` // disable_partial_fill disables the default behavior of partially filling // buy orders if the requested quantity is not available. DisablePartialFill bool `protobuf:"varint,5,opt,name=disable_partial_fill,json=disablePartialFill,proto3" json:"disable_partial_fill,omitempty"` }
Order is a buy order.
func (*MsgBuy_Order) Descriptor ¶
func (*MsgBuy_Order) Descriptor() ([]byte, []int)
func (*MsgBuy_Order) GetBidPrice ¶
func (m *MsgBuy_Order) GetBidPrice() *types1.Coin
func (*MsgBuy_Order) GetDisableAutoRetire ¶
func (m *MsgBuy_Order) GetDisableAutoRetire() bool
func (*MsgBuy_Order) GetDisablePartialFill ¶
func (m *MsgBuy_Order) GetDisablePartialFill() bool
func (*MsgBuy_Order) GetQuantity ¶
func (m *MsgBuy_Order) GetQuantity() string
func (*MsgBuy_Order) GetSelection ¶
func (m *MsgBuy_Order) GetSelection() *MsgBuy_Order_Selection
func (*MsgBuy_Order) Marshal ¶
func (m *MsgBuy_Order) Marshal() (dAtA []byte, err error)
func (*MsgBuy_Order) MarshalToSizedBuffer ¶
func (m *MsgBuy_Order) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBuy_Order) ProtoMessage ¶
func (*MsgBuy_Order) ProtoMessage()
func (*MsgBuy_Order) Reset ¶
func (m *MsgBuy_Order) Reset()
func (*MsgBuy_Order) Size ¶
func (m *MsgBuy_Order) Size() (n int)
func (*MsgBuy_Order) String ¶
func (m *MsgBuy_Order) String() string
func (*MsgBuy_Order) Unmarshal ¶
func (m *MsgBuy_Order) Unmarshal(dAtA []byte) error
func (*MsgBuy_Order) XXX_DiscardUnknown ¶
func (m *MsgBuy_Order) XXX_DiscardUnknown()
func (*MsgBuy_Order) XXX_Marshal ¶
func (m *MsgBuy_Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBuy_Order) XXX_Merge ¶
func (m *MsgBuy_Order) XXX_Merge(src proto.Message)
func (*MsgBuy_Order) XXX_Size ¶
func (m *MsgBuy_Order) XXX_Size() int
func (*MsgBuy_Order) XXX_Unmarshal ¶
func (m *MsgBuy_Order) XXX_Unmarshal(b []byte) error
type MsgBuy_Order_Selection ¶
type MsgBuy_Order_Selection struct { // sum defines the type of selection. // // Types that are valid to be assigned to Sum: // *MsgBuy_Order_Selection_SellOrderId Sum isMsgBuy_Order_Selection_Sum `protobuf_oneof:"sum"` }
Selection defines a buy order selection.
func (*MsgBuy_Order_Selection) Descriptor ¶
func (*MsgBuy_Order_Selection) Descriptor() ([]byte, []int)
func (*MsgBuy_Order_Selection) GetSellOrderId ¶
func (m *MsgBuy_Order_Selection) GetSellOrderId() uint64
func (*MsgBuy_Order_Selection) GetSum ¶
func (m *MsgBuy_Order_Selection) GetSum() isMsgBuy_Order_Selection_Sum
func (*MsgBuy_Order_Selection) Marshal ¶
func (m *MsgBuy_Order_Selection) Marshal() (dAtA []byte, err error)
func (*MsgBuy_Order_Selection) MarshalTo ¶
func (m *MsgBuy_Order_Selection) MarshalTo(dAtA []byte) (int, error)
func (*MsgBuy_Order_Selection) MarshalToSizedBuffer ¶
func (m *MsgBuy_Order_Selection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBuy_Order_Selection) ProtoMessage ¶
func (*MsgBuy_Order_Selection) ProtoMessage()
func (*MsgBuy_Order_Selection) Reset ¶
func (m *MsgBuy_Order_Selection) Reset()
func (*MsgBuy_Order_Selection) Size ¶
func (m *MsgBuy_Order_Selection) Size() (n int)
func (*MsgBuy_Order_Selection) String ¶
func (m *MsgBuy_Order_Selection) String() string
func (*MsgBuy_Order_Selection) Unmarshal ¶
func (m *MsgBuy_Order_Selection) Unmarshal(dAtA []byte) error
func (*MsgBuy_Order_Selection) XXX_DiscardUnknown ¶
func (m *MsgBuy_Order_Selection) XXX_DiscardUnknown()
func (*MsgBuy_Order_Selection) XXX_Marshal ¶
func (m *MsgBuy_Order_Selection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBuy_Order_Selection) XXX_Merge ¶
func (m *MsgBuy_Order_Selection) XXX_Merge(src proto.Message)
func (*MsgBuy_Order_Selection) XXX_OneofWrappers ¶
func (*MsgBuy_Order_Selection) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*MsgBuy_Order_Selection) XXX_Size ¶
func (m *MsgBuy_Order_Selection) XXX_Size() int
func (*MsgBuy_Order_Selection) XXX_Unmarshal ¶
func (m *MsgBuy_Order_Selection) XXX_Unmarshal(b []byte) error
type MsgBuy_Order_Selection_SellOrderId ¶
type MsgBuy_Order_Selection_SellOrderId struct {
SellOrderId uint64 `protobuf:"varint,1,opt,name=sell_order_id,json=sellOrderId,proto3,oneof" json:"sell_order_id,omitempty"`
}
func (*MsgBuy_Order_Selection_SellOrderId) MarshalTo ¶
func (m *MsgBuy_Order_Selection_SellOrderId) MarshalTo(dAtA []byte) (int, error)
func (*MsgBuy_Order_Selection_SellOrderId) MarshalToSizedBuffer ¶
func (m *MsgBuy_Order_Selection_SellOrderId) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBuy_Order_Selection_SellOrderId) Size ¶
func (m *MsgBuy_Order_Selection_SellOrderId) Size() (n int)
type MsgCancel ¶
type MsgCancel struct { // holder is the credit holder address. Holder string `protobuf:"bytes,1,opt,name=holder,proto3" json:"holder,omitempty"` // credits are the credits being cancelled. Credits []*MsgCancel_CancelCredits `protobuf:"bytes,2,rep,name=credits,proto3" json:"credits,omitempty"` }
MsgCancel is the Msg/Cancel request type.
func (*MsgCancel) Descriptor ¶
func (*MsgCancel) GetCredits ¶
func (m *MsgCancel) GetCredits() []*MsgCancel_CancelCredits
func (MsgCancel) GetSignBytes ¶
GetSignBytes implements the LegacyMsg interface.
func (*MsgCancel) GetSigners ¶
func (m *MsgCancel) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for MsgCancel.
func (*MsgCancel) MarshalToSizedBuffer ¶
func (*MsgCancel) ProtoMessage ¶
func (*MsgCancel) ProtoMessage()
func (*MsgCancel) ValidateBasic ¶
ValidateBasic does a sanity check on the provided data.
func (*MsgCancel) XXX_DiscardUnknown ¶
func (m *MsgCancel) XXX_DiscardUnknown()
func (*MsgCancel) XXX_Marshal ¶
func (*MsgCancel) XXX_Unmarshal ¶
type MsgCancelResponse ¶
type MsgCancelResponse struct { }
MsgCancelResponse is the Msg/Cancel response type.
func (*MsgCancelResponse) Descriptor ¶
func (*MsgCancelResponse) Descriptor() ([]byte, []int)
func (*MsgCancelResponse) Marshal ¶
func (m *MsgCancelResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelResponse) MarshalTo ¶
func (m *MsgCancelResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelResponse) MarshalToSizedBuffer ¶
func (m *MsgCancelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelResponse) ProtoMessage ¶
func (*MsgCancelResponse) ProtoMessage()
func (*MsgCancelResponse) Reset ¶
func (m *MsgCancelResponse) Reset()
func (*MsgCancelResponse) Size ¶
func (m *MsgCancelResponse) Size() (n int)
func (*MsgCancelResponse) String ¶
func (m *MsgCancelResponse) String() string
func (*MsgCancelResponse) Unmarshal ¶
func (m *MsgCancelResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelResponse) XXX_DiscardUnknown ¶
func (m *MsgCancelResponse) XXX_DiscardUnknown()
func (*MsgCancelResponse) XXX_Marshal ¶
func (m *MsgCancelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelResponse) XXX_Merge ¶
func (m *MsgCancelResponse) XXX_Merge(src proto.Message)
func (*MsgCancelResponse) XXX_Size ¶
func (m *MsgCancelResponse) XXX_Size() int
func (*MsgCancelResponse) XXX_Unmarshal ¶
func (m *MsgCancelResponse) XXX_Unmarshal(b []byte) error
type MsgCancel_CancelCredits ¶
type MsgCancel_CancelCredits struct { // batch_denom is the unique ID of the credit batch. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // amount is the number of credits being cancelled. // Decimal values are acceptable within the precision returned by // Query/Precision. Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` }
CancelCredits specifies a batch and the number of credits being cancelled.
func (*MsgCancel_CancelCredits) Descriptor ¶
func (*MsgCancel_CancelCredits) Descriptor() ([]byte, []int)
func (*MsgCancel_CancelCredits) GetAmount ¶
func (m *MsgCancel_CancelCredits) GetAmount() string
func (*MsgCancel_CancelCredits) GetBatchDenom ¶
func (m *MsgCancel_CancelCredits) GetBatchDenom() string
func (*MsgCancel_CancelCredits) Marshal ¶
func (m *MsgCancel_CancelCredits) Marshal() (dAtA []byte, err error)
func (*MsgCancel_CancelCredits) MarshalTo ¶
func (m *MsgCancel_CancelCredits) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancel_CancelCredits) MarshalToSizedBuffer ¶
func (m *MsgCancel_CancelCredits) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancel_CancelCredits) ProtoMessage ¶
func (*MsgCancel_CancelCredits) ProtoMessage()
func (*MsgCancel_CancelCredits) Reset ¶
func (m *MsgCancel_CancelCredits) Reset()
func (*MsgCancel_CancelCredits) Size ¶
func (m *MsgCancel_CancelCredits) Size() (n int)
func (*MsgCancel_CancelCredits) String ¶
func (m *MsgCancel_CancelCredits) String() string
func (*MsgCancel_CancelCredits) Unmarshal ¶
func (m *MsgCancel_CancelCredits) Unmarshal(dAtA []byte) error
func (*MsgCancel_CancelCredits) XXX_DiscardUnknown ¶
func (m *MsgCancel_CancelCredits) XXX_DiscardUnknown()
func (*MsgCancel_CancelCredits) XXX_Marshal ¶
func (m *MsgCancel_CancelCredits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancel_CancelCredits) XXX_Merge ¶
func (m *MsgCancel_CancelCredits) XXX_Merge(src proto.Message)
func (*MsgCancel_CancelCredits) XXX_Size ¶
func (m *MsgCancel_CancelCredits) XXX_Size() int
func (*MsgCancel_CancelCredits) XXX_Unmarshal ¶
func (m *MsgCancel_CancelCredits) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // CreateClass creates a new credit class with an approved list of issuers and // optional metadata. CreateClass(ctx context.Context, in *MsgCreateClass, opts ...grpc.CallOption) (*MsgCreateClassResponse, error) // CreateBatch creates a new batch of credits for an existing credit class. // This will create a new batch denom with a fixed supply. Issued credits can // be distributed to recipients in either tradable or retired form. CreateBatch(ctx context.Context, in *MsgCreateBatch, opts ...grpc.CallOption) (*MsgCreateBatchResponse, error) // Send sends tradable credits from one account to another account. Sent // credits can either be tradable or retired on receipt. Send(ctx context.Context, in *MsgSend, opts ...grpc.CallOption) (*MsgSendResponse, error) // Retire retires a specified number of credits in the holder's account. Retire(ctx context.Context, in *MsgRetire, opts ...grpc.CallOption) (*MsgRetireResponse, error) // Cancel removes a number of credits from the holder's account and also // deducts them from the tradable supply, effectively cancelling their // issuance on Regen Ledger Cancel(ctx context.Context, in *MsgCancel, opts ...grpc.CallOption) (*MsgCancelResponse, error) // UpdateClassAdmin updates the credit class admin UpdateClassAdmin(ctx context.Context, in *MsgUpdateClassAdmin, opts ...grpc.CallOption) (*MsgUpdateClassAdminResponse, error) // UpdateClassIssuers updates the credit class issuer list UpdateClassIssuers(ctx context.Context, in *MsgUpdateClassIssuers, opts ...grpc.CallOption) (*MsgUpdateClassIssuersResponse, error) // UpdateClassMetadata updates the credit class metadata UpdateClassMetadata(ctx context.Context, in *MsgUpdateClassMetadata, opts ...grpc.CallOption) (*MsgUpdateClassMetadataResponse, error) // Sell creates new sell orders. Sell(ctx context.Context, in *MsgSell, opts ...grpc.CallOption) (*MsgSellResponse, error) // UpdateSellOrders updates existing sell orders. UpdateSellOrders(ctx context.Context, in *MsgUpdateSellOrders, opts ...grpc.CallOption) (*MsgUpdateSellOrdersResponse, error) // Buy creates credit buy orders. Buy(ctx context.Context, in *MsgBuy, opts ...grpc.CallOption) (*MsgBuyResponse, error) // AllowAskDenom is a governance operation which authorizes a new ask denom to be used in sell orders AllowAskDenom(ctx context.Context, in *MsgAllowAskDenom, opts ...grpc.CallOption) (*MsgAllowAskDenomResponse, 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 MsgCreateBatch ¶
type MsgCreateBatch struct { // issuer is the address of the batch issuer. Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` // class_id is the unique ID of the class. ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // issuance are the credits issued in the batch. Issuance []*MsgCreateBatch_BatchIssuance `protobuf:"bytes,3,rep,name=issuance,proto3" json:"issuance,omitempty"` // metadata is any arbitrary metadata attached to the credit batch. Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // start_date is the beginning of the period during which this credit batch // was quantified and verified. StartDate *time.Time `protobuf:"bytes,5,opt,name=start_date,json=startDate,proto3,stdtime" json:"start_date,omitempty"` // end_date is the end of the period during which this credit batch was // quantified and verified. EndDate *time.Time `protobuf:"bytes,6,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"` // project_location is the location of the project backing the credits in this // batch. It is a string of the form // <country-code>[-<sub-national-code>[ <postal-code>]], with the first two // fields conforming to ISO 3166-2, and postal-code being up to 64 // alphanumeric characters. country-code is required, while sub-national-code // and postal-code can be added for increasing precision. ProjectLocation string `protobuf:"bytes,7,opt,name=project_location,json=projectLocation,proto3" json:"project_location,omitempty"` }
MsgCreateBatch is the Msg/CreateBatch request type.
func (*MsgCreateBatch) Descriptor ¶
func (*MsgCreateBatch) Descriptor() ([]byte, []int)
func (*MsgCreateBatch) GetClassId ¶
func (m *MsgCreateBatch) GetClassId() string
func (*MsgCreateBatch) GetEndDate ¶
func (m *MsgCreateBatch) GetEndDate() *time.Time
func (*MsgCreateBatch) GetIssuance ¶
func (m *MsgCreateBatch) GetIssuance() []*MsgCreateBatch_BatchIssuance
func (*MsgCreateBatch) GetIssuer ¶
func (m *MsgCreateBatch) GetIssuer() string
func (*MsgCreateBatch) GetMetadata ¶
func (m *MsgCreateBatch) GetMetadata() []byte
func (*MsgCreateBatch) GetProjectLocation ¶
func (m *MsgCreateBatch) GetProjectLocation() string
func (MsgCreateBatch) GetSignBytes ¶
func (m MsgCreateBatch) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgCreateBatch) GetSigners ¶
func (m *MsgCreateBatch) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for MsgCreateBatch.
func (*MsgCreateBatch) GetStartDate ¶
func (m *MsgCreateBatch) GetStartDate() *time.Time
func (*MsgCreateBatch) Marshal ¶
func (m *MsgCreateBatch) Marshal() (dAtA []byte, err error)
func (*MsgCreateBatch) MarshalToSizedBuffer ¶
func (m *MsgCreateBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateBatch) ProtoMessage ¶
func (*MsgCreateBatch) ProtoMessage()
func (*MsgCreateBatch) Reset ¶
func (m *MsgCreateBatch) Reset()
func (MsgCreateBatch) Route ¶
func (m MsgCreateBatch) Route() string
Route implements the LegacyMsg interface.
func (*MsgCreateBatch) Size ¶
func (m *MsgCreateBatch) Size() (n int)
func (*MsgCreateBatch) String ¶
func (m *MsgCreateBatch) String() string
func (MsgCreateBatch) Type ¶
func (m MsgCreateBatch) Type() string
Type implements the LegacyMsg interface.
func (*MsgCreateBatch) Unmarshal ¶
func (m *MsgCreateBatch) Unmarshal(dAtA []byte) error
func (*MsgCreateBatch) ValidateBasic ¶
func (m *MsgCreateBatch) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgCreateBatch) XXX_DiscardUnknown ¶
func (m *MsgCreateBatch) XXX_DiscardUnknown()
func (*MsgCreateBatch) XXX_Marshal ¶
func (m *MsgCreateBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateBatch) XXX_Merge ¶
func (m *MsgCreateBatch) XXX_Merge(src proto.Message)
func (*MsgCreateBatch) XXX_Size ¶
func (m *MsgCreateBatch) XXX_Size() int
func (*MsgCreateBatch) XXX_Unmarshal ¶
func (m *MsgCreateBatch) XXX_Unmarshal(b []byte) error
type MsgCreateBatchResponse ¶
type MsgCreateBatchResponse struct { // batch_denom is the unique denomination ID of the newly created batch. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` }
MsgCreateBatchResponse is the Msg/CreateBatch response type.
func (*MsgCreateBatchResponse) Descriptor ¶
func (*MsgCreateBatchResponse) Descriptor() ([]byte, []int)
func (*MsgCreateBatchResponse) GetBatchDenom ¶
func (m *MsgCreateBatchResponse) GetBatchDenom() string
func (*MsgCreateBatchResponse) Marshal ¶
func (m *MsgCreateBatchResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateBatchResponse) MarshalTo ¶
func (m *MsgCreateBatchResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateBatchResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateBatchResponse) ProtoMessage ¶
func (*MsgCreateBatchResponse) ProtoMessage()
func (*MsgCreateBatchResponse) Reset ¶
func (m *MsgCreateBatchResponse) Reset()
func (*MsgCreateBatchResponse) Size ¶
func (m *MsgCreateBatchResponse) Size() (n int)
func (*MsgCreateBatchResponse) String ¶
func (m *MsgCreateBatchResponse) String() string
func (*MsgCreateBatchResponse) Unmarshal ¶
func (m *MsgCreateBatchResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateBatchResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateBatchResponse) XXX_DiscardUnknown()
func (*MsgCreateBatchResponse) XXX_Marshal ¶
func (m *MsgCreateBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateBatchResponse) XXX_Merge ¶
func (m *MsgCreateBatchResponse) XXX_Merge(src proto.Message)
func (*MsgCreateBatchResponse) XXX_Size ¶
func (m *MsgCreateBatchResponse) XXX_Size() int
func (*MsgCreateBatchResponse) XXX_Unmarshal ¶
func (m *MsgCreateBatchResponse) XXX_Unmarshal(b []byte) error
type MsgCreateBatch_BatchIssuance ¶
type MsgCreateBatch_BatchIssuance struct { // recipient is the account of the recipient. Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"` // tradable_amount is the number of credits in this issuance that can be // traded by this recipient. Decimal values are acceptable. TradableAmount string `protobuf:"bytes,2,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"` // retired_amount is the number of credits in this issuance that are // effectively retired by the issuer on receipt. Decimal values are // acceptable. RetiredAmount string `protobuf:"bytes,3,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"` // retirement_location is the location of the beneficiary or buyer of the // retired credits. This must be provided if retired_amount is positive. It // is a string of the form // <country-code>[-<sub-national-code>[ <postal-code>]], with the first two // fields conforming to ISO 3166-2, and postal-code being up to 64 // alphanumeric characters. RetirementLocation string `protobuf:"bytes,4,opt,name=retirement_location,json=retirementLocation,proto3" json:"retirement_location,omitempty"` }
BatchIssuance represents the issuance of some credits in a batch to a single recipient.
func (*MsgCreateBatch_BatchIssuance) Descriptor ¶
func (*MsgCreateBatch_BatchIssuance) Descriptor() ([]byte, []int)
func (*MsgCreateBatch_BatchIssuance) GetRecipient ¶
func (m *MsgCreateBatch_BatchIssuance) GetRecipient() string
func (*MsgCreateBatch_BatchIssuance) GetRetiredAmount ¶
func (m *MsgCreateBatch_BatchIssuance) GetRetiredAmount() string
func (*MsgCreateBatch_BatchIssuance) GetRetirementLocation ¶
func (m *MsgCreateBatch_BatchIssuance) GetRetirementLocation() string
func (*MsgCreateBatch_BatchIssuance) GetTradableAmount ¶
func (m *MsgCreateBatch_BatchIssuance) GetTradableAmount() string
func (*MsgCreateBatch_BatchIssuance) Marshal ¶
func (m *MsgCreateBatch_BatchIssuance) Marshal() (dAtA []byte, err error)
func (*MsgCreateBatch_BatchIssuance) MarshalTo ¶
func (m *MsgCreateBatch_BatchIssuance) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateBatch_BatchIssuance) MarshalToSizedBuffer ¶
func (m *MsgCreateBatch_BatchIssuance) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateBatch_BatchIssuance) ProtoMessage ¶
func (*MsgCreateBatch_BatchIssuance) ProtoMessage()
func (*MsgCreateBatch_BatchIssuance) Reset ¶
func (m *MsgCreateBatch_BatchIssuance) Reset()
func (*MsgCreateBatch_BatchIssuance) Size ¶
func (m *MsgCreateBatch_BatchIssuance) Size() (n int)
func (*MsgCreateBatch_BatchIssuance) String ¶
func (m *MsgCreateBatch_BatchIssuance) String() string
func (*MsgCreateBatch_BatchIssuance) Unmarshal ¶
func (m *MsgCreateBatch_BatchIssuance) Unmarshal(dAtA []byte) error
func (*MsgCreateBatch_BatchIssuance) XXX_DiscardUnknown ¶
func (m *MsgCreateBatch_BatchIssuance) XXX_DiscardUnknown()
func (*MsgCreateBatch_BatchIssuance) XXX_Marshal ¶
func (m *MsgCreateBatch_BatchIssuance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateBatch_BatchIssuance) XXX_Merge ¶
func (m *MsgCreateBatch_BatchIssuance) XXX_Merge(src proto.Message)
func (*MsgCreateBatch_BatchIssuance) XXX_Size ¶
func (m *MsgCreateBatch_BatchIssuance) XXX_Size() int
func (*MsgCreateBatch_BatchIssuance) XXX_Unmarshal ¶
func (m *MsgCreateBatch_BatchIssuance) XXX_Unmarshal(b []byte) error
type MsgCreateClass ¶
type MsgCreateClass struct { // admin is the address of the account that created the credit class. Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"` // issuers are the account addresses of the approved issuers. Issuers []string `protobuf:"bytes,2,rep,name=issuers,proto3" json:"issuers,omitempty"` // metadata is any arbitrary metadata to attached to the credit class. Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // credit_type_name describes the type of credit (e.g. "carbon", "biodiversity"). CreditTypeName string `protobuf:"bytes,4,opt,name=credit_type_name,json=creditTypeName,proto3" json:"credit_type_name,omitempty"` }
MsgCreateClass is the Msg/CreateClass request type.
func (*MsgCreateClass) Descriptor ¶
func (*MsgCreateClass) Descriptor() ([]byte, []int)
func (*MsgCreateClass) GetAdmin ¶
func (m *MsgCreateClass) GetAdmin() string
func (*MsgCreateClass) GetCreditTypeName ¶
func (m *MsgCreateClass) GetCreditTypeName() string
func (*MsgCreateClass) GetIssuers ¶
func (m *MsgCreateClass) GetIssuers() []string
func (*MsgCreateClass) GetMetadata ¶
func (m *MsgCreateClass) GetMetadata() []byte
func (MsgCreateClass) GetSignBytes ¶
func (m MsgCreateClass) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgCreateClass) GetSigners ¶
func (m *MsgCreateClass) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for MsgCreateClass.
func (*MsgCreateClass) Marshal ¶
func (m *MsgCreateClass) Marshal() (dAtA []byte, err error)
func (*MsgCreateClass) MarshalToSizedBuffer ¶
func (m *MsgCreateClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateClass) ProtoMessage ¶
func (*MsgCreateClass) ProtoMessage()
func (*MsgCreateClass) Reset ¶
func (m *MsgCreateClass) Reset()
func (MsgCreateClass) Route ¶
func (m MsgCreateClass) Route() string
Route implements the LegacyMsg interface.
func (*MsgCreateClass) Size ¶
func (m *MsgCreateClass) Size() (n int)
func (*MsgCreateClass) String ¶
func (m *MsgCreateClass) String() string
func (MsgCreateClass) Type ¶
func (m MsgCreateClass) Type() string
Type implements the LegacyMsg interface.
func (*MsgCreateClass) Unmarshal ¶
func (m *MsgCreateClass) Unmarshal(dAtA []byte) error
func (*MsgCreateClass) ValidateBasic ¶
func (m *MsgCreateClass) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgCreateClass) XXX_DiscardUnknown ¶
func (m *MsgCreateClass) XXX_DiscardUnknown()
func (*MsgCreateClass) XXX_Marshal ¶
func (m *MsgCreateClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateClass) XXX_Merge ¶
func (m *MsgCreateClass) XXX_Merge(src proto.Message)
func (*MsgCreateClass) XXX_Size ¶
func (m *MsgCreateClass) XXX_Size() int
func (*MsgCreateClass) XXX_Unmarshal ¶
func (m *MsgCreateClass) XXX_Unmarshal(b []byte) error
type MsgCreateClassResponse ¶
type MsgCreateClassResponse struct { // class_id is the unique ID of the newly created credit class. ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` }
MsgCreateClassResponse is the Msg/CreateClass response type.
func (*MsgCreateClassResponse) Descriptor ¶
func (*MsgCreateClassResponse) Descriptor() ([]byte, []int)
func (*MsgCreateClassResponse) GetClassId ¶
func (m *MsgCreateClassResponse) GetClassId() string
func (*MsgCreateClassResponse) Marshal ¶
func (m *MsgCreateClassResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateClassResponse) MarshalTo ¶
func (m *MsgCreateClassResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateClassResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateClassResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateClassResponse) ProtoMessage ¶
func (*MsgCreateClassResponse) ProtoMessage()
func (*MsgCreateClassResponse) Reset ¶
func (m *MsgCreateClassResponse) Reset()
func (*MsgCreateClassResponse) Size ¶
func (m *MsgCreateClassResponse) Size() (n int)
func (*MsgCreateClassResponse) String ¶
func (m *MsgCreateClassResponse) String() string
func (*MsgCreateClassResponse) Unmarshal ¶
func (m *MsgCreateClassResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateClassResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateClassResponse) XXX_DiscardUnknown()
func (*MsgCreateClassResponse) XXX_Marshal ¶
func (m *MsgCreateClassResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateClassResponse) XXX_Merge ¶
func (m *MsgCreateClassResponse) XXX_Merge(src proto.Message)
func (*MsgCreateClassResponse) XXX_Size ¶
func (m *MsgCreateClassResponse) XXX_Size() int
func (*MsgCreateClassResponse) XXX_Unmarshal ¶
func (m *MsgCreateClassResponse) XXX_Unmarshal(b []byte) error
type MsgRetire ¶
type MsgRetire struct { // holder is the credit holder address. Holder string `protobuf:"bytes,1,opt,name=holder,proto3" json:"holder,omitempty"` // credits are the credits being retired. Credits []*MsgRetire_RetireCredits `protobuf:"bytes,2,rep,name=credits,proto3" json:"credits,omitempty"` // location is the location of the beneficiary or buyer of the retired // credits. It is a string of the form // <country-code>[-<sub-national-code>[ <postal-code>]], with the first two // fields conforming to ISO 3166-2, and postal-code being up to 64 // alphanumeric characters. Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` }
MsgRetire is the Msg/Retire request type.
func (*MsgRetire) Descriptor ¶
func (*MsgRetire) GetCredits ¶
func (m *MsgRetire) GetCredits() []*MsgRetire_RetireCredits
func (*MsgRetire) GetLocation ¶
func (MsgRetire) GetSignBytes ¶
GetSignBytes implements the LegacyMsg interface.
func (*MsgRetire) GetSigners ¶
func (m *MsgRetire) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for MsgRetire.
func (*MsgRetire) MarshalToSizedBuffer ¶
func (*MsgRetire) ProtoMessage ¶
func (*MsgRetire) ProtoMessage()
func (*MsgRetire) ValidateBasic ¶
ValidateBasic does a sanity check on the provided data.
func (*MsgRetire) XXX_DiscardUnknown ¶
func (m *MsgRetire) XXX_DiscardUnknown()
func (*MsgRetire) XXX_Marshal ¶
func (*MsgRetire) XXX_Unmarshal ¶
type MsgRetireResponse ¶
type MsgRetireResponse struct { }
MsgRetire is the Msg/Retire response type.
func (*MsgRetireResponse) Descriptor ¶
func (*MsgRetireResponse) Descriptor() ([]byte, []int)
func (*MsgRetireResponse) Marshal ¶
func (m *MsgRetireResponse) Marshal() (dAtA []byte, err error)
func (*MsgRetireResponse) MarshalTo ¶
func (m *MsgRetireResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRetireResponse) MarshalToSizedBuffer ¶
func (m *MsgRetireResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRetireResponse) ProtoMessage ¶
func (*MsgRetireResponse) ProtoMessage()
func (*MsgRetireResponse) Reset ¶
func (m *MsgRetireResponse) Reset()
func (*MsgRetireResponse) Size ¶
func (m *MsgRetireResponse) Size() (n int)
func (*MsgRetireResponse) String ¶
func (m *MsgRetireResponse) String() string
func (*MsgRetireResponse) Unmarshal ¶
func (m *MsgRetireResponse) Unmarshal(dAtA []byte) error
func (*MsgRetireResponse) XXX_DiscardUnknown ¶
func (m *MsgRetireResponse) XXX_DiscardUnknown()
func (*MsgRetireResponse) XXX_Marshal ¶
func (m *MsgRetireResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRetireResponse) XXX_Merge ¶
func (m *MsgRetireResponse) XXX_Merge(src proto.Message)
func (*MsgRetireResponse) XXX_Size ¶
func (m *MsgRetireResponse) XXX_Size() int
func (*MsgRetireResponse) XXX_Unmarshal ¶
func (m *MsgRetireResponse) XXX_Unmarshal(b []byte) error
type MsgRetire_RetireCredits ¶
type MsgRetire_RetireCredits struct { // batch_denom is the unique ID of the credit batch. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // amount is the number of credits being retired. // Decimal values are acceptable within the precision returned by // Query/Precision. Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` }
RetireCredits specifies a batch and the number of credits being retired.
func (*MsgRetire_RetireCredits) Descriptor ¶
func (*MsgRetire_RetireCredits) Descriptor() ([]byte, []int)
func (*MsgRetire_RetireCredits) GetAmount ¶
func (m *MsgRetire_RetireCredits) GetAmount() string
func (*MsgRetire_RetireCredits) GetBatchDenom ¶
func (m *MsgRetire_RetireCredits) GetBatchDenom() string
func (*MsgRetire_RetireCredits) Marshal ¶
func (m *MsgRetire_RetireCredits) Marshal() (dAtA []byte, err error)
func (*MsgRetire_RetireCredits) MarshalTo ¶
func (m *MsgRetire_RetireCredits) MarshalTo(dAtA []byte) (int, error)
func (*MsgRetire_RetireCredits) MarshalToSizedBuffer ¶
func (m *MsgRetire_RetireCredits) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRetire_RetireCredits) ProtoMessage ¶
func (*MsgRetire_RetireCredits) ProtoMessage()
func (*MsgRetire_RetireCredits) Reset ¶
func (m *MsgRetire_RetireCredits) Reset()
func (*MsgRetire_RetireCredits) Size ¶
func (m *MsgRetire_RetireCredits) Size() (n int)
func (*MsgRetire_RetireCredits) String ¶
func (m *MsgRetire_RetireCredits) String() string
func (*MsgRetire_RetireCredits) Unmarshal ¶
func (m *MsgRetire_RetireCredits) Unmarshal(dAtA []byte) error
func (*MsgRetire_RetireCredits) XXX_DiscardUnknown ¶
func (m *MsgRetire_RetireCredits) XXX_DiscardUnknown()
func (*MsgRetire_RetireCredits) XXX_Marshal ¶
func (m *MsgRetire_RetireCredits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRetire_RetireCredits) XXX_Merge ¶
func (m *MsgRetire_RetireCredits) XXX_Merge(src proto.Message)
func (*MsgRetire_RetireCredits) XXX_Size ¶
func (m *MsgRetire_RetireCredits) XXX_Size() int
func (*MsgRetire_RetireCredits) XXX_Unmarshal ¶
func (m *MsgRetire_RetireCredits) XXX_Unmarshal(b []byte) error
type MsgSell ¶
type MsgSell struct { // owner is the address of the owner of the credits being sold. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // orders are the sell orders being created. Orders []*MsgSell_Order `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders,omitempty"` }
MsgSell is the Msg/Sell request type.
func (*MsgSell) Descriptor ¶
func (*MsgSell) GetOrders ¶
func (m *MsgSell) GetOrders() []*MsgSell_Order
func (MsgSell) GetSignBytes ¶
GetSignBytes implements the LegacyMsg interface.
func (*MsgSell) GetSigners ¶
func (m *MsgSell) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for MsgSell.
func (*MsgSell) MarshalToSizedBuffer ¶
func (*MsgSell) ProtoMessage ¶
func (*MsgSell) ProtoMessage()
func (*MsgSell) ValidateBasic ¶
ValidateBasic does a sanity check on the provided data.
func (*MsgSell) XXX_DiscardUnknown ¶
func (m *MsgSell) XXX_DiscardUnknown()
func (*MsgSell) XXX_Marshal ¶
func (*MsgSell) XXX_Unmarshal ¶
type MsgSellResponse ¶
type MsgSellResponse struct { // sell_order_ids are the sell order IDs of the newly created sell orders. SellOrderIds []uint64 `protobuf:"varint,1,rep,packed,name=sell_order_ids,json=sellOrderIds,proto3" json:"sell_order_ids,omitempty"` }
MsgSellResponse is the Msg/Sell response type.
func (*MsgSellResponse) Descriptor ¶
func (*MsgSellResponse) Descriptor() ([]byte, []int)
func (*MsgSellResponse) GetSellOrderIds ¶
func (m *MsgSellResponse) GetSellOrderIds() []uint64
func (*MsgSellResponse) Marshal ¶
func (m *MsgSellResponse) Marshal() (dAtA []byte, err error)
func (*MsgSellResponse) MarshalToSizedBuffer ¶
func (m *MsgSellResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSellResponse) ProtoMessage ¶
func (*MsgSellResponse) ProtoMessage()
func (*MsgSellResponse) Reset ¶
func (m *MsgSellResponse) Reset()
func (*MsgSellResponse) Size ¶
func (m *MsgSellResponse) Size() (n int)
func (*MsgSellResponse) String ¶
func (m *MsgSellResponse) String() string
func (*MsgSellResponse) Unmarshal ¶
func (m *MsgSellResponse) Unmarshal(dAtA []byte) error
func (*MsgSellResponse) XXX_DiscardUnknown ¶
func (m *MsgSellResponse) XXX_DiscardUnknown()
func (*MsgSellResponse) XXX_Marshal ¶
func (m *MsgSellResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSellResponse) XXX_Merge ¶
func (m *MsgSellResponse) XXX_Merge(src proto.Message)
func (*MsgSellResponse) XXX_Size ¶
func (m *MsgSellResponse) XXX_Size() int
func (*MsgSellResponse) XXX_Unmarshal ¶
func (m *MsgSellResponse) XXX_Unmarshal(b []byte) error
type MsgSell_Order ¶
type MsgSell_Order struct { // batch_denom is the credit batch being sold. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // quantity is the quantity of credits being sold from this batch. If it is // less then the balance of credits the owner has available at the time this // sell order is matched, the quantity will be adjusted downwards to the // owner's balance. However, if the balance of credits is less than this // quantity at the time the sell order is created, the operation will fail. Quantity string `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"` // ask_price is the price the seller is asking for each unit of the // batch_denom. Each credit unit of the batch will be sold for at least the // ask_price or more. AskPrice *types1.Coin `protobuf:"bytes,3,opt,name=ask_price,json=askPrice,proto3" json:"ask_price,omitempty"` // disable_auto_retire disables auto-retirement of credits which allows a // buyer to disable auto-retirement in their buy order enabling them to // resell the credits to another buyer. DisableAutoRetire bool `protobuf:"varint,4,opt,name=disable_auto_retire,json=disableAutoRetire,proto3" json:"disable_auto_retire,omitempty"` }
Order is the content of a new sell order.
func (*MsgSell_Order) Descriptor ¶
func (*MsgSell_Order) Descriptor() ([]byte, []int)
func (*MsgSell_Order) GetAskPrice ¶
func (m *MsgSell_Order) GetAskPrice() *types1.Coin
func (*MsgSell_Order) GetBatchDenom ¶
func (m *MsgSell_Order) GetBatchDenom() string
func (*MsgSell_Order) GetDisableAutoRetire ¶
func (m *MsgSell_Order) GetDisableAutoRetire() bool
func (*MsgSell_Order) GetQuantity ¶
func (m *MsgSell_Order) GetQuantity() string
func (*MsgSell_Order) Marshal ¶
func (m *MsgSell_Order) Marshal() (dAtA []byte, err error)
func (*MsgSell_Order) MarshalToSizedBuffer ¶
func (m *MsgSell_Order) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSell_Order) ProtoMessage ¶
func (*MsgSell_Order) ProtoMessage()
func (*MsgSell_Order) Reset ¶
func (m *MsgSell_Order) Reset()
func (*MsgSell_Order) Size ¶
func (m *MsgSell_Order) Size() (n int)
func (*MsgSell_Order) String ¶
func (m *MsgSell_Order) String() string
func (*MsgSell_Order) Unmarshal ¶
func (m *MsgSell_Order) Unmarshal(dAtA []byte) error
func (*MsgSell_Order) XXX_DiscardUnknown ¶
func (m *MsgSell_Order) XXX_DiscardUnknown()
func (*MsgSell_Order) XXX_Marshal ¶
func (m *MsgSell_Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSell_Order) XXX_Merge ¶
func (m *MsgSell_Order) XXX_Merge(src proto.Message)
func (*MsgSell_Order) XXX_Size ¶
func (m *MsgSell_Order) XXX_Size() int
func (*MsgSell_Order) XXX_Unmarshal ¶
func (m *MsgSell_Order) XXX_Unmarshal(b []byte) error
type MsgSend ¶
type MsgSend struct { // sender is the address of the account sending credits. Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // sender is the address of the account receiving credits. Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` // credits are the credits being sent. Credits []*MsgSend_SendCredits `protobuf:"bytes,3,rep,name=credits,proto3" json:"credits,omitempty"` }
MsgSend is the Msg/Send request type.
func (*MsgSend) Descriptor ¶
func (*MsgSend) GetCredits ¶
func (m *MsgSend) GetCredits() []*MsgSend_SendCredits
func (*MsgSend) GetRecipient ¶
func (MsgSend) GetSignBytes ¶
GetSignBytes implements the LegacyMsg interface.
func (*MsgSend) GetSigners ¶
func (m *MsgSend) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for MsgSend.
func (*MsgSend) MarshalToSizedBuffer ¶
func (*MsgSend) ProtoMessage ¶
func (*MsgSend) ProtoMessage()
func (*MsgSend) ValidateBasic ¶
ValidateBasic does a sanity check on the provided data.
func (*MsgSend) XXX_DiscardUnknown ¶
func (m *MsgSend) XXX_DiscardUnknown()
func (*MsgSend) XXX_Marshal ¶
func (*MsgSend) XXX_Unmarshal ¶
type MsgSendResponse ¶
type MsgSendResponse struct { }
MsgSendResponse is the Msg/Send response type.
func (*MsgSendResponse) Descriptor ¶
func (*MsgSendResponse) Descriptor() ([]byte, []int)
func (*MsgSendResponse) Marshal ¶
func (m *MsgSendResponse) Marshal() (dAtA []byte, err error)
func (*MsgSendResponse) MarshalToSizedBuffer ¶
func (m *MsgSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSendResponse) ProtoMessage ¶
func (*MsgSendResponse) ProtoMessage()
func (*MsgSendResponse) Reset ¶
func (m *MsgSendResponse) Reset()
func (*MsgSendResponse) Size ¶
func (m *MsgSendResponse) Size() (n int)
func (*MsgSendResponse) String ¶
func (m *MsgSendResponse) String() string
func (*MsgSendResponse) Unmarshal ¶
func (m *MsgSendResponse) Unmarshal(dAtA []byte) error
func (*MsgSendResponse) XXX_DiscardUnknown ¶
func (m *MsgSendResponse) XXX_DiscardUnknown()
func (*MsgSendResponse) XXX_Marshal ¶
func (m *MsgSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSendResponse) XXX_Merge ¶
func (m *MsgSendResponse) XXX_Merge(src proto.Message)
func (*MsgSendResponse) XXX_Size ¶
func (m *MsgSendResponse) XXX_Size() int
func (*MsgSendResponse) XXX_Unmarshal ¶
func (m *MsgSendResponse) XXX_Unmarshal(b []byte) error
type MsgSend_SendCredits ¶
type MsgSend_SendCredits struct { // batch_denom is the unique ID of the credit batch. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // tradable_amount is the number of credits in this transfer that can be // traded by the recipient. Decimal values are acceptable within the // precision returned by Query/Precision. TradableAmount string `protobuf:"bytes,2,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"` // retired_amount is the number of credits in this transfer that are // effectively retired by the issuer on receipt. Decimal values are // acceptable within the precision returned by Query/Precision. RetiredAmount string `protobuf:"bytes,3,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"` // retirement_location is the location of the beneficiary or buyer of the // retired credits. This must be provided if retired_amount is positive. It // is a string of the form // <country-code>[-<sub-national-code>[ <postal-code>]], with the first two // fields conforming to ISO 3166-2, and postal-code being up to 64 // alphanumeric characters. RetirementLocation string `protobuf:"bytes,4,opt,name=retirement_location,json=retirementLocation,proto3" json:"retirement_location,omitempty"` }
SendCredits specifies a batch and the number of credits being transferred. This is split into tradable credits, which will remain tradable on receipt, and retired credits, which will be retired on receipt.
func (*MsgSend_SendCredits) Descriptor ¶
func (*MsgSend_SendCredits) Descriptor() ([]byte, []int)
func (*MsgSend_SendCredits) GetBatchDenom ¶
func (m *MsgSend_SendCredits) GetBatchDenom() string
func (*MsgSend_SendCredits) GetRetiredAmount ¶
func (m *MsgSend_SendCredits) GetRetiredAmount() string
func (*MsgSend_SendCredits) GetRetirementLocation ¶
func (m *MsgSend_SendCredits) GetRetirementLocation() string
func (*MsgSend_SendCredits) GetTradableAmount ¶
func (m *MsgSend_SendCredits) GetTradableAmount() string
func (*MsgSend_SendCredits) Marshal ¶
func (m *MsgSend_SendCredits) Marshal() (dAtA []byte, err error)
func (*MsgSend_SendCredits) MarshalTo ¶
func (m *MsgSend_SendCredits) MarshalTo(dAtA []byte) (int, error)
func (*MsgSend_SendCredits) MarshalToSizedBuffer ¶
func (m *MsgSend_SendCredits) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSend_SendCredits) ProtoMessage ¶
func (*MsgSend_SendCredits) ProtoMessage()
func (*MsgSend_SendCredits) Reset ¶
func (m *MsgSend_SendCredits) Reset()
func (*MsgSend_SendCredits) Size ¶
func (m *MsgSend_SendCredits) Size() (n int)
func (*MsgSend_SendCredits) String ¶
func (m *MsgSend_SendCredits) String() string
func (*MsgSend_SendCredits) Unmarshal ¶
func (m *MsgSend_SendCredits) Unmarshal(dAtA []byte) error
func (*MsgSend_SendCredits) XXX_DiscardUnknown ¶
func (m *MsgSend_SendCredits) XXX_DiscardUnknown()
func (*MsgSend_SendCredits) XXX_Marshal ¶
func (m *MsgSend_SendCredits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSend_SendCredits) XXX_Merge ¶
func (m *MsgSend_SendCredits) XXX_Merge(src proto.Message)
func (*MsgSend_SendCredits) XXX_Size ¶
func (m *MsgSend_SendCredits) XXX_Size() int
func (*MsgSend_SendCredits) XXX_Unmarshal ¶
func (m *MsgSend_SendCredits) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // CreateClass creates a new credit class with an approved list of issuers and // optional metadata. CreateClass(context.Context, *MsgCreateClass) (*MsgCreateClassResponse, error) // CreateBatch creates a new batch of credits for an existing credit class. // This will create a new batch denom with a fixed supply. Issued credits can // be distributed to recipients in either tradable or retired form. CreateBatch(context.Context, *MsgCreateBatch) (*MsgCreateBatchResponse, error) // Send sends tradable credits from one account to another account. Sent // credits can either be tradable or retired on receipt. Send(context.Context, *MsgSend) (*MsgSendResponse, error) // Retire retires a specified number of credits in the holder's account. Retire(context.Context, *MsgRetire) (*MsgRetireResponse, error) // Cancel removes a number of credits from the holder's account and also // deducts them from the tradable supply, effectively cancelling their // issuance on Regen Ledger Cancel(context.Context, *MsgCancel) (*MsgCancelResponse, error) // UpdateClassAdmin updates the credit class admin UpdateClassAdmin(context.Context, *MsgUpdateClassAdmin) (*MsgUpdateClassAdminResponse, error) // UpdateClassIssuers updates the credit class issuer list UpdateClassIssuers(context.Context, *MsgUpdateClassIssuers) (*MsgUpdateClassIssuersResponse, error) // UpdateClassMetadata updates the credit class metadata UpdateClassMetadata(context.Context, *MsgUpdateClassMetadata) (*MsgUpdateClassMetadataResponse, error) // Sell creates new sell orders. Sell(context.Context, *MsgSell) (*MsgSellResponse, error) // UpdateSellOrders updates existing sell orders. UpdateSellOrders(context.Context, *MsgUpdateSellOrders) (*MsgUpdateSellOrdersResponse, error) // Buy creates credit buy orders. Buy(context.Context, *MsgBuy) (*MsgBuyResponse, error) // AllowAskDenom is a governance operation which authorizes a new ask denom to be used in sell orders AllowAskDenom(context.Context, *MsgAllowAskDenom) (*MsgAllowAskDenomResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateClassAdmin ¶
type MsgUpdateClassAdmin struct { // admin is the address of the account that is the admin of the credit class. Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"` // class_id is the unique ID of the credit class. ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // new_admin is the address of the new admin of the credit class. NewAdmin string `protobuf:"bytes,3,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty"` }
MsgUpdateClassAdmin is the Msg/UpdateClassAdmin request type.
func (*MsgUpdateClassAdmin) Descriptor ¶
func (*MsgUpdateClassAdmin) Descriptor() ([]byte, []int)
func (*MsgUpdateClassAdmin) GetAdmin ¶
func (m *MsgUpdateClassAdmin) GetAdmin() string
func (*MsgUpdateClassAdmin) GetClassId ¶
func (m *MsgUpdateClassAdmin) GetClassId() string
func (*MsgUpdateClassAdmin) GetNewAdmin ¶
func (m *MsgUpdateClassAdmin) GetNewAdmin() string
func (MsgUpdateClassAdmin) GetSignBytes ¶
func (m MsgUpdateClassAdmin) GetSignBytes() []byte
func (*MsgUpdateClassAdmin) GetSigners ¶
func (m *MsgUpdateClassAdmin) GetSigners() []sdk.AccAddress
func (*MsgUpdateClassAdmin) Marshal ¶
func (m *MsgUpdateClassAdmin) Marshal() (dAtA []byte, err error)
func (*MsgUpdateClassAdmin) MarshalTo ¶
func (m *MsgUpdateClassAdmin) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateClassAdmin) MarshalToSizedBuffer ¶
func (m *MsgUpdateClassAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateClassAdmin) ProtoMessage ¶
func (*MsgUpdateClassAdmin) ProtoMessage()
func (*MsgUpdateClassAdmin) Reset ¶
func (m *MsgUpdateClassAdmin) Reset()
func (MsgUpdateClassAdmin) Route ¶
func (m MsgUpdateClassAdmin) Route() string
func (*MsgUpdateClassAdmin) Size ¶
func (m *MsgUpdateClassAdmin) Size() (n int)
func (*MsgUpdateClassAdmin) String ¶
func (m *MsgUpdateClassAdmin) String() string
func (MsgUpdateClassAdmin) Type ¶
func (m MsgUpdateClassAdmin) Type() string
func (*MsgUpdateClassAdmin) Unmarshal ¶
func (m *MsgUpdateClassAdmin) Unmarshal(dAtA []byte) error
func (*MsgUpdateClassAdmin) ValidateBasic ¶
func (m *MsgUpdateClassAdmin) ValidateBasic() error
func (*MsgUpdateClassAdmin) XXX_DiscardUnknown ¶
func (m *MsgUpdateClassAdmin) XXX_DiscardUnknown()
func (*MsgUpdateClassAdmin) XXX_Marshal ¶
func (m *MsgUpdateClassAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateClassAdmin) XXX_Merge ¶
func (m *MsgUpdateClassAdmin) XXX_Merge(src proto.Message)
func (*MsgUpdateClassAdmin) XXX_Size ¶
func (m *MsgUpdateClassAdmin) XXX_Size() int
func (*MsgUpdateClassAdmin) XXX_Unmarshal ¶
func (m *MsgUpdateClassAdmin) XXX_Unmarshal(b []byte) error
type MsgUpdateClassAdminResponse ¶
type MsgUpdateClassAdminResponse struct { }
MsgUpdateClassAdminResponse is the MsgUpdateClassAdmin response type.
func (*MsgUpdateClassAdminResponse) Descriptor ¶
func (*MsgUpdateClassAdminResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateClassAdminResponse) Marshal ¶
func (m *MsgUpdateClassAdminResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateClassAdminResponse) MarshalTo ¶
func (m *MsgUpdateClassAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateClassAdminResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateClassAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateClassAdminResponse) ProtoMessage ¶
func (*MsgUpdateClassAdminResponse) ProtoMessage()
func (*MsgUpdateClassAdminResponse) Reset ¶
func (m *MsgUpdateClassAdminResponse) Reset()
func (*MsgUpdateClassAdminResponse) Size ¶
func (m *MsgUpdateClassAdminResponse) Size() (n int)
func (*MsgUpdateClassAdminResponse) String ¶
func (m *MsgUpdateClassAdminResponse) String() string
func (*MsgUpdateClassAdminResponse) Unmarshal ¶
func (m *MsgUpdateClassAdminResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateClassAdminResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateClassAdminResponse) XXX_DiscardUnknown()
func (*MsgUpdateClassAdminResponse) XXX_Marshal ¶
func (m *MsgUpdateClassAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateClassAdminResponse) XXX_Merge ¶
func (m *MsgUpdateClassAdminResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateClassAdminResponse) XXX_Size ¶
func (m *MsgUpdateClassAdminResponse) XXX_Size() int
func (*MsgUpdateClassAdminResponse) XXX_Unmarshal ¶
func (m *MsgUpdateClassAdminResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateClassIssuers ¶
type MsgUpdateClassIssuers struct { // admin is the address of the account that is the admin of the credit class. Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"` // class_id is the unique ID of the credit class. ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // issuers are the updated account addresses of the approved issuers. Issuers []string `protobuf:"bytes,3,rep,name=issuers,proto3" json:"issuers,omitempty"` }
MsgUpdateClassIssuers is the Msg/UpdateClassIssuers request type.
func (*MsgUpdateClassIssuers) Descriptor ¶
func (*MsgUpdateClassIssuers) Descriptor() ([]byte, []int)
func (*MsgUpdateClassIssuers) GetAdmin ¶
func (m *MsgUpdateClassIssuers) GetAdmin() string
func (*MsgUpdateClassIssuers) GetClassId ¶
func (m *MsgUpdateClassIssuers) GetClassId() string
func (*MsgUpdateClassIssuers) GetIssuers ¶
func (m *MsgUpdateClassIssuers) GetIssuers() []string
func (MsgUpdateClassIssuers) GetSignBytes ¶
func (m MsgUpdateClassIssuers) GetSignBytes() []byte
func (*MsgUpdateClassIssuers) GetSigners ¶
func (m *MsgUpdateClassIssuers) GetSigners() []sdk.AccAddress
func (*MsgUpdateClassIssuers) Marshal ¶
func (m *MsgUpdateClassIssuers) Marshal() (dAtA []byte, err error)
func (*MsgUpdateClassIssuers) MarshalTo ¶
func (m *MsgUpdateClassIssuers) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateClassIssuers) MarshalToSizedBuffer ¶
func (m *MsgUpdateClassIssuers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateClassIssuers) ProtoMessage ¶
func (*MsgUpdateClassIssuers) ProtoMessage()
func (*MsgUpdateClassIssuers) Reset ¶
func (m *MsgUpdateClassIssuers) Reset()
func (MsgUpdateClassIssuers) Route ¶
func (m MsgUpdateClassIssuers) Route() string
func (*MsgUpdateClassIssuers) Size ¶
func (m *MsgUpdateClassIssuers) Size() (n int)
func (*MsgUpdateClassIssuers) String ¶
func (m *MsgUpdateClassIssuers) String() string
func (MsgUpdateClassIssuers) Type ¶
func (m MsgUpdateClassIssuers) Type() string
func (*MsgUpdateClassIssuers) Unmarshal ¶
func (m *MsgUpdateClassIssuers) Unmarshal(dAtA []byte) error
func (*MsgUpdateClassIssuers) ValidateBasic ¶
func (m *MsgUpdateClassIssuers) ValidateBasic() error
func (*MsgUpdateClassIssuers) XXX_DiscardUnknown ¶
func (m *MsgUpdateClassIssuers) XXX_DiscardUnknown()
func (*MsgUpdateClassIssuers) XXX_Marshal ¶
func (m *MsgUpdateClassIssuers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateClassIssuers) XXX_Merge ¶
func (m *MsgUpdateClassIssuers) XXX_Merge(src proto.Message)
func (*MsgUpdateClassIssuers) XXX_Size ¶
func (m *MsgUpdateClassIssuers) XXX_Size() int
func (*MsgUpdateClassIssuers) XXX_Unmarshal ¶
func (m *MsgUpdateClassIssuers) XXX_Unmarshal(b []byte) error
type MsgUpdateClassIssuersResponse ¶
type MsgUpdateClassIssuersResponse struct { }
MsgUpdateClassIssuersResponse is the MsgUpdateClassIssuers response type.
func (*MsgUpdateClassIssuersResponse) Descriptor ¶
func (*MsgUpdateClassIssuersResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateClassIssuersResponse) Marshal ¶
func (m *MsgUpdateClassIssuersResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateClassIssuersResponse) MarshalTo ¶
func (m *MsgUpdateClassIssuersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateClassIssuersResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateClassIssuersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateClassIssuersResponse) ProtoMessage ¶
func (*MsgUpdateClassIssuersResponse) ProtoMessage()
func (*MsgUpdateClassIssuersResponse) Reset ¶
func (m *MsgUpdateClassIssuersResponse) Reset()
func (*MsgUpdateClassIssuersResponse) Size ¶
func (m *MsgUpdateClassIssuersResponse) Size() (n int)
func (*MsgUpdateClassIssuersResponse) String ¶
func (m *MsgUpdateClassIssuersResponse) String() string
func (*MsgUpdateClassIssuersResponse) Unmarshal ¶
func (m *MsgUpdateClassIssuersResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateClassIssuersResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateClassIssuersResponse) XXX_DiscardUnknown()
func (*MsgUpdateClassIssuersResponse) XXX_Marshal ¶
func (m *MsgUpdateClassIssuersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateClassIssuersResponse) XXX_Merge ¶
func (m *MsgUpdateClassIssuersResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateClassIssuersResponse) XXX_Size ¶
func (m *MsgUpdateClassIssuersResponse) XXX_Size() int
func (*MsgUpdateClassIssuersResponse) XXX_Unmarshal ¶
func (m *MsgUpdateClassIssuersResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateClassMetadata ¶
type MsgUpdateClassMetadata struct { // admin is the address of the account that is the admin of the credit class. Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"` // class_id is the unique ID of the credit class. ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // metadata is the updated arbitrary metadata to be attached to the credit class. Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` }
MsgUpdateClassMetadata is the Msg/UpdateClassMetadata request type.
func (*MsgUpdateClassMetadata) Descriptor ¶
func (*MsgUpdateClassMetadata) Descriptor() ([]byte, []int)
func (*MsgUpdateClassMetadata) GetAdmin ¶
func (m *MsgUpdateClassMetadata) GetAdmin() string
func (*MsgUpdateClassMetadata) GetClassId ¶
func (m *MsgUpdateClassMetadata) GetClassId() string
func (*MsgUpdateClassMetadata) GetMetadata ¶
func (m *MsgUpdateClassMetadata) GetMetadata() []byte
func (MsgUpdateClassMetadata) GetSignBytes ¶
func (m MsgUpdateClassMetadata) GetSignBytes() []byte
func (*MsgUpdateClassMetadata) GetSigners ¶
func (m *MsgUpdateClassMetadata) GetSigners() []sdk.AccAddress
func (*MsgUpdateClassMetadata) Marshal ¶
func (m *MsgUpdateClassMetadata) Marshal() (dAtA []byte, err error)
func (*MsgUpdateClassMetadata) MarshalTo ¶
func (m *MsgUpdateClassMetadata) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateClassMetadata) MarshalToSizedBuffer ¶
func (m *MsgUpdateClassMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateClassMetadata) ProtoMessage ¶
func (*MsgUpdateClassMetadata) ProtoMessage()
func (*MsgUpdateClassMetadata) Reset ¶
func (m *MsgUpdateClassMetadata) Reset()
func (MsgUpdateClassMetadata) Route ¶
func (m MsgUpdateClassMetadata) Route() string
func (*MsgUpdateClassMetadata) Size ¶
func (m *MsgUpdateClassMetadata) Size() (n int)
func (*MsgUpdateClassMetadata) String ¶
func (m *MsgUpdateClassMetadata) String() string
func (MsgUpdateClassMetadata) Type ¶
func (m MsgUpdateClassMetadata) Type() string
func (*MsgUpdateClassMetadata) Unmarshal ¶
func (m *MsgUpdateClassMetadata) Unmarshal(dAtA []byte) error
func (*MsgUpdateClassMetadata) ValidateBasic ¶
func (m *MsgUpdateClassMetadata) ValidateBasic() error
func (*MsgUpdateClassMetadata) XXX_DiscardUnknown ¶
func (m *MsgUpdateClassMetadata) XXX_DiscardUnknown()
func (*MsgUpdateClassMetadata) XXX_Marshal ¶
func (m *MsgUpdateClassMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateClassMetadata) XXX_Merge ¶
func (m *MsgUpdateClassMetadata) XXX_Merge(src proto.Message)
func (*MsgUpdateClassMetadata) XXX_Size ¶
func (m *MsgUpdateClassMetadata) XXX_Size() int
func (*MsgUpdateClassMetadata) XXX_Unmarshal ¶
func (m *MsgUpdateClassMetadata) XXX_Unmarshal(b []byte) error
type MsgUpdateClassMetadataResponse ¶
type MsgUpdateClassMetadataResponse struct { }
MsgUpdateClassMetadataResponse is the MsgUpdateClassMetadata response type.
func (*MsgUpdateClassMetadataResponse) Descriptor ¶
func (*MsgUpdateClassMetadataResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateClassMetadataResponse) Marshal ¶
func (m *MsgUpdateClassMetadataResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateClassMetadataResponse) MarshalTo ¶
func (m *MsgUpdateClassMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateClassMetadataResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateClassMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateClassMetadataResponse) ProtoMessage ¶
func (*MsgUpdateClassMetadataResponse) ProtoMessage()
func (*MsgUpdateClassMetadataResponse) Reset ¶
func (m *MsgUpdateClassMetadataResponse) Reset()
func (*MsgUpdateClassMetadataResponse) Size ¶
func (m *MsgUpdateClassMetadataResponse) Size() (n int)
func (*MsgUpdateClassMetadataResponse) String ¶
func (m *MsgUpdateClassMetadataResponse) String() string
func (*MsgUpdateClassMetadataResponse) Unmarshal ¶
func (m *MsgUpdateClassMetadataResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateClassMetadataResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateClassMetadataResponse) XXX_DiscardUnknown()
func (*MsgUpdateClassMetadataResponse) XXX_Marshal ¶
func (m *MsgUpdateClassMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateClassMetadataResponse) XXX_Merge ¶
func (m *MsgUpdateClassMetadataResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateClassMetadataResponse) XXX_Size ¶
func (m *MsgUpdateClassMetadataResponse) XXX_Size() int
func (*MsgUpdateClassMetadataResponse) XXX_Unmarshal ¶
func (m *MsgUpdateClassMetadataResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateSellOrders ¶
type MsgUpdateSellOrders struct { // owner is the owner of the sell orders. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // updates are updates to existing sell orders. Updates []*MsgUpdateSellOrders_Update `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"` }
MsgUpdateSellOrders is the Msg/UpdateSellOrders request type.
func (*MsgUpdateSellOrders) Descriptor ¶
func (*MsgUpdateSellOrders) Descriptor() ([]byte, []int)
func (*MsgUpdateSellOrders) GetOwner ¶
func (m *MsgUpdateSellOrders) GetOwner() string
func (MsgUpdateSellOrders) GetSignBytes ¶
func (m MsgUpdateSellOrders) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgUpdateSellOrders) GetSigners ¶
func (m *MsgUpdateSellOrders) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for MsgUpdateSellOrders.
func (*MsgUpdateSellOrders) GetUpdates ¶
func (m *MsgUpdateSellOrders) GetUpdates() []*MsgUpdateSellOrders_Update
func (*MsgUpdateSellOrders) Marshal ¶
func (m *MsgUpdateSellOrders) Marshal() (dAtA []byte, err error)
func (*MsgUpdateSellOrders) MarshalTo ¶
func (m *MsgUpdateSellOrders) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateSellOrders) MarshalToSizedBuffer ¶
func (m *MsgUpdateSellOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateSellOrders) ProtoMessage ¶
func (*MsgUpdateSellOrders) ProtoMessage()
func (*MsgUpdateSellOrders) Reset ¶
func (m *MsgUpdateSellOrders) Reset()
func (MsgUpdateSellOrders) Route ¶
func (m MsgUpdateSellOrders) Route() string
Route implements the LegacyMsg interface.
func (*MsgUpdateSellOrders) Size ¶
func (m *MsgUpdateSellOrders) Size() (n int)
func (*MsgUpdateSellOrders) String ¶
func (m *MsgUpdateSellOrders) String() string
func (MsgUpdateSellOrders) Type ¶
func (m MsgUpdateSellOrders) Type() string
Type implements the LegacyMsg interface.
func (*MsgUpdateSellOrders) Unmarshal ¶
func (m *MsgUpdateSellOrders) Unmarshal(dAtA []byte) error
func (*MsgUpdateSellOrders) ValidateBasic ¶
func (m *MsgUpdateSellOrders) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgUpdateSellOrders) XXX_DiscardUnknown ¶
func (m *MsgUpdateSellOrders) XXX_DiscardUnknown()
func (*MsgUpdateSellOrders) XXX_Marshal ¶
func (m *MsgUpdateSellOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateSellOrders) XXX_Merge ¶
func (m *MsgUpdateSellOrders) XXX_Merge(src proto.Message)
func (*MsgUpdateSellOrders) XXX_Size ¶
func (m *MsgUpdateSellOrders) XXX_Size() int
func (*MsgUpdateSellOrders) XXX_Unmarshal ¶
func (m *MsgUpdateSellOrders) XXX_Unmarshal(b []byte) error
type MsgUpdateSellOrdersResponse ¶
type MsgUpdateSellOrdersResponse struct { }
MsgUpdateSellOrdersResponse is the Msg/UpdateSellOrders response type.
func (*MsgUpdateSellOrdersResponse) Descriptor ¶
func (*MsgUpdateSellOrdersResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateSellOrdersResponse) Marshal ¶
func (m *MsgUpdateSellOrdersResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateSellOrdersResponse) MarshalTo ¶
func (m *MsgUpdateSellOrdersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateSellOrdersResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateSellOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateSellOrdersResponse) ProtoMessage ¶
func (*MsgUpdateSellOrdersResponse) ProtoMessage()
func (*MsgUpdateSellOrdersResponse) Reset ¶
func (m *MsgUpdateSellOrdersResponse) Reset()
func (*MsgUpdateSellOrdersResponse) Size ¶
func (m *MsgUpdateSellOrdersResponse) Size() (n int)
func (*MsgUpdateSellOrdersResponse) String ¶
func (m *MsgUpdateSellOrdersResponse) String() string
func (*MsgUpdateSellOrdersResponse) Unmarshal ¶
func (m *MsgUpdateSellOrdersResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateSellOrdersResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateSellOrdersResponse) XXX_DiscardUnknown()
func (*MsgUpdateSellOrdersResponse) XXX_Marshal ¶
func (m *MsgUpdateSellOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateSellOrdersResponse) XXX_Merge ¶
func (m *MsgUpdateSellOrdersResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateSellOrdersResponse) XXX_Size ¶
func (m *MsgUpdateSellOrdersResponse) XXX_Size() int
func (*MsgUpdateSellOrdersResponse) XXX_Unmarshal ¶
func (m *MsgUpdateSellOrdersResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateSellOrders_Update ¶
type MsgUpdateSellOrders_Update struct { // sell_order_id is the ID of an existing sell order. SellOrderId uint64 `protobuf:"varint,1,opt,name=sell_order_id,json=sellOrderId,proto3" json:"sell_order_id,omitempty"` // new_quantity is the updated quantity of credits available to sell, if it // is set to zero then the order is cancelled. NewQuantity string `protobuf:"bytes,2,opt,name=new_quantity,json=newQuantity,proto3" json:"new_quantity,omitempty"` // new_ask_price is the new ask price for this sell order NewAskPrice *types1.Coin `protobuf:"bytes,3,opt,name=new_ask_price,json=newAskPrice,proto3" json:"new_ask_price,omitempty"` // disable_auto_retire updates the disable_auto_retire field in the sell order. DisableAutoRetire bool `protobuf:"varint,4,opt,name=disable_auto_retire,json=disableAutoRetire,proto3" json:"disable_auto_retire,omitempty"` }
Update is an update to an existing sell order.
func (*MsgUpdateSellOrders_Update) Descriptor ¶
func (*MsgUpdateSellOrders_Update) Descriptor() ([]byte, []int)
func (*MsgUpdateSellOrders_Update) GetDisableAutoRetire ¶
func (m *MsgUpdateSellOrders_Update) GetDisableAutoRetire() bool
func (*MsgUpdateSellOrders_Update) GetNewAskPrice ¶
func (m *MsgUpdateSellOrders_Update) GetNewAskPrice() *types1.Coin
func (*MsgUpdateSellOrders_Update) GetNewQuantity ¶
func (m *MsgUpdateSellOrders_Update) GetNewQuantity() string
func (*MsgUpdateSellOrders_Update) GetSellOrderId ¶
func (m *MsgUpdateSellOrders_Update) GetSellOrderId() uint64
func (*MsgUpdateSellOrders_Update) Marshal ¶
func (m *MsgUpdateSellOrders_Update) Marshal() (dAtA []byte, err error)
func (*MsgUpdateSellOrders_Update) MarshalTo ¶
func (m *MsgUpdateSellOrders_Update) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateSellOrders_Update) MarshalToSizedBuffer ¶
func (m *MsgUpdateSellOrders_Update) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateSellOrders_Update) ProtoMessage ¶
func (*MsgUpdateSellOrders_Update) ProtoMessage()
func (*MsgUpdateSellOrders_Update) Reset ¶
func (m *MsgUpdateSellOrders_Update) Reset()
func (*MsgUpdateSellOrders_Update) Size ¶
func (m *MsgUpdateSellOrders_Update) Size() (n int)
func (*MsgUpdateSellOrders_Update) String ¶
func (m *MsgUpdateSellOrders_Update) String() string
func (*MsgUpdateSellOrders_Update) Unmarshal ¶
func (m *MsgUpdateSellOrders_Update) Unmarshal(dAtA []byte) error
func (*MsgUpdateSellOrders_Update) XXX_DiscardUnknown ¶
func (m *MsgUpdateSellOrders_Update) XXX_DiscardUnknown()
func (*MsgUpdateSellOrders_Update) XXX_Marshal ¶
func (m *MsgUpdateSellOrders_Update) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateSellOrders_Update) XXX_Merge ¶
func (m *MsgUpdateSellOrders_Update) XXX_Merge(src proto.Message)
func (*MsgUpdateSellOrders_Update) XXX_Size ¶
func (m *MsgUpdateSellOrders_Update) XXX_Size() int
func (*MsgUpdateSellOrders_Update) XXX_Unmarshal ¶
func (m *MsgUpdateSellOrders_Update) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // credit_class_fee is the fixed fee charged on creation of a new credit class CreditClassFee github_com_cosmos_cosmos_sdk_types.Coins `` /* 149-byte string literal not displayed */ // allowed_class_creators is an allowlist defining the addresses with // the required permissions to create credit classes AllowedClassCreators []string `protobuf:"bytes,2,rep,name=allowed_class_creators,json=allowedClassCreators,proto3" json:"allowed_class_creators,omitempty"` // allowlist_enabled is a param that enables/disables the allowlist for credit // creation AllowlistEnabled bool `protobuf:"varint,3,opt,name=allowlist_enabled,json=allowlistEnabled,proto3" json:"allowlist_enabled,omitempty"` // credit_types is a list of definitions for credit types CreditTypes []*CreditType `protobuf:"bytes,4,rep,name=credit_types,json=creditTypes,proto3" json:"credit_types,omitempty"` }
Params defines the updatable global parameters of the ecocredit module for use with the x/params module.
func NewParams ¶
func NewParams(creditClassFee sdk.Coins, allowlist []string, allowlistEnabled bool, creditTypes []*CreditType) Params
NewParams creates a new Params object.
func (*Params) Descriptor ¶
func (*Params) GetAllowedClassCreators ¶
func (*Params) GetAllowlistEnabled ¶
func (*Params) GetCreditClassFee ¶
func (m *Params) GetCreditClassFee() github_com_cosmos_cosmos_sdk_types.Coins
func (*Params) GetCreditTypes ¶
func (m *Params) GetCreditTypes() []*CreditType
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
Implements params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryBalanceRequest ¶
type QueryBalanceRequest struct { // account is the address of the account whose balance is being queried. Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // batch_denom is the unique ID of credit batch balance to query. BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` }
QueryBalanceRequest is the Query/Balance request type.
func (*QueryBalanceRequest) Descriptor ¶
func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
func (*QueryBalanceRequest) GetAccount ¶
func (m *QueryBalanceRequest) GetAccount() string
func (*QueryBalanceRequest) GetBatchDenom ¶
func (m *QueryBalanceRequest) GetBatchDenom() string
func (*QueryBalanceRequest) Marshal ¶
func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)
func (*QueryBalanceRequest) MarshalTo ¶
func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalanceRequest) MarshalToSizedBuffer ¶
func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalanceRequest) ProtoMessage ¶
func (*QueryBalanceRequest) ProtoMessage()
func (*QueryBalanceRequest) Reset ¶
func (m *QueryBalanceRequest) Reset()
func (*QueryBalanceRequest) Size ¶
func (m *QueryBalanceRequest) Size() (n int)
func (*QueryBalanceRequest) String ¶
func (m *QueryBalanceRequest) String() string
func (*QueryBalanceRequest) Unmarshal ¶
func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error
func (*QueryBalanceRequest) XXX_DiscardUnknown ¶
func (m *QueryBalanceRequest) XXX_DiscardUnknown()
func (*QueryBalanceRequest) XXX_Marshal ¶
func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalanceRequest) XXX_Merge ¶
func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)
func (*QueryBalanceRequest) XXX_Size ¶
func (m *QueryBalanceRequest) XXX_Size() int
func (*QueryBalanceRequest) XXX_Unmarshal ¶
func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error
type QueryBalanceResponse ¶
type QueryBalanceResponse struct { // tradable_amount is the decimal number of tradable credits. TradableAmount string `protobuf:"bytes,1,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"` // retired_amount is the decimal number of retired credits. RetiredAmount string `protobuf:"bytes,2,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"` }
QueryBalanceResponse is the Query/Balance response type.
func (*QueryBalanceResponse) Descriptor ¶
func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
func (*QueryBalanceResponse) GetRetiredAmount ¶
func (m *QueryBalanceResponse) GetRetiredAmount() string
func (*QueryBalanceResponse) GetTradableAmount ¶
func (m *QueryBalanceResponse) GetTradableAmount() string
func (*QueryBalanceResponse) Marshal ¶
func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)
func (*QueryBalanceResponse) MarshalTo ¶
func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalanceResponse) MarshalToSizedBuffer ¶
func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalanceResponse) ProtoMessage ¶
func (*QueryBalanceResponse) ProtoMessage()
func (*QueryBalanceResponse) Reset ¶
func (m *QueryBalanceResponse) Reset()
func (*QueryBalanceResponse) Size ¶
func (m *QueryBalanceResponse) Size() (n int)
func (*QueryBalanceResponse) String ¶
func (m *QueryBalanceResponse) String() string
func (*QueryBalanceResponse) Unmarshal ¶
func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error
func (*QueryBalanceResponse) XXX_DiscardUnknown ¶
func (m *QueryBalanceResponse) XXX_DiscardUnknown()
func (*QueryBalanceResponse) XXX_Marshal ¶
func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalanceResponse) XXX_Merge ¶
func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)
func (*QueryBalanceResponse) XXX_Size ¶
func (m *QueryBalanceResponse) XXX_Size() int
func (*QueryBalanceResponse) XXX_Unmarshal ¶
func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error
type QueryBatchInfoRequest ¶
type QueryBatchInfoRequest struct { // batch_denom is the unique ID of credit batch to query. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` }
QueryBatchInfoRequest is the Query/BatchInfo request type.
func (*QueryBatchInfoRequest) Descriptor ¶
func (*QueryBatchInfoRequest) Descriptor() ([]byte, []int)
func (*QueryBatchInfoRequest) GetBatchDenom ¶
func (m *QueryBatchInfoRequest) GetBatchDenom() string
func (*QueryBatchInfoRequest) Marshal ¶
func (m *QueryBatchInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryBatchInfoRequest) MarshalTo ¶
func (m *QueryBatchInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBatchInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryBatchInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBatchInfoRequest) ProtoMessage ¶
func (*QueryBatchInfoRequest) ProtoMessage()
func (*QueryBatchInfoRequest) Reset ¶
func (m *QueryBatchInfoRequest) Reset()
func (*QueryBatchInfoRequest) Size ¶
func (m *QueryBatchInfoRequest) Size() (n int)
func (*QueryBatchInfoRequest) String ¶
func (m *QueryBatchInfoRequest) String() string
func (*QueryBatchInfoRequest) Unmarshal ¶
func (m *QueryBatchInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryBatchInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryBatchInfoRequest) XXX_DiscardUnknown()
func (*QueryBatchInfoRequest) XXX_Marshal ¶
func (m *QueryBatchInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBatchInfoRequest) XXX_Merge ¶
func (m *QueryBatchInfoRequest) XXX_Merge(src proto.Message)
func (*QueryBatchInfoRequest) XXX_Size ¶
func (m *QueryBatchInfoRequest) XXX_Size() int
func (*QueryBatchInfoRequest) XXX_Unmarshal ¶
func (m *QueryBatchInfoRequest) XXX_Unmarshal(b []byte) error
type QueryBatchInfoResponse ¶
type QueryBatchInfoResponse struct { // info is the BatchInfo for the credit batch. Info *BatchInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` }
QueryBatchInfoResponse is the Query/BatchInfo response type.
func (*QueryBatchInfoResponse) Descriptor ¶
func (*QueryBatchInfoResponse) Descriptor() ([]byte, []int)
func (*QueryBatchInfoResponse) GetInfo ¶
func (m *QueryBatchInfoResponse) GetInfo() *BatchInfo
func (*QueryBatchInfoResponse) Marshal ¶
func (m *QueryBatchInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryBatchInfoResponse) MarshalTo ¶
func (m *QueryBatchInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBatchInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryBatchInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBatchInfoResponse) ProtoMessage ¶
func (*QueryBatchInfoResponse) ProtoMessage()
func (*QueryBatchInfoResponse) Reset ¶
func (m *QueryBatchInfoResponse) Reset()
func (*QueryBatchInfoResponse) Size ¶
func (m *QueryBatchInfoResponse) Size() (n int)
func (*QueryBatchInfoResponse) String ¶
func (m *QueryBatchInfoResponse) String() string
func (*QueryBatchInfoResponse) Unmarshal ¶
func (m *QueryBatchInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryBatchInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryBatchInfoResponse) XXX_DiscardUnknown()
func (*QueryBatchInfoResponse) XXX_Marshal ¶
func (m *QueryBatchInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBatchInfoResponse) XXX_Merge ¶
func (m *QueryBatchInfoResponse) XXX_Merge(src proto.Message)
func (*QueryBatchInfoResponse) XXX_Size ¶
func (m *QueryBatchInfoResponse) XXX_Size() int
func (*QueryBatchInfoResponse) XXX_Unmarshal ¶
func (m *QueryBatchInfoResponse) XXX_Unmarshal(b []byte) error
type QueryBatchesRequest ¶
type QueryBatchesRequest struct { // class_id is the unique ID of the credit class to query. ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryBatchesRequest is the Query/Batches request type.
func (*QueryBatchesRequest) Descriptor ¶
func (*QueryBatchesRequest) Descriptor() ([]byte, []int)
func (*QueryBatchesRequest) GetClassId ¶
func (m *QueryBatchesRequest) GetClassId() string
func (*QueryBatchesRequest) GetPagination ¶
func (m *QueryBatchesRequest) GetPagination() *query.PageRequest
func (*QueryBatchesRequest) Marshal ¶
func (m *QueryBatchesRequest) Marshal() (dAtA []byte, err error)
func (*QueryBatchesRequest) MarshalTo ¶
func (m *QueryBatchesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBatchesRequest) MarshalToSizedBuffer ¶
func (m *QueryBatchesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBatchesRequest) ProtoMessage ¶
func (*QueryBatchesRequest) ProtoMessage()
func (*QueryBatchesRequest) Reset ¶
func (m *QueryBatchesRequest) Reset()
func (*QueryBatchesRequest) Size ¶
func (m *QueryBatchesRequest) Size() (n int)
func (*QueryBatchesRequest) String ¶
func (m *QueryBatchesRequest) String() string
func (*QueryBatchesRequest) Unmarshal ¶
func (m *QueryBatchesRequest) Unmarshal(dAtA []byte) error
func (*QueryBatchesRequest) XXX_DiscardUnknown ¶
func (m *QueryBatchesRequest) XXX_DiscardUnknown()
func (*QueryBatchesRequest) XXX_Marshal ¶
func (m *QueryBatchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBatchesRequest) XXX_Merge ¶
func (m *QueryBatchesRequest) XXX_Merge(src proto.Message)
func (*QueryBatchesRequest) XXX_Size ¶
func (m *QueryBatchesRequest) XXX_Size() int
func (*QueryBatchesRequest) XXX_Unmarshal ¶
func (m *QueryBatchesRequest) XXX_Unmarshal(b []byte) error
type QueryBatchesResponse ¶
type QueryBatchesResponse struct { // batches are the fetched credit batches within the class. Batches []*BatchInfo `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryBatchesResponse is the Query/Batches response type.
func (*QueryBatchesResponse) Descriptor ¶
func (*QueryBatchesResponse) Descriptor() ([]byte, []int)
func (*QueryBatchesResponse) GetBatches ¶
func (m *QueryBatchesResponse) GetBatches() []*BatchInfo
func (*QueryBatchesResponse) GetPagination ¶
func (m *QueryBatchesResponse) GetPagination() *query.PageResponse
func (*QueryBatchesResponse) Marshal ¶
func (m *QueryBatchesResponse) Marshal() (dAtA []byte, err error)
func (*QueryBatchesResponse) MarshalTo ¶
func (m *QueryBatchesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBatchesResponse) MarshalToSizedBuffer ¶
func (m *QueryBatchesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBatchesResponse) ProtoMessage ¶
func (*QueryBatchesResponse) ProtoMessage()
func (*QueryBatchesResponse) Reset ¶
func (m *QueryBatchesResponse) Reset()
func (*QueryBatchesResponse) Size ¶
func (m *QueryBatchesResponse) Size() (n int)
func (*QueryBatchesResponse) String ¶
func (m *QueryBatchesResponse) String() string
func (*QueryBatchesResponse) Unmarshal ¶
func (m *QueryBatchesResponse) Unmarshal(dAtA []byte) error
func (*QueryBatchesResponse) XXX_DiscardUnknown ¶
func (m *QueryBatchesResponse) XXX_DiscardUnknown()
func (*QueryBatchesResponse) XXX_Marshal ¶
func (m *QueryBatchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBatchesResponse) XXX_Merge ¶
func (m *QueryBatchesResponse) XXX_Merge(src proto.Message)
func (*QueryBatchesResponse) XXX_Size ¶
func (m *QueryBatchesResponse) XXX_Size() int
func (*QueryBatchesResponse) XXX_Unmarshal ¶
func (m *QueryBatchesResponse) XXX_Unmarshal(b []byte) error
type QueryClassInfoRequest ¶
type QueryClassInfoRequest struct { // class_id is the unique ID of credit class to query. ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` }
QueryClassInfoRequest is the Query/ClassInfo request type.
func (*QueryClassInfoRequest) Descriptor ¶
func (*QueryClassInfoRequest) Descriptor() ([]byte, []int)
func (*QueryClassInfoRequest) GetClassId ¶
func (m *QueryClassInfoRequest) GetClassId() string
func (*QueryClassInfoRequest) Marshal ¶
func (m *QueryClassInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryClassInfoRequest) MarshalTo ¶
func (m *QueryClassInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryClassInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryClassInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClassInfoRequest) ProtoMessage ¶
func (*QueryClassInfoRequest) ProtoMessage()
func (*QueryClassInfoRequest) Reset ¶
func (m *QueryClassInfoRequest) Reset()
func (*QueryClassInfoRequest) Size ¶
func (m *QueryClassInfoRequest) Size() (n int)
func (*QueryClassInfoRequest) String ¶
func (m *QueryClassInfoRequest) String() string
func (*QueryClassInfoRequest) Unmarshal ¶
func (m *QueryClassInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryClassInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryClassInfoRequest) XXX_DiscardUnknown()
func (*QueryClassInfoRequest) XXX_Marshal ¶
func (m *QueryClassInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClassInfoRequest) XXX_Merge ¶
func (m *QueryClassInfoRequest) XXX_Merge(src proto.Message)
func (*QueryClassInfoRequest) XXX_Size ¶
func (m *QueryClassInfoRequest) XXX_Size() int
func (*QueryClassInfoRequest) XXX_Unmarshal ¶
func (m *QueryClassInfoRequest) XXX_Unmarshal(b []byte) error
type QueryClassInfoResponse ¶
type QueryClassInfoResponse struct { // info is the ClassInfo for the credit class. Info *ClassInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` }
QueryClassInfoResponse is the Query/ClassInfo request type.
func (*QueryClassInfoResponse) Descriptor ¶
func (*QueryClassInfoResponse) Descriptor() ([]byte, []int)
func (*QueryClassInfoResponse) GetInfo ¶
func (m *QueryClassInfoResponse) GetInfo() *ClassInfo
func (*QueryClassInfoResponse) Marshal ¶
func (m *QueryClassInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryClassInfoResponse) MarshalTo ¶
func (m *QueryClassInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryClassInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryClassInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClassInfoResponse) ProtoMessage ¶
func (*QueryClassInfoResponse) ProtoMessage()
func (*QueryClassInfoResponse) Reset ¶
func (m *QueryClassInfoResponse) Reset()
func (*QueryClassInfoResponse) Size ¶
func (m *QueryClassInfoResponse) Size() (n int)
func (*QueryClassInfoResponse) String ¶
func (m *QueryClassInfoResponse) String() string
func (*QueryClassInfoResponse) Unmarshal ¶
func (m *QueryClassInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryClassInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryClassInfoResponse) XXX_DiscardUnknown()
func (*QueryClassInfoResponse) XXX_Marshal ¶
func (m *QueryClassInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClassInfoResponse) XXX_Merge ¶
func (m *QueryClassInfoResponse) XXX_Merge(src proto.Message)
func (*QueryClassInfoResponse) XXX_Size ¶
func (m *QueryClassInfoResponse) XXX_Size() int
func (*QueryClassInfoResponse) XXX_Unmarshal ¶
func (m *QueryClassInfoResponse) XXX_Unmarshal(b []byte) error
type QueryClassesRequest ¶
type QueryClassesRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryClassesRequest is the Query/Classes request type.
func (*QueryClassesRequest) Descriptor ¶
func (*QueryClassesRequest) Descriptor() ([]byte, []int)
func (*QueryClassesRequest) GetPagination ¶
func (m *QueryClassesRequest) GetPagination() *query.PageRequest
func (*QueryClassesRequest) Marshal ¶
func (m *QueryClassesRequest) Marshal() (dAtA []byte, err error)
func (*QueryClassesRequest) MarshalTo ¶
func (m *QueryClassesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryClassesRequest) MarshalToSizedBuffer ¶
func (m *QueryClassesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClassesRequest) ProtoMessage ¶
func (*QueryClassesRequest) ProtoMessage()
func (*QueryClassesRequest) Reset ¶
func (m *QueryClassesRequest) Reset()
func (*QueryClassesRequest) Size ¶
func (m *QueryClassesRequest) Size() (n int)
func (*QueryClassesRequest) String ¶
func (m *QueryClassesRequest) String() string
func (*QueryClassesRequest) Unmarshal ¶
func (m *QueryClassesRequest) Unmarshal(dAtA []byte) error
func (*QueryClassesRequest) XXX_DiscardUnknown ¶
func (m *QueryClassesRequest) XXX_DiscardUnknown()
func (*QueryClassesRequest) XXX_Marshal ¶
func (m *QueryClassesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClassesRequest) XXX_Merge ¶
func (m *QueryClassesRequest) XXX_Merge(src proto.Message)
func (*QueryClassesRequest) XXX_Size ¶
func (m *QueryClassesRequest) XXX_Size() int
func (*QueryClassesRequest) XXX_Unmarshal ¶
func (m *QueryClassesRequest) XXX_Unmarshal(b []byte) error
type QueryClassesResponse ¶
type QueryClassesResponse struct { // classes are the fetched credit classes. Classes []*ClassInfo `protobuf:"bytes,1,rep,name=classes,proto3" json:"classes,omitempty"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryClassesResponse is the Query/Classes response type.
func (*QueryClassesResponse) Descriptor ¶
func (*QueryClassesResponse) Descriptor() ([]byte, []int)
func (*QueryClassesResponse) GetClasses ¶
func (m *QueryClassesResponse) GetClasses() []*ClassInfo
func (*QueryClassesResponse) GetPagination ¶
func (m *QueryClassesResponse) GetPagination() *query.PageResponse
func (*QueryClassesResponse) Marshal ¶
func (m *QueryClassesResponse) Marshal() (dAtA []byte, err error)
func (*QueryClassesResponse) MarshalTo ¶
func (m *QueryClassesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryClassesResponse) MarshalToSizedBuffer ¶
func (m *QueryClassesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClassesResponse) ProtoMessage ¶
func (*QueryClassesResponse) ProtoMessage()
func (*QueryClassesResponse) Reset ¶
func (m *QueryClassesResponse) Reset()
func (*QueryClassesResponse) Size ¶
func (m *QueryClassesResponse) Size() (n int)
func (*QueryClassesResponse) String ¶
func (m *QueryClassesResponse) String() string
func (*QueryClassesResponse) Unmarshal ¶
func (m *QueryClassesResponse) Unmarshal(dAtA []byte) error
func (*QueryClassesResponse) XXX_DiscardUnknown ¶
func (m *QueryClassesResponse) XXX_DiscardUnknown()
func (*QueryClassesResponse) XXX_Marshal ¶
func (m *QueryClassesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClassesResponse) XXX_Merge ¶
func (m *QueryClassesResponse) XXX_Merge(src proto.Message)
func (*QueryClassesResponse) XXX_Size ¶
func (m *QueryClassesResponse) XXX_Size() int
func (*QueryClassesResponse) XXX_Unmarshal ¶
func (m *QueryClassesResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Classes queries for all credit classes with pagination. Classes(ctx context.Context, in *QueryClassesRequest, opts ...grpc.CallOption) (*QueryClassesResponse, error) // ClassInfo queries for information on a credit class. ClassInfo(ctx context.Context, in *QueryClassInfoRequest, opts ...grpc.CallOption) (*QueryClassInfoResponse, error) // Batches queries for all batches in the given credit class with pagination. Batches(ctx context.Context, in *QueryBatchesRequest, opts ...grpc.CallOption) (*QueryBatchesResponse, error) // BatchInfo queries for information on a credit batch. BatchInfo(ctx context.Context, in *QueryBatchInfoRequest, opts ...grpc.CallOption) (*QueryBatchInfoResponse, error) // Balance queries the balance (both tradable and retired) of a given credit // batch for a given account. Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error) // Supply queries the tradable and retired supply of a credit batch. Supply(ctx context.Context, in *QuerySupplyRequest, opts ...grpc.CallOption) (*QuerySupplyResponse, error) // CreditTypes returns the list of allowed types that credit classes can have. // See Types/CreditType for more details. CreditTypes(ctx context.Context, in *QueryCreditTypesRequest, opts ...grpc.CallOption) (*QueryCreditTypesResponse, error) // Params queries the ecocredit module parameters. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, 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 QueryCreditTypesRequest ¶
type QueryCreditTypesRequest struct { }
QueryCreditTypesRequest is the Query/Credit_Types request type
func (*QueryCreditTypesRequest) Descriptor ¶
func (*QueryCreditTypesRequest) Descriptor() ([]byte, []int)
func (*QueryCreditTypesRequest) Marshal ¶
func (m *QueryCreditTypesRequest) Marshal() (dAtA []byte, err error)
func (*QueryCreditTypesRequest) MarshalTo ¶
func (m *QueryCreditTypesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCreditTypesRequest) MarshalToSizedBuffer ¶
func (m *QueryCreditTypesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCreditTypesRequest) ProtoMessage ¶
func (*QueryCreditTypesRequest) ProtoMessage()
func (*QueryCreditTypesRequest) Reset ¶
func (m *QueryCreditTypesRequest) Reset()
func (*QueryCreditTypesRequest) Size ¶
func (m *QueryCreditTypesRequest) Size() (n int)
func (*QueryCreditTypesRequest) String ¶
func (m *QueryCreditTypesRequest) String() string
func (*QueryCreditTypesRequest) Unmarshal ¶
func (m *QueryCreditTypesRequest) Unmarshal(dAtA []byte) error
func (*QueryCreditTypesRequest) XXX_DiscardUnknown ¶
func (m *QueryCreditTypesRequest) XXX_DiscardUnknown()
func (*QueryCreditTypesRequest) XXX_Marshal ¶
func (m *QueryCreditTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCreditTypesRequest) XXX_Merge ¶
func (m *QueryCreditTypesRequest) XXX_Merge(src proto.Message)
func (*QueryCreditTypesRequest) XXX_Size ¶
func (m *QueryCreditTypesRequest) XXX_Size() int
func (*QueryCreditTypesRequest) XXX_Unmarshal ¶
func (m *QueryCreditTypesRequest) XXX_Unmarshal(b []byte) error
type QueryCreditTypesResponse ¶
type QueryCreditTypesResponse struct { // list of credit types CreditTypes []*CreditType `protobuf:"bytes,1,rep,name=credit_types,json=creditTypes,proto3" json:"credit_types,omitempty"` }
QueryCreditTypesRequest is the Query/Credit_Types response type
func (*QueryCreditTypesResponse) Descriptor ¶
func (*QueryCreditTypesResponse) Descriptor() ([]byte, []int)
func (*QueryCreditTypesResponse) GetCreditTypes ¶
func (m *QueryCreditTypesResponse) GetCreditTypes() []*CreditType
func (*QueryCreditTypesResponse) Marshal ¶
func (m *QueryCreditTypesResponse) Marshal() (dAtA []byte, err error)
func (*QueryCreditTypesResponse) MarshalTo ¶
func (m *QueryCreditTypesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCreditTypesResponse) MarshalToSizedBuffer ¶
func (m *QueryCreditTypesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCreditTypesResponse) ProtoMessage ¶
func (*QueryCreditTypesResponse) ProtoMessage()
func (*QueryCreditTypesResponse) Reset ¶
func (m *QueryCreditTypesResponse) Reset()
func (*QueryCreditTypesResponse) Size ¶
func (m *QueryCreditTypesResponse) Size() (n int)
func (*QueryCreditTypesResponse) String ¶
func (m *QueryCreditTypesResponse) String() string
func (*QueryCreditTypesResponse) Unmarshal ¶
func (m *QueryCreditTypesResponse) Unmarshal(dAtA []byte) error
func (*QueryCreditTypesResponse) XXX_DiscardUnknown ¶
func (m *QueryCreditTypesResponse) XXX_DiscardUnknown()
func (*QueryCreditTypesResponse) XXX_Marshal ¶
func (m *QueryCreditTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCreditTypesResponse) XXX_Merge ¶
func (m *QueryCreditTypesResponse) XXX_Merge(src proto.Message)
func (*QueryCreditTypesResponse) XXX_Size ¶
func (m *QueryCreditTypesResponse) XXX_Size() int
func (*QueryCreditTypesResponse) XXX_Unmarshal ¶
func (m *QueryCreditTypesResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is the Query/Params request type.
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 defines the parameters of the ecocredit module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` }
QueryParamsResponse is the Query/Params response type.
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 { // Classes queries for all credit classes with pagination. Classes(context.Context, *QueryClassesRequest) (*QueryClassesResponse, error) // ClassInfo queries for information on a credit class. ClassInfo(context.Context, *QueryClassInfoRequest) (*QueryClassInfoResponse, error) // Batches queries for all batches in the given credit class with pagination. Batches(context.Context, *QueryBatchesRequest) (*QueryBatchesResponse, error) // BatchInfo queries for information on a credit batch. BatchInfo(context.Context, *QueryBatchInfoRequest) (*QueryBatchInfoResponse, error) // Balance queries the balance (both tradable and retired) of a given credit // batch for a given account. Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error) // Supply queries the tradable and retired supply of a credit batch. Supply(context.Context, *QuerySupplyRequest) (*QuerySupplyResponse, error) // CreditTypes returns the list of allowed types that credit classes can have. // See Types/CreditType for more details. CreditTypes(context.Context, *QueryCreditTypesRequest) (*QueryCreditTypesResponse, error) // Params queries the ecocredit module parameters. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) }
QueryServer is the server API for Query service.
type QuerySupplyRequest ¶
type QuerySupplyRequest struct { // batch_denom is the unique ID of credit batch to query. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` }
QuerySupplyRequest is the Query/Supply request type.
func (*QuerySupplyRequest) Descriptor ¶
func (*QuerySupplyRequest) Descriptor() ([]byte, []int)
func (*QuerySupplyRequest) GetBatchDenom ¶
func (m *QuerySupplyRequest) GetBatchDenom() string
func (*QuerySupplyRequest) Marshal ¶
func (m *QuerySupplyRequest) Marshal() (dAtA []byte, err error)
func (*QuerySupplyRequest) MarshalTo ¶
func (m *QuerySupplyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySupplyRequest) MarshalToSizedBuffer ¶
func (m *QuerySupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySupplyRequest) ProtoMessage ¶
func (*QuerySupplyRequest) ProtoMessage()
func (*QuerySupplyRequest) Reset ¶
func (m *QuerySupplyRequest) Reset()
func (*QuerySupplyRequest) Size ¶
func (m *QuerySupplyRequest) Size() (n int)
func (*QuerySupplyRequest) String ¶
func (m *QuerySupplyRequest) String() string
func (*QuerySupplyRequest) Unmarshal ¶
func (m *QuerySupplyRequest) Unmarshal(dAtA []byte) error
func (*QuerySupplyRequest) XXX_DiscardUnknown ¶
func (m *QuerySupplyRequest) XXX_DiscardUnknown()
func (*QuerySupplyRequest) XXX_Marshal ¶
func (m *QuerySupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySupplyRequest) XXX_Merge ¶
func (m *QuerySupplyRequest) XXX_Merge(src proto.Message)
func (*QuerySupplyRequest) XXX_Size ¶
func (m *QuerySupplyRequest) XXX_Size() int
func (*QuerySupplyRequest) XXX_Unmarshal ¶
func (m *QuerySupplyRequest) XXX_Unmarshal(b []byte) error
type QuerySupplyResponse ¶
type QuerySupplyResponse struct { // tradable_supply is the decimal number of tradable credits in the batch // supply. TradableSupply string `protobuf:"bytes,1,opt,name=tradable_supply,json=tradableSupply,proto3" json:"tradable_supply,omitempty"` // retired_supply is the decimal number of retired credits in the batch // supply. RetiredSupply string `protobuf:"bytes,2,opt,name=retired_supply,json=retiredSupply,proto3" json:"retired_supply,omitempty"` }
QuerySupplyResponse is the Query/Supply response type.
func (*QuerySupplyResponse) Descriptor ¶
func (*QuerySupplyResponse) Descriptor() ([]byte, []int)
func (*QuerySupplyResponse) GetRetiredSupply ¶
func (m *QuerySupplyResponse) GetRetiredSupply() string
func (*QuerySupplyResponse) GetTradableSupply ¶
func (m *QuerySupplyResponse) GetTradableSupply() string
func (*QuerySupplyResponse) Marshal ¶
func (m *QuerySupplyResponse) Marshal() (dAtA []byte, err error)
func (*QuerySupplyResponse) MarshalTo ¶
func (m *QuerySupplyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySupplyResponse) MarshalToSizedBuffer ¶
func (m *QuerySupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySupplyResponse) ProtoMessage ¶
func (*QuerySupplyResponse) ProtoMessage()
func (*QuerySupplyResponse) Reset ¶
func (m *QuerySupplyResponse) Reset()
func (*QuerySupplyResponse) Size ¶
func (m *QuerySupplyResponse) Size() (n int)
func (*QuerySupplyResponse) String ¶
func (m *QuerySupplyResponse) String() string
func (*QuerySupplyResponse) Unmarshal ¶
func (m *QuerySupplyResponse) Unmarshal(dAtA []byte) error
func (*QuerySupplyResponse) XXX_DiscardUnknown ¶
func (m *QuerySupplyResponse) XXX_DiscardUnknown()
func (*QuerySupplyResponse) XXX_Marshal ¶
func (m *QuerySupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySupplyResponse) XXX_Merge ¶
func (m *QuerySupplyResponse) XXX_Merge(src proto.Message)
func (*QuerySupplyResponse) XXX_Size ¶
func (m *QuerySupplyResponse) XXX_Size() int
func (*QuerySupplyResponse) XXX_Unmarshal ¶
func (m *QuerySupplyResponse) XXX_Unmarshal(b []byte) error
type SellOrder ¶
type SellOrder struct { // order_id is the unique ID of sell order. OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // owner is the address of the owner of the credits being sold. Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // batch_denom is the credit batch being sold. BatchDenom string `protobuf:"bytes,3,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // quantity is the quantity of credits being sold. Quantity string `protobuf:"bytes,4,opt,name=quantity,proto3" json:"quantity,omitempty"` // ask_price is the price the seller is asking for each unit of the // batch_denom. Each credit unit of the batch will be sold for at least the // ask_price or more. AskPrice *types1.Coin `protobuf:"bytes,5,opt,name=ask_price,json=askPrice,proto3" json:"ask_price,omitempty"` // disable_auto_retire disables auto-retirement of credits which allows a // buyer to disable auto-retirement in their buy order enabling them to // resell the credits to another buyer. DisableAutoRetire bool `protobuf:"varint,6,opt,name=disable_auto_retire,json=disableAutoRetire,proto3" json:"disable_auto_retire,omitempty"` }
SellOrder represents the information for a sell order.
func (*SellOrder) Descriptor ¶
func (*SellOrder) GetAskPrice ¶
func (*SellOrder) GetBatchDenom ¶
func (*SellOrder) GetDisableAutoRetire ¶
func (*SellOrder) GetOrderId ¶
func (*SellOrder) GetQuantity ¶
func (*SellOrder) MarshalToSizedBuffer ¶
func (*SellOrder) PrimaryKeyFields ¶
func (m *SellOrder) PrimaryKeyFields() []interface{}
PrimaryKeyFields returns the fields of the object that will make up the primary key for SellOrder.
func (*SellOrder) ProtoMessage ¶
func (*SellOrder) ProtoMessage()
func (*SellOrder) XXX_DiscardUnknown ¶
func (m *SellOrder) XXX_DiscardUnknown()
func (*SellOrder) XXX_Marshal ¶
func (*SellOrder) XXX_Unmarshal ¶
type Supply ¶
type Supply struct { // batch_denom is the unique ID of the credit batch. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // tradable_supply is the tradable supply of the credit batch. TradableSupply string `protobuf:"bytes,2,opt,name=tradable_supply,json=tradableSupply,proto3" json:"tradable_supply,omitempty"` // retired_supply is the retired supply of the credit batch. RetiredSupply string `protobuf:"bytes,3,opt,name=retired_supply,json=retiredSupply,proto3" json:"retired_supply,omitempty"` }
Supply represents a tradable or retired supply of a credit batch.
func (*Supply) Descriptor ¶
func (*Supply) GetBatchDenom ¶
func (*Supply) GetRetiredSupply ¶
func (*Supply) GetTradableSupply ¶
func (*Supply) MarshalToSizedBuffer ¶
func (*Supply) ProtoMessage ¶
func (*Supply) ProtoMessage()
func (*Supply) XXX_DiscardUnknown ¶
func (m *Supply) XXX_DiscardUnknown()
func (*Supply) XXX_Marshal ¶
func (*Supply) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AllowAskDenom ¶
func (*UnimplementedMsgServer) AllowAskDenom(ctx context.Context, req *MsgAllowAskDenom) (*MsgAllowAskDenomResponse, error)
func (*UnimplementedMsgServer) Buy ¶
func (*UnimplementedMsgServer) Buy(ctx context.Context, req *MsgBuy) (*MsgBuyResponse, error)
func (*UnimplementedMsgServer) Cancel ¶
func (*UnimplementedMsgServer) Cancel(ctx context.Context, req *MsgCancel) (*MsgCancelResponse, error)
func (*UnimplementedMsgServer) CreateBatch ¶
func (*UnimplementedMsgServer) CreateBatch(ctx context.Context, req *MsgCreateBatch) (*MsgCreateBatchResponse, error)
func (*UnimplementedMsgServer) CreateClass ¶
func (*UnimplementedMsgServer) CreateClass(ctx context.Context, req *MsgCreateClass) (*MsgCreateClassResponse, error)
func (*UnimplementedMsgServer) Retire ¶
func (*UnimplementedMsgServer) Retire(ctx context.Context, req *MsgRetire) (*MsgRetireResponse, error)
func (*UnimplementedMsgServer) Sell ¶
func (*UnimplementedMsgServer) Sell(ctx context.Context, req *MsgSell) (*MsgSellResponse, error)
func (*UnimplementedMsgServer) Send ¶
func (*UnimplementedMsgServer) Send(ctx context.Context, req *MsgSend) (*MsgSendResponse, error)
func (*UnimplementedMsgServer) UpdateClassAdmin ¶
func (*UnimplementedMsgServer) UpdateClassAdmin(ctx context.Context, req *MsgUpdateClassAdmin) (*MsgUpdateClassAdminResponse, error)
func (*UnimplementedMsgServer) UpdateClassIssuers ¶
func (*UnimplementedMsgServer) UpdateClassIssuers(ctx context.Context, req *MsgUpdateClassIssuers) (*MsgUpdateClassIssuersResponse, error)
func (*UnimplementedMsgServer) UpdateClassMetadata ¶
func (*UnimplementedMsgServer) UpdateClassMetadata(ctx context.Context, req *MsgUpdateClassMetadata) (*MsgUpdateClassMetadataResponse, error)
func (*UnimplementedMsgServer) UpdateSellOrders ¶
func (*UnimplementedMsgServer) UpdateSellOrders(ctx context.Context, req *MsgUpdateSellOrders) (*MsgUpdateSellOrdersResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Balance ¶
func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error)
func (*UnimplementedQueryServer) BatchInfo ¶
func (*UnimplementedQueryServer) BatchInfo(ctx context.Context, req *QueryBatchInfoRequest) (*QueryBatchInfoResponse, error)
func (*UnimplementedQueryServer) Batches ¶
func (*UnimplementedQueryServer) Batches(ctx context.Context, req *QueryBatchesRequest) (*QueryBatchesResponse, error)
func (*UnimplementedQueryServer) ClassInfo ¶
func (*UnimplementedQueryServer) ClassInfo(ctx context.Context, req *QueryClassInfoRequest) (*QueryClassInfoResponse, error)
func (*UnimplementedQueryServer) Classes ¶
func (*UnimplementedQueryServer) Classes(ctx context.Context, req *QueryClassesRequest) (*QueryClassesResponse, error)
func (*UnimplementedQueryServer) CreditTypes ¶
func (*UnimplementedQueryServer) CreditTypes(ctx context.Context, req *QueryCreditTypesRequest) (*QueryCreditTypesResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Supply ¶
func (*UnimplementedQueryServer) Supply(ctx context.Context, req *QuerySupplyRequest) (*QuerySupplyResponse, error)