Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type AskDenom
- func (*AskDenom) Descriptor() ([]byte, []int)deprecated
- func (x *AskDenom) GetDenom() string
- func (x *AskDenom) GetDisplayDenom() string
- func (x *AskDenom) GetExponent() uint32
- func (*AskDenom) ProtoMessage()
- func (x *AskDenom) ProtoReflect() protoreflect.Message
- func (x *AskDenom) Reset()
- func (x *AskDenom) String() string
- type Balance
- func (*Balance) Descriptor() ([]byte, []int)deprecated
- func (x *Balance) GetAddress() string
- func (x *Balance) GetBatchDenom() string
- func (x *Balance) GetRetiredBalance() string
- func (x *Balance) GetTradableBalance() string
- func (*Balance) ProtoMessage()
- func (x *Balance) ProtoReflect() protoreflect.Message
- func (x *Balance) Reset()
- func (x *Balance) String() string
- type Basket
- func (*Basket) Descriptor() ([]byte, []int)deprecated
- func (x *Basket) GetAllowPicking() bool
- func (x *Basket) GetBasketCriteria() []*BasketCriteria
- func (x *Basket) GetCurator() string
- func (x *Basket) GetDisableAutoRetire() bool
- func (x *Basket) GetDisplayName() string
- func (x *Basket) GetExponent() uint32
- func (x *Basket) GetName() string
- func (*Basket) ProtoMessage()
- func (x *Basket) ProtoReflect() protoreflect.Message
- func (x *Basket) Reset()
- func (x *Basket) String() string
- type BasketCredit
- func (*BasketCredit) Descriptor() ([]byte, []int)deprecated
- func (x *BasketCredit) GetBatchDenom() string
- func (x *BasketCredit) GetTradableAmount() string
- func (*BasketCredit) ProtoMessage()
- func (x *BasketCredit) ProtoReflect() protoreflect.Message
- func (x *BasketCredit) Reset()
- func (x *BasketCredit) String() string
- type BasketCriteria
- func (*BasketCriteria) Descriptor() ([]byte, []int)deprecated
- func (x *BasketCriteria) GetFilter() *Filter
- func (x *BasketCriteria) GetMultiplier() string
- func (*BasketCriteria) ProtoMessage()
- func (x *BasketCriteria) ProtoReflect() protoreflect.Message
- func (x *BasketCriteria) Reset()
- func (x *BasketCriteria) String() string
- type BatchInfo
- func (*BatchInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BatchInfo) GetAmountCancelled() string
- func (x *BatchInfo) GetBatchDenom() string
- func (x *BatchInfo) GetEndDate() *timestamppb.Timestamp
- func (x *BatchInfo) GetMetadata() []byte
- func (x *BatchInfo) GetProjectId() string
- func (x *BatchInfo) GetStartDate() *timestamppb.Timestamp
- func (x *BatchInfo) GetTotalAmount() string
- func (*BatchInfo) ProtoMessage()
- func (x *BatchInfo) ProtoReflect() protoreflect.Message
- func (x *BatchInfo) Reset()
- func (x *BatchInfo) String() string
- type BuyOrder
- func (*BuyOrder) Descriptor() ([]byte, []int)deprecated
- func (x *BuyOrder) GetBidPrice() *v1beta1.Coin
- func (x *BuyOrder) GetBuyOrderId() uint64
- func (x *BuyOrder) GetBuyer() string
- func (x *BuyOrder) GetDisableAutoRetire() bool
- func (x *BuyOrder) GetDisablePartialFill() bool
- func (x *BuyOrder) GetExpiration() *timestamppb.Timestamp
- func (x *BuyOrder) GetQuantity() string
- func (x *BuyOrder) GetSelection() *BuyOrder_Selection
- func (*BuyOrder) ProtoMessage()
- func (x *BuyOrder) ProtoReflect() protoreflect.Message
- func (x *BuyOrder) Reset()
- func (x *BuyOrder) String() string
- type BuyOrder_Selection
- func (*BuyOrder_Selection) Descriptor() ([]byte, []int)deprecated
- func (x *BuyOrder_Selection) GetSellOrderId() uint64
- func (x *BuyOrder_Selection) GetSum() isBuyOrder_Selection_Sum
- func (*BuyOrder_Selection) ProtoMessage()
- func (x *BuyOrder_Selection) ProtoReflect() protoreflect.Message
- func (x *BuyOrder_Selection) Reset()
- func (x *BuyOrder_Selection) String() string
- type BuyOrder_Selection_SellOrderId
- type ClassInfo
- func (*ClassInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ClassInfo) GetAdmin() string
- func (x *ClassInfo) GetClassId() string
- func (x *ClassInfo) GetCreditType() *CreditType
- func (x *ClassInfo) GetIssuers() []string
- func (x *ClassInfo) GetMetadata() []byte
- func (x *ClassInfo) GetNumBatches() uint64
- func (*ClassInfo) ProtoMessage()
- func (x *ClassInfo) ProtoReflect() protoreflect.Message
- func (x *ClassInfo) Reset()
- func (x *ClassInfo) String() string
- type CreditType
- func (*CreditType) Descriptor() ([]byte, []int)deprecated
- func (x *CreditType) GetAbbreviation() string
- func (x *CreditType) GetName() string
- func (x *CreditType) GetPrecision() uint32
- func (x *CreditType) GetUnit() string
- func (*CreditType) ProtoMessage()
- func (x *CreditType) ProtoReflect() protoreflect.Message
- func (x *CreditType) Reset()
- func (x *CreditType) String() string
- type CreditTypeSeq
- func (*CreditTypeSeq) Descriptor() ([]byte, []int)deprecated
- func (x *CreditTypeSeq) GetAbbreviation() string
- func (x *CreditTypeSeq) GetSeqNumber() uint64
- func (*CreditTypeSeq) ProtoMessage()
- func (x *CreditTypeSeq) ProtoReflect() protoreflect.Message
- func (x *CreditTypeSeq) Reset()
- func (x *CreditTypeSeq) String() string
- type EventAllowAskDenom
- func (*EventAllowAskDenom) Descriptor() ([]byte, []int)deprecated
- func (x *EventAllowAskDenom) GetDenom() string
- func (x *EventAllowAskDenom) GetDisplayDenom() string
- func (x *EventAllowAskDenom) GetExponent() uint32
- func (*EventAllowAskDenom) ProtoMessage()
- func (x *EventAllowAskDenom) ProtoReflect() protoreflect.Message
- func (x *EventAllowAskDenom) Reset()
- func (x *EventAllowAskDenom) String() string
- type EventBuyOrderCreated
- func (*EventBuyOrderCreated) Descriptor() ([]byte, []int)deprecated
- func (x *EventBuyOrderCreated) GetBidPrice() *v1beta1.Coin
- func (x *EventBuyOrderCreated) GetBuyOrderId() uint64
- func (x *EventBuyOrderCreated) GetDisableAutoRetire() bool
- func (x *EventBuyOrderCreated) GetDisablePartialFill() bool
- func (x *EventBuyOrderCreated) GetExpiration() *timestamppb.Timestamp
- func (x *EventBuyOrderCreated) GetQuantity() string
- func (x *EventBuyOrderCreated) GetRetirementLocation() string
- func (x *EventBuyOrderCreated) GetSellOrderId() uint64
- func (*EventBuyOrderCreated) ProtoMessage()
- func (x *EventBuyOrderCreated) ProtoReflect() protoreflect.Message
- func (x *EventBuyOrderCreated) Reset()
- func (x *EventBuyOrderCreated) String() string
- type EventBuyOrderFilled
- func (*EventBuyOrderFilled) Descriptor() ([]byte, []int)deprecated
- func (x *EventBuyOrderFilled) GetBatchDenom() string
- func (x *EventBuyOrderFilled) GetBuyOrderId() uint64
- func (x *EventBuyOrderFilled) GetQuantity() string
- func (x *EventBuyOrderFilled) GetSellOrderId() uint64
- func (x *EventBuyOrderFilled) GetTotalPrice() *v1beta1.Coin
- func (*EventBuyOrderFilled) ProtoMessage()
- func (x *EventBuyOrderFilled) ProtoReflect() protoreflect.Message
- func (x *EventBuyOrderFilled) Reset()
- func (x *EventBuyOrderFilled) String() string
- type EventCancel
- func (*EventCancel) Descriptor() ([]byte, []int)deprecated
- func (x *EventCancel) GetAmount() string
- func (x *EventCancel) GetBatchDenom() string
- func (x *EventCancel) GetCanceller() string
- func (*EventCancel) ProtoMessage()
- func (x *EventCancel) ProtoReflect() protoreflect.Message
- func (x *EventCancel) Reset()
- func (x *EventCancel) String() string
- type EventCreateBatch
- func (*EventCreateBatch) Descriptor() ([]byte, []int)deprecated
- func (x *EventCreateBatch) GetBatchDenom() string
- func (x *EventCreateBatch) GetClassId() string
- func (x *EventCreateBatch) GetEndDate() string
- func (x *EventCreateBatch) GetIssuer() string
- func (x *EventCreateBatch) GetProjectId() string
- func (x *EventCreateBatch) GetProjectLocation() string
- func (x *EventCreateBatch) GetStartDate() string
- func (x *EventCreateBatch) GetTotalAmount() string
- func (*EventCreateBatch) ProtoMessage()
- func (x *EventCreateBatch) ProtoReflect() protoreflect.Message
- func (x *EventCreateBatch) Reset()
- func (x *EventCreateBatch) String() string
- type EventCreateClass
- func (*EventCreateClass) Descriptor() ([]byte, []int)deprecated
- func (x *EventCreateClass) GetAdmin() string
- func (x *EventCreateClass) GetClassId() string
- func (*EventCreateClass) ProtoMessage()
- func (x *EventCreateClass) ProtoReflect() protoreflect.Message
- func (x *EventCreateClass) Reset()
- func (x *EventCreateClass) String() string
- type EventCreateProject
- func (*EventCreateProject) Descriptor() ([]byte, []int)deprecated
- func (x *EventCreateProject) GetClassId() string
- func (x *EventCreateProject) GetIssuer() string
- func (x *EventCreateProject) GetProjectId() string
- func (x *EventCreateProject) GetProjectLocation() string
- func (*EventCreateProject) ProtoMessage()
- func (x *EventCreateProject) ProtoReflect() protoreflect.Message
- func (x *EventCreateProject) Reset()
- func (x *EventCreateProject) String() string
- type EventReceive
- func (*EventReceive) Descriptor() ([]byte, []int)deprecated
- func (x *EventReceive) GetBatchDenom() string
- func (x *EventReceive) GetRecipient() string
- func (x *EventReceive) GetRetiredAmount() string
- func (x *EventReceive) GetSender() string
- func (x *EventReceive) GetTradableAmount() string
- func (*EventReceive) ProtoMessage()
- func (x *EventReceive) ProtoReflect() protoreflect.Message
- func (x *EventReceive) Reset()
- func (x *EventReceive) String() string
- type EventRetire
- func (*EventRetire) Descriptor() ([]byte, []int)deprecated
- func (x *EventRetire) GetAmount() string
- func (x *EventRetire) GetBatchDenom() string
- func (x *EventRetire) GetLocation() string
- func (x *EventRetire) GetRetirer() string
- func (*EventRetire) ProtoMessage()
- func (x *EventRetire) ProtoReflect() protoreflect.Message
- func (x *EventRetire) Reset()
- func (x *EventRetire) String() string
- type EventSell
- func (*EventSell) Descriptor() ([]byte, []int)deprecated
- func (x *EventSell) GetAskPrice() *v1beta1.Coin
- func (x *EventSell) GetBatchDenom() string
- func (x *EventSell) GetDisableAutoRetire() bool
- func (x *EventSell) GetExpiration() *timestamppb.Timestamp
- func (x *EventSell) GetOrderId() uint64
- func (x *EventSell) GetQuantity() string
- func (*EventSell) ProtoMessage()
- func (x *EventSell) ProtoReflect() protoreflect.Message
- func (x *EventSell) Reset()
- func (x *EventSell) String() string
- type EventUpdateSellOrder
- func (*EventUpdateSellOrder) Descriptor() ([]byte, []int)deprecated
- func (x *EventUpdateSellOrder) GetBatchDenom() string
- func (x *EventUpdateSellOrder) GetDisableAutoRetire() bool
- func (x *EventUpdateSellOrder) GetNewAskPrice() *v1beta1.Coin
- func (x *EventUpdateSellOrder) GetNewExpiration() *timestamppb.Timestamp
- func (x *EventUpdateSellOrder) GetNewQuantity() string
- func (x *EventUpdateSellOrder) GetOwner() string
- func (x *EventUpdateSellOrder) GetSellOrderId() uint64
- func (*EventUpdateSellOrder) ProtoMessage()
- func (x *EventUpdateSellOrder) ProtoReflect() protoreflect.Message
- func (x *EventUpdateSellOrder) Reset()
- func (x *EventUpdateSellOrder) String() string
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetAnd() *Filter_And
- func (x *Filter) GetBatchDenom() string
- func (x *Filter) GetClassAdmin() string
- func (x *Filter) GetClassId() string
- func (x *Filter) GetCreditTypeName() string
- func (x *Filter) GetDateRange() *Filter_DateRange
- func (x *Filter) GetIssuer() string
- func (x *Filter) GetOr() *Filter_Or
- func (x *Filter) GetOwner() string
- func (x *Filter) GetProjectId() string
- func (x *Filter) GetProjectLocation() string
- func (x *Filter) GetSum() isFilter_Sum
- func (x *Filter) GetTag() string
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- type Filter_And
- type Filter_And_
- type Filter_BatchDenom
- type Filter_ClassAdmin
- type Filter_ClassId
- type Filter_CreditTypeName
- type Filter_DateRange
- func (*Filter_DateRange) Descriptor() ([]byte, []int)deprecated
- func (x *Filter_DateRange) GetEndDate() *timestamppb.Timestamp
- func (x *Filter_DateRange) GetStartDate() *timestamppb.Timestamp
- func (*Filter_DateRange) ProtoMessage()
- func (x *Filter_DateRange) ProtoReflect() protoreflect.Message
- func (x *Filter_DateRange) Reset()
- func (x *Filter_DateRange) String() string
- type Filter_DateRange_
- type Filter_Issuer
- type Filter_Or
- type Filter_Or_
- type Filter_Owner
- type Filter_ProjectId
- type Filter_ProjectLocation
- type Filter_Tag
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetBalances() []*Balance
- func (x *GenesisState) GetBatchInfo() []*BatchInfo
- func (x *GenesisState) GetClassInfo() []*ClassInfo
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetProjectInfo() []*ProjectInfo
- func (x *GenesisState) GetProjectSeqNum() uint64
- func (x *GenesisState) GetSequences() []*CreditTypeSeq
- func (x *GenesisState) GetSupplies() []*Supply
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgAddToBasket
- func (*MsgAddToBasket) Descriptor() ([]byte, []int)deprecated
- func (x *MsgAddToBasket) GetBasketDenom() string
- func (x *MsgAddToBasket) GetCredits() []*BasketCredit
- func (x *MsgAddToBasket) GetOwner() string
- func (*MsgAddToBasket) ProtoMessage()
- func (x *MsgAddToBasket) ProtoReflect() protoreflect.Message
- func (x *MsgAddToBasket) Reset()
- func (x *MsgAddToBasket) String() string
- type MsgAddToBasketResponse
- func (*MsgAddToBasketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgAddToBasketResponse) GetAmountReceived() string
- func (*MsgAddToBasketResponse) ProtoMessage()
- func (x *MsgAddToBasketResponse) ProtoReflect() protoreflect.Message
- func (x *MsgAddToBasketResponse) Reset()
- func (x *MsgAddToBasketResponse) String() string
- type MsgAllowAskDenom
- func (*MsgAllowAskDenom) Descriptor() ([]byte, []int)deprecated
- func (x *MsgAllowAskDenom) GetDenom() string
- func (x *MsgAllowAskDenom) GetDisplayDenom() string
- func (x *MsgAllowAskDenom) GetExponent() uint32
- func (x *MsgAllowAskDenom) GetRootAddress() string
- func (*MsgAllowAskDenom) ProtoMessage()
- func (x *MsgAllowAskDenom) ProtoReflect() protoreflect.Message
- func (x *MsgAllowAskDenom) Reset()
- func (x *MsgAllowAskDenom) String() string
- type MsgAllowAskDenomResponse
- type MsgBuy
- type MsgBuyResponse
- type MsgBuy_Order
- func (*MsgBuy_Order) Descriptor() ([]byte, []int)deprecated
- func (x *MsgBuy_Order) GetBidPrice() *v1beta1.Coin
- func (x *MsgBuy_Order) GetDisableAutoRetire() bool
- func (x *MsgBuy_Order) GetDisablePartialFill() bool
- func (x *MsgBuy_Order) GetExpiration() *timestamppb.Timestamp
- func (x *MsgBuy_Order) GetQuantity() string
- func (x *MsgBuy_Order) GetRetirementLocation() string
- func (x *MsgBuy_Order) GetSelection() *MsgBuy_Order_Selection
- func (*MsgBuy_Order) ProtoMessage()
- func (x *MsgBuy_Order) ProtoReflect() protoreflect.Message
- func (x *MsgBuy_Order) Reset()
- func (x *MsgBuy_Order) String() string
- type MsgBuy_Order_Selection
- func (*MsgBuy_Order_Selection) Descriptor() ([]byte, []int)deprecated
- func (x *MsgBuy_Order_Selection) GetSellOrderId() uint64
- func (x *MsgBuy_Order_Selection) GetSum() isMsgBuy_Order_Selection_Sum
- func (*MsgBuy_Order_Selection) ProtoMessage()
- func (x *MsgBuy_Order_Selection) ProtoReflect() protoreflect.Message
- func (x *MsgBuy_Order_Selection) Reset()
- func (x *MsgBuy_Order_Selection) String() string
- type MsgBuy_Order_Selection_SellOrderId
- type MsgCancel
- func (*MsgCancel) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCancel) GetCredits() []*MsgCancel_CancelCredits
- func (x *MsgCancel) GetHolder() string
- func (*MsgCancel) ProtoMessage()
- func (x *MsgCancel) ProtoReflect() protoreflect.Message
- func (x *MsgCancel) Reset()
- func (x *MsgCancel) String() string
- type MsgCancelResponse
- type MsgCancel_CancelCredits
- func (*MsgCancel_CancelCredits) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCancel_CancelCredits) GetAmount() string
- func (x *MsgCancel_CancelCredits) GetBatchDenom() string
- func (*MsgCancel_CancelCredits) ProtoMessage()
- func (x *MsgCancel_CancelCredits) ProtoReflect() protoreflect.Message
- func (x *MsgCancel_CancelCredits) Reset()
- func (x *MsgCancel_CancelCredits) String() string
- type MsgClient
- type MsgCreateBasket
- func (*MsgCreateBasket) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateBasket) GetAllowPicking() bool
- func (x *MsgCreateBasket) GetBasketCriteria() []*BasketCriteria
- func (x *MsgCreateBasket) GetCurator() string
- func (x *MsgCreateBasket) GetDisableAutoRetire() bool
- func (x *MsgCreateBasket) GetDisplayName() string
- func (x *MsgCreateBasket) GetExponent() uint32
- func (x *MsgCreateBasket) GetName() string
- func (*MsgCreateBasket) ProtoMessage()
- func (x *MsgCreateBasket) ProtoReflect() protoreflect.Message
- func (x *MsgCreateBasket) Reset()
- func (x *MsgCreateBasket) String() string
- type MsgCreateBasketResponse
- func (*MsgCreateBasketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateBasketResponse) GetBasketDenom() string
- func (*MsgCreateBasketResponse) ProtoMessage()
- func (x *MsgCreateBasketResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateBasketResponse) Reset()
- func (x *MsgCreateBasketResponse) String() string
- type MsgCreateBatch
- func (*MsgCreateBatch) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateBatch) GetEndDate() *timestamppb.Timestamp
- func (x *MsgCreateBatch) GetIssuance() []*MsgCreateBatch_BatchIssuance
- func (x *MsgCreateBatch) GetIssuer() string
- func (x *MsgCreateBatch) GetMetadata() []byte
- func (x *MsgCreateBatch) GetProjectId() string
- func (x *MsgCreateBatch) GetStartDate() *timestamppb.Timestamp
- func (*MsgCreateBatch) ProtoMessage()
- func (x *MsgCreateBatch) ProtoReflect() protoreflect.Message
- func (x *MsgCreateBatch) Reset()
- func (x *MsgCreateBatch) String() string
- type MsgCreateBatchResponse
- func (*MsgCreateBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateBatchResponse) GetBatchDenom() string
- func (*MsgCreateBatchResponse) ProtoMessage()
- func (x *MsgCreateBatchResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateBatchResponse) Reset()
- func (x *MsgCreateBatchResponse) String() string
- type MsgCreateBatch_BatchIssuance
- func (*MsgCreateBatch_BatchIssuance) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateBatch_BatchIssuance) GetRecipient() string
- func (x *MsgCreateBatch_BatchIssuance) GetRetiredAmount() string
- func (x *MsgCreateBatch_BatchIssuance) GetRetirementLocation() string
- func (x *MsgCreateBatch_BatchIssuance) GetTradableAmount() string
- func (*MsgCreateBatch_BatchIssuance) ProtoMessage()
- func (x *MsgCreateBatch_BatchIssuance) ProtoReflect() protoreflect.Message
- func (x *MsgCreateBatch_BatchIssuance) Reset()
- func (x *MsgCreateBatch_BatchIssuance) String() string
- type MsgCreateClass
- func (*MsgCreateClass) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateClass) GetAdmin() string
- func (x *MsgCreateClass) GetCreditTypeName() string
- func (x *MsgCreateClass) GetIssuers() []string
- func (x *MsgCreateClass) GetMetadata() []byte
- func (*MsgCreateClass) ProtoMessage()
- func (x *MsgCreateClass) ProtoReflect() protoreflect.Message
- func (x *MsgCreateClass) Reset()
- func (x *MsgCreateClass) String() string
- type MsgCreateClassResponse
- func (*MsgCreateClassResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateClassResponse) GetClassId() string
- func (*MsgCreateClassResponse) ProtoMessage()
- func (x *MsgCreateClassResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateClassResponse) Reset()
- func (x *MsgCreateClassResponse) String() string
- type MsgCreateProject
- func (*MsgCreateProject) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateProject) GetClassId() string
- func (x *MsgCreateProject) GetIssuer() string
- func (x *MsgCreateProject) GetMetadata() []byte
- func (x *MsgCreateProject) GetProjectId() string
- func (x *MsgCreateProject) GetProjectLocation() string
- func (*MsgCreateProject) ProtoMessage()
- func (x *MsgCreateProject) ProtoReflect() protoreflect.Message
- func (x *MsgCreateProject) Reset()
- func (x *MsgCreateProject) String() string
- type MsgCreateProjectResponse
- func (*MsgCreateProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateProjectResponse) GetProjectId() string
- func (*MsgCreateProjectResponse) ProtoMessage()
- func (x *MsgCreateProjectResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateProjectResponse) Reset()
- func (x *MsgCreateProjectResponse) String() string
- type MsgPickFromBasket
- func (*MsgPickFromBasket) Descriptor() ([]byte, []int)deprecated
- func (x *MsgPickFromBasket) GetBasketDenom() string
- func (x *MsgPickFromBasket) GetCredits() []*BasketCredit
- func (x *MsgPickFromBasket) GetOwner() string
- func (x *MsgPickFromBasket) GetRetirementLocation() string
- func (*MsgPickFromBasket) ProtoMessage()
- func (x *MsgPickFromBasket) ProtoReflect() protoreflect.Message
- func (x *MsgPickFromBasket) Reset()
- func (x *MsgPickFromBasket) String() string
- type MsgPickFromBasketResponse
- type MsgRetire
- func (*MsgRetire) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRetire) GetCredits() []*MsgRetire_RetireCredits
- func (x *MsgRetire) GetHolder() string
- func (x *MsgRetire) GetLocation() string
- func (*MsgRetire) ProtoMessage()
- func (x *MsgRetire) ProtoReflect() protoreflect.Message
- func (x *MsgRetire) Reset()
- func (x *MsgRetire) String() string
- type MsgRetireResponse
- type MsgRetire_RetireCredits
- func (*MsgRetire_RetireCredits) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRetire_RetireCredits) GetAmount() string
- func (x *MsgRetire_RetireCredits) GetBatchDenom() string
- func (*MsgRetire_RetireCredits) ProtoMessage()
- func (x *MsgRetire_RetireCredits) ProtoReflect() protoreflect.Message
- func (x *MsgRetire_RetireCredits) Reset()
- func (x *MsgRetire_RetireCredits) String() string
- type MsgSell
- type MsgSellResponse
- type MsgSell_Order
- func (*MsgSell_Order) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSell_Order) GetAskPrice() *v1beta1.Coin
- func (x *MsgSell_Order) GetBatchDenom() string
- func (x *MsgSell_Order) GetDisableAutoRetire() bool
- func (x *MsgSell_Order) GetExpiration() *timestamppb.Timestamp
- func (x *MsgSell_Order) GetQuantity() string
- func (*MsgSell_Order) ProtoMessage()
- func (x *MsgSell_Order) ProtoReflect() protoreflect.Message
- func (x *MsgSell_Order) Reset()
- func (x *MsgSell_Order) String() string
- type MsgSend
- func (*MsgSend) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSend) GetCredits() []*MsgSend_SendCredits
- func (x *MsgSend) GetRecipient() string
- func (x *MsgSend) GetSender() string
- func (*MsgSend) ProtoMessage()
- func (x *MsgSend) ProtoReflect() protoreflect.Message
- func (x *MsgSend) Reset()
- func (x *MsgSend) String() string
- type MsgSendResponse
- type MsgSend_SendCredits
- func (*MsgSend_SendCredits) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSend_SendCredits) GetBatchDenom() string
- func (x *MsgSend_SendCredits) GetRetiredAmount() string
- func (x *MsgSend_SendCredits) GetRetirementLocation() string
- func (x *MsgSend_SendCredits) GetTradableAmount() string
- func (*MsgSend_SendCredits) ProtoMessage()
- func (x *MsgSend_SendCredits) ProtoReflect() protoreflect.Message
- func (x *MsgSend_SendCredits) Reset()
- func (x *MsgSend_SendCredits) String() string
- type MsgServer
- type MsgTakeFromBasket
- func (*MsgTakeFromBasket) Descriptor() ([]byte, []int)deprecated
- func (x *MsgTakeFromBasket) GetAmount() string
- func (x *MsgTakeFromBasket) GetBasketDenom() string
- func (x *MsgTakeFromBasket) GetOwner() string
- func (x *MsgTakeFromBasket) GetRetirementLocation() string
- func (*MsgTakeFromBasket) ProtoMessage()
- func (x *MsgTakeFromBasket) ProtoReflect() protoreflect.Message
- func (x *MsgTakeFromBasket) Reset()
- func (x *MsgTakeFromBasket) String() string
- type MsgTakeFromBasketResponse
- func (*MsgTakeFromBasketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgTakeFromBasketResponse) GetCredits() []*BasketCredit
- func (*MsgTakeFromBasketResponse) ProtoMessage()
- func (x *MsgTakeFromBasketResponse) ProtoReflect() protoreflect.Message
- func (x *MsgTakeFromBasketResponse) Reset()
- func (x *MsgTakeFromBasketResponse) String() string
- type MsgUpdateClassAdmin
- func (*MsgUpdateClassAdmin) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateClassAdmin) GetAdmin() string
- func (x *MsgUpdateClassAdmin) GetClassId() string
- func (x *MsgUpdateClassAdmin) GetNewAdmin() string
- func (*MsgUpdateClassAdmin) ProtoMessage()
- func (x *MsgUpdateClassAdmin) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateClassAdmin) Reset()
- func (x *MsgUpdateClassAdmin) String() string
- type MsgUpdateClassAdminResponse
- type MsgUpdateClassIssuers
- func (*MsgUpdateClassIssuers) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateClassIssuers) GetAdmin() string
- func (x *MsgUpdateClassIssuers) GetClassId() string
- func (x *MsgUpdateClassIssuers) GetIssuers() []string
- func (*MsgUpdateClassIssuers) ProtoMessage()
- func (x *MsgUpdateClassIssuers) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateClassIssuers) Reset()
- func (x *MsgUpdateClassIssuers) String() string
- type MsgUpdateClassIssuersResponse
- func (*MsgUpdateClassIssuersResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateClassIssuersResponse) ProtoMessage()
- func (x *MsgUpdateClassIssuersResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateClassIssuersResponse) Reset()
- func (x *MsgUpdateClassIssuersResponse) String() string
- type MsgUpdateClassMetadata
- func (*MsgUpdateClassMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateClassMetadata) GetAdmin() string
- func (x *MsgUpdateClassMetadata) GetClassId() string
- func (x *MsgUpdateClassMetadata) GetMetadata() []byte
- func (*MsgUpdateClassMetadata) ProtoMessage()
- func (x *MsgUpdateClassMetadata) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateClassMetadata) Reset()
- func (x *MsgUpdateClassMetadata) String() string
- type MsgUpdateClassMetadataResponse
- func (*MsgUpdateClassMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateClassMetadataResponse) ProtoMessage()
- func (x *MsgUpdateClassMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateClassMetadataResponse) Reset()
- func (x *MsgUpdateClassMetadataResponse) String() string
- type MsgUpdateSellOrders
- func (*MsgUpdateSellOrders) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateSellOrders) GetOwner() string
- func (x *MsgUpdateSellOrders) GetUpdates() []*MsgUpdateSellOrders_Update
- func (*MsgUpdateSellOrders) ProtoMessage()
- func (x *MsgUpdateSellOrders) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateSellOrders) Reset()
- func (x *MsgUpdateSellOrders) String() string
- type MsgUpdateSellOrdersResponse
- type MsgUpdateSellOrders_Update
- func (*MsgUpdateSellOrders_Update) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateSellOrders_Update) GetDisableAutoRetire() bool
- func (x *MsgUpdateSellOrders_Update) GetNewAskPrice() *v1beta1.Coin
- func (x *MsgUpdateSellOrders_Update) GetNewExpiration() *timestamppb.Timestamp
- func (x *MsgUpdateSellOrders_Update) GetNewQuantity() string
- func (x *MsgUpdateSellOrders_Update) GetSellOrderId() uint64
- func (*MsgUpdateSellOrders_Update) ProtoMessage()
- func (x *MsgUpdateSellOrders_Update) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateSellOrders_Update) Reset()
- func (x *MsgUpdateSellOrders_Update) String() string
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetAllowedClassCreators() []string
- func (x *Params) GetAllowlistEnabled() bool
- func (x *Params) GetCreditClassFee() []*v1beta1.Coin
- func (x *Params) GetCreditTypes() []*CreditType
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type ProjectInfo
- func (*ProjectInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectInfo) GetClassId() string
- func (x *ProjectInfo) GetIssuer() string
- func (x *ProjectInfo) GetMetadata() []byte
- func (x *ProjectInfo) GetProjectId() string
- func (x *ProjectInfo) GetProjectLocation() string
- func (*ProjectInfo) ProtoMessage()
- func (x *ProjectInfo) ProtoReflect() protoreflect.Message
- func (x *ProjectInfo) Reset()
- func (x *ProjectInfo) String() string
- type QueryAllowedAskDenomsRequest
- func (*QueryAllowedAskDenomsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllowedAskDenomsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllowedAskDenomsRequest) ProtoMessage()
- func (x *QueryAllowedAskDenomsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllowedAskDenomsRequest) Reset()
- func (x *QueryAllowedAskDenomsRequest) String() string
- type QueryAllowedAskDenomsResponse
- func (*QueryAllowedAskDenomsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllowedAskDenomsResponse) GetAskDenoms() []*AskDenom
- func (x *QueryAllowedAskDenomsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllowedAskDenomsResponse) ProtoMessage()
- func (x *QueryAllowedAskDenomsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllowedAskDenomsResponse) Reset()
- func (x *QueryAllowedAskDenomsResponse) String() string
- type QueryBalanceRequest
- func (*QueryBalanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBalanceRequest) GetAccount() string
- func (x *QueryBalanceRequest) GetBatchDenom() string
- func (*QueryBalanceRequest) ProtoMessage()
- func (x *QueryBalanceRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBalanceRequest) Reset()
- func (x *QueryBalanceRequest) String() string
- type QueryBalanceResponse
- func (*QueryBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBalanceResponse) GetRetiredAmount() string
- func (x *QueryBalanceResponse) GetTradableAmount() string
- func (*QueryBalanceResponse) ProtoMessage()
- func (x *QueryBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBalanceResponse) Reset()
- func (x *QueryBalanceResponse) String() string
- type QueryBasketCreditsRequest
- func (*QueryBasketCreditsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBasketCreditsRequest) GetBasketDenom() string
- func (*QueryBasketCreditsRequest) ProtoMessage()
- func (x *QueryBasketCreditsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBasketCreditsRequest) Reset()
- func (x *QueryBasketCreditsRequest) String() string
- type QueryBasketCreditsResponse
- func (*QueryBasketCreditsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBasketCreditsResponse) GetCredits() []*BasketCredit
- func (x *QueryBasketCreditsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryBasketCreditsResponse) ProtoMessage()
- func (x *QueryBasketCreditsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBasketCreditsResponse) Reset()
- func (x *QueryBasketCreditsResponse) String() string
- type QueryBasketRequest
- func (*QueryBasketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBasketRequest) GetBasketDenom() string
- func (*QueryBasketRequest) ProtoMessage()
- func (x *QueryBasketRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBasketRequest) Reset()
- func (x *QueryBasketRequest) String() string
- type QueryBasketResponse
- func (*QueryBasketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBasketResponse) GetBasket() *Basket
- func (*QueryBasketResponse) ProtoMessage()
- func (x *QueryBasketResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBasketResponse) Reset()
- func (x *QueryBasketResponse) String() string
- type QueryBasketsRequest
- func (*QueryBasketsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBasketsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryBasketsRequest) ProtoMessage()
- func (x *QueryBasketsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBasketsRequest) Reset()
- func (x *QueryBasketsRequest) String() string
- type QueryBasketsResponse
- func (*QueryBasketsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBasketsResponse) GetBaskets() []*Basket
- func (x *QueryBasketsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryBasketsResponse) ProtoMessage()
- func (x *QueryBasketsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBasketsResponse) Reset()
- func (x *QueryBasketsResponse) String() string
- type QueryBatchInfoRequest
- func (*QueryBatchInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchInfoRequest) GetBatchDenom() string
- func (*QueryBatchInfoRequest) ProtoMessage()
- func (x *QueryBatchInfoRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBatchInfoRequest) Reset()
- func (x *QueryBatchInfoRequest) String() string
- type QueryBatchInfoResponse
- func (*QueryBatchInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchInfoResponse) GetInfo() *BatchInfo
- func (*QueryBatchInfoResponse) ProtoMessage()
- func (x *QueryBatchInfoResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBatchInfoResponse) Reset()
- func (x *QueryBatchInfoResponse) String() string
- type QueryBatchesRequest
- func (*QueryBatchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchesRequest) GetPagination() *v1beta1.PageRequest
- func (x *QueryBatchesRequest) GetProjectId() string
- func (*QueryBatchesRequest) ProtoMessage()
- func (x *QueryBatchesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBatchesRequest) Reset()
- func (x *QueryBatchesRequest) String() string
- type QueryBatchesResponse
- func (*QueryBatchesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchesResponse) GetBatches() []*BatchInfo
- func (x *QueryBatchesResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryBatchesResponse) ProtoMessage()
- func (x *QueryBatchesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBatchesResponse) Reset()
- func (x *QueryBatchesResponse) String() string
- type QueryBuyOrderRequest
- func (*QueryBuyOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBuyOrderRequest) GetBuyOrderId() uint64
- func (*QueryBuyOrderRequest) ProtoMessage()
- func (x *QueryBuyOrderRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBuyOrderRequest) Reset()
- func (x *QueryBuyOrderRequest) String() string
- type QueryBuyOrderResponse
- func (*QueryBuyOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBuyOrderResponse) GetBuyOrder() *BuyOrder
- func (*QueryBuyOrderResponse) ProtoMessage()
- func (x *QueryBuyOrderResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBuyOrderResponse) Reset()
- func (x *QueryBuyOrderResponse) String() string
- type QueryBuyOrdersByAddressRequest
- func (*QueryBuyOrdersByAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBuyOrdersByAddressRequest) GetAddress() string
- func (x *QueryBuyOrdersByAddressRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryBuyOrdersByAddressRequest) ProtoMessage()
- func (x *QueryBuyOrdersByAddressRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBuyOrdersByAddressRequest) Reset()
- func (x *QueryBuyOrdersByAddressRequest) String() string
- type QueryBuyOrdersByAddressResponse
- func (*QueryBuyOrdersByAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBuyOrdersByAddressResponse) GetBuyOrders() []*BuyOrder
- func (x *QueryBuyOrdersByAddressResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryBuyOrdersByAddressResponse) ProtoMessage()
- func (x *QueryBuyOrdersByAddressResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBuyOrdersByAddressResponse) Reset()
- func (x *QueryBuyOrdersByAddressResponse) String() string
- type QueryBuyOrdersRequest
- func (*QueryBuyOrdersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBuyOrdersRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryBuyOrdersRequest) ProtoMessage()
- func (x *QueryBuyOrdersRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBuyOrdersRequest) Reset()
- func (x *QueryBuyOrdersRequest) String() string
- type QueryBuyOrdersResponse
- func (*QueryBuyOrdersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBuyOrdersResponse) GetBuyOrders() []*BuyOrder
- func (x *QueryBuyOrdersResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryBuyOrdersResponse) ProtoMessage()
- func (x *QueryBuyOrdersResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBuyOrdersResponse) Reset()
- func (x *QueryBuyOrdersResponse) String() string
- type QueryClassInfoRequest
- func (*QueryClassInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryClassInfoRequest) GetClassId() string
- func (*QueryClassInfoRequest) ProtoMessage()
- func (x *QueryClassInfoRequest) ProtoReflect() protoreflect.Message
- func (x *QueryClassInfoRequest) Reset()
- func (x *QueryClassInfoRequest) String() string
- type QueryClassInfoResponse
- func (*QueryClassInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryClassInfoResponse) GetInfo() *ClassInfo
- func (*QueryClassInfoResponse) ProtoMessage()
- func (x *QueryClassInfoResponse) ProtoReflect() protoreflect.Message
- func (x *QueryClassInfoResponse) Reset()
- func (x *QueryClassInfoResponse) String() string
- type QueryClassesRequest
- func (*QueryClassesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryClassesRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryClassesRequest) ProtoMessage()
- func (x *QueryClassesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryClassesRequest) Reset()
- func (x *QueryClassesRequest) String() string
- type QueryClassesResponse
- func (*QueryClassesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryClassesResponse) GetClasses() []*ClassInfo
- func (x *QueryClassesResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryClassesResponse) ProtoMessage()
- func (x *QueryClassesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryClassesResponse) Reset()
- func (x *QueryClassesResponse) String() string
- type QueryClient
- type QueryCreditTypesRequest
- type QueryCreditTypesResponse
- func (*QueryCreditTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCreditTypesResponse) GetCreditTypes() []*CreditType
- func (*QueryCreditTypesResponse) ProtoMessage()
- func (x *QueryCreditTypesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryCreditTypesResponse) Reset()
- func (x *QueryCreditTypesResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryProjectInfoRequest
- func (*QueryProjectInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProjectInfoRequest) GetProjectId() string
- func (*QueryProjectInfoRequest) ProtoMessage()
- func (x *QueryProjectInfoRequest) ProtoReflect() protoreflect.Message
- func (x *QueryProjectInfoRequest) Reset()
- func (x *QueryProjectInfoRequest) String() string
- type QueryProjectInfoResponse
- func (*QueryProjectInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProjectInfoResponse) GetInfo() *ProjectInfo
- func (*QueryProjectInfoResponse) ProtoMessage()
- func (x *QueryProjectInfoResponse) ProtoReflect() protoreflect.Message
- func (x *QueryProjectInfoResponse) Reset()
- func (x *QueryProjectInfoResponse) String() string
- type QueryProjectsRequest
- func (*QueryProjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProjectsRequest) GetClassId() string
- func (x *QueryProjectsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryProjectsRequest) ProtoMessage()
- func (x *QueryProjectsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryProjectsRequest) Reset()
- func (x *QueryProjectsRequest) String() string
- type QueryProjectsResponse
- func (*QueryProjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProjectsResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryProjectsResponse) GetProjects() []*ProjectInfo
- func (*QueryProjectsResponse) ProtoMessage()
- func (x *QueryProjectsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryProjectsResponse) Reset()
- func (x *QueryProjectsResponse) String() string
- type QuerySellOrderRequest
- func (*QuerySellOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySellOrderRequest) GetSellOrderId() uint64
- func (*QuerySellOrderRequest) ProtoMessage()
- func (x *QuerySellOrderRequest) ProtoReflect() protoreflect.Message
- func (x *QuerySellOrderRequest) Reset()
- func (x *QuerySellOrderRequest) String() string
- type QuerySellOrderResponse
- func (*QuerySellOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySellOrderResponse) GetSellOrder() *SellOrder
- func (*QuerySellOrderResponse) ProtoMessage()
- func (x *QuerySellOrderResponse) ProtoReflect() protoreflect.Message
- func (x *QuerySellOrderResponse) Reset()
- func (x *QuerySellOrderResponse) String() string
- type QuerySellOrdersByAddressRequest
- func (*QuerySellOrdersByAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySellOrdersByAddressRequest) GetAddress() string
- func (x *QuerySellOrdersByAddressRequest) GetPagination() *v1beta1.PageRequest
- func (*QuerySellOrdersByAddressRequest) ProtoMessage()
- func (x *QuerySellOrdersByAddressRequest) ProtoReflect() protoreflect.Message
- func (x *QuerySellOrdersByAddressRequest) Reset()
- func (x *QuerySellOrdersByAddressRequest) String() string
- type QuerySellOrdersByAddressResponse
- func (*QuerySellOrdersByAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySellOrdersByAddressResponse) GetPagination() *v1beta1.PageResponse
- func (x *QuerySellOrdersByAddressResponse) GetSellOrders() []*SellOrder
- func (*QuerySellOrdersByAddressResponse) ProtoMessage()
- func (x *QuerySellOrdersByAddressResponse) ProtoReflect() protoreflect.Message
- func (x *QuerySellOrdersByAddressResponse) Reset()
- func (x *QuerySellOrdersByAddressResponse) String() string
- type QuerySellOrdersByBatchDenomRequest
- func (*QuerySellOrdersByBatchDenomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySellOrdersByBatchDenomRequest) GetBatchDenom() string
- func (x *QuerySellOrdersByBatchDenomRequest) GetPagination() *v1beta1.PageRequest
- func (*QuerySellOrdersByBatchDenomRequest) ProtoMessage()
- func (x *QuerySellOrdersByBatchDenomRequest) ProtoReflect() protoreflect.Message
- func (x *QuerySellOrdersByBatchDenomRequest) Reset()
- func (x *QuerySellOrdersByBatchDenomRequest) String() string
- type QuerySellOrdersByBatchDenomResponse
- func (*QuerySellOrdersByBatchDenomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySellOrdersByBatchDenomResponse) GetPagination() *v1beta1.PageResponse
- func (x *QuerySellOrdersByBatchDenomResponse) GetSellOrders() []*SellOrder
- func (*QuerySellOrdersByBatchDenomResponse) ProtoMessage()
- func (x *QuerySellOrdersByBatchDenomResponse) ProtoReflect() protoreflect.Message
- func (x *QuerySellOrdersByBatchDenomResponse) Reset()
- func (x *QuerySellOrdersByBatchDenomResponse) String() string
- type QuerySellOrdersRequest
- func (*QuerySellOrdersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySellOrdersRequest) GetPagination() *v1beta1.PageRequest
- func (*QuerySellOrdersRequest) ProtoMessage()
- func (x *QuerySellOrdersRequest) ProtoReflect() protoreflect.Message
- func (x *QuerySellOrdersRequest) Reset()
- func (x *QuerySellOrdersRequest) String() string
- type QuerySellOrdersResponse
- func (*QuerySellOrdersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySellOrdersResponse) GetPagination() *v1beta1.PageResponse
- func (x *QuerySellOrdersResponse) GetSellOrders() []*SellOrder
- func (*QuerySellOrdersResponse) ProtoMessage()
- func (x *QuerySellOrdersResponse) ProtoReflect() protoreflect.Message
- func (x *QuerySellOrdersResponse) Reset()
- func (x *QuerySellOrdersResponse) String() string
- type QueryServer
- type QuerySupplyRequest
- func (*QuerySupplyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySupplyRequest) GetBatchDenom() string
- func (*QuerySupplyRequest) ProtoMessage()
- func (x *QuerySupplyRequest) ProtoReflect() protoreflect.Message
- func (x *QuerySupplyRequest) Reset()
- func (x *QuerySupplyRequest) String() string
- type QuerySupplyResponse
- func (*QuerySupplyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySupplyResponse) GetRetiredSupply() string
- func (x *QuerySupplyResponse) GetTradableSupply() string
- func (*QuerySupplyResponse) ProtoMessage()
- func (x *QuerySupplyResponse) ProtoReflect() protoreflect.Message
- func (x *QuerySupplyResponse) Reset()
- func (x *QuerySupplyResponse) String() string
- type SellOrder
- func (*SellOrder) Descriptor() ([]byte, []int)deprecated
- func (x *SellOrder) GetAskPrice() *v1beta1.Coin
- func (x *SellOrder) GetBatchDenom() string
- func (x *SellOrder) GetDisableAutoRetire() bool
- func (x *SellOrder) GetExpiration() *timestamppb.Timestamp
- func (x *SellOrder) GetOrderId() uint64
- func (x *SellOrder) GetOwner() string
- func (x *SellOrder) GetQuantity() string
- func (*SellOrder) ProtoMessage()
- func (x *SellOrder) ProtoReflect() protoreflect.Message
- func (x *SellOrder) Reset()
- func (x *SellOrder) String() string
- type Supply
- func (*Supply) Descriptor() ([]byte, []int)deprecated
- func (x *Supply) GetBatchDenom() string
- func (x *Supply) GetRetiredSupply() string
- func (x *Supply) GetTradableSupply() string
- func (*Supply) ProtoMessage()
- func (x *Supply) ProtoReflect() protoreflect.Message
- func (x *Supply) Reset()
- func (x *Supply) String() string
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) AddToBasket(context.Context, *MsgAddToBasket) (*MsgAddToBasketResponse, error)
- func (UnimplementedMsgServer) AllowAskDenom(context.Context, *MsgAllowAskDenom) (*MsgAllowAskDenomResponse, error)
- func (UnimplementedMsgServer) Buy(context.Context, *MsgBuy) (*MsgBuyResponse, error)
- func (UnimplementedMsgServer) Cancel(context.Context, *MsgCancel) (*MsgCancelResponse, error)
- func (UnimplementedMsgServer) CreateBasket(context.Context, *MsgCreateBasket) (*MsgCreateBasketResponse, error)
- func (UnimplementedMsgServer) CreateBatch(context.Context, *MsgCreateBatch) (*MsgCreateBatchResponse, error)
- func (UnimplementedMsgServer) CreateClass(context.Context, *MsgCreateClass) (*MsgCreateClassResponse, error)
- func (UnimplementedMsgServer) CreateProject(context.Context, *MsgCreateProject) (*MsgCreateProjectResponse, error)
- func (UnimplementedMsgServer) PickFromBasket(context.Context, *MsgPickFromBasket) (*MsgPickFromBasketResponse, error)
- func (UnimplementedMsgServer) Retire(context.Context, *MsgRetire) (*MsgRetireResponse, error)
- func (UnimplementedMsgServer) Sell(context.Context, *MsgSell) (*MsgSellResponse, error)
- func (UnimplementedMsgServer) Send(context.Context, *MsgSend) (*MsgSendResponse, error)
- func (UnimplementedMsgServer) TakeFromBasket(context.Context, *MsgTakeFromBasket) (*MsgTakeFromBasketResponse, error)
- func (UnimplementedMsgServer) UpdateClassAdmin(context.Context, *MsgUpdateClassAdmin) (*MsgUpdateClassAdminResponse, error)
- func (UnimplementedMsgServer) UpdateClassIssuers(context.Context, *MsgUpdateClassIssuers) (*MsgUpdateClassIssuersResponse, error)
- func (UnimplementedMsgServer) UpdateClassMetadata(context.Context, *MsgUpdateClassMetadata) (*MsgUpdateClassMetadataResponse, error)
- func (UnimplementedMsgServer) UpdateSellOrders(context.Context, *MsgUpdateSellOrders) (*MsgUpdateSellOrdersResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) AllowedAskDenoms(context.Context, *QueryAllowedAskDenomsRequest) (*QueryAllowedAskDenomsResponse, error)
- func (UnimplementedQueryServer) Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
- func (UnimplementedQueryServer) Basket(context.Context, *QueryBasketRequest) (*QueryBasketResponse, error)
- func (UnimplementedQueryServer) BasketCredits(context.Context, *QueryBasketCreditsRequest) (*QueryBasketCreditsResponse, error)
- func (UnimplementedQueryServer) Baskets(context.Context, *QueryBasketsRequest) (*QueryBasketsResponse, error)
- func (UnimplementedQueryServer) BatchInfo(context.Context, *QueryBatchInfoRequest) (*QueryBatchInfoResponse, error)
- func (UnimplementedQueryServer) Batches(context.Context, *QueryBatchesRequest) (*QueryBatchesResponse, error)
- func (UnimplementedQueryServer) BuyOrder(context.Context, *QueryBuyOrderRequest) (*QueryBuyOrderResponse, error)
- func (UnimplementedQueryServer) BuyOrders(context.Context, *QueryBuyOrdersRequest) (*QueryBuyOrdersResponse, error)
- func (UnimplementedQueryServer) BuyOrdersByAddress(context.Context, *QueryBuyOrdersByAddressRequest) (*QueryBuyOrdersByAddressResponse, error)
- func (UnimplementedQueryServer) ClassInfo(context.Context, *QueryClassInfoRequest) (*QueryClassInfoResponse, error)
- func (UnimplementedQueryServer) Classes(context.Context, *QueryClassesRequest) (*QueryClassesResponse, error)
- func (UnimplementedQueryServer) CreditTypes(context.Context, *QueryCreditTypesRequest) (*QueryCreditTypesResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) ProjectInfo(context.Context, *QueryProjectInfoRequest) (*QueryProjectInfoResponse, error)
- func (UnimplementedQueryServer) Projects(context.Context, *QueryProjectsRequest) (*QueryProjectsResponse, error)
- func (UnimplementedQueryServer) SellOrder(context.Context, *QuerySellOrderRequest) (*QuerySellOrderResponse, error)
- func (UnimplementedQueryServer) SellOrders(context.Context, *QuerySellOrdersRequest) (*QuerySellOrdersResponse, error)
- func (UnimplementedQueryServer) SellOrdersByAddress(context.Context, *QuerySellOrdersByAddressRequest) (*QuerySellOrdersByAddressResponse, error)
- func (UnimplementedQueryServer) SellOrdersByBatchDenom(context.Context, *QuerySellOrdersByBatchDenomRequest) (*QuerySellOrdersByBatchDenomResponse, error)
- func (UnimplementedQueryServer) Supply(context.Context, *QuerySupplyRequest) (*QuerySupplyResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
This section is empty.
Variables ¶
var File_regen_ecocredit_v1alpha2_events_proto protoreflect.FileDescriptor
var File_regen_ecocredit_v1alpha2_genesis_proto protoreflect.FileDescriptor
var File_regen_ecocredit_v1alpha2_query_proto protoreflect.FileDescriptor
var File_regen_ecocredit_v1alpha2_tx_proto protoreflect.FileDescriptor
var File_regen_ecocredit_v1alpha2_types_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "regen.ecocredit.v1alpha2.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateClass", Handler: _Msg_CreateClass_Handler, }, { MethodName: "CreateProject", Handler: _Msg_CreateProject_Handler, }, { MethodName: "CreateBatch", Handler: _Msg_CreateBatch_Handler, }, { MethodName: "Send", Handler: _Msg_Send_Handler, }, { MethodName: "Retire", Handler: _Msg_Retire_Handler, }, { MethodName: "Cancel", Handler: _Msg_Cancel_Handler, }, { MethodName: "UpdateClassAdmin", Handler: _Msg_UpdateClassAdmin_Handler, }, { MethodName: "UpdateClassIssuers", Handler: _Msg_UpdateClassIssuers_Handler, }, { MethodName: "UpdateClassMetadata", Handler: _Msg_UpdateClassMetadata_Handler, }, { MethodName: "Sell", Handler: _Msg_Sell_Handler, }, { MethodName: "UpdateSellOrders", Handler: _Msg_UpdateSellOrders_Handler, }, { MethodName: "Buy", Handler: _Msg_Buy_Handler, }, { MethodName: "AllowAskDenom", Handler: _Msg_AllowAskDenom_Handler, }, { MethodName: "CreateBasket", Handler: _Msg_CreateBasket_Handler, }, { MethodName: "AddToBasket", Handler: _Msg_AddToBasket_Handler, }, { MethodName: "TakeFromBasket", Handler: _Msg_TakeFromBasket_Handler, }, { MethodName: "PickFromBasket", Handler: _Msg_PickFromBasket_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "regen/ecocredit/v1alpha2/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "regen.ecocredit.v1alpha2.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Classes", Handler: _Query_Classes_Handler, }, { MethodName: "ClassInfo", Handler: _Query_ClassInfo_Handler, }, { MethodName: "Projects", Handler: _Query_Projects_Handler, }, { MethodName: "ProjectInfo", Handler: _Query_ProjectInfo_Handler, }, { MethodName: "Batches", Handler: _Query_Batches_Handler, }, { MethodName: "BatchInfo", Handler: _Query_BatchInfo_Handler, }, { MethodName: "Balance", Handler: _Query_Balance_Handler, }, { MethodName: "Supply", Handler: _Query_Supply_Handler, }, { MethodName: "CreditTypes", Handler: _Query_CreditTypes_Handler, }, { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "SellOrder", Handler: _Query_SellOrder_Handler, }, { MethodName: "SellOrders", Handler: _Query_SellOrders_Handler, }, { MethodName: "SellOrdersByBatchDenom", Handler: _Query_SellOrdersByBatchDenom_Handler, }, { MethodName: "SellOrdersByAddress", Handler: _Query_SellOrdersByAddress_Handler, }, { MethodName: "BuyOrder", Handler: _Query_BuyOrder_Handler, }, { MethodName: "BuyOrders", Handler: _Query_BuyOrders_Handler, }, { MethodName: "BuyOrdersByAddress", Handler: _Query_BuyOrdersByAddress_Handler, }, { MethodName: "AllowedAskDenoms", Handler: _Query_AllowedAskDenoms_Handler, }, { MethodName: "Basket", Handler: _Query_Basket_Handler, }, { MethodName: "Baskets", Handler: _Query_Baskets_Handler, }, { MethodName: "BasketCredits", Handler: _Query_BasketCredits_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "regen/ecocredit/v1alpha2/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
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"` // contains filtered or unexported fields }
AskDenom represents the information for an ask denom.
func (*AskDenom) Descriptor
deprecated
func (*AskDenom) GetDisplayDenom ¶
func (*AskDenom) GetExponent ¶
func (*AskDenom) ProtoMessage ¶
func (*AskDenom) ProtoMessage()
func (*AskDenom) ProtoReflect ¶
func (x *AskDenom) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
Balance represents tradable or retired units of a credit batch with an account address, batch_denom, and balance.
func (*Balance) Descriptor
deprecated
func (*Balance) GetAddress ¶
func (*Balance) GetBatchDenom ¶
func (*Balance) GetRetiredBalance ¶
func (*Balance) GetTradableBalance ¶
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) ProtoReflect ¶
func (x *Balance) ProtoReflect() protoreflect.Message
type Basket ¶
type Basket struct { // curator is the address of the basket curator who is able to change certain // basket settings. Curator string `protobuf:"bytes,1,opt,name=curator,proto3" json:"curator,omitempty"` // name will be used to create a bank denom for this basket token of the form // ecocredit:{curator}:{name}. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // display_name will be used to create a bank Metadata display name for this // basket token of the form ecocredit:{curator}:{display_name}. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // exponent is the exponent that will be used for denom metadata. An exponent // of 6 will mean that 10^6 units of a basket token should be displayed // as one unit in user interfaces. Exponent uint32 `protobuf:"varint,4,opt,name=exponent,proto3" json:"exponent,omitempty"` // basket_criteria is the criteria by which credits can be added to the // basket. Basket criteria will be applied in order and the first criteria // which applies to a credit will determine its multiplier in the basket. BasketCriteria []*BasketCriteria `protobuf:"bytes,5,rep,name=basket_criteria,json=basketCriteria,proto3" json:"basket_criteria,omitempty"` // disable_auto_retire allows auto-retirement to be disabled. // The credits will be auto-retired if disable_auto_retire is // false unless the credits were previously put into the basket by the // address picking them from the basket, in which case they will remain // tradable. DisableAutoRetire bool `protobuf:"varint,6,opt,name=disable_auto_retire,json=disableAutoRetire,proto3" json:"disable_auto_retire,omitempty"` // allow_picking specifies whether an address which didn't deposit the credits // in the basket can pick those credits or not. AllowPicking bool `protobuf:"varint,7,opt,name=allow_picking,json=allowPicking,proto3" json:"allow_picking,omitempty"` // contains filtered or unexported fields }
Basket defines a credit basket.
func (*Basket) Descriptor
deprecated
func (*Basket) GetAllowPicking ¶
func (*Basket) GetBasketCriteria ¶
func (x *Basket) GetBasketCriteria() []*BasketCriteria
func (*Basket) GetCurator ¶
func (*Basket) GetDisableAutoRetire ¶
func (*Basket) GetDisplayName ¶
func (*Basket) GetExponent ¶
func (*Basket) ProtoMessage ¶
func (*Basket) ProtoMessage()
func (*Basket) ProtoReflect ¶
func (x *Basket) ProtoReflect() protoreflect.Message
type BasketCredit ¶
type BasketCredit 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"` // contains filtered or unexported fields }
BasketCredit represents the information for a credit batch inside a basket.
func (*BasketCredit) Descriptor
deprecated
func (*BasketCredit) Descriptor() ([]byte, []int)
Deprecated: Use BasketCredit.ProtoReflect.Descriptor instead.
func (*BasketCredit) GetBatchDenom ¶
func (x *BasketCredit) GetBatchDenom() string
func (*BasketCredit) GetTradableAmount ¶
func (x *BasketCredit) GetTradableAmount() string
func (*BasketCredit) ProtoMessage ¶
func (*BasketCredit) ProtoMessage()
func (*BasketCredit) ProtoReflect ¶
func (x *BasketCredit) ProtoReflect() protoreflect.Message
func (*BasketCredit) Reset ¶
func (x *BasketCredit) Reset()
func (*BasketCredit) String ¶
func (x *BasketCredit) String() string
type BasketCriteria ¶
type BasketCriteria struct { // filter defines condition(s) that credits should satisfy in order to be // added to the basket. Filter *Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // multiplier is an integer number which is applied to credit units when // converting to basket units. For example if the multiplier is 2000, then // 1.1 credits will result in 2200 basket tokens. If there are any fractional // amounts left over in this calculation when adding credits to a basket, // those fractional amounts will not get added to the basket. Multiplier string `protobuf:"bytes,2,opt,name=multiplier,proto3" json:"multiplier,omitempty"` // contains filtered or unexported fields }
BasketCriteria defines a criteria by which credits can be added to a basket.
func (*BasketCriteria) Descriptor
deprecated
func (*BasketCriteria) Descriptor() ([]byte, []int)
Deprecated: Use BasketCriteria.ProtoReflect.Descriptor instead.
func (*BasketCriteria) GetFilter ¶
func (x *BasketCriteria) GetFilter() *Filter
func (*BasketCriteria) GetMultiplier ¶
func (x *BasketCriteria) GetMultiplier() string
func (*BasketCriteria) ProtoMessage ¶
func (*BasketCriteria) ProtoMessage()
func (*BasketCriteria) ProtoReflect ¶
func (x *BasketCriteria) ProtoReflect() protoreflect.Message
func (*BasketCriteria) Reset ¶
func (x *BasketCriteria) Reset()
func (*BasketCriteria) String ¶
func (x *BasketCriteria) String() string
type BatchInfo ¶
type BatchInfo struct { // project_id is the unique ID of the project this batch belongs to. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_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"` // 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 *timestamppb.Timestamp `protobuf:"bytes,7,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 *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` // contains filtered or unexported fields }
BatchInfo represents the high-level on-chain information for a credit batch.
func (*BatchInfo) Descriptor
deprecated
func (*BatchInfo) GetAmountCancelled ¶
func (*BatchInfo) GetBatchDenom ¶
func (*BatchInfo) GetEndDate ¶
func (x *BatchInfo) GetEndDate() *timestamppb.Timestamp
func (*BatchInfo) GetMetadata ¶
func (*BatchInfo) GetProjectId ¶
func (*BatchInfo) GetStartDate ¶
func (x *BatchInfo) GetStartDate() *timestamppb.Timestamp
func (*BatchInfo) GetTotalAmount ¶
func (*BatchInfo) ProtoMessage ¶
func (*BatchInfo) ProtoMessage()
func (*BatchInfo) ProtoReflect ¶
func (x *BatchInfo) ProtoReflect() protoreflect.Message
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"` // buyer is the address that created the buy order Buyer string `protobuf:"bytes,2,opt,name=buyer,proto3" json:"buyer,omitempty"` // selection is the buy order selection. Selection *BuyOrder_Selection `protobuf:"bytes,3,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,4,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 *v1beta1.Coin `protobuf:"bytes,5,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,6,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,7,opt,name=disable_partial_fill,json=disablePartialFill,proto3" json:"disable_partial_fill,omitempty"` // expiration is the optional timestamp when the buy order expires. When the // expiration time is reached, the buy order is removed from state. Expiration *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
BuyOrder represents the information for a buy order.
func (*BuyOrder) Descriptor
deprecated
func (*BuyOrder) GetBidPrice ¶
func (*BuyOrder) GetBuyOrderId ¶
func (*BuyOrder) GetDisableAutoRetire ¶
func (*BuyOrder) GetDisablePartialFill ¶
func (*BuyOrder) GetExpiration ¶
func (x *BuyOrder) GetExpiration() *timestamppb.Timestamp
func (*BuyOrder) GetQuantity ¶
func (*BuyOrder) GetSelection ¶
func (x *BuyOrder) GetSelection() *BuyOrder_Selection
func (*BuyOrder) ProtoMessage ¶
func (*BuyOrder) ProtoMessage()
func (*BuyOrder) ProtoReflect ¶
func (x *BuyOrder) ProtoReflect() protoreflect.Message
type BuyOrder_Selection ¶
type BuyOrder_Selection struct { // sum defines the type of selection. // // Types that are assignable to Sum: // *BuyOrder_Selection_SellOrderId Sum isBuyOrder_Selection_Sum `protobuf_oneof:"sum"` // contains filtered or unexported fields }
Selection defines a buy order selection.
func (*BuyOrder_Selection) Descriptor
deprecated
func (*BuyOrder_Selection) Descriptor() ([]byte, []int)
Deprecated: Use BuyOrder_Selection.ProtoReflect.Descriptor instead.
func (*BuyOrder_Selection) GetSellOrderId ¶
func (x *BuyOrder_Selection) GetSellOrderId() uint64
func (*BuyOrder_Selection) GetSum ¶
func (x *BuyOrder_Selection) GetSum() isBuyOrder_Selection_Sum
func (*BuyOrder_Selection) ProtoMessage ¶
func (*BuyOrder_Selection) ProtoMessage()
func (*BuyOrder_Selection) ProtoReflect ¶
func (x *BuyOrder_Selection) ProtoReflect() protoreflect.Message
func (*BuyOrder_Selection) Reset ¶
func (x *BuyOrder_Selection) Reset()
func (*BuyOrder_Selection) String ¶
func (x *BuyOrder_Selection) String() string
type BuyOrder_Selection_SellOrderId ¶
type BuyOrder_Selection_SellOrderId struct { // sell_order_id is the sell order ID against which the buyer is trying to buy. // When sell_order_id is set, this is known as a direct buy order because it // is placed directly against a specific sell order. SellOrderId uint64 `protobuf:"varint,1,opt,name=sell_order_id,json=sellOrderId,proto3,oneof"` }
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"` // contains filtered or unexported fields }
ClassInfo represents the high-level on-chain information for a credit class.
func (*ClassInfo) Descriptor
deprecated
func (*ClassInfo) GetClassId ¶
func (*ClassInfo) GetCreditType ¶
func (x *ClassInfo) GetCreditType() *CreditType
func (*ClassInfo) GetIssuers ¶
func (*ClassInfo) GetMetadata ¶
func (*ClassInfo) GetNumBatches ¶
func (*ClassInfo) ProtoMessage ¶
func (*ClassInfo) ProtoMessage()
func (*ClassInfo) ProtoReflect ¶
func (x *ClassInfo) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
CreditType defines the measurement unit/precision of a certain credit type (e.g. carbon, biodiversity...)
func (*CreditType) Descriptor
deprecated
func (*CreditType) Descriptor() ([]byte, []int)
Deprecated: Use CreditType.ProtoReflect.Descriptor instead.
func (*CreditType) GetAbbreviation ¶
func (x *CreditType) GetAbbreviation() string
func (*CreditType) GetName ¶
func (x *CreditType) GetName() string
func (*CreditType) GetPrecision ¶
func (x *CreditType) GetPrecision() uint32
func (*CreditType) GetUnit ¶
func (x *CreditType) GetUnit() string
func (*CreditType) ProtoMessage ¶
func (*CreditType) ProtoMessage()
func (*CreditType) ProtoReflect ¶
func (x *CreditType) ProtoReflect() protoreflect.Message
func (*CreditType) Reset ¶
func (x *CreditType) Reset()
func (*CreditType) String ¶
func (x *CreditType) String() string
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"` // contains filtered or unexported fields }
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
deprecated
func (*CreditTypeSeq) Descriptor() ([]byte, []int)
Deprecated: Use CreditTypeSeq.ProtoReflect.Descriptor instead.
func (*CreditTypeSeq) GetAbbreviation ¶
func (x *CreditTypeSeq) GetAbbreviation() string
func (*CreditTypeSeq) GetSeqNumber ¶
func (x *CreditTypeSeq) GetSeqNumber() uint64
func (*CreditTypeSeq) ProtoMessage ¶
func (*CreditTypeSeq) ProtoMessage()
func (*CreditTypeSeq) ProtoReflect ¶
func (x *CreditTypeSeq) ProtoReflect() protoreflect.Message
func (*CreditTypeSeq) Reset ¶
func (x *CreditTypeSeq) Reset()
func (*CreditTypeSeq) String ¶
func (x *CreditTypeSeq) String() string
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"` // contains filtered or unexported fields }
EventAllowAskDenom is an event emitted when an ask denom is added.
func (*EventAllowAskDenom) Descriptor
deprecated
func (*EventAllowAskDenom) Descriptor() ([]byte, []int)
Deprecated: Use EventAllowAskDenom.ProtoReflect.Descriptor instead.
func (*EventAllowAskDenom) GetDenom ¶
func (x *EventAllowAskDenom) GetDenom() string
func (*EventAllowAskDenom) GetDisplayDenom ¶
func (x *EventAllowAskDenom) GetDisplayDenom() string
func (*EventAllowAskDenom) GetExponent ¶
func (x *EventAllowAskDenom) GetExponent() uint32
func (*EventAllowAskDenom) ProtoMessage ¶
func (*EventAllowAskDenom) ProtoMessage()
func (*EventAllowAskDenom) ProtoReflect ¶
func (x *EventAllowAskDenom) ProtoReflect() protoreflect.Message
func (*EventAllowAskDenom) Reset ¶
func (x *EventAllowAskDenom) Reset()
func (*EventAllowAskDenom) String ¶
func (x *EventAllowAskDenom) String() string
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 *v1beta1.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"` // retirement_location is the optional retirement location for the credits // which will be used only if disable_auto_retire is false. RetirementLocation string `protobuf:"bytes,7,opt,name=retirement_location,json=retirementLocation,proto3" json:"retirement_location,omitempty"` // expiration is the optional timestamp when the buy order expires. When the // expiration time is reached, the buy order is removed from state. Expiration *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
EventBuyOrderCreated is an event emitted when a buy order is created.
func (*EventBuyOrderCreated) Descriptor
deprecated
func (*EventBuyOrderCreated) Descriptor() ([]byte, []int)
Deprecated: Use EventBuyOrderCreated.ProtoReflect.Descriptor instead.
func (*EventBuyOrderCreated) GetBidPrice ¶
func (x *EventBuyOrderCreated) GetBidPrice() *v1beta1.Coin
func (*EventBuyOrderCreated) GetBuyOrderId ¶
func (x *EventBuyOrderCreated) GetBuyOrderId() uint64
func (*EventBuyOrderCreated) GetDisableAutoRetire ¶
func (x *EventBuyOrderCreated) GetDisableAutoRetire() bool
func (*EventBuyOrderCreated) GetDisablePartialFill ¶
func (x *EventBuyOrderCreated) GetDisablePartialFill() bool
func (*EventBuyOrderCreated) GetExpiration ¶
func (x *EventBuyOrderCreated) GetExpiration() *timestamppb.Timestamp
func (*EventBuyOrderCreated) GetQuantity ¶
func (x *EventBuyOrderCreated) GetQuantity() string
func (*EventBuyOrderCreated) GetRetirementLocation ¶
func (x *EventBuyOrderCreated) GetRetirementLocation() string
func (*EventBuyOrderCreated) GetSellOrderId ¶
func (x *EventBuyOrderCreated) GetSellOrderId() uint64
func (*EventBuyOrderCreated) ProtoMessage ¶
func (*EventBuyOrderCreated) ProtoMessage()
func (*EventBuyOrderCreated) ProtoReflect ¶
func (x *EventBuyOrderCreated) ProtoReflect() protoreflect.Message
func (*EventBuyOrderCreated) Reset ¶
func (x *EventBuyOrderCreated) Reset()
func (*EventBuyOrderCreated) String ¶
func (x *EventBuyOrderCreated) String() string
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 *v1beta1.Coin `protobuf:"bytes,5,opt,name=total_price,json=totalPrice,proto3" json:"total_price,omitempty"` // contains filtered or unexported fields }
EventBuyOrderFilled is an event emitted when a buy order is filled.
func (*EventBuyOrderFilled) Descriptor
deprecated
func (*EventBuyOrderFilled) Descriptor() ([]byte, []int)
Deprecated: Use EventBuyOrderFilled.ProtoReflect.Descriptor instead.
func (*EventBuyOrderFilled) GetBatchDenom ¶
func (x *EventBuyOrderFilled) GetBatchDenom() string
func (*EventBuyOrderFilled) GetBuyOrderId ¶
func (x *EventBuyOrderFilled) GetBuyOrderId() uint64
func (*EventBuyOrderFilled) GetQuantity ¶
func (x *EventBuyOrderFilled) GetQuantity() string
func (*EventBuyOrderFilled) GetSellOrderId ¶
func (x *EventBuyOrderFilled) GetSellOrderId() uint64
func (*EventBuyOrderFilled) GetTotalPrice ¶
func (x *EventBuyOrderFilled) GetTotalPrice() *v1beta1.Coin
func (*EventBuyOrderFilled) ProtoMessage ¶
func (*EventBuyOrderFilled) ProtoMessage()
func (*EventBuyOrderFilled) ProtoReflect ¶
func (x *EventBuyOrderFilled) ProtoReflect() protoreflect.Message
func (*EventBuyOrderFilled) Reset ¶
func (x *EventBuyOrderFilled) Reset()
func (*EventBuyOrderFilled) String ¶
func (x *EventBuyOrderFilled) String() string
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"` // contains filtered or unexported fields }
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
deprecated
func (*EventCancel) Descriptor() ([]byte, []int)
Deprecated: Use EventCancel.ProtoReflect.Descriptor instead.
func (*EventCancel) GetAmount ¶
func (x *EventCancel) GetAmount() string
func (*EventCancel) GetBatchDenom ¶
func (x *EventCancel) GetBatchDenom() string
func (*EventCancel) GetCanceller ¶
func (x *EventCancel) GetCanceller() string
func (*EventCancel) ProtoMessage ¶
func (*EventCancel) ProtoMessage()
func (*EventCancel) ProtoReflect ¶
func (x *EventCancel) ProtoReflect() protoreflect.Message
func (*EventCancel) Reset ¶
func (x *EventCancel) Reset()
func (*EventCancel) String ¶
func (x *EventCancel) String() string
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. // Full documentation can be found in MsgCreateProject.project_location. ProjectLocation string `protobuf:"bytes,7,opt,name=project_location,json=projectLocation,proto3" json:"project_location,omitempty"` // project_id is the unique ID of the project this batch belongs to. ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
EventCreateBatch is an event emitted when a credit batch is created.
func (*EventCreateBatch) Descriptor
deprecated
func (*EventCreateBatch) Descriptor() ([]byte, []int)
Deprecated: Use EventCreateBatch.ProtoReflect.Descriptor instead.
func (*EventCreateBatch) GetBatchDenom ¶
func (x *EventCreateBatch) GetBatchDenom() string
func (*EventCreateBatch) GetClassId ¶
func (x *EventCreateBatch) GetClassId() string
func (*EventCreateBatch) GetEndDate ¶
func (x *EventCreateBatch) GetEndDate() string
func (*EventCreateBatch) GetIssuer ¶
func (x *EventCreateBatch) GetIssuer() string
func (*EventCreateBatch) GetProjectId ¶
func (x *EventCreateBatch) GetProjectId() string
func (*EventCreateBatch) GetProjectLocation ¶
func (x *EventCreateBatch) GetProjectLocation() string
func (*EventCreateBatch) GetStartDate ¶
func (x *EventCreateBatch) GetStartDate() string
func (*EventCreateBatch) GetTotalAmount ¶
func (x *EventCreateBatch) GetTotalAmount() string
func (*EventCreateBatch) ProtoMessage ¶
func (*EventCreateBatch) ProtoMessage()
func (*EventCreateBatch) ProtoReflect ¶
func (x *EventCreateBatch) ProtoReflect() protoreflect.Message
func (*EventCreateBatch) Reset ¶
func (x *EventCreateBatch) Reset()
func (*EventCreateBatch) String ¶
func (x *EventCreateBatch) String() string
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"` // contains filtered or unexported fields }
EventCreateClass is an event emitted when a credit class is created.
func (*EventCreateClass) Descriptor
deprecated
func (*EventCreateClass) Descriptor() ([]byte, []int)
Deprecated: Use EventCreateClass.ProtoReflect.Descriptor instead.
func (*EventCreateClass) GetAdmin ¶
func (x *EventCreateClass) GetAdmin() string
func (*EventCreateClass) GetClassId ¶
func (x *EventCreateClass) GetClassId() string
func (*EventCreateClass) ProtoMessage ¶
func (*EventCreateClass) ProtoMessage()
func (*EventCreateClass) ProtoReflect ¶
func (x *EventCreateClass) ProtoReflect() protoreflect.Message
func (*EventCreateClass) Reset ¶
func (x *EventCreateClass) Reset()
func (*EventCreateClass) String ¶
func (x *EventCreateClass) String() string
type EventCreateProject ¶
type EventCreateProject struct { // project_id is the unique ID of the project. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // class_id is the unique ID of credit class for this project. ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // issuer is the issuer of the credit batches for this project. Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"` // project_location is the location of the project. // Full documentation can be found in MsgCreateProject.project_location. ProjectLocation string `protobuf:"bytes,4,opt,name=project_location,json=projectLocation,proto3" json:"project_location,omitempty"` // contains filtered or unexported fields }
EventCreateProject is an event emitted when a project is created.
func (*EventCreateProject) Descriptor
deprecated
func (*EventCreateProject) Descriptor() ([]byte, []int)
Deprecated: Use EventCreateProject.ProtoReflect.Descriptor instead.
func (*EventCreateProject) GetClassId ¶
func (x *EventCreateProject) GetClassId() string
func (*EventCreateProject) GetIssuer ¶
func (x *EventCreateProject) GetIssuer() string
func (*EventCreateProject) GetProjectId ¶
func (x *EventCreateProject) GetProjectId() string
func (*EventCreateProject) GetProjectLocation ¶
func (x *EventCreateProject) GetProjectLocation() string
func (*EventCreateProject) ProtoMessage ¶
func (*EventCreateProject) ProtoMessage()
func (*EventCreateProject) ProtoReflect ¶
func (x *EventCreateProject) ProtoReflect() protoreflect.Message
func (*EventCreateProject) Reset ¶
func (x *EventCreateProject) Reset()
func (*EventCreateProject) String ¶
func (x *EventCreateProject) String() string
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"` // contains filtered or unexported fields }
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
deprecated
func (*EventReceive) Descriptor() ([]byte, []int)
Deprecated: Use EventReceive.ProtoReflect.Descriptor instead.
func (*EventReceive) GetBatchDenom ¶
func (x *EventReceive) GetBatchDenom() string
func (*EventReceive) GetRecipient ¶
func (x *EventReceive) GetRecipient() string
func (*EventReceive) GetRetiredAmount ¶
func (x *EventReceive) GetRetiredAmount() string
func (*EventReceive) GetSender ¶
func (x *EventReceive) GetSender() string
func (*EventReceive) GetTradableAmount ¶
func (x *EventReceive) GetTradableAmount() string
func (*EventReceive) ProtoMessage ¶
func (*EventReceive) ProtoMessage()
func (*EventReceive) ProtoReflect ¶
func (x *EventReceive) ProtoReflect() protoreflect.Message
func (*EventReceive) Reset ¶
func (x *EventReceive) Reset()
func (*EventReceive) String ¶
func (x *EventReceive) String() string
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"` // contains filtered or unexported fields }
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
deprecated
func (*EventRetire) Descriptor() ([]byte, []int)
Deprecated: Use EventRetire.ProtoReflect.Descriptor instead.
func (*EventRetire) GetAmount ¶
func (x *EventRetire) GetAmount() string
func (*EventRetire) GetBatchDenom ¶
func (x *EventRetire) GetBatchDenom() string
func (*EventRetire) GetLocation ¶
func (x *EventRetire) GetLocation() string
func (*EventRetire) GetRetirer ¶
func (x *EventRetire) GetRetirer() string
func (*EventRetire) ProtoMessage ¶
func (*EventRetire) ProtoMessage()
func (*EventRetire) ProtoReflect ¶
func (x *EventRetire) ProtoReflect() protoreflect.Message
func (*EventRetire) Reset ¶
func (x *EventRetire) Reset()
func (*EventRetire) String ¶
func (x *EventRetire) String() string
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 *v1beta1.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"` // expiration is an optional timestamp when the sell order expires. When the // expiration time is reached, the sell order is removed from state. Expiration *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
EventSell is an event emitted when a sell order is created.
func (*EventSell) Descriptor
deprecated
func (*EventSell) GetAskPrice ¶
func (*EventSell) GetBatchDenom ¶
func (*EventSell) GetDisableAutoRetire ¶
func (*EventSell) GetExpiration ¶
func (x *EventSell) GetExpiration() *timestamppb.Timestamp
func (*EventSell) GetOrderId ¶
func (*EventSell) GetQuantity ¶
func (*EventSell) ProtoMessage ¶
func (*EventSell) ProtoMessage()
func (*EventSell) ProtoReflect ¶
func (x *EventSell) ProtoReflect() protoreflect.Message
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 *v1beta1.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"` // new_expiration is an optional timestamp when the sell order expires. When the // expiration time is reached, the sell order is removed from state. NewExpiration *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=new_expiration,json=newExpiration,proto3" json:"new_expiration,omitempty"` // contains filtered or unexported fields }
EventUpdateSellOrder is an event emitted when a sell order is updated.
func (*EventUpdateSellOrder) Descriptor
deprecated
func (*EventUpdateSellOrder) Descriptor() ([]byte, []int)
Deprecated: Use EventUpdateSellOrder.ProtoReflect.Descriptor instead.
func (*EventUpdateSellOrder) GetBatchDenom ¶
func (x *EventUpdateSellOrder) GetBatchDenom() string
func (*EventUpdateSellOrder) GetDisableAutoRetire ¶
func (x *EventUpdateSellOrder) GetDisableAutoRetire() bool
func (*EventUpdateSellOrder) GetNewAskPrice ¶
func (x *EventUpdateSellOrder) GetNewAskPrice() *v1beta1.Coin
func (*EventUpdateSellOrder) GetNewExpiration ¶
func (x *EventUpdateSellOrder) GetNewExpiration() *timestamppb.Timestamp
func (*EventUpdateSellOrder) GetNewQuantity ¶
func (x *EventUpdateSellOrder) GetNewQuantity() string
func (*EventUpdateSellOrder) GetOwner ¶
func (x *EventUpdateSellOrder) GetOwner() string
func (*EventUpdateSellOrder) GetSellOrderId ¶
func (x *EventUpdateSellOrder) GetSellOrderId() uint64
func (*EventUpdateSellOrder) ProtoMessage ¶
func (*EventUpdateSellOrder) ProtoMessage()
func (*EventUpdateSellOrder) ProtoReflect ¶
func (x *EventUpdateSellOrder) ProtoReflect() protoreflect.Message
func (*EventUpdateSellOrder) Reset ¶
func (x *EventUpdateSellOrder) Reset()
func (*EventUpdateSellOrder) String ¶
func (x *EventUpdateSellOrder) String() string
type Filter ¶
type Filter struct { // sum is the oneof that specifies the type of filter. // // Types that are assignable to Sum: // *Filter_And_ // *Filter_Or_ // *Filter_CreditTypeName // *Filter_ClassId // *Filter_ProjectId // *Filter_BatchDenom // *Filter_ClassAdmin // *Filter_Issuer // *Filter_Owner // *Filter_ProjectLocation // *Filter_DateRange_ // *Filter_Tag Sum isFilter_Sum `protobuf_oneof:"sum"` // contains filtered or unexported fields }
Filter defines condition(s) that credits should satisfy in order to be added to the basket. It can handled nested conditions linked with and/or operators.
func (*Filter) Descriptor
deprecated
func (*Filter) GetAnd ¶
func (x *Filter) GetAnd() *Filter_And
func (*Filter) GetBatchDenom ¶
func (*Filter) GetClassAdmin ¶
func (*Filter) GetClassId ¶
func (*Filter) GetCreditTypeName ¶
func (*Filter) GetDateRange ¶
func (x *Filter) GetDateRange() *Filter_DateRange
func (*Filter) GetProjectId ¶
func (*Filter) GetProjectLocation ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
type Filter_And ¶
type Filter_And struct { // filters is a list of filters where all conditions should be satisfied. Filters []*Filter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
And specifies an "and" condition between the list of filters.
func (*Filter_And) Descriptor
deprecated
func (*Filter_And) Descriptor() ([]byte, []int)
Deprecated: Use Filter_And.ProtoReflect.Descriptor instead.
func (*Filter_And) GetFilters ¶
func (x *Filter_And) GetFilters() []*Filter
func (*Filter_And) ProtoMessage ¶
func (*Filter_And) ProtoMessage()
func (*Filter_And) ProtoReflect ¶
func (x *Filter_And) ProtoReflect() protoreflect.Message
func (*Filter_And) Reset ¶
func (x *Filter_And) Reset()
func (*Filter_And) String ¶
func (x *Filter_And) String() string
type Filter_And_ ¶
type Filter_And_ struct { // and specifies a list of filters where all conditions should be satisfied. And *Filter_And `protobuf:"bytes,1,opt,name=and,proto3,oneof"` }
type Filter_BatchDenom ¶
type Filter_BatchDenom struct { // batch_denom filters against credits from this batch. BatchDenom string `protobuf:"bytes,6,opt,name=batch_denom,json=batchDenom,proto3,oneof"` }
type Filter_ClassAdmin ¶
type Filter_ClassAdmin struct { // class_admin filters against credits issued by this class admin. ClassAdmin string `protobuf:"bytes,7,opt,name=class_admin,json=classAdmin,proto3,oneof"` }
type Filter_ClassId ¶
type Filter_ClassId struct { // class_id filters against credits from this credit class id. ClassId string `protobuf:"bytes,4,opt,name=class_id,json=classId,proto3,oneof"` }
type Filter_CreditTypeName ¶
type Filter_CreditTypeName struct { // credit_type_name filters against credits from this credit type name. CreditTypeName string `protobuf:"bytes,3,opt,name=credit_type_name,json=creditTypeName,proto3,oneof"` }
type Filter_DateRange ¶
type Filter_DateRange struct { // start_date is the beginning of the period during which this credit batch // was quantified and verified. If it is empty then there is no start date // limit. StartDate *timestamppb.Timestamp `protobuf:"bytes,7,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. If it is empty then there is no end date // limit. EndDate *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` // contains filtered or unexported fields }
DateRange defines a period for credit batches in a basket.
func (*Filter_DateRange) Descriptor
deprecated
func (*Filter_DateRange) Descriptor() ([]byte, []int)
Deprecated: Use Filter_DateRange.ProtoReflect.Descriptor instead.
func (*Filter_DateRange) GetEndDate ¶
func (x *Filter_DateRange) GetEndDate() *timestamppb.Timestamp
func (*Filter_DateRange) GetStartDate ¶
func (x *Filter_DateRange) GetStartDate() *timestamppb.Timestamp
func (*Filter_DateRange) ProtoMessage ¶
func (*Filter_DateRange) ProtoMessage()
func (*Filter_DateRange) ProtoReflect ¶
func (x *Filter_DateRange) ProtoReflect() protoreflect.Message
func (*Filter_DateRange) Reset ¶
func (x *Filter_DateRange) Reset()
func (*Filter_DateRange) String ¶
func (x *Filter_DateRange) String() string
type Filter_DateRange_ ¶
type Filter_DateRange_ struct { // date_range filters against credit batch start_date and/or end_date. DateRange *Filter_DateRange `protobuf:"bytes,11,opt,name=date_range,json=dateRange,proto3,oneof"` }
type Filter_Issuer ¶
type Filter_Issuer struct { // issuer filters against credits issued by this issuer address. Issuer string `protobuf:"bytes,8,opt,name=issuer,proto3,oneof"` }
type Filter_Or ¶
type Filter_Or struct { // filters is a list of filters where at least one of the conditions should be satisfied. Filters []*Filter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
And specifies an "or" condition between the list of filters.
func (*Filter_Or) Descriptor
deprecated
func (*Filter_Or) GetFilters ¶
func (*Filter_Or) ProtoMessage ¶
func (*Filter_Or) ProtoMessage()
func (*Filter_Or) ProtoReflect ¶
func (x *Filter_Or) ProtoReflect() protoreflect.Message
type Filter_Or_ ¶
type Filter_Or_ struct { // or specifies a list of filters where at least one of the conditions should be satisfied. Or *Filter_Or `protobuf:"bytes,2,opt,name=or,proto3,oneof"` }
type Filter_Owner ¶
type Filter_Owner struct { // owner filters against credits currently owned by this address. Owner string `protobuf:"bytes,9,opt,name=owner,proto3,oneof"` }
type Filter_ProjectId ¶
type Filter_ProjectId struct { // project_id filters against credits from this project. ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3,oneof"` }
type Filter_ProjectLocation ¶
type Filter_ProjectLocation struct { // project_location can be specified in three levels of granularity: // country, sub-national-code, or postal code. If just country is given, // for instance "US" then any credits in the "US" will be matched even // their project location is more specific, ex. "US-NY 12345". If // a country, sub-national-code and postal code are all provided then // only projects in that postal code will match. ProjectLocation string `protobuf:"bytes,10,opt,name=project_location,json=projectLocation,proto3,oneof"` }
type Filter_Tag ¶
type Filter_Tag struct { // tag specifies a curation tag to match against. Tag string `protobuf:"bytes,12,opt,name=tag,proto3,oneof"` }
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,omitempty"` // 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"` // project_info is the list of projects. ProjectInfo []*ProjectInfo `protobuf:"bytes,7,rep,name=project_info,json=projectInfo,proto3" json:"project_info,omitempty"` // project_seq_num is the project table orm.Sequence, // it is used to generate the next project id. ProjectSeqNum uint64 `protobuf:"varint,8,opt,name=project_seq_num,json=projectSeqNum,proto3" json:"project_seq_num,omitempty"` // contains filtered or unexported fields }
GenesisState defines ecocredit module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetBalances ¶
func (x *GenesisState) GetBalances() []*Balance
func (*GenesisState) GetBatchInfo ¶
func (x *GenesisState) GetBatchInfo() []*BatchInfo
func (*GenesisState) GetClassInfo ¶
func (x *GenesisState) GetClassInfo() []*ClassInfo
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetProjectInfo ¶
func (x *GenesisState) GetProjectInfo() []*ProjectInfo
func (*GenesisState) GetProjectSeqNum ¶
func (x *GenesisState) GetProjectSeqNum() uint64
func (*GenesisState) GetSequences ¶
func (x *GenesisState) GetSequences() []*CreditTypeSeq
func (*GenesisState) GetSupplies ¶
func (x *GenesisState) GetSupplies() []*Supply
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type MsgAddToBasket ¶
type MsgAddToBasket struct { // owner is the owner of credits being added to the basket. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // basket_denom is the basket denom to add credits to. BasketDenom string `protobuf:"bytes,2,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"` // credits are credits to add to the basket. If they do not match the basket's // admission criteria the operation will fail. Credits []*BasketCredit `protobuf:"bytes,3,rep,name=credits,proto3" json:"credits,omitempty"` // contains filtered or unexported fields }
MsgAddToBasket is the Msg/AddToBasket request type.
func (*MsgAddToBasket) Descriptor
deprecated
func (*MsgAddToBasket) Descriptor() ([]byte, []int)
Deprecated: Use MsgAddToBasket.ProtoReflect.Descriptor instead.
func (*MsgAddToBasket) GetBasketDenom ¶
func (x *MsgAddToBasket) GetBasketDenom() string
func (*MsgAddToBasket) GetCredits ¶
func (x *MsgAddToBasket) GetCredits() []*BasketCredit
func (*MsgAddToBasket) GetOwner ¶
func (x *MsgAddToBasket) GetOwner() string
func (*MsgAddToBasket) ProtoMessage ¶
func (*MsgAddToBasket) ProtoMessage()
func (*MsgAddToBasket) ProtoReflect ¶
func (x *MsgAddToBasket) ProtoReflect() protoreflect.Message
func (*MsgAddToBasket) Reset ¶
func (x *MsgAddToBasket) Reset()
func (*MsgAddToBasket) String ¶
func (x *MsgAddToBasket) String() string
type MsgAddToBasketResponse ¶
type MsgAddToBasketResponse struct { // amount_received is the amount of basket tokens received. AmountReceived string `protobuf:"bytes,1,opt,name=amount_received,json=amountReceived,proto3" json:"amount_received,omitempty"` // contains filtered or unexported fields }
MsgAddToBasketResponse is the Msg/AddToBasket response type.
func (*MsgAddToBasketResponse) Descriptor
deprecated
func (*MsgAddToBasketResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgAddToBasketResponse.ProtoReflect.Descriptor instead.
func (*MsgAddToBasketResponse) GetAmountReceived ¶
func (x *MsgAddToBasketResponse) GetAmountReceived() string
func (*MsgAddToBasketResponse) ProtoMessage ¶
func (*MsgAddToBasketResponse) ProtoMessage()
func (*MsgAddToBasketResponse) ProtoReflect ¶
func (x *MsgAddToBasketResponse) ProtoReflect() protoreflect.Message
func (*MsgAddToBasketResponse) Reset ¶
func (x *MsgAddToBasketResponse) Reset()
func (*MsgAddToBasketResponse) String ¶
func (x *MsgAddToBasketResponse) String() string
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"` // contains filtered or unexported fields }
MsgAllowAskDenom is the Msg/AllowAskDenom request type.
func (*MsgAllowAskDenom) Descriptor
deprecated
func (*MsgAllowAskDenom) Descriptor() ([]byte, []int)
Deprecated: Use MsgAllowAskDenom.ProtoReflect.Descriptor instead.
func (*MsgAllowAskDenom) GetDenom ¶
func (x *MsgAllowAskDenom) GetDenom() string
func (*MsgAllowAskDenom) GetDisplayDenom ¶
func (x *MsgAllowAskDenom) GetDisplayDenom() string
func (*MsgAllowAskDenom) GetExponent ¶
func (x *MsgAllowAskDenom) GetExponent() uint32
func (*MsgAllowAskDenom) GetRootAddress ¶
func (x *MsgAllowAskDenom) GetRootAddress() string
func (*MsgAllowAskDenom) ProtoMessage ¶
func (*MsgAllowAskDenom) ProtoMessage()
func (*MsgAllowAskDenom) ProtoReflect ¶
func (x *MsgAllowAskDenom) ProtoReflect() protoreflect.Message
func (*MsgAllowAskDenom) Reset ¶
func (x *MsgAllowAskDenom) Reset()
func (*MsgAllowAskDenom) String ¶
func (x *MsgAllowAskDenom) String() string
type MsgAllowAskDenomResponse ¶
type MsgAllowAskDenomResponse struct {
// contains filtered or unexported fields
}
MsgAllowAskDenomResponse is the Msg/AllowAskDenom response type.
func (*MsgAllowAskDenomResponse) Descriptor
deprecated
func (*MsgAllowAskDenomResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgAllowAskDenomResponse.ProtoReflect.Descriptor instead.
func (*MsgAllowAskDenomResponse) ProtoMessage ¶
func (*MsgAllowAskDenomResponse) ProtoMessage()
func (*MsgAllowAskDenomResponse) ProtoReflect ¶
func (x *MsgAllowAskDenomResponse) ProtoReflect() protoreflect.Message
func (*MsgAllowAskDenomResponse) Reset ¶
func (x *MsgAllowAskDenomResponse) Reset()
func (*MsgAllowAskDenomResponse) String ¶
func (x *MsgAllowAskDenomResponse) String() string
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"` // contains filtered or unexported fields }
MsgBuy is the Msg/Buy request type.
func (*MsgBuy) Descriptor
deprecated
func (*MsgBuy) GetOrders ¶
func (x *MsgBuy) GetOrders() []*MsgBuy_Order
func (*MsgBuy) ProtoMessage ¶
func (*MsgBuy) ProtoMessage()
func (*MsgBuy) ProtoReflect ¶
func (x *MsgBuy) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
MsgBuyResponse is the Msg/Buy response type.
func (*MsgBuyResponse) Descriptor
deprecated
func (*MsgBuyResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgBuyResponse.ProtoReflect.Descriptor instead.
func (*MsgBuyResponse) GetBuyOrderIds ¶
func (x *MsgBuyResponse) GetBuyOrderIds() []uint64
func (*MsgBuyResponse) ProtoMessage ¶
func (*MsgBuyResponse) ProtoMessage()
func (*MsgBuyResponse) ProtoReflect ¶
func (x *MsgBuyResponse) ProtoReflect() protoreflect.Message
func (*MsgBuyResponse) Reset ¶
func (x *MsgBuyResponse) Reset()
func (*MsgBuyResponse) String ¶
func (x *MsgBuyResponse) String() string
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 *v1beta1.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"` // retirement_location is the optional retirement location for the credits // which will be used only if disable_auto_retire is false. RetirementLocation string `protobuf:"bytes,6,opt,name=retirement_location,json=retirementLocation,proto3" json:"retirement_location,omitempty"` // expiration is the optional timestamp when the buy order expires. When the // expiration time is reached, the buy order is removed from state. Expiration *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
Order is a buy order.
func (*MsgBuy_Order) Descriptor
deprecated
func (*MsgBuy_Order) Descriptor() ([]byte, []int)
Deprecated: Use MsgBuy_Order.ProtoReflect.Descriptor instead.
func (*MsgBuy_Order) GetBidPrice ¶
func (x *MsgBuy_Order) GetBidPrice() *v1beta1.Coin
func (*MsgBuy_Order) GetDisableAutoRetire ¶
func (x *MsgBuy_Order) GetDisableAutoRetire() bool
func (*MsgBuy_Order) GetDisablePartialFill ¶
func (x *MsgBuy_Order) GetDisablePartialFill() bool
func (*MsgBuy_Order) GetExpiration ¶
func (x *MsgBuy_Order) GetExpiration() *timestamppb.Timestamp
func (*MsgBuy_Order) GetQuantity ¶
func (x *MsgBuy_Order) GetQuantity() string
func (*MsgBuy_Order) GetRetirementLocation ¶
func (x *MsgBuy_Order) GetRetirementLocation() string
func (*MsgBuy_Order) GetSelection ¶
func (x *MsgBuy_Order) GetSelection() *MsgBuy_Order_Selection
func (*MsgBuy_Order) ProtoMessage ¶
func (*MsgBuy_Order) ProtoMessage()
func (*MsgBuy_Order) ProtoReflect ¶
func (x *MsgBuy_Order) ProtoReflect() protoreflect.Message
func (*MsgBuy_Order) Reset ¶
func (x *MsgBuy_Order) Reset()
func (*MsgBuy_Order) String ¶
func (x *MsgBuy_Order) String() string
type MsgBuy_Order_Selection ¶
type MsgBuy_Order_Selection struct { // sum defines the type of selection. // // Types that are assignable to Sum: // *MsgBuy_Order_Selection_SellOrderId Sum isMsgBuy_Order_Selection_Sum `protobuf_oneof:"sum"` // contains filtered or unexported fields }
Selection defines a buy order selection.
func (*MsgBuy_Order_Selection) Descriptor
deprecated
func (*MsgBuy_Order_Selection) Descriptor() ([]byte, []int)
Deprecated: Use MsgBuy_Order_Selection.ProtoReflect.Descriptor instead.
func (*MsgBuy_Order_Selection) GetSellOrderId ¶
func (x *MsgBuy_Order_Selection) GetSellOrderId() uint64
func (*MsgBuy_Order_Selection) GetSum ¶
func (x *MsgBuy_Order_Selection) GetSum() isMsgBuy_Order_Selection_Sum
func (*MsgBuy_Order_Selection) ProtoMessage ¶
func (*MsgBuy_Order_Selection) ProtoMessage()
func (*MsgBuy_Order_Selection) ProtoReflect ¶
func (x *MsgBuy_Order_Selection) ProtoReflect() protoreflect.Message
func (*MsgBuy_Order_Selection) Reset ¶
func (x *MsgBuy_Order_Selection) Reset()
func (*MsgBuy_Order_Selection) String ¶
func (x *MsgBuy_Order_Selection) String() string
type MsgBuy_Order_Selection_SellOrderId ¶
type MsgBuy_Order_Selection_SellOrderId struct { // sell_order_id is the sell order ID against which the buyer is trying to buy. // When sell_order_id is set, this is known as a direct buy order because it // is placed directly against a specific sell order. SellOrderId uint64 `protobuf:"varint,1,opt,name=sell_order_id,json=sellOrderId,proto3,oneof"` }
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"` // contains filtered or unexported fields }
MsgCancel is the Msg/Cancel request type.
func (*MsgCancel) Descriptor
deprecated
func (*MsgCancel) GetCredits ¶
func (x *MsgCancel) GetCredits() []*MsgCancel_CancelCredits
func (*MsgCancel) ProtoMessage ¶
func (*MsgCancel) ProtoMessage()
func (*MsgCancel) ProtoReflect ¶
func (x *MsgCancel) ProtoReflect() protoreflect.Message
type MsgCancelResponse ¶
type MsgCancelResponse struct {
// contains filtered or unexported fields
}
MsgCancelResponse is the Msg/Cancel response type.
func (*MsgCancelResponse) Descriptor
deprecated
func (*MsgCancelResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCancelResponse.ProtoReflect.Descriptor instead.
func (*MsgCancelResponse) ProtoMessage ¶
func (*MsgCancelResponse) ProtoMessage()
func (*MsgCancelResponse) ProtoReflect ¶
func (x *MsgCancelResponse) ProtoReflect() protoreflect.Message
func (*MsgCancelResponse) Reset ¶
func (x *MsgCancelResponse) Reset()
func (*MsgCancelResponse) String ¶
func (x *MsgCancelResponse) String() string
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"` // contains filtered or unexported fields }
CancelCredits specifies a batch and the number of credits being cancelled.
func (*MsgCancel_CancelCredits) Descriptor
deprecated
func (*MsgCancel_CancelCredits) Descriptor() ([]byte, []int)
Deprecated: Use MsgCancel_CancelCredits.ProtoReflect.Descriptor instead.
func (*MsgCancel_CancelCredits) GetAmount ¶
func (x *MsgCancel_CancelCredits) GetAmount() string
func (*MsgCancel_CancelCredits) GetBatchDenom ¶
func (x *MsgCancel_CancelCredits) GetBatchDenom() string
func (*MsgCancel_CancelCredits) ProtoMessage ¶
func (*MsgCancel_CancelCredits) ProtoMessage()
func (*MsgCancel_CancelCredits) ProtoReflect ¶
func (x *MsgCancel_CancelCredits) ProtoReflect() protoreflect.Message
func (*MsgCancel_CancelCredits) Reset ¶
func (x *MsgCancel_CancelCredits) Reset()
func (*MsgCancel_CancelCredits) String ¶
func (x *MsgCancel_CancelCredits) String() string
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) // CreateProject creates a new project within a credit class. CreateProject(ctx context.Context, in *MsgCreateProject, opts ...grpc.CallOption) (*MsgCreateProjectResponse, error) // CreateBatch creates a new batch of credits for an existing project. // 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) // CreateBasket creates a bank denom which wraps credits. CreateBasket(ctx context.Context, in *MsgCreateBasket, opts ...grpc.CallOption) (*MsgCreateBasketResponse, error) // AddToBasket adds credits to a basket in return for basket tokens. AddToBasket(ctx context.Context, in *MsgAddToBasket, opts ...grpc.CallOption) (*MsgAddToBasketResponse, error) // TakeFromBasket takes credits from a basket without regard for which // credits they are. The credits will be auto-retired if disable_auto_retire // is false. Credits will be chosen randomly using the previous block hash // as a consensus source of randomness. // More concretely, the implementation is as follows: // - take the previous block hash and convert it into an uint64, // - given the total number of different credits within the basket `n`, the // first credits that will get picked correspond to: hash modulo n (in // terms of order), // - then if we need to take more credits, we get some from the next one and // so on. TakeFromBasket(ctx context.Context, in *MsgTakeFromBasket, opts ...grpc.CallOption) (*MsgTakeFromBasketResponse, error) // PickFromBasket picks specific credits from a basket. If allow_picking is // set to false, then only an address which deposited credits in the basket // can pick those credits. All other addresses will be blocked from picking // those credits. The credits will be auto-retired if disable_auto_retire is // false unless the credits were previously put into the basket by the // address picking them from the basket, in which case they will remain // tradable. This functionality allows the owner of a credit to have more // control over the credits they are putting in baskets then ordinary users // to deal with the scenario where basket tokens end up being worth // significantly less than the credits on their own. PickFromBasket(ctx context.Context, in *MsgPickFromBasket, opts ...grpc.CallOption) (*MsgPickFromBasketResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgCreateBasket ¶
type MsgCreateBasket struct { // curator is the address of the basket curator who is able to change certain // basket settings. Curator string `protobuf:"bytes,1,opt,name=curator,proto3" json:"curator,omitempty"` // name will be used to create a bank denom for this basket token of the form // ecocredit:{curator}:{name}. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // display_name will be used to create a bank Metadata display name for this // basket token of the form ecocredit:{curator}:{display_name}. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // exponent is the exponent that will be used for denom metadata. An exponent // of 6 will mean that 10^6 units of a basket token should be displayed // as one unit in user interfaces. Exponent uint32 `protobuf:"varint,4,opt,name=exponent,proto3" json:"exponent,omitempty"` // basket_criteria is the criteria by which credits can be added to the // basket. Basket criteria will be applied in order and the first criteria // which applies to a credit will determine its multiplier in the basket. BasketCriteria []*BasketCriteria `protobuf:"bytes,5,rep,name=basket_criteria,json=basketCriteria,proto3" json:"basket_criteria,omitempty"` // disable_auto_retire allows auto-retirement to be disabled. // The credits will be auto-retired if disable_auto_retire is // false unless the credits were previously put into the basket by the // address picking them from the basket, in which case they will remain // tradable. DisableAutoRetire bool `protobuf:"varint,6,opt,name=disable_auto_retire,json=disableAutoRetire,proto3" json:"disable_auto_retire,omitempty"` // allow_picking specifies whether an address which didn't deposit the credits // in the basket can pick those credits or not. AllowPicking bool `protobuf:"varint,7,opt,name=allow_picking,json=allowPicking,proto3" json:"allow_picking,omitempty"` // contains filtered or unexported fields }
MsgCreateBasket is the Msg/CreateBasket request type.
func (*MsgCreateBasket) Descriptor
deprecated
func (*MsgCreateBasket) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateBasket.ProtoReflect.Descriptor instead.
func (*MsgCreateBasket) GetAllowPicking ¶
func (x *MsgCreateBasket) GetAllowPicking() bool
func (*MsgCreateBasket) GetBasketCriteria ¶
func (x *MsgCreateBasket) GetBasketCriteria() []*BasketCriteria
func (*MsgCreateBasket) GetCurator ¶
func (x *MsgCreateBasket) GetCurator() string
func (*MsgCreateBasket) GetDisableAutoRetire ¶
func (x *MsgCreateBasket) GetDisableAutoRetire() bool
func (*MsgCreateBasket) GetDisplayName ¶
func (x *MsgCreateBasket) GetDisplayName() string
func (*MsgCreateBasket) GetExponent ¶
func (x *MsgCreateBasket) GetExponent() uint32
func (*MsgCreateBasket) GetName ¶
func (x *MsgCreateBasket) GetName() string
func (*MsgCreateBasket) ProtoMessage ¶
func (*MsgCreateBasket) ProtoMessage()
func (*MsgCreateBasket) ProtoReflect ¶
func (x *MsgCreateBasket) ProtoReflect() protoreflect.Message
func (*MsgCreateBasket) Reset ¶
func (x *MsgCreateBasket) Reset()
func (*MsgCreateBasket) String ¶
func (x *MsgCreateBasket) String() string
type MsgCreateBasketResponse ¶
type MsgCreateBasketResponse struct { // basket_denom is the unique denomination ID of the newly created basket. BasketDenom string `protobuf:"bytes,1,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"` // contains filtered or unexported fields }
MsgCreateBasketResponse is the Msg/CreateBasket response type.
func (*MsgCreateBasketResponse) Descriptor
deprecated
func (*MsgCreateBasketResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateBasketResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateBasketResponse) GetBasketDenom ¶
func (x *MsgCreateBasketResponse) GetBasketDenom() string
func (*MsgCreateBasketResponse) ProtoMessage ¶
func (*MsgCreateBasketResponse) ProtoMessage()
func (*MsgCreateBasketResponse) ProtoReflect ¶
func (x *MsgCreateBasketResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateBasketResponse) Reset ¶
func (x *MsgCreateBasketResponse) Reset()
func (*MsgCreateBasketResponse) String ¶
func (x *MsgCreateBasketResponse) String() string
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"` // project_id is the unique ID of the project this batch belongs to. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_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 *timestamppb.Timestamp `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 *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` // contains filtered or unexported fields }
MsgCreateBatch is the Msg/CreateBatch request type.
func (*MsgCreateBatch) Descriptor
deprecated
func (*MsgCreateBatch) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateBatch.ProtoReflect.Descriptor instead.
func (*MsgCreateBatch) GetEndDate ¶
func (x *MsgCreateBatch) GetEndDate() *timestamppb.Timestamp
func (*MsgCreateBatch) GetIssuance ¶
func (x *MsgCreateBatch) GetIssuance() []*MsgCreateBatch_BatchIssuance
func (*MsgCreateBatch) GetIssuer ¶
func (x *MsgCreateBatch) GetIssuer() string
func (*MsgCreateBatch) GetMetadata ¶
func (x *MsgCreateBatch) GetMetadata() []byte
func (*MsgCreateBatch) GetProjectId ¶
func (x *MsgCreateBatch) GetProjectId() string
func (*MsgCreateBatch) GetStartDate ¶
func (x *MsgCreateBatch) GetStartDate() *timestamppb.Timestamp
func (*MsgCreateBatch) ProtoMessage ¶
func (*MsgCreateBatch) ProtoMessage()
func (*MsgCreateBatch) ProtoReflect ¶
func (x *MsgCreateBatch) ProtoReflect() protoreflect.Message
func (*MsgCreateBatch) Reset ¶
func (x *MsgCreateBatch) Reset()
func (*MsgCreateBatch) String ¶
func (x *MsgCreateBatch) String() string
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"` // contains filtered or unexported fields }
MsgCreateBatchResponse is the Msg/CreateBatch response type.
func (*MsgCreateBatchResponse) Descriptor
deprecated
func (*MsgCreateBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateBatchResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateBatchResponse) GetBatchDenom ¶
func (x *MsgCreateBatchResponse) GetBatchDenom() string
func (*MsgCreateBatchResponse) ProtoMessage ¶
func (*MsgCreateBatchResponse) ProtoMessage()
func (*MsgCreateBatchResponse) ProtoReflect ¶
func (x *MsgCreateBatchResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateBatchResponse) Reset ¶
func (x *MsgCreateBatchResponse) Reset()
func (*MsgCreateBatchResponse) String ¶
func (x *MsgCreateBatchResponse) String() string
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"` // contains filtered or unexported fields }
BatchIssuance represents the issuance of some credits in a batch to a single recipient.
func (*MsgCreateBatch_BatchIssuance) Descriptor
deprecated
func (*MsgCreateBatch_BatchIssuance) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateBatch_BatchIssuance.ProtoReflect.Descriptor instead.
func (*MsgCreateBatch_BatchIssuance) GetRecipient ¶
func (x *MsgCreateBatch_BatchIssuance) GetRecipient() string
func (*MsgCreateBatch_BatchIssuance) GetRetiredAmount ¶
func (x *MsgCreateBatch_BatchIssuance) GetRetiredAmount() string
func (*MsgCreateBatch_BatchIssuance) GetRetirementLocation ¶
func (x *MsgCreateBatch_BatchIssuance) GetRetirementLocation() string
func (*MsgCreateBatch_BatchIssuance) GetTradableAmount ¶
func (x *MsgCreateBatch_BatchIssuance) GetTradableAmount() string
func (*MsgCreateBatch_BatchIssuance) ProtoMessage ¶
func (*MsgCreateBatch_BatchIssuance) ProtoMessage()
func (*MsgCreateBatch_BatchIssuance) ProtoReflect ¶
func (x *MsgCreateBatch_BatchIssuance) ProtoReflect() protoreflect.Message
func (*MsgCreateBatch_BatchIssuance) Reset ¶
func (x *MsgCreateBatch_BatchIssuance) Reset()
func (*MsgCreateBatch_BatchIssuance) String ¶
func (x *MsgCreateBatch_BatchIssuance) String() string
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"` // contains filtered or unexported fields }
MsgCreateClass is the Msg/CreateClass request type.
func (*MsgCreateClass) Descriptor
deprecated
func (*MsgCreateClass) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateClass.ProtoReflect.Descriptor instead.
func (*MsgCreateClass) GetAdmin ¶
func (x *MsgCreateClass) GetAdmin() string
func (*MsgCreateClass) GetCreditTypeName ¶
func (x *MsgCreateClass) GetCreditTypeName() string
func (*MsgCreateClass) GetIssuers ¶
func (x *MsgCreateClass) GetIssuers() []string
func (*MsgCreateClass) GetMetadata ¶
func (x *MsgCreateClass) GetMetadata() []byte
func (*MsgCreateClass) ProtoMessage ¶
func (*MsgCreateClass) ProtoMessage()
func (*MsgCreateClass) ProtoReflect ¶
func (x *MsgCreateClass) ProtoReflect() protoreflect.Message
func (*MsgCreateClass) Reset ¶
func (x *MsgCreateClass) Reset()
func (*MsgCreateClass) String ¶
func (x *MsgCreateClass) String() string
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"` // contains filtered or unexported fields }
MsgCreateClassResponse is the Msg/CreateClass response type.
func (*MsgCreateClassResponse) Descriptor
deprecated
func (*MsgCreateClassResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateClassResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateClassResponse) GetClassId ¶
func (x *MsgCreateClassResponse) GetClassId() string
func (*MsgCreateClassResponse) ProtoMessage ¶
func (*MsgCreateClassResponse) ProtoMessage()
func (*MsgCreateClassResponse) ProtoReflect ¶
func (x *MsgCreateClassResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateClassResponse) Reset ¶
func (x *MsgCreateClassResponse) Reset()
func (*MsgCreateClassResponse) String ¶
func (x *MsgCreateClassResponse) String() string
type MsgCreateProject ¶
type MsgCreateProject struct { // issuer is the address of an approved issuer for the credit class through // which batches will be issued. It is not required, however, that this same // issuer issue all batches for a project. Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` // class_id is the unique ID of the class within which the project is created. ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // metadata is any arbitrary metadata attached to the project. Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,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,4,opt,name=project_location,json=projectLocation,proto3" json:"project_location,omitempty"` // project_id is an optional user-specified project ID which can be used // instead of an auto-generated ID. If project_id is provided, it must be // unique within the credit class and match the regex [A-Za-z0-9]{2,16} // or else the operation will fail. If project_id is omitted an ID will // automatically be generated. ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
MsgCreateProjectResponse is the Msg/CreateProject request type.
func (*MsgCreateProject) Descriptor
deprecated
func (*MsgCreateProject) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateProject.ProtoReflect.Descriptor instead.
func (*MsgCreateProject) GetClassId ¶
func (x *MsgCreateProject) GetClassId() string
func (*MsgCreateProject) GetIssuer ¶
func (x *MsgCreateProject) GetIssuer() string
func (*MsgCreateProject) GetMetadata ¶
func (x *MsgCreateProject) GetMetadata() []byte
func (*MsgCreateProject) GetProjectId ¶
func (x *MsgCreateProject) GetProjectId() string
func (*MsgCreateProject) GetProjectLocation ¶
func (x *MsgCreateProject) GetProjectLocation() string
func (*MsgCreateProject) ProtoMessage ¶
func (*MsgCreateProject) ProtoMessage()
func (*MsgCreateProject) ProtoReflect ¶
func (x *MsgCreateProject) ProtoReflect() protoreflect.Message
func (*MsgCreateProject) Reset ¶
func (x *MsgCreateProject) Reset()
func (*MsgCreateProject) String ¶
func (x *MsgCreateProject) String() string
type MsgCreateProjectResponse ¶
type MsgCreateProjectResponse struct { // project_id is the ID of the newly created project. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
MsgCreateProjectResponse is the Msg/CreateProject response type.
func (*MsgCreateProjectResponse) Descriptor
deprecated
func (*MsgCreateProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateProjectResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateProjectResponse) GetProjectId ¶
func (x *MsgCreateProjectResponse) GetProjectId() string
func (*MsgCreateProjectResponse) ProtoMessage ¶
func (*MsgCreateProjectResponse) ProtoMessage()
func (*MsgCreateProjectResponse) ProtoReflect ¶
func (x *MsgCreateProjectResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateProjectResponse) Reset ¶
func (x *MsgCreateProjectResponse) Reset()
func (*MsgCreateProjectResponse) String ¶
func (x *MsgCreateProjectResponse) String() string
type MsgPickFromBasket ¶
type MsgPickFromBasket struct { // owner is the owner of the basket tokens. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // basket_denom is the basket denom to pick credits from. BasketDenom string `protobuf:"bytes,2,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"` // credits are the units of credits being picked from the basket Credits []*BasketCredit `protobuf:"bytes,3,rep,name=credits,proto3" json:"credits,omitempty"` // retirement_location is the optional retirement location for the credits // which will be used only if retire_on_take is true for this basket. RetirementLocation string `protobuf:"bytes,4,opt,name=retirement_location,json=retirementLocation,proto3" json:"retirement_location,omitempty"` // contains filtered or unexported fields }
MsgPickFromBasket is the Msg/PickFromBasket request type.
func (*MsgPickFromBasket) Descriptor
deprecated
func (*MsgPickFromBasket) Descriptor() ([]byte, []int)
Deprecated: Use MsgPickFromBasket.ProtoReflect.Descriptor instead.
func (*MsgPickFromBasket) GetBasketDenom ¶
func (x *MsgPickFromBasket) GetBasketDenom() string
func (*MsgPickFromBasket) GetCredits ¶
func (x *MsgPickFromBasket) GetCredits() []*BasketCredit
func (*MsgPickFromBasket) GetOwner ¶
func (x *MsgPickFromBasket) GetOwner() string
func (*MsgPickFromBasket) GetRetirementLocation ¶
func (x *MsgPickFromBasket) GetRetirementLocation() string
func (*MsgPickFromBasket) ProtoMessage ¶
func (*MsgPickFromBasket) ProtoMessage()
func (*MsgPickFromBasket) ProtoReflect ¶
func (x *MsgPickFromBasket) ProtoReflect() protoreflect.Message
func (*MsgPickFromBasket) Reset ¶
func (x *MsgPickFromBasket) Reset()
func (*MsgPickFromBasket) String ¶
func (x *MsgPickFromBasket) String() string
type MsgPickFromBasketResponse ¶
type MsgPickFromBasketResponse struct {
// contains filtered or unexported fields
}
MsgPickFromBasketResponse is the Msg/PickFromBasket response type.
func (*MsgPickFromBasketResponse) Descriptor
deprecated
func (*MsgPickFromBasketResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgPickFromBasketResponse.ProtoReflect.Descriptor instead.
func (*MsgPickFromBasketResponse) ProtoMessage ¶
func (*MsgPickFromBasketResponse) ProtoMessage()
func (*MsgPickFromBasketResponse) ProtoReflect ¶
func (x *MsgPickFromBasketResponse) ProtoReflect() protoreflect.Message
func (*MsgPickFromBasketResponse) Reset ¶
func (x *MsgPickFromBasketResponse) Reset()
func (*MsgPickFromBasketResponse) String ¶
func (x *MsgPickFromBasketResponse) String() string
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"` // contains filtered or unexported fields }
MsgRetire is the Msg/Retire request type.
func (*MsgRetire) Descriptor
deprecated
func (*MsgRetire) GetCredits ¶
func (x *MsgRetire) GetCredits() []*MsgRetire_RetireCredits
func (*MsgRetire) GetLocation ¶
func (*MsgRetire) ProtoMessage ¶
func (*MsgRetire) ProtoMessage()
func (*MsgRetire) ProtoReflect ¶
func (x *MsgRetire) ProtoReflect() protoreflect.Message
type MsgRetireResponse ¶
type MsgRetireResponse struct {
// contains filtered or unexported fields
}
MsgRetire is the Msg/Retire response type.
func (*MsgRetireResponse) Descriptor
deprecated
func (*MsgRetireResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRetireResponse.ProtoReflect.Descriptor instead.
func (*MsgRetireResponse) ProtoMessage ¶
func (*MsgRetireResponse) ProtoMessage()
func (*MsgRetireResponse) ProtoReflect ¶
func (x *MsgRetireResponse) ProtoReflect() protoreflect.Message
func (*MsgRetireResponse) Reset ¶
func (x *MsgRetireResponse) Reset()
func (*MsgRetireResponse) String ¶
func (x *MsgRetireResponse) String() string
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"` // contains filtered or unexported fields }
RetireCredits specifies a batch and the number of credits being retired.
func (*MsgRetire_RetireCredits) Descriptor
deprecated
func (*MsgRetire_RetireCredits) Descriptor() ([]byte, []int)
Deprecated: Use MsgRetire_RetireCredits.ProtoReflect.Descriptor instead.
func (*MsgRetire_RetireCredits) GetAmount ¶
func (x *MsgRetire_RetireCredits) GetAmount() string
func (*MsgRetire_RetireCredits) GetBatchDenom ¶
func (x *MsgRetire_RetireCredits) GetBatchDenom() string
func (*MsgRetire_RetireCredits) ProtoMessage ¶
func (*MsgRetire_RetireCredits) ProtoMessage()
func (*MsgRetire_RetireCredits) ProtoReflect ¶
func (x *MsgRetire_RetireCredits) ProtoReflect() protoreflect.Message
func (*MsgRetire_RetireCredits) Reset ¶
func (x *MsgRetire_RetireCredits) Reset()
func (*MsgRetire_RetireCredits) String ¶
func (x *MsgRetire_RetireCredits) String() string
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"` // contains filtered or unexported fields }
MsgSell is the Msg/Sell request type.
func (*MsgSell) Descriptor
deprecated
func (*MsgSell) GetOrders ¶
func (x *MsgSell) GetOrders() []*MsgSell_Order
func (*MsgSell) ProtoMessage ¶
func (*MsgSell) ProtoMessage()
func (*MsgSell) ProtoReflect ¶
func (x *MsgSell) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
MsgSellResponse is the Msg/Sell response type.
func (*MsgSellResponse) Descriptor
deprecated
func (*MsgSellResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSellResponse.ProtoReflect.Descriptor instead.
func (*MsgSellResponse) GetSellOrderIds ¶
func (x *MsgSellResponse) GetSellOrderIds() []uint64
func (*MsgSellResponse) ProtoMessage ¶
func (*MsgSellResponse) ProtoMessage()
func (*MsgSellResponse) ProtoReflect ¶
func (x *MsgSellResponse) ProtoReflect() protoreflect.Message
func (*MsgSellResponse) Reset ¶
func (x *MsgSellResponse) Reset()
func (*MsgSellResponse) String ¶
func (x *MsgSellResponse) String() string
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 *v1beta1.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"` // expiration is an optional timestamp when the sell order expires. When the // expiration time is reached, the sell order is removed from state. Expiration *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
Order is the content of a new sell order.
func (*MsgSell_Order) Descriptor
deprecated
func (*MsgSell_Order) Descriptor() ([]byte, []int)
Deprecated: Use MsgSell_Order.ProtoReflect.Descriptor instead.
func (*MsgSell_Order) GetAskPrice ¶
func (x *MsgSell_Order) GetAskPrice() *v1beta1.Coin
func (*MsgSell_Order) GetBatchDenom ¶
func (x *MsgSell_Order) GetBatchDenom() string
func (*MsgSell_Order) GetDisableAutoRetire ¶
func (x *MsgSell_Order) GetDisableAutoRetire() bool
func (*MsgSell_Order) GetExpiration ¶
func (x *MsgSell_Order) GetExpiration() *timestamppb.Timestamp
func (*MsgSell_Order) GetQuantity ¶
func (x *MsgSell_Order) GetQuantity() string
func (*MsgSell_Order) ProtoMessage ¶
func (*MsgSell_Order) ProtoMessage()
func (*MsgSell_Order) ProtoReflect ¶
func (x *MsgSell_Order) ProtoReflect() protoreflect.Message
func (*MsgSell_Order) Reset ¶
func (x *MsgSell_Order) Reset()
func (*MsgSell_Order) String ¶
func (x *MsgSell_Order) String() string
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"` // contains filtered or unexported fields }
MsgSend is the Msg/Send request type.
func (*MsgSend) Descriptor
deprecated
func (*MsgSend) GetCredits ¶
func (x *MsgSend) GetCredits() []*MsgSend_SendCredits
func (*MsgSend) GetRecipient ¶
func (*MsgSend) ProtoMessage ¶
func (*MsgSend) ProtoMessage()
func (*MsgSend) ProtoReflect ¶
func (x *MsgSend) ProtoReflect() protoreflect.Message
type MsgSendResponse ¶
type MsgSendResponse struct {
// contains filtered or unexported fields
}
MsgSendResponse is the Msg/Send response type.
func (*MsgSendResponse) Descriptor
deprecated
func (*MsgSendResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSendResponse.ProtoReflect.Descriptor instead.
func (*MsgSendResponse) ProtoMessage ¶
func (*MsgSendResponse) ProtoMessage()
func (*MsgSendResponse) ProtoReflect ¶
func (x *MsgSendResponse) ProtoReflect() protoreflect.Message
func (*MsgSendResponse) Reset ¶
func (x *MsgSendResponse) Reset()
func (*MsgSendResponse) String ¶
func (x *MsgSendResponse) String() string
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"` // contains filtered or unexported fields }
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
deprecated
func (*MsgSend_SendCredits) Descriptor() ([]byte, []int)
Deprecated: Use MsgSend_SendCredits.ProtoReflect.Descriptor instead.
func (*MsgSend_SendCredits) GetBatchDenom ¶
func (x *MsgSend_SendCredits) GetBatchDenom() string
func (*MsgSend_SendCredits) GetRetiredAmount ¶
func (x *MsgSend_SendCredits) GetRetiredAmount() string
func (*MsgSend_SendCredits) GetRetirementLocation ¶
func (x *MsgSend_SendCredits) GetRetirementLocation() string
func (*MsgSend_SendCredits) GetTradableAmount ¶
func (x *MsgSend_SendCredits) GetTradableAmount() string
func (*MsgSend_SendCredits) ProtoMessage ¶
func (*MsgSend_SendCredits) ProtoMessage()
func (*MsgSend_SendCredits) ProtoReflect ¶
func (x *MsgSend_SendCredits) ProtoReflect() protoreflect.Message
func (*MsgSend_SendCredits) Reset ¶
func (x *MsgSend_SendCredits) Reset()
func (*MsgSend_SendCredits) String ¶
func (x *MsgSend_SendCredits) String() string
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) // CreateProject creates a new project within a credit class. CreateProject(context.Context, *MsgCreateProject) (*MsgCreateProjectResponse, error) // CreateBatch creates a new batch of credits for an existing project. // 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) // CreateBasket creates a bank denom which wraps credits. CreateBasket(context.Context, *MsgCreateBasket) (*MsgCreateBasketResponse, error) // AddToBasket adds credits to a basket in return for basket tokens. AddToBasket(context.Context, *MsgAddToBasket) (*MsgAddToBasketResponse, error) // TakeFromBasket takes credits from a basket without regard for which // credits they are. The credits will be auto-retired if disable_auto_retire // is false. Credits will be chosen randomly using the previous block hash // as a consensus source of randomness. // More concretely, the implementation is as follows: // - take the previous block hash and convert it into an uint64, // - given the total number of different credits within the basket `n`, the // first credits that will get picked correspond to: hash modulo n (in // terms of order), // - then if we need to take more credits, we get some from the next one and // so on. TakeFromBasket(context.Context, *MsgTakeFromBasket) (*MsgTakeFromBasketResponse, error) // PickFromBasket picks specific credits from a basket. If allow_picking is // set to false, then only an address which deposited credits in the basket // can pick those credits. All other addresses will be blocked from picking // those credits. The credits will be auto-retired if disable_auto_retire is // false unless the credits were previously put into the basket by the // address picking them from the basket, in which case they will remain // tradable. This functionality allows the owner of a credit to have more // control over the credits they are putting in baskets then ordinary users // to deal with the scenario where basket tokens end up being worth // significantly less than the credits on their own. PickFromBasket(context.Context, *MsgPickFromBasket) (*MsgPickFromBasketResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgTakeFromBasket ¶
type MsgTakeFromBasket struct { // owner is the owner of the basket tokens. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // basket_denom is the basket denom to take credits from. BasketDenom string `protobuf:"bytes,2,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"` // amount is the number of credits to take from the basket. Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // retirement_location is the optional retirement location for the credits // which will be used only if retire_on_take is true for this basket. RetirementLocation string `protobuf:"bytes,4,opt,name=retirement_location,json=retirementLocation,proto3" json:"retirement_location,omitempty"` // contains filtered or unexported fields }
MsgTakeFromBasket is the Msg/TakeFromBasket request type.
func (*MsgTakeFromBasket) Descriptor
deprecated
func (*MsgTakeFromBasket) Descriptor() ([]byte, []int)
Deprecated: Use MsgTakeFromBasket.ProtoReflect.Descriptor instead.
func (*MsgTakeFromBasket) GetAmount ¶
func (x *MsgTakeFromBasket) GetAmount() string
func (*MsgTakeFromBasket) GetBasketDenom ¶
func (x *MsgTakeFromBasket) GetBasketDenom() string
func (*MsgTakeFromBasket) GetOwner ¶
func (x *MsgTakeFromBasket) GetOwner() string
func (*MsgTakeFromBasket) GetRetirementLocation ¶
func (x *MsgTakeFromBasket) GetRetirementLocation() string
func (*MsgTakeFromBasket) ProtoMessage ¶
func (*MsgTakeFromBasket) ProtoMessage()
func (*MsgTakeFromBasket) ProtoReflect ¶
func (x *MsgTakeFromBasket) ProtoReflect() protoreflect.Message
func (*MsgTakeFromBasket) Reset ¶
func (x *MsgTakeFromBasket) Reset()
func (*MsgTakeFromBasket) String ¶
func (x *MsgTakeFromBasket) String() string
type MsgTakeFromBasketResponse ¶
type MsgTakeFromBasketResponse struct { // credits are the credits taken out of the basket. Credits []*BasketCredit `protobuf:"bytes,1,rep,name=credits,proto3" json:"credits,omitempty"` // contains filtered or unexported fields }
MsgTakeFromBasketResponse is the Msg/TakeFromBasket response type.
func (*MsgTakeFromBasketResponse) Descriptor
deprecated
func (*MsgTakeFromBasketResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgTakeFromBasketResponse.ProtoReflect.Descriptor instead.
func (*MsgTakeFromBasketResponse) GetCredits ¶
func (x *MsgTakeFromBasketResponse) GetCredits() []*BasketCredit
func (*MsgTakeFromBasketResponse) ProtoMessage ¶
func (*MsgTakeFromBasketResponse) ProtoMessage()
func (*MsgTakeFromBasketResponse) ProtoReflect ¶
func (x *MsgTakeFromBasketResponse) ProtoReflect() protoreflect.Message
func (*MsgTakeFromBasketResponse) Reset ¶
func (x *MsgTakeFromBasketResponse) Reset()
func (*MsgTakeFromBasketResponse) String ¶
func (x *MsgTakeFromBasketResponse) String() string
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"` // contains filtered or unexported fields }
MsgUpdateClassAdmin is the Msg/UpdateClassAdmin request type.
func (*MsgUpdateClassAdmin) Descriptor
deprecated
func (*MsgUpdateClassAdmin) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateClassAdmin.ProtoReflect.Descriptor instead.
func (*MsgUpdateClassAdmin) GetAdmin ¶
func (x *MsgUpdateClassAdmin) GetAdmin() string
func (*MsgUpdateClassAdmin) GetClassId ¶
func (x *MsgUpdateClassAdmin) GetClassId() string
func (*MsgUpdateClassAdmin) GetNewAdmin ¶
func (x *MsgUpdateClassAdmin) GetNewAdmin() string
func (*MsgUpdateClassAdmin) ProtoMessage ¶
func (*MsgUpdateClassAdmin) ProtoMessage()
func (*MsgUpdateClassAdmin) ProtoReflect ¶
func (x *MsgUpdateClassAdmin) ProtoReflect() protoreflect.Message
func (*MsgUpdateClassAdmin) Reset ¶
func (x *MsgUpdateClassAdmin) Reset()
func (*MsgUpdateClassAdmin) String ¶
func (x *MsgUpdateClassAdmin) String() string
type MsgUpdateClassAdminResponse ¶
type MsgUpdateClassAdminResponse struct {
// contains filtered or unexported fields
}
MsgUpdateClassAdminResponse is the MsgUpdateClassAdmin response type.
func (*MsgUpdateClassAdminResponse) Descriptor
deprecated
func (*MsgUpdateClassAdminResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateClassAdminResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateClassAdminResponse) ProtoMessage ¶
func (*MsgUpdateClassAdminResponse) ProtoMessage()
func (*MsgUpdateClassAdminResponse) ProtoReflect ¶
func (x *MsgUpdateClassAdminResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateClassAdminResponse) Reset ¶
func (x *MsgUpdateClassAdminResponse) Reset()
func (*MsgUpdateClassAdminResponse) String ¶
func (x *MsgUpdateClassAdminResponse) String() string
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"` // contains filtered or unexported fields }
MsgUpdateClassIssuers is the Msg/UpdateClassIssuers request type.
func (*MsgUpdateClassIssuers) Descriptor
deprecated
func (*MsgUpdateClassIssuers) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateClassIssuers.ProtoReflect.Descriptor instead.
func (*MsgUpdateClassIssuers) GetAdmin ¶
func (x *MsgUpdateClassIssuers) GetAdmin() string
func (*MsgUpdateClassIssuers) GetClassId ¶
func (x *MsgUpdateClassIssuers) GetClassId() string
func (*MsgUpdateClassIssuers) GetIssuers ¶
func (x *MsgUpdateClassIssuers) GetIssuers() []string
func (*MsgUpdateClassIssuers) ProtoMessage ¶
func (*MsgUpdateClassIssuers) ProtoMessage()
func (*MsgUpdateClassIssuers) ProtoReflect ¶
func (x *MsgUpdateClassIssuers) ProtoReflect() protoreflect.Message
func (*MsgUpdateClassIssuers) Reset ¶
func (x *MsgUpdateClassIssuers) Reset()
func (*MsgUpdateClassIssuers) String ¶
func (x *MsgUpdateClassIssuers) String() string
type MsgUpdateClassIssuersResponse ¶
type MsgUpdateClassIssuersResponse struct {
// contains filtered or unexported fields
}
MsgUpdateClassIssuersResponse is the MsgUpdateClassIssuers response type.
func (*MsgUpdateClassIssuersResponse) Descriptor
deprecated
func (*MsgUpdateClassIssuersResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateClassIssuersResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateClassIssuersResponse) ProtoMessage ¶
func (*MsgUpdateClassIssuersResponse) ProtoMessage()
func (*MsgUpdateClassIssuersResponse) ProtoReflect ¶
func (x *MsgUpdateClassIssuersResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateClassIssuersResponse) Reset ¶
func (x *MsgUpdateClassIssuersResponse) Reset()
func (*MsgUpdateClassIssuersResponse) String ¶
func (x *MsgUpdateClassIssuersResponse) String() string
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"` // contains filtered or unexported fields }
MsgUpdateClassMetadata is the Msg/UpdateClassMetadata request type.
func (*MsgUpdateClassMetadata) Descriptor
deprecated
func (*MsgUpdateClassMetadata) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateClassMetadata.ProtoReflect.Descriptor instead.
func (*MsgUpdateClassMetadata) GetAdmin ¶
func (x *MsgUpdateClassMetadata) GetAdmin() string
func (*MsgUpdateClassMetadata) GetClassId ¶
func (x *MsgUpdateClassMetadata) GetClassId() string
func (*MsgUpdateClassMetadata) GetMetadata ¶
func (x *MsgUpdateClassMetadata) GetMetadata() []byte
func (*MsgUpdateClassMetadata) ProtoMessage ¶
func (*MsgUpdateClassMetadata) ProtoMessage()
func (*MsgUpdateClassMetadata) ProtoReflect ¶
func (x *MsgUpdateClassMetadata) ProtoReflect() protoreflect.Message
func (*MsgUpdateClassMetadata) Reset ¶
func (x *MsgUpdateClassMetadata) Reset()
func (*MsgUpdateClassMetadata) String ¶
func (x *MsgUpdateClassMetadata) String() string
type MsgUpdateClassMetadataResponse ¶
type MsgUpdateClassMetadataResponse struct {
// contains filtered or unexported fields
}
MsgUpdateClassMetadataResponse is the MsgUpdateClassMetadata response type.
func (*MsgUpdateClassMetadataResponse) Descriptor
deprecated
func (*MsgUpdateClassMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateClassMetadataResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateClassMetadataResponse) ProtoMessage ¶
func (*MsgUpdateClassMetadataResponse) ProtoMessage()
func (*MsgUpdateClassMetadataResponse) ProtoReflect ¶
func (x *MsgUpdateClassMetadataResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateClassMetadataResponse) Reset ¶
func (x *MsgUpdateClassMetadataResponse) Reset()
func (*MsgUpdateClassMetadataResponse) String ¶
func (x *MsgUpdateClassMetadataResponse) String() string
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"` // contains filtered or unexported fields }
MsgUpdateSellOrders is the Msg/UpdateSellOrders request type.
func (*MsgUpdateSellOrders) Descriptor
deprecated
func (*MsgUpdateSellOrders) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateSellOrders.ProtoReflect.Descriptor instead.
func (*MsgUpdateSellOrders) GetOwner ¶
func (x *MsgUpdateSellOrders) GetOwner() string
func (*MsgUpdateSellOrders) GetUpdates ¶
func (x *MsgUpdateSellOrders) GetUpdates() []*MsgUpdateSellOrders_Update
func (*MsgUpdateSellOrders) ProtoMessage ¶
func (*MsgUpdateSellOrders) ProtoMessage()
func (*MsgUpdateSellOrders) ProtoReflect ¶
func (x *MsgUpdateSellOrders) ProtoReflect() protoreflect.Message
func (*MsgUpdateSellOrders) Reset ¶
func (x *MsgUpdateSellOrders) Reset()
func (*MsgUpdateSellOrders) String ¶
func (x *MsgUpdateSellOrders) String() string
type MsgUpdateSellOrdersResponse ¶
type MsgUpdateSellOrdersResponse struct {
// contains filtered or unexported fields
}
MsgUpdateSellOrdersResponse is the Msg/UpdateSellOrders response type.
func (*MsgUpdateSellOrdersResponse) Descriptor
deprecated
func (*MsgUpdateSellOrdersResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateSellOrdersResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateSellOrdersResponse) ProtoMessage ¶
func (*MsgUpdateSellOrdersResponse) ProtoMessage()
func (*MsgUpdateSellOrdersResponse) ProtoReflect ¶
func (x *MsgUpdateSellOrdersResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateSellOrdersResponse) Reset ¶
func (x *MsgUpdateSellOrdersResponse) Reset()
func (*MsgUpdateSellOrdersResponse) String ¶
func (x *MsgUpdateSellOrdersResponse) String() string
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 *v1beta1.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"` // new_expiration is an optional timestamp when the sell order expires. When the // expiration time is reached, the sell order is removed from state. NewExpiration *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=new_expiration,json=newExpiration,proto3" json:"new_expiration,omitempty"` // contains filtered or unexported fields }
Update is an update to an existing sell order.
func (*MsgUpdateSellOrders_Update) Descriptor
deprecated
func (*MsgUpdateSellOrders_Update) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateSellOrders_Update.ProtoReflect.Descriptor instead.
func (*MsgUpdateSellOrders_Update) GetDisableAutoRetire ¶
func (x *MsgUpdateSellOrders_Update) GetDisableAutoRetire() bool
func (*MsgUpdateSellOrders_Update) GetNewAskPrice ¶
func (x *MsgUpdateSellOrders_Update) GetNewAskPrice() *v1beta1.Coin
func (*MsgUpdateSellOrders_Update) GetNewExpiration ¶
func (x *MsgUpdateSellOrders_Update) GetNewExpiration() *timestamppb.Timestamp
func (*MsgUpdateSellOrders_Update) GetNewQuantity ¶
func (x *MsgUpdateSellOrders_Update) GetNewQuantity() string
func (*MsgUpdateSellOrders_Update) GetSellOrderId ¶
func (x *MsgUpdateSellOrders_Update) GetSellOrderId() uint64
func (*MsgUpdateSellOrders_Update) ProtoMessage ¶
func (*MsgUpdateSellOrders_Update) ProtoMessage()
func (*MsgUpdateSellOrders_Update) ProtoReflect ¶
func (x *MsgUpdateSellOrders_Update) ProtoReflect() protoreflect.Message
func (*MsgUpdateSellOrders_Update) Reset ¶
func (x *MsgUpdateSellOrders_Update) Reset()
func (*MsgUpdateSellOrders_Update) String ¶
func (x *MsgUpdateSellOrders_Update) String() string
type Params ¶
type Params struct { // credit_class_fee is the fixed fee charged on creation of a new credit class CreditClassFee []*v1beta1.Coin `protobuf:"bytes,1,rep,name=credit_class_fee,json=creditClassFee,proto3" json:"credit_class_fee,omitempty"` // 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"` // contains filtered or unexported fields }
Params defines the updatable global parameters of the ecocredit module for use with the x/params module.
func (*Params) Descriptor
deprecated
func (*Params) GetAllowedClassCreators ¶
func (*Params) GetAllowlistEnabled ¶
func (*Params) GetCreditClassFee ¶
func (*Params) GetCreditTypes ¶
func (x *Params) GetCreditTypes() []*CreditType
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type ProjectInfo ¶
type ProjectInfo struct { // project_id is the unique ID of the project. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // class_id is the unique ID of credit class for this project. ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // issuer is the issuer of the credit batches for this project. Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"` // project_location is the location of the project. // Full documentation can be found in MsgCreateProject.project_location. ProjectLocation string `protobuf:"bytes,4,opt,name=project_location,json=projectLocation,proto3" json:"project_location,omitempty"` // metadata is any arbitrary metadata attached to the project. Metadata []byte `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
ProjectInfo represents the high-level on-chain information for a project.
func (*ProjectInfo) Descriptor
deprecated
func (*ProjectInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProjectInfo.ProtoReflect.Descriptor instead.
func (*ProjectInfo) GetClassId ¶
func (x *ProjectInfo) GetClassId() string
func (*ProjectInfo) GetIssuer ¶
func (x *ProjectInfo) GetIssuer() string
func (*ProjectInfo) GetMetadata ¶
func (x *ProjectInfo) GetMetadata() []byte
func (*ProjectInfo) GetProjectId ¶
func (x *ProjectInfo) GetProjectId() string
func (*ProjectInfo) GetProjectLocation ¶
func (x *ProjectInfo) GetProjectLocation() string
func (*ProjectInfo) ProtoMessage ¶
func (*ProjectInfo) ProtoMessage()
func (*ProjectInfo) ProtoReflect ¶
func (x *ProjectInfo) ProtoReflect() protoreflect.Message
func (*ProjectInfo) Reset ¶
func (x *ProjectInfo) Reset()
func (*ProjectInfo) String ¶
func (x *ProjectInfo) String() string
type QueryAllowedAskDenomsRequest ¶
type QueryAllowedAskDenomsRequest struct { // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryAllowedAskDenomsRequest is the Query/AllowedAskDenoms request type.
func (*QueryAllowedAskDenomsRequest) Descriptor
deprecated
func (*QueryAllowedAskDenomsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllowedAskDenomsRequest.ProtoReflect.Descriptor instead.
func (*QueryAllowedAskDenomsRequest) GetPagination ¶
func (x *QueryAllowedAskDenomsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllowedAskDenomsRequest) ProtoMessage ¶
func (*QueryAllowedAskDenomsRequest) ProtoMessage()
func (*QueryAllowedAskDenomsRequest) ProtoReflect ¶
func (x *QueryAllowedAskDenomsRequest) ProtoReflect() protoreflect.Message
func (*QueryAllowedAskDenomsRequest) Reset ¶
func (x *QueryAllowedAskDenomsRequest) Reset()
func (*QueryAllowedAskDenomsRequest) String ¶
func (x *QueryAllowedAskDenomsRequest) String() string
type QueryAllowedAskDenomsResponse ¶
type QueryAllowedAskDenomsResponse struct { // ask_denoms is a list of coin denoms allowed to use in the ask price of sell orders. AskDenoms []*AskDenom `protobuf:"bytes,1,rep,name=ask_denoms,json=askDenoms,proto3" json:"ask_denoms,omitempty"` // pagination defines an optional pagination for the response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryAllowedAskDenomsResponse is the Query/AllowedAskDenoms response type.
func (*QueryAllowedAskDenomsResponse) Descriptor
deprecated
func (*QueryAllowedAskDenomsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllowedAskDenomsResponse.ProtoReflect.Descriptor instead.
func (*QueryAllowedAskDenomsResponse) GetAskDenoms ¶
func (x *QueryAllowedAskDenomsResponse) GetAskDenoms() []*AskDenom
func (*QueryAllowedAskDenomsResponse) GetPagination ¶
func (x *QueryAllowedAskDenomsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllowedAskDenomsResponse) ProtoMessage ¶
func (*QueryAllowedAskDenomsResponse) ProtoMessage()
func (*QueryAllowedAskDenomsResponse) ProtoReflect ¶
func (x *QueryAllowedAskDenomsResponse) ProtoReflect() protoreflect.Message
func (*QueryAllowedAskDenomsResponse) Reset ¶
func (x *QueryAllowedAskDenomsResponse) Reset()
func (*QueryAllowedAskDenomsResponse) String ¶
func (x *QueryAllowedAskDenomsResponse) String() string
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"` // contains filtered or unexported fields }
QueryBalanceRequest is the Query/Balance request type.
func (*QueryBalanceRequest) Descriptor
deprecated
func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBalanceRequest.ProtoReflect.Descriptor instead.
func (*QueryBalanceRequest) GetAccount ¶
func (x *QueryBalanceRequest) GetAccount() string
func (*QueryBalanceRequest) GetBatchDenom ¶
func (x *QueryBalanceRequest) GetBatchDenom() string
func (*QueryBalanceRequest) ProtoMessage ¶
func (*QueryBalanceRequest) ProtoMessage()
func (*QueryBalanceRequest) ProtoReflect ¶
func (x *QueryBalanceRequest) ProtoReflect() protoreflect.Message
func (*QueryBalanceRequest) Reset ¶
func (x *QueryBalanceRequest) Reset()
func (*QueryBalanceRequest) String ¶
func (x *QueryBalanceRequest) String() string
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"` // contains filtered or unexported fields }
QueryBalanceResponse is the Query/Balance response type.
func (*QueryBalanceResponse) Descriptor
deprecated
func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBalanceResponse.ProtoReflect.Descriptor instead.
func (*QueryBalanceResponse) GetRetiredAmount ¶
func (x *QueryBalanceResponse) GetRetiredAmount() string
func (*QueryBalanceResponse) GetTradableAmount ¶
func (x *QueryBalanceResponse) GetTradableAmount() string
func (*QueryBalanceResponse) ProtoMessage ¶
func (*QueryBalanceResponse) ProtoMessage()
func (*QueryBalanceResponse) ProtoReflect ¶
func (x *QueryBalanceResponse) ProtoReflect() protoreflect.Message
func (*QueryBalanceResponse) Reset ¶
func (x *QueryBalanceResponse) Reset()
func (*QueryBalanceResponse) String ¶
func (x *QueryBalanceResponse) String() string
type QueryBasketCreditsRequest ¶
type QueryBasketCreditsRequest struct { // basket_denom is the basket denom to query credits for. BasketDenom string `protobuf:"bytes,1,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"` // contains filtered or unexported fields }
QueryBasketCreditsRequest is the Query/BasketCredits request type.
func (*QueryBasketCreditsRequest) Descriptor
deprecated
func (*QueryBasketCreditsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBasketCreditsRequest.ProtoReflect.Descriptor instead.
func (*QueryBasketCreditsRequest) GetBasketDenom ¶
func (x *QueryBasketCreditsRequest) GetBasketDenom() string
func (*QueryBasketCreditsRequest) ProtoMessage ¶
func (*QueryBasketCreditsRequest) ProtoMessage()
func (*QueryBasketCreditsRequest) ProtoReflect ¶
func (x *QueryBasketCreditsRequest) ProtoReflect() protoreflect.Message
func (*QueryBasketCreditsRequest) Reset ¶
func (x *QueryBasketCreditsRequest) Reset()
func (*QueryBasketCreditsRequest) String ¶
func (x *QueryBasketCreditsRequest) String() string
type QueryBasketCreditsResponse ¶
type QueryBasketCreditsResponse struct { // credits are the credits inside the basket. Credits []*BasketCredit `protobuf:"bytes,1,rep,name=credits,proto3" json:"credits,omitempty"` // pagination defines the pagination in the response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBasketCreditsResponse is the Query/BasketCredits response type.
func (*QueryBasketCreditsResponse) Descriptor
deprecated
func (*QueryBasketCreditsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBasketCreditsResponse.ProtoReflect.Descriptor instead.
func (*QueryBasketCreditsResponse) GetCredits ¶
func (x *QueryBasketCreditsResponse) GetCredits() []*BasketCredit
func (*QueryBasketCreditsResponse) GetPagination ¶
func (x *QueryBasketCreditsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryBasketCreditsResponse) ProtoMessage ¶
func (*QueryBasketCreditsResponse) ProtoMessage()
func (*QueryBasketCreditsResponse) ProtoReflect ¶
func (x *QueryBasketCreditsResponse) ProtoReflect() protoreflect.Message
func (*QueryBasketCreditsResponse) Reset ¶
func (x *QueryBasketCreditsResponse) Reset()
func (*QueryBasketCreditsResponse) String ¶
func (x *QueryBasketCreditsResponse) String() string
type QueryBasketRequest ¶
type QueryBasketRequest struct { // basket_denom represents the denom of the basket to query. BasketDenom string `protobuf:"bytes,1,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"` // contains filtered or unexported fields }
QueryBasketRequest is the Query/Basket request type.
func (*QueryBasketRequest) Descriptor
deprecated
func (*QueryBasketRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBasketRequest.ProtoReflect.Descriptor instead.
func (*QueryBasketRequest) GetBasketDenom ¶
func (x *QueryBasketRequest) GetBasketDenom() string
func (*QueryBasketRequest) ProtoMessage ¶
func (*QueryBasketRequest) ProtoMessage()
func (*QueryBasketRequest) ProtoReflect ¶
func (x *QueryBasketRequest) ProtoReflect() protoreflect.Message
func (*QueryBasketRequest) Reset ¶
func (x *QueryBasketRequest) Reset()
func (*QueryBasketRequest) String ¶
func (x *QueryBasketRequest) String() string
type QueryBasketResponse ¶
type QueryBasketResponse struct { // basket is the queried basket. Basket *Basket `protobuf:"bytes,1,opt,name=basket,proto3" json:"basket,omitempty"` // contains filtered or unexported fields }
QueryBasketResponse is the Query/Basket response type.
func (*QueryBasketResponse) Descriptor
deprecated
func (*QueryBasketResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBasketResponse.ProtoReflect.Descriptor instead.
func (*QueryBasketResponse) GetBasket ¶
func (x *QueryBasketResponse) GetBasket() *Basket
func (*QueryBasketResponse) ProtoMessage ¶
func (*QueryBasketResponse) ProtoMessage()
func (*QueryBasketResponse) ProtoReflect ¶
func (x *QueryBasketResponse) ProtoReflect() protoreflect.Message
func (*QueryBasketResponse) Reset ¶
func (x *QueryBasketResponse) Reset()
func (*QueryBasketResponse) String ¶
func (x *QueryBasketResponse) String() string
type QueryBasketsRequest ¶
type QueryBasketsRequest struct { // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBasketsRequest is the Query/Baskets request type.
func (*QueryBasketsRequest) Descriptor
deprecated
func (*QueryBasketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBasketsRequest.ProtoReflect.Descriptor instead.
func (*QueryBasketsRequest) GetPagination ¶
func (x *QueryBasketsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryBasketsRequest) ProtoMessage ¶
func (*QueryBasketsRequest) ProtoMessage()
func (*QueryBasketsRequest) ProtoReflect ¶
func (x *QueryBasketsRequest) ProtoReflect() protoreflect.Message
func (*QueryBasketsRequest) Reset ¶
func (x *QueryBasketsRequest) Reset()
func (*QueryBasketsRequest) String ¶
func (x *QueryBasketsRequest) String() string
type QueryBasketsResponse ¶
type QueryBasketsResponse struct { // baskets are the fetched baskets. Baskets []*Basket `protobuf:"bytes,1,rep,name=baskets,proto3" json:"baskets,omitempty"` // pagination defines the pagination in the response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBasketsResponse is the Query/Baskets response type.
func (*QueryBasketsResponse) Descriptor
deprecated
func (*QueryBasketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBasketsResponse.ProtoReflect.Descriptor instead.
func (*QueryBasketsResponse) GetBaskets ¶
func (x *QueryBasketsResponse) GetBaskets() []*Basket
func (*QueryBasketsResponse) GetPagination ¶
func (x *QueryBasketsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryBasketsResponse) ProtoMessage ¶
func (*QueryBasketsResponse) ProtoMessage()
func (*QueryBasketsResponse) ProtoReflect ¶
func (x *QueryBasketsResponse) ProtoReflect() protoreflect.Message
func (*QueryBasketsResponse) Reset ¶
func (x *QueryBasketsResponse) Reset()
func (*QueryBasketsResponse) String ¶
func (x *QueryBasketsResponse) String() string
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"` // contains filtered or unexported fields }
QueryBatchInfoRequest is the Query/BatchInfo request type.
func (*QueryBatchInfoRequest) Descriptor
deprecated
func (*QueryBatchInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchInfoRequest.ProtoReflect.Descriptor instead.
func (*QueryBatchInfoRequest) GetBatchDenom ¶
func (x *QueryBatchInfoRequest) GetBatchDenom() string
func (*QueryBatchInfoRequest) ProtoMessage ¶
func (*QueryBatchInfoRequest) ProtoMessage()
func (*QueryBatchInfoRequest) ProtoReflect ¶
func (x *QueryBatchInfoRequest) ProtoReflect() protoreflect.Message
func (*QueryBatchInfoRequest) Reset ¶
func (x *QueryBatchInfoRequest) Reset()
func (*QueryBatchInfoRequest) String ¶
func (x *QueryBatchInfoRequest) String() string
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"` // contains filtered or unexported fields }
QueryBatchInfoResponse is the Query/BatchInfo response type.
func (*QueryBatchInfoResponse) Descriptor
deprecated
func (*QueryBatchInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchInfoResponse.ProtoReflect.Descriptor instead.
func (*QueryBatchInfoResponse) GetInfo ¶
func (x *QueryBatchInfoResponse) GetInfo() *BatchInfo
func (*QueryBatchInfoResponse) ProtoMessage ¶
func (*QueryBatchInfoResponse) ProtoMessage()
func (*QueryBatchInfoResponse) ProtoReflect ¶
func (x *QueryBatchInfoResponse) ProtoReflect() protoreflect.Message
func (*QueryBatchInfoResponse) Reset ¶
func (x *QueryBatchInfoResponse) Reset()
func (*QueryBatchInfoResponse) String ¶
func (x *QueryBatchInfoResponse) String() string
type QueryBatchesRequest ¶
type QueryBatchesRequest struct { // project_id is the unique ID of the project to query. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBatchesRequest is the Query/Batches request type.
func (*QueryBatchesRequest) Descriptor
deprecated
func (*QueryBatchesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchesRequest.ProtoReflect.Descriptor instead.
func (*QueryBatchesRequest) GetPagination ¶
func (x *QueryBatchesRequest) GetPagination() *v1beta1.PageRequest
func (*QueryBatchesRequest) GetProjectId ¶
func (x *QueryBatchesRequest) GetProjectId() string
func (*QueryBatchesRequest) ProtoMessage ¶
func (*QueryBatchesRequest) ProtoMessage()
func (*QueryBatchesRequest) ProtoReflect ¶
func (x *QueryBatchesRequest) ProtoReflect() protoreflect.Message
func (*QueryBatchesRequest) Reset ¶
func (x *QueryBatchesRequest) Reset()
func (*QueryBatchesRequest) String ¶
func (x *QueryBatchesRequest) String() string
type QueryBatchesResponse ¶
type QueryBatchesResponse struct { // batches are the fetched credit batches within the project. Batches []*BatchInfo `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"` // pagination defines the pagination in the response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBatchesResponse is the Query/Batches response type.
func (*QueryBatchesResponse) Descriptor
deprecated
func (*QueryBatchesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchesResponse.ProtoReflect.Descriptor instead.
func (*QueryBatchesResponse) GetBatches ¶
func (x *QueryBatchesResponse) GetBatches() []*BatchInfo
func (*QueryBatchesResponse) GetPagination ¶
func (x *QueryBatchesResponse) GetPagination() *v1beta1.PageResponse
func (*QueryBatchesResponse) ProtoMessage ¶
func (*QueryBatchesResponse) ProtoMessage()
func (*QueryBatchesResponse) ProtoReflect ¶
func (x *QueryBatchesResponse) ProtoReflect() protoreflect.Message
func (*QueryBatchesResponse) Reset ¶
func (x *QueryBatchesResponse) Reset()
func (*QueryBatchesResponse) String ¶
func (x *QueryBatchesResponse) String() string
type QueryBuyOrderRequest ¶
type QueryBuyOrderRequest struct { // buy_order_id is the id of the buy order. BuyOrderId uint64 `protobuf:"varint,1,opt,name=buy_order_id,json=buyOrderId,proto3" json:"buy_order_id,omitempty"` // contains filtered or unexported fields }
QueryBuyOrderRequest is the Query/BuyOrder request type.
func (*QueryBuyOrderRequest) Descriptor
deprecated
func (*QueryBuyOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBuyOrderRequest.ProtoReflect.Descriptor instead.
func (*QueryBuyOrderRequest) GetBuyOrderId ¶
func (x *QueryBuyOrderRequest) GetBuyOrderId() uint64
func (*QueryBuyOrderRequest) ProtoMessage ¶
func (*QueryBuyOrderRequest) ProtoMessage()
func (*QueryBuyOrderRequest) ProtoReflect ¶
func (x *QueryBuyOrderRequest) ProtoReflect() protoreflect.Message
func (*QueryBuyOrderRequest) Reset ¶
func (x *QueryBuyOrderRequest) Reset()
func (*QueryBuyOrderRequest) String ¶
func (x *QueryBuyOrderRequest) String() string
type QueryBuyOrderResponse ¶
type QueryBuyOrderResponse struct { // buy_order contains all information related to a buy order. BuyOrder *BuyOrder `protobuf:"bytes,1,opt,name=buy_order,json=buyOrder,proto3" json:"buy_order,omitempty"` // contains filtered or unexported fields }
QueryBuyOrderResponse is the Query/BuyOrder response type.
func (*QueryBuyOrderResponse) Descriptor
deprecated
func (*QueryBuyOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBuyOrderResponse.ProtoReflect.Descriptor instead.
func (*QueryBuyOrderResponse) GetBuyOrder ¶
func (x *QueryBuyOrderResponse) GetBuyOrder() *BuyOrder
func (*QueryBuyOrderResponse) ProtoMessage ¶
func (*QueryBuyOrderResponse) ProtoMessage()
func (*QueryBuyOrderResponse) ProtoReflect ¶
func (x *QueryBuyOrderResponse) ProtoReflect() protoreflect.Message
func (*QueryBuyOrderResponse) Reset ¶
func (x *QueryBuyOrderResponse) Reset()
func (*QueryBuyOrderResponse) String ¶
func (x *QueryBuyOrderResponse) String() string
type QueryBuyOrdersByAddressRequest ¶
type QueryBuyOrdersByAddressRequest struct { // address of the buy order creator Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBuyOrdersByAddressRequest is the Query/BuyOrdersByAddress request type
func (*QueryBuyOrdersByAddressRequest) Descriptor
deprecated
func (*QueryBuyOrdersByAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBuyOrdersByAddressRequest.ProtoReflect.Descriptor instead.
func (*QueryBuyOrdersByAddressRequest) GetAddress ¶
func (x *QueryBuyOrdersByAddressRequest) GetAddress() string
func (*QueryBuyOrdersByAddressRequest) GetPagination ¶
func (x *QueryBuyOrdersByAddressRequest) GetPagination() *v1beta1.PageRequest
func (*QueryBuyOrdersByAddressRequest) ProtoMessage ¶
func (*QueryBuyOrdersByAddressRequest) ProtoMessage()
func (*QueryBuyOrdersByAddressRequest) ProtoReflect ¶
func (x *QueryBuyOrdersByAddressRequest) ProtoReflect() protoreflect.Message
func (*QueryBuyOrdersByAddressRequest) Reset ¶
func (x *QueryBuyOrdersByAddressRequest) Reset()
func (*QueryBuyOrdersByAddressRequest) String ¶
func (x *QueryBuyOrdersByAddressRequest) String() string
type QueryBuyOrdersByAddressResponse ¶
type QueryBuyOrdersByAddressResponse struct { // buy_orders is a list of buy orders. BuyOrders []*BuyOrder `protobuf:"bytes,1,rep,name=buy_orders,json=buyOrders,proto3" json:"buy_orders,omitempty"` // pagination defines an optional pagination for the response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBuyOrdersByAddressResponse is the Query/BuyOrdersByAddress response type.
func (*QueryBuyOrdersByAddressResponse) Descriptor
deprecated
func (*QueryBuyOrdersByAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBuyOrdersByAddressResponse.ProtoReflect.Descriptor instead.
func (*QueryBuyOrdersByAddressResponse) GetBuyOrders ¶
func (x *QueryBuyOrdersByAddressResponse) GetBuyOrders() []*BuyOrder
func (*QueryBuyOrdersByAddressResponse) GetPagination ¶
func (x *QueryBuyOrdersByAddressResponse) GetPagination() *v1beta1.PageResponse
func (*QueryBuyOrdersByAddressResponse) ProtoMessage ¶
func (*QueryBuyOrdersByAddressResponse) ProtoMessage()
func (*QueryBuyOrdersByAddressResponse) ProtoReflect ¶
func (x *QueryBuyOrdersByAddressResponse) ProtoReflect() protoreflect.Message
func (*QueryBuyOrdersByAddressResponse) Reset ¶
func (x *QueryBuyOrdersByAddressResponse) Reset()
func (*QueryBuyOrdersByAddressResponse) String ¶
func (x *QueryBuyOrdersByAddressResponse) String() string
type QueryBuyOrdersRequest ¶
type QueryBuyOrdersRequest struct { // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBuyOrdersRequest is the Query/BuyOrders request type.
func (*QueryBuyOrdersRequest) Descriptor
deprecated
func (*QueryBuyOrdersRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBuyOrdersRequest.ProtoReflect.Descriptor instead.
func (*QueryBuyOrdersRequest) GetPagination ¶
func (x *QueryBuyOrdersRequest) GetPagination() *v1beta1.PageRequest
func (*QueryBuyOrdersRequest) ProtoMessage ¶
func (*QueryBuyOrdersRequest) ProtoMessage()
func (*QueryBuyOrdersRequest) ProtoReflect ¶
func (x *QueryBuyOrdersRequest) ProtoReflect() protoreflect.Message
func (*QueryBuyOrdersRequest) Reset ¶
func (x *QueryBuyOrdersRequest) Reset()
func (*QueryBuyOrdersRequest) String ¶
func (x *QueryBuyOrdersRequest) String() string
type QueryBuyOrdersResponse ¶
type QueryBuyOrdersResponse struct { // buy_orders is a list of buy orders. BuyOrders []*BuyOrder `protobuf:"bytes,1,rep,name=buy_orders,json=buyOrders,proto3" json:"buy_orders,omitempty"` // pagination defines an optional pagination for the response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBuyOrdersResponse is the Query/BuyOrders response type.
func (*QueryBuyOrdersResponse) Descriptor
deprecated
func (*QueryBuyOrdersResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBuyOrdersResponse.ProtoReflect.Descriptor instead.
func (*QueryBuyOrdersResponse) GetBuyOrders ¶
func (x *QueryBuyOrdersResponse) GetBuyOrders() []*BuyOrder
func (*QueryBuyOrdersResponse) GetPagination ¶
func (x *QueryBuyOrdersResponse) GetPagination() *v1beta1.PageResponse
func (*QueryBuyOrdersResponse) ProtoMessage ¶
func (*QueryBuyOrdersResponse) ProtoMessage()
func (*QueryBuyOrdersResponse) ProtoReflect ¶
func (x *QueryBuyOrdersResponse) ProtoReflect() protoreflect.Message
func (*QueryBuyOrdersResponse) Reset ¶
func (x *QueryBuyOrdersResponse) Reset()
func (*QueryBuyOrdersResponse) String ¶
func (x *QueryBuyOrdersResponse) String() string
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"` // contains filtered or unexported fields }
QueryClassInfoRequest is the Query/ClassInfo request type.
func (*QueryClassInfoRequest) Descriptor
deprecated
func (*QueryClassInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassInfoRequest.ProtoReflect.Descriptor instead.
func (*QueryClassInfoRequest) GetClassId ¶
func (x *QueryClassInfoRequest) GetClassId() string
func (*QueryClassInfoRequest) ProtoMessage ¶
func (*QueryClassInfoRequest) ProtoMessage()
func (*QueryClassInfoRequest) ProtoReflect ¶
func (x *QueryClassInfoRequest) ProtoReflect() protoreflect.Message
func (*QueryClassInfoRequest) Reset ¶
func (x *QueryClassInfoRequest) Reset()
func (*QueryClassInfoRequest) String ¶
func (x *QueryClassInfoRequest) String() string
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"` // contains filtered or unexported fields }
QueryClassInfoResponse is the Query/ClassInfo request type.
func (*QueryClassInfoResponse) Descriptor
deprecated
func (*QueryClassInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassInfoResponse.ProtoReflect.Descriptor instead.
func (*QueryClassInfoResponse) GetInfo ¶
func (x *QueryClassInfoResponse) GetInfo() *ClassInfo
func (*QueryClassInfoResponse) ProtoMessage ¶
func (*QueryClassInfoResponse) ProtoMessage()
func (*QueryClassInfoResponse) ProtoReflect ¶
func (x *QueryClassInfoResponse) ProtoReflect() protoreflect.Message
func (*QueryClassInfoResponse) Reset ¶
func (x *QueryClassInfoResponse) Reset()
func (*QueryClassInfoResponse) String ¶
func (x *QueryClassInfoResponse) String() string
type QueryClassesRequest ¶
type QueryClassesRequest struct { // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryClassesRequest is the Query/Classes request type.
func (*QueryClassesRequest) Descriptor
deprecated
func (*QueryClassesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassesRequest.ProtoReflect.Descriptor instead.
func (*QueryClassesRequest) GetPagination ¶
func (x *QueryClassesRequest) GetPagination() *v1beta1.PageRequest
func (*QueryClassesRequest) ProtoMessage ¶
func (*QueryClassesRequest) ProtoMessage()
func (*QueryClassesRequest) ProtoReflect ¶
func (x *QueryClassesRequest) ProtoReflect() protoreflect.Message
func (*QueryClassesRequest) Reset ¶
func (x *QueryClassesRequest) Reset()
func (*QueryClassesRequest) String ¶
func (x *QueryClassesRequest) String() string
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 *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryClassesResponse is the Query/Classes response type.
func (*QueryClassesResponse) Descriptor
deprecated
func (*QueryClassesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassesResponse.ProtoReflect.Descriptor instead.
func (*QueryClassesResponse) GetClasses ¶
func (x *QueryClassesResponse) GetClasses() []*ClassInfo
func (*QueryClassesResponse) GetPagination ¶
func (x *QueryClassesResponse) GetPagination() *v1beta1.PageResponse
func (*QueryClassesResponse) ProtoMessage ¶
func (*QueryClassesResponse) ProtoMessage()
func (*QueryClassesResponse) ProtoReflect ¶
func (x *QueryClassesResponse) ProtoReflect() protoreflect.Message
func (*QueryClassesResponse) Reset ¶
func (x *QueryClassesResponse) Reset()
func (*QueryClassesResponse) String ¶
func (x *QueryClassesResponse) String() string
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) // Projects queries for all projects within a class with pagination. Projects(ctx context.Context, in *QueryProjectsRequest, opts ...grpc.CallOption) (*QueryProjectsResponse, error) // ClassInfo queries for information on a project. ProjectInfo(ctx context.Context, in *QueryProjectInfoRequest, opts ...grpc.CallOption) (*QueryProjectInfoResponse, error) // Batches queries for all batches in the given project 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) // SellOrder queries a sell order by its ID SellOrder(ctx context.Context, in *QuerySellOrderRequest, opts ...grpc.CallOption) (*QuerySellOrderResponse, error) // SellOrders queries a paginated list of all sell orders SellOrders(ctx context.Context, in *QuerySellOrdersRequest, opts ...grpc.CallOption) (*QuerySellOrdersResponse, error) // SellOrdersByDenom queries a paginated list of all sell orders of a specific ecocredit denom SellOrdersByBatchDenom(ctx context.Context, in *QuerySellOrdersByBatchDenomRequest, opts ...grpc.CallOption) (*QuerySellOrdersByBatchDenomResponse, error) // SellOrdersByAddress queries a paginated list of all sell orders from a specific address SellOrdersByAddress(ctx context.Context, in *QuerySellOrdersByAddressRequest, opts ...grpc.CallOption) (*QuerySellOrdersByAddressResponse, error) // BuyOrder queries a buy order by its id BuyOrder(ctx context.Context, in *QueryBuyOrderRequest, opts ...grpc.CallOption) (*QueryBuyOrderResponse, error) // BuyOrders queries a paginated list of all buy orders BuyOrders(ctx context.Context, in *QueryBuyOrdersRequest, opts ...grpc.CallOption) (*QueryBuyOrdersResponse, error) // BuyOrdersByAddress queries a paginated list of buy orders by creator address BuyOrdersByAddress(ctx context.Context, in *QueryBuyOrdersByAddressRequest, opts ...grpc.CallOption) (*QueryBuyOrdersByAddressResponse, error) // AllowedAskDenoms queries all denoms allowed to be set in the AskPrice of a sell order AllowedAskDenoms(ctx context.Context, in *QueryAllowedAskDenomsRequest, opts ...grpc.CallOption) (*QueryAllowedAskDenomsResponse, error) // Basket queries one basket by denom. Basket(ctx context.Context, in *QueryBasketRequest, opts ...grpc.CallOption) (*QueryBasketResponse, error) // Baskets lists all baskets in the ecocredit module. Baskets(ctx context.Context, in *QueryBasketsRequest, opts ...grpc.CallOption) (*QueryBasketsResponse, error) // BasketCredits lists all ecocredits inside a given basket. BasketCredits(ctx context.Context, in *QueryBasketCreditsRequest, opts ...grpc.CallOption) (*QueryBasketCreditsResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryCreditTypesRequest ¶
type QueryCreditTypesRequest struct {
// contains filtered or unexported fields
}
QueryCreditTypesRequest is the Query/Credit_Types request type
func (*QueryCreditTypesRequest) Descriptor
deprecated
func (*QueryCreditTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryCreditTypesRequest.ProtoReflect.Descriptor instead.
func (*QueryCreditTypesRequest) ProtoMessage ¶
func (*QueryCreditTypesRequest) ProtoMessage()
func (*QueryCreditTypesRequest) ProtoReflect ¶
func (x *QueryCreditTypesRequest) ProtoReflect() protoreflect.Message
func (*QueryCreditTypesRequest) Reset ¶
func (x *QueryCreditTypesRequest) Reset()
func (*QueryCreditTypesRequest) String ¶
func (x *QueryCreditTypesRequest) String() string
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"` // contains filtered or unexported fields }
QueryCreditTypesRequest is the Query/Credit_Types response type
func (*QueryCreditTypesResponse) Descriptor
deprecated
func (*QueryCreditTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryCreditTypesResponse.ProtoReflect.Descriptor instead.
func (*QueryCreditTypesResponse) GetCreditTypes ¶
func (x *QueryCreditTypesResponse) GetCreditTypes() []*CreditType
func (*QueryCreditTypesResponse) ProtoMessage ¶
func (*QueryCreditTypesResponse) ProtoMessage()
func (*QueryCreditTypesResponse) ProtoReflect ¶
func (x *QueryCreditTypesResponse) ProtoReflect() protoreflect.Message
func (*QueryCreditTypesResponse) Reset ¶
func (x *QueryCreditTypesResponse) Reset()
func (*QueryCreditTypesResponse) String ¶
func (x *QueryCreditTypesResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is the Query/Params request type.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
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"` // contains filtered or unexported fields }
QueryParamsResponse is the Query/Params response type.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryProjectInfoRequest ¶
type QueryProjectInfoRequest struct { // project_id is the unique ID of the project to query. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
QueryProjectInfoRequest is the Query/Project request type.
func (*QueryProjectInfoRequest) Descriptor
deprecated
func (*QueryProjectInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryProjectInfoRequest.ProtoReflect.Descriptor instead.
func (*QueryProjectInfoRequest) GetProjectId ¶
func (x *QueryProjectInfoRequest) GetProjectId() string
func (*QueryProjectInfoRequest) ProtoMessage ¶
func (*QueryProjectInfoRequest) ProtoMessage()
func (*QueryProjectInfoRequest) ProtoReflect ¶
func (x *QueryProjectInfoRequest) ProtoReflect() protoreflect.Message
func (*QueryProjectInfoRequest) Reset ¶
func (x *QueryProjectInfoRequest) Reset()
func (*QueryProjectInfoRequest) String ¶
func (x *QueryProjectInfoRequest) String() string
type QueryProjectInfoResponse ¶
type QueryProjectInfoResponse struct { // info is the ProjectInfo for the project. Info *ProjectInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
QueryProjectInfoResponse is the Query/Project response type.
func (*QueryProjectInfoResponse) Descriptor
deprecated
func (*QueryProjectInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryProjectInfoResponse.ProtoReflect.Descriptor instead.
func (*QueryProjectInfoResponse) GetInfo ¶
func (x *QueryProjectInfoResponse) GetInfo() *ProjectInfo
func (*QueryProjectInfoResponse) ProtoMessage ¶
func (*QueryProjectInfoResponse) ProtoMessage()
func (*QueryProjectInfoResponse) ProtoReflect ¶
func (x *QueryProjectInfoResponse) ProtoReflect() protoreflect.Message
func (*QueryProjectInfoResponse) Reset ¶
func (x *QueryProjectInfoResponse) Reset()
func (*QueryProjectInfoResponse) String ¶
func (x *QueryProjectInfoResponse) String() string
type QueryProjectsRequest ¶
type QueryProjectsRequest 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"` // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryProjectsRequest is the Query/Projects request type.
func (*QueryProjectsRequest) Descriptor
deprecated
func (*QueryProjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryProjectsRequest.ProtoReflect.Descriptor instead.
func (*QueryProjectsRequest) GetClassId ¶
func (x *QueryProjectsRequest) GetClassId() string
func (*QueryProjectsRequest) GetPagination ¶
func (x *QueryProjectsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryProjectsRequest) ProtoMessage ¶
func (*QueryProjectsRequest) ProtoMessage()
func (*QueryProjectsRequest) ProtoReflect ¶
func (x *QueryProjectsRequest) ProtoReflect() protoreflect.Message
func (*QueryProjectsRequest) Reset ¶
func (x *QueryProjectsRequest) Reset()
func (*QueryProjectsRequest) String ¶
func (x *QueryProjectsRequest) String() string
type QueryProjectsResponse ¶
type QueryProjectsResponse struct { // projects are the fetched projects. Projects []*ProjectInfo `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // pagination defines the pagination in the response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryProjectsResponse is the Query/Projects response type.
func (*QueryProjectsResponse) Descriptor
deprecated
func (*QueryProjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryProjectsResponse.ProtoReflect.Descriptor instead.
func (*QueryProjectsResponse) GetPagination ¶
func (x *QueryProjectsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryProjectsResponse) GetProjects ¶
func (x *QueryProjectsResponse) GetProjects() []*ProjectInfo
func (*QueryProjectsResponse) ProtoMessage ¶
func (*QueryProjectsResponse) ProtoMessage()
func (*QueryProjectsResponse) ProtoReflect ¶
func (x *QueryProjectsResponse) ProtoReflect() protoreflect.Message
func (*QueryProjectsResponse) Reset ¶
func (x *QueryProjectsResponse) Reset()
func (*QueryProjectsResponse) String ¶
func (x *QueryProjectsResponse) String() string
type QuerySellOrderRequest ¶
type QuerySellOrderRequest struct { // sell_order_id is the id of the requested sell order. SellOrderId uint64 `protobuf:"varint,1,opt,name=sell_order_id,json=sellOrderId,proto3" json:"sell_order_id,omitempty"` // contains filtered or unexported fields }
QuerySellOrderRequest is the Query/SellOrder request type.
func (*QuerySellOrderRequest) Descriptor
deprecated
func (*QuerySellOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuerySellOrderRequest.ProtoReflect.Descriptor instead.
func (*QuerySellOrderRequest) GetSellOrderId ¶
func (x *QuerySellOrderRequest) GetSellOrderId() uint64
func (*QuerySellOrderRequest) ProtoMessage ¶
func (*QuerySellOrderRequest) ProtoMessage()
func (*QuerySellOrderRequest) ProtoReflect ¶
func (x *QuerySellOrderRequest) ProtoReflect() protoreflect.Message
func (*QuerySellOrderRequest) Reset ¶
func (x *QuerySellOrderRequest) Reset()
func (*QuerySellOrderRequest) String ¶
func (x *QuerySellOrderRequest) String() string
type QuerySellOrderResponse ¶
type QuerySellOrderResponse struct { // sell_order contains all information related to a sell order. SellOrder *SellOrder `protobuf:"bytes,1,opt,name=sell_order,json=sellOrder,proto3" json:"sell_order,omitempty"` // contains filtered or unexported fields }
QuerySellOrderResponse is the Query/SellOrder response type.
func (*QuerySellOrderResponse) Descriptor
deprecated
func (*QuerySellOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuerySellOrderResponse.ProtoReflect.Descriptor instead.
func (*QuerySellOrderResponse) GetSellOrder ¶
func (x *QuerySellOrderResponse) GetSellOrder() *SellOrder
func (*QuerySellOrderResponse) ProtoMessage ¶
func (*QuerySellOrderResponse) ProtoMessage()
func (*QuerySellOrderResponse) ProtoReflect ¶
func (x *QuerySellOrderResponse) ProtoReflect() protoreflect.Message
func (*QuerySellOrderResponse) Reset ¶
func (x *QuerySellOrderResponse) Reset()
func (*QuerySellOrderResponse) String ¶
func (x *QuerySellOrderResponse) String() string
type QuerySellOrdersByAddressRequest ¶
type QuerySellOrdersByAddressRequest struct { // address is the creator of the sell order Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QuerySellOrdersByAddressRequest is the Query/SellOrdersByAddress request type.
func (*QuerySellOrdersByAddressRequest) Descriptor
deprecated
func (*QuerySellOrdersByAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuerySellOrdersByAddressRequest.ProtoReflect.Descriptor instead.
func (*QuerySellOrdersByAddressRequest) GetAddress ¶
func (x *QuerySellOrdersByAddressRequest) GetAddress() string
func (*QuerySellOrdersByAddressRequest) GetPagination ¶
func (x *QuerySellOrdersByAddressRequest) GetPagination() *v1beta1.PageRequest
func (*QuerySellOrdersByAddressRequest) ProtoMessage ¶
func (*QuerySellOrdersByAddressRequest) ProtoMessage()
func (*QuerySellOrdersByAddressRequest) ProtoReflect ¶
func (x *QuerySellOrdersByAddressRequest) ProtoReflect() protoreflect.Message
func (*QuerySellOrdersByAddressRequest) Reset ¶
func (x *QuerySellOrdersByAddressRequest) Reset()
func (*QuerySellOrdersByAddressRequest) String ¶
func (x *QuerySellOrdersByAddressRequest) String() string
type QuerySellOrdersByAddressResponse ¶
type QuerySellOrdersByAddressResponse struct { // sell_orders is a list of sell orders. SellOrders []*SellOrder `protobuf:"bytes,1,rep,name=sell_orders,json=sellOrders,proto3" json:"sell_orders,omitempty"` // pagination defines an optional pagination for the response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QuerySellOrdersByAddressResponse is the Query/SellOrdersByAddressResponse response type.
func (*QuerySellOrdersByAddressResponse) Descriptor
deprecated
func (*QuerySellOrdersByAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuerySellOrdersByAddressResponse.ProtoReflect.Descriptor instead.
func (*QuerySellOrdersByAddressResponse) GetPagination ¶
func (x *QuerySellOrdersByAddressResponse) GetPagination() *v1beta1.PageResponse
func (*QuerySellOrdersByAddressResponse) GetSellOrders ¶
func (x *QuerySellOrdersByAddressResponse) GetSellOrders() []*SellOrder
func (*QuerySellOrdersByAddressResponse) ProtoMessage ¶
func (*QuerySellOrdersByAddressResponse) ProtoMessage()
func (*QuerySellOrdersByAddressResponse) ProtoReflect ¶
func (x *QuerySellOrdersByAddressResponse) ProtoReflect() protoreflect.Message
func (*QuerySellOrdersByAddressResponse) Reset ¶
func (x *QuerySellOrdersByAddressResponse) Reset()
func (*QuerySellOrdersByAddressResponse) String ¶
func (x *QuerySellOrdersByAddressResponse) String() string
type QuerySellOrdersByBatchDenomRequest ¶
type QuerySellOrdersByBatchDenomRequest struct { // batch_denom is an ecocredit denom BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QuerySellOrdersByDenomRequest is the Query/SellOrdersByDenom request type.
func (*QuerySellOrdersByBatchDenomRequest) Descriptor
deprecated
func (*QuerySellOrdersByBatchDenomRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuerySellOrdersByBatchDenomRequest.ProtoReflect.Descriptor instead.
func (*QuerySellOrdersByBatchDenomRequest) GetBatchDenom ¶
func (x *QuerySellOrdersByBatchDenomRequest) GetBatchDenom() string
func (*QuerySellOrdersByBatchDenomRequest) GetPagination ¶
func (x *QuerySellOrdersByBatchDenomRequest) GetPagination() *v1beta1.PageRequest
func (*QuerySellOrdersByBatchDenomRequest) ProtoMessage ¶
func (*QuerySellOrdersByBatchDenomRequest) ProtoMessage()
func (*QuerySellOrdersByBatchDenomRequest) ProtoReflect ¶
func (x *QuerySellOrdersByBatchDenomRequest) ProtoReflect() protoreflect.Message
func (*QuerySellOrdersByBatchDenomRequest) Reset ¶
func (x *QuerySellOrdersByBatchDenomRequest) Reset()
func (*QuerySellOrdersByBatchDenomRequest) String ¶
func (x *QuerySellOrdersByBatchDenomRequest) String() string
type QuerySellOrdersByBatchDenomResponse ¶
type QuerySellOrdersByBatchDenomResponse struct { // sell_orders is a list of sell orders. SellOrders []*SellOrder `protobuf:"bytes,1,rep,name=sell_orders,json=sellOrders,proto3" json:"sell_orders,omitempty"` // pagination defines an optional pagination for the response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QuerySellOrdersByDenomResponse is the Query/SellOrdersByDenom response type.
func (*QuerySellOrdersByBatchDenomResponse) Descriptor
deprecated
func (*QuerySellOrdersByBatchDenomResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuerySellOrdersByBatchDenomResponse.ProtoReflect.Descriptor instead.
func (*QuerySellOrdersByBatchDenomResponse) GetPagination ¶
func (x *QuerySellOrdersByBatchDenomResponse) GetPagination() *v1beta1.PageResponse
func (*QuerySellOrdersByBatchDenomResponse) GetSellOrders ¶
func (x *QuerySellOrdersByBatchDenomResponse) GetSellOrders() []*SellOrder
func (*QuerySellOrdersByBatchDenomResponse) ProtoMessage ¶
func (*QuerySellOrdersByBatchDenomResponse) ProtoMessage()
func (*QuerySellOrdersByBatchDenomResponse) ProtoReflect ¶
func (x *QuerySellOrdersByBatchDenomResponse) ProtoReflect() protoreflect.Message
func (*QuerySellOrdersByBatchDenomResponse) Reset ¶
func (x *QuerySellOrdersByBatchDenomResponse) Reset()
func (*QuerySellOrdersByBatchDenomResponse) String ¶
func (x *QuerySellOrdersByBatchDenomResponse) String() string
type QuerySellOrdersRequest ¶
type QuerySellOrdersRequest struct { // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QuerySellOrdersRequest is the Query/SellOrders request type.
func (*QuerySellOrdersRequest) Descriptor
deprecated
func (*QuerySellOrdersRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuerySellOrdersRequest.ProtoReflect.Descriptor instead.
func (*QuerySellOrdersRequest) GetPagination ¶
func (x *QuerySellOrdersRequest) GetPagination() *v1beta1.PageRequest
func (*QuerySellOrdersRequest) ProtoMessage ¶
func (*QuerySellOrdersRequest) ProtoMessage()
func (*QuerySellOrdersRequest) ProtoReflect ¶
func (x *QuerySellOrdersRequest) ProtoReflect() protoreflect.Message
func (*QuerySellOrdersRequest) Reset ¶
func (x *QuerySellOrdersRequest) Reset()
func (*QuerySellOrdersRequest) String ¶
func (x *QuerySellOrdersRequest) String() string
type QuerySellOrdersResponse ¶
type QuerySellOrdersResponse struct { // sell_orders is a list of sell orders. SellOrders []*SellOrder `protobuf:"bytes,1,rep,name=sell_orders,json=sellOrders,proto3" json:"sell_orders,omitempty"` // pagination defines the pagination in the response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QuerySellOrdersResponse is the Query/SellOrders response type.
func (*QuerySellOrdersResponse) Descriptor
deprecated
func (*QuerySellOrdersResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuerySellOrdersResponse.ProtoReflect.Descriptor instead.
func (*QuerySellOrdersResponse) GetPagination ¶
func (x *QuerySellOrdersResponse) GetPagination() *v1beta1.PageResponse
func (*QuerySellOrdersResponse) GetSellOrders ¶
func (x *QuerySellOrdersResponse) GetSellOrders() []*SellOrder
func (*QuerySellOrdersResponse) ProtoMessage ¶
func (*QuerySellOrdersResponse) ProtoMessage()
func (*QuerySellOrdersResponse) ProtoReflect ¶
func (x *QuerySellOrdersResponse) ProtoReflect() protoreflect.Message
func (*QuerySellOrdersResponse) Reset ¶
func (x *QuerySellOrdersResponse) Reset()
func (*QuerySellOrdersResponse) String ¶
func (x *QuerySellOrdersResponse) String() string
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) // Projects queries for all projects within a class with pagination. Projects(context.Context, *QueryProjectsRequest) (*QueryProjectsResponse, error) // ClassInfo queries for information on a project. ProjectInfo(context.Context, *QueryProjectInfoRequest) (*QueryProjectInfoResponse, error) // Batches queries for all batches in the given project 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) // SellOrder queries a sell order by its ID SellOrder(context.Context, *QuerySellOrderRequest) (*QuerySellOrderResponse, error) // SellOrders queries a paginated list of all sell orders SellOrders(context.Context, *QuerySellOrdersRequest) (*QuerySellOrdersResponse, error) // SellOrdersByDenom queries a paginated list of all sell orders of a specific ecocredit denom SellOrdersByBatchDenom(context.Context, *QuerySellOrdersByBatchDenomRequest) (*QuerySellOrdersByBatchDenomResponse, error) // SellOrdersByAddress queries a paginated list of all sell orders from a specific address SellOrdersByAddress(context.Context, *QuerySellOrdersByAddressRequest) (*QuerySellOrdersByAddressResponse, error) // BuyOrder queries a buy order by its id BuyOrder(context.Context, *QueryBuyOrderRequest) (*QueryBuyOrderResponse, error) // BuyOrders queries a paginated list of all buy orders BuyOrders(context.Context, *QueryBuyOrdersRequest) (*QueryBuyOrdersResponse, error) // BuyOrdersByAddress queries a paginated list of buy orders by creator address BuyOrdersByAddress(context.Context, *QueryBuyOrdersByAddressRequest) (*QueryBuyOrdersByAddressResponse, error) // AllowedAskDenoms queries all denoms allowed to be set in the AskPrice of a sell order AllowedAskDenoms(context.Context, *QueryAllowedAskDenomsRequest) (*QueryAllowedAskDenomsResponse, error) // Basket queries one basket by denom. Basket(context.Context, *QueryBasketRequest) (*QueryBasketResponse, error) // Baskets lists all baskets in the ecocredit module. Baskets(context.Context, *QueryBasketsRequest) (*QueryBasketsResponse, error) // BasketCredits lists all ecocredits inside a given basket. BasketCredits(context.Context, *QueryBasketCreditsRequest) (*QueryBasketCreditsResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
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"` // contains filtered or unexported fields }
QuerySupplyRequest is the Query/Supply request type.
func (*QuerySupplyRequest) Descriptor
deprecated
func (*QuerySupplyRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuerySupplyRequest.ProtoReflect.Descriptor instead.
func (*QuerySupplyRequest) GetBatchDenom ¶
func (x *QuerySupplyRequest) GetBatchDenom() string
func (*QuerySupplyRequest) ProtoMessage ¶
func (*QuerySupplyRequest) ProtoMessage()
func (*QuerySupplyRequest) ProtoReflect ¶
func (x *QuerySupplyRequest) ProtoReflect() protoreflect.Message
func (*QuerySupplyRequest) Reset ¶
func (x *QuerySupplyRequest) Reset()
func (*QuerySupplyRequest) String ¶
func (x *QuerySupplyRequest) String() string
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"` // contains filtered or unexported fields }
QuerySupplyResponse is the Query/Supply response type.
func (*QuerySupplyResponse) Descriptor
deprecated
func (*QuerySupplyResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuerySupplyResponse.ProtoReflect.Descriptor instead.
func (*QuerySupplyResponse) GetRetiredSupply ¶
func (x *QuerySupplyResponse) GetRetiredSupply() string
func (*QuerySupplyResponse) GetTradableSupply ¶
func (x *QuerySupplyResponse) GetTradableSupply() string
func (*QuerySupplyResponse) ProtoMessage ¶
func (*QuerySupplyResponse) ProtoMessage()
func (*QuerySupplyResponse) ProtoReflect ¶
func (x *QuerySupplyResponse) ProtoReflect() protoreflect.Message
func (*QuerySupplyResponse) Reset ¶
func (x *QuerySupplyResponse) Reset()
func (*QuerySupplyResponse) String ¶
func (x *QuerySupplyResponse) String() string
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 *v1beta1.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"` // expiration is an optional timestamp when the sell order expires. When the // expiration time is reached, the sell order is removed from state. Expiration *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
SellOrder represents the information for a sell order.
func (*SellOrder) Descriptor
deprecated
func (*SellOrder) GetAskPrice ¶
func (*SellOrder) GetBatchDenom ¶
func (*SellOrder) GetDisableAutoRetire ¶
func (*SellOrder) GetExpiration ¶
func (x *SellOrder) GetExpiration() *timestamppb.Timestamp
func (*SellOrder) GetOrderId ¶
func (*SellOrder) GetQuantity ¶
func (*SellOrder) ProtoMessage ¶
func (*SellOrder) ProtoMessage()
func (*SellOrder) ProtoReflect ¶
func (x *SellOrder) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
Supply represents a tradable or retired supply of a credit batch.
func (*Supply) Descriptor
deprecated
func (*Supply) GetBatchDenom ¶
func (*Supply) GetRetiredSupply ¶
func (*Supply) GetTradableSupply ¶
func (*Supply) ProtoMessage ¶
func (*Supply) ProtoMessage()
func (*Supply) ProtoReflect ¶
func (x *Supply) ProtoReflect() protoreflect.Message
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) AddToBasket ¶
func (UnimplementedMsgServer) AddToBasket(context.Context, *MsgAddToBasket) (*MsgAddToBasketResponse, error)
func (UnimplementedMsgServer) AllowAskDenom ¶
func (UnimplementedMsgServer) AllowAskDenom(context.Context, *MsgAllowAskDenom) (*MsgAllowAskDenomResponse, error)
func (UnimplementedMsgServer) Buy ¶
func (UnimplementedMsgServer) Buy(context.Context, *MsgBuy) (*MsgBuyResponse, error)
func (UnimplementedMsgServer) Cancel ¶
func (UnimplementedMsgServer) Cancel(context.Context, *MsgCancel) (*MsgCancelResponse, error)
func (UnimplementedMsgServer) CreateBasket ¶
func (UnimplementedMsgServer) CreateBasket(context.Context, *MsgCreateBasket) (*MsgCreateBasketResponse, error)
func (UnimplementedMsgServer) CreateBatch ¶
func (UnimplementedMsgServer) CreateBatch(context.Context, *MsgCreateBatch) (*MsgCreateBatchResponse, error)
func (UnimplementedMsgServer) CreateClass ¶
func (UnimplementedMsgServer) CreateClass(context.Context, *MsgCreateClass) (*MsgCreateClassResponse, error)
func (UnimplementedMsgServer) CreateProject ¶
func (UnimplementedMsgServer) CreateProject(context.Context, *MsgCreateProject) (*MsgCreateProjectResponse, error)
func (UnimplementedMsgServer) PickFromBasket ¶
func (UnimplementedMsgServer) PickFromBasket(context.Context, *MsgPickFromBasket) (*MsgPickFromBasketResponse, error)
func (UnimplementedMsgServer) Retire ¶
func (UnimplementedMsgServer) Retire(context.Context, *MsgRetire) (*MsgRetireResponse, error)
func (UnimplementedMsgServer) Sell ¶
func (UnimplementedMsgServer) Sell(context.Context, *MsgSell) (*MsgSellResponse, error)
func (UnimplementedMsgServer) Send ¶
func (UnimplementedMsgServer) Send(context.Context, *MsgSend) (*MsgSendResponse, error)
func (UnimplementedMsgServer) TakeFromBasket ¶
func (UnimplementedMsgServer) TakeFromBasket(context.Context, *MsgTakeFromBasket) (*MsgTakeFromBasketResponse, error)
func (UnimplementedMsgServer) UpdateClassAdmin ¶
func (UnimplementedMsgServer) UpdateClassAdmin(context.Context, *MsgUpdateClassAdmin) (*MsgUpdateClassAdminResponse, error)
func (UnimplementedMsgServer) UpdateClassIssuers ¶
func (UnimplementedMsgServer) UpdateClassIssuers(context.Context, *MsgUpdateClassIssuers) (*MsgUpdateClassIssuersResponse, error)
func (UnimplementedMsgServer) UpdateClassMetadata ¶
func (UnimplementedMsgServer) UpdateClassMetadata(context.Context, *MsgUpdateClassMetadata) (*MsgUpdateClassMetadataResponse, error)
func (UnimplementedMsgServer) UpdateSellOrders ¶
func (UnimplementedMsgServer) UpdateSellOrders(context.Context, *MsgUpdateSellOrders) (*MsgUpdateSellOrdersResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) AllowedAskDenoms ¶
func (UnimplementedQueryServer) AllowedAskDenoms(context.Context, *QueryAllowedAskDenomsRequest) (*QueryAllowedAskDenomsResponse, error)
func (UnimplementedQueryServer) Balance ¶
func (UnimplementedQueryServer) Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
func (UnimplementedQueryServer) Basket ¶
func (UnimplementedQueryServer) Basket(context.Context, *QueryBasketRequest) (*QueryBasketResponse, error)
func (UnimplementedQueryServer) BasketCredits ¶
func (UnimplementedQueryServer) BasketCredits(context.Context, *QueryBasketCreditsRequest) (*QueryBasketCreditsResponse, error)
func (UnimplementedQueryServer) Baskets ¶
func (UnimplementedQueryServer) Baskets(context.Context, *QueryBasketsRequest) (*QueryBasketsResponse, error)
func (UnimplementedQueryServer) BatchInfo ¶
func (UnimplementedQueryServer) BatchInfo(context.Context, *QueryBatchInfoRequest) (*QueryBatchInfoResponse, error)
func (UnimplementedQueryServer) Batches ¶
func (UnimplementedQueryServer) Batches(context.Context, *QueryBatchesRequest) (*QueryBatchesResponse, error)
func (UnimplementedQueryServer) BuyOrder ¶
func (UnimplementedQueryServer) BuyOrder(context.Context, *QueryBuyOrderRequest) (*QueryBuyOrderResponse, error)
func (UnimplementedQueryServer) BuyOrders ¶
func (UnimplementedQueryServer) BuyOrders(context.Context, *QueryBuyOrdersRequest) (*QueryBuyOrdersResponse, error)
func (UnimplementedQueryServer) BuyOrdersByAddress ¶
func (UnimplementedQueryServer) BuyOrdersByAddress(context.Context, *QueryBuyOrdersByAddressRequest) (*QueryBuyOrdersByAddressResponse, error)
func (UnimplementedQueryServer) ClassInfo ¶
func (UnimplementedQueryServer) ClassInfo(context.Context, *QueryClassInfoRequest) (*QueryClassInfoResponse, error)
func (UnimplementedQueryServer) Classes ¶
func (UnimplementedQueryServer) Classes(context.Context, *QueryClassesRequest) (*QueryClassesResponse, error)
func (UnimplementedQueryServer) CreditTypes ¶
func (UnimplementedQueryServer) CreditTypes(context.Context, *QueryCreditTypesRequest) (*QueryCreditTypesResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) ProjectInfo ¶
func (UnimplementedQueryServer) ProjectInfo(context.Context, *QueryProjectInfoRequest) (*QueryProjectInfoResponse, error)
func (UnimplementedQueryServer) Projects ¶
func (UnimplementedQueryServer) Projects(context.Context, *QueryProjectsRequest) (*QueryProjectsResponse, error)
func (UnimplementedQueryServer) SellOrder ¶
func (UnimplementedQueryServer) SellOrder(context.Context, *QuerySellOrderRequest) (*QuerySellOrderResponse, error)
func (UnimplementedQueryServer) SellOrders ¶
func (UnimplementedQueryServer) SellOrders(context.Context, *QuerySellOrdersRequest) (*QuerySellOrdersResponse, error)
func (UnimplementedQueryServer) SellOrdersByAddress ¶
func (UnimplementedQueryServer) SellOrdersByAddress(context.Context, *QuerySellOrdersByAddressRequest) (*QuerySellOrdersByAddressResponse, error)
func (UnimplementedQueryServer) SellOrdersByBatchDenom ¶
func (UnimplementedQueryServer) SellOrdersByBatchDenom(context.Context, *QuerySellOrdersByBatchDenomRequest) (*QuerySellOrdersByBatchDenomResponse, error)
func (UnimplementedQueryServer) Supply ¶
func (UnimplementedQueryServer) Supply(context.Context, *QuerySupplyRequest) (*QuerySupplyResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.