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.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type AllowedBridgeChain
- func (*AllowedBridgeChain) Descriptor() ([]byte, []int)deprecated
- func (x *AllowedBridgeChain) GetChainName() string
- func (*AllowedBridgeChain) ProtoMessage()
- func (x *AllowedBridgeChain) ProtoReflect() protoreflect.Message
- func (x *AllowedBridgeChain) Reset()
- func (x *AllowedBridgeChain) String() string
- type AllowedBridgeChainChainNameIndexKey
- type AllowedBridgeChainIndexKey
- type AllowedBridgeChainIterator
- type AllowedBridgeChainPrimaryKey
- type AllowedBridgeChainTable
- type AllowedClassCreator
- func (*AllowedClassCreator) Descriptor() ([]byte, []int)deprecated
- func (x *AllowedClassCreator) GetAddress() []byte
- func (*AllowedClassCreator) ProtoMessage()
- func (x *AllowedClassCreator) ProtoReflect() protoreflect.Message
- func (x *AllowedClassCreator) Reset()
- func (x *AllowedClassCreator) String() string
- type AllowedClassCreatorAddressIndexKey
- type AllowedClassCreatorIndexKey
- type AllowedClassCreatorIterator
- type AllowedClassCreatorPrimaryKey
- type AllowedClassCreatorTable
- type AllowedDenom
- func (*AllowedDenom) Descriptor() ([]byte, []int)deprecated
- func (x *AllowedDenom) GetBankDenom() string
- func (x *AllowedDenom) GetDisplayDenom() string
- func (x *AllowedDenom) GetExponent() uint32
- func (*AllowedDenom) ProtoMessage()
- func (x *AllowedDenom) ProtoReflect() protoreflect.Message
- func (x *AllowedDenom) Reset()
- func (x *AllowedDenom) String() string
- type Batch
- func (*Batch) Descriptor() ([]byte, []int)deprecated
- func (x *Batch) GetDenom() string
- func (x *Batch) GetEndDate() *timestamppb.Timestamp
- func (x *Batch) GetIssuanceDate() *timestamppb.Timestamp
- func (x *Batch) GetIssuer() []byte
- func (x *Batch) GetKey() uint64
- func (x *Batch) GetMetadata() string
- func (x *Batch) GetOpen() bool
- func (x *Batch) GetProjectKey() uint64
- func (x *Batch) GetStartDate() *timestamppb.Timestamp
- func (*Batch) ProtoMessage()
- func (x *Batch) ProtoReflect() protoreflect.Message
- func (x *Batch) Reset()
- func (x *Batch) String() string
- type BatchBalance
- func (*BatchBalance) Descriptor() ([]byte, []int)deprecated
- func (x *BatchBalance) GetAddress() []byte
- func (x *BatchBalance) GetBatchKey() uint64
- func (x *BatchBalance) GetEscrowedAmount() string
- func (x *BatchBalance) GetRetiredAmount() string
- func (x *BatchBalance) GetTradableAmount() string
- func (*BatchBalance) ProtoMessage()
- func (x *BatchBalance) ProtoReflect() protoreflect.Message
- func (x *BatchBalance) Reset()
- func (x *BatchBalance) String() string
- type BatchBalanceAddressBatchKeyIndexKey
- type BatchBalanceBatchKeyAddressIndexKey
- type BatchBalanceIndexKey
- type BatchBalanceInfo
- func (*BatchBalanceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BatchBalanceInfo) GetAddress() string
- func (x *BatchBalanceInfo) GetBatchDenom() string
- func (x *BatchBalanceInfo) GetEscrowedAmount() string
- func (x *BatchBalanceInfo) GetRetiredAmount() string
- func (x *BatchBalanceInfo) GetTradableAmount() string
- func (*BatchBalanceInfo) ProtoMessage()
- func (x *BatchBalanceInfo) ProtoReflect() protoreflect.Message
- func (x *BatchBalanceInfo) Reset()
- func (x *BatchBalanceInfo) String() string
- type BatchBalanceIterator
- type BatchBalancePrimaryKey
- type BatchBalanceTable
- type BatchContract
- func (*BatchContract) Descriptor() ([]byte, []int)deprecated
- func (x *BatchContract) GetBatchKey() uint64
- func (x *BatchContract) GetClassKey() uint64
- func (x *BatchContract) GetContract() string
- func (*BatchContract) ProtoMessage()
- func (x *BatchContract) ProtoReflect() protoreflect.Message
- func (x *BatchContract) Reset()
- func (x *BatchContract) String() string
- type BatchContractBatchKeyIndexKey
- type BatchContractClassKeyContractIndexKey
- type BatchContractIndexKey
- type BatchContractIterator
- type BatchContractPrimaryKey
- type BatchContractTable
- type BatchDenomIndexKey
- type BatchIndexKey
- type BatchInfo
- func (*BatchInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BatchInfo) GetDenom() string
- func (x *BatchInfo) GetEndDate() *timestamppb.Timestamp
- func (x *BatchInfo) GetIssuanceDate() *timestamppb.Timestamp
- func (x *BatchInfo) GetIssuer() string
- func (x *BatchInfo) GetMetadata() string
- func (x *BatchInfo) GetOpen() bool
- func (x *BatchInfo) GetProjectId() string
- func (x *BatchInfo) GetStartDate() *timestamppb.Timestamp
- func (*BatchInfo) ProtoMessage()
- func (x *BatchInfo) ProtoReflect() protoreflect.Message
- func (x *BatchInfo) Reset()
- func (x *BatchInfo) String() string
- type BatchIssuance
- func (*BatchIssuance) Descriptor() ([]byte, []int)deprecated
- func (x *BatchIssuance) GetRecipient() string
- func (x *BatchIssuance) GetRetiredAmount() string
- func (x *BatchIssuance) GetRetirementJurisdiction() string
- func (x *BatchIssuance) GetRetirementReason() string
- func (x *BatchIssuance) GetTradableAmount() string
- func (*BatchIssuance) ProtoMessage()
- func (x *BatchIssuance) ProtoReflect() protoreflect.Message
- func (x *BatchIssuance) Reset()
- func (x *BatchIssuance) String() string
- type BatchIssuerIndexKey
- type BatchIterator
- type BatchKeyIndexKey
- type BatchPrimaryKey
- type BatchProjectKeyIndexKey
- type BatchSequence
- func (*BatchSequence) Descriptor() ([]byte, []int)deprecated
- func (x *BatchSequence) GetNextSequence() uint64
- func (x *BatchSequence) GetProjectKey() uint64
- func (*BatchSequence) ProtoMessage()
- func (x *BatchSequence) ProtoReflect() protoreflect.Message
- func (x *BatchSequence) Reset()
- func (x *BatchSequence) String() string
- type BatchSequenceIndexKey
- type BatchSequenceIterator
- type BatchSequencePrimaryKey
- type BatchSequenceProjectKeyIndexKey
- type BatchSequenceTable
- type BatchStartDateIndexKey
- type BatchSupply
- func (*BatchSupply) Descriptor() ([]byte, []int)deprecated
- func (x *BatchSupply) GetBatchKey() uint64
- func (x *BatchSupply) GetCancelledAmount() string
- func (x *BatchSupply) GetRetiredAmount() string
- func (x *BatchSupply) GetTradableAmount() string
- func (*BatchSupply) ProtoMessage()
- func (x *BatchSupply) ProtoReflect() protoreflect.Message
- func (x *BatchSupply) Reset()
- func (x *BatchSupply) String() string
- type BatchSupplyBatchKeyIndexKey
- type BatchSupplyIndexKey
- type BatchSupplyIterator
- type BatchSupplyPrimaryKey
- type BatchSupplyTable
- type BatchTable
- type Class
- func (*Class) Descriptor() ([]byte, []int)deprecated
- func (x *Class) GetAdmin() []byte
- func (x *Class) GetCreditTypeAbbrev() string
- func (x *Class) GetId() string
- func (x *Class) GetKey() uint64
- func (x *Class) GetMetadata() string
- func (*Class) ProtoMessage()
- func (x *Class) ProtoReflect() protoreflect.Message
- func (x *Class) Reset()
- func (x *Class) String() string
- type ClassAdminIndexKey
- type ClassCreatorAllowlist
- func (*ClassCreatorAllowlist) Descriptor() ([]byte, []int)deprecated
- func (x *ClassCreatorAllowlist) GetEnabled() bool
- func (*ClassCreatorAllowlist) ProtoMessage()
- func (x *ClassCreatorAllowlist) ProtoReflect() protoreflect.Message
- func (x *ClassCreatorAllowlist) Reset()
- func (x *ClassCreatorAllowlist) String() string
- type ClassCreatorAllowlistTable
- type ClassCreditTypeAbbrevIndexKey
- type ClassFee
- type ClassFeeTable
- type ClassIdIndexKey
- type ClassIndexKey
- type ClassInfo
- func (*ClassInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ClassInfo) GetAdmin() string
- func (x *ClassInfo) GetCreditTypeAbbrev() string
- func (x *ClassInfo) GetId() string
- func (x *ClassInfo) GetMetadata() string
- func (*ClassInfo) ProtoMessage()
- func (x *ClassInfo) ProtoReflect() protoreflect.Message
- func (x *ClassInfo) Reset()
- func (x *ClassInfo) String() string
- type ClassIssuer
- func (*ClassIssuer) Descriptor() ([]byte, []int)deprecated
- func (x *ClassIssuer) GetClassKey() uint64
- func (x *ClassIssuer) GetIssuer() []byte
- func (*ClassIssuer) ProtoMessage()
- func (x *ClassIssuer) ProtoReflect() protoreflect.Message
- func (x *ClassIssuer) Reset()
- func (x *ClassIssuer) String() string
- type ClassIssuerClassKeyIssuerIndexKey
- type ClassIssuerIndexKey
- type ClassIssuerIterator
- type ClassIssuerPrimaryKey
- type ClassIssuerTable
- type ClassIterator
- type ClassKeyIndexKey
- type ClassPrimaryKey
- type ClassSequence
- func (*ClassSequence) Descriptor() ([]byte, []int)deprecated
- func (x *ClassSequence) GetCreditTypeAbbrev() string
- func (x *ClassSequence) GetNextSequence() uint64
- func (*ClassSequence) ProtoMessage()
- func (x *ClassSequence) ProtoReflect() protoreflect.Message
- func (x *ClassSequence) Reset()
- func (x *ClassSequence) String() string
- type ClassSequenceCreditTypeAbbrevIndexKey
- type ClassSequenceIndexKey
- type ClassSequenceIterator
- type ClassSequencePrimaryKey
- type ClassSequenceTable
- type ClassTable
- 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 CreditTypeAbbreviationIndexKey
- type CreditTypeIndexKey
- type CreditTypeIterator
- type CreditTypeNameIndexKey
- type CreditTypePrimaryKey
- type CreditTypeProposal
- func (*CreditTypeProposal) Descriptor() ([]byte, []int)deprecated
- func (x *CreditTypeProposal) GetCreditType() *CreditType
- func (x *CreditTypeProposal) GetDescription() string
- func (x *CreditTypeProposal) GetTitle() string
- func (*CreditTypeProposal) ProtoMessage()
- func (x *CreditTypeProposal) ProtoReflect() protoreflect.Message
- func (x *CreditTypeProposal) Reset()
- func (x *CreditTypeProposal) String() string
- type CreditTypeTable
- type Credits
- type EventAddCreditType
- func (*EventAddCreditType) Descriptor() ([]byte, []int)deprecated
- func (x *EventAddCreditType) GetAbbreviation() string
- func (*EventAddCreditType) ProtoMessage()
- func (x *EventAddCreditType) ProtoReflect() protoreflect.Message
- func (x *EventAddCreditType) Reset()
- func (x *EventAddCreditType) String() string
- type EventBridge
- func (*EventBridge) Descriptor() ([]byte, []int)deprecated
- func (x *EventBridge) GetAmount() string
- func (x *EventBridge) GetBatchDenom() string
- func (x *EventBridge) GetContract() string
- func (x *EventBridge) GetOwner() string
- func (x *EventBridge) GetRecipient() string
- func (x *EventBridge) GetTarget() string
- func (*EventBridge) ProtoMessage()
- func (x *EventBridge) ProtoReflect() protoreflect.Message
- func (x *EventBridge) Reset()
- func (x *EventBridge) String() string
- type EventBridgeReceive
- func (*EventBridgeReceive) Descriptor() ([]byte, []int)deprecated
- func (x *EventBridgeReceive) GetAmount() string
- func (x *EventBridgeReceive) GetBatchDenom() string
- func (x *EventBridgeReceive) GetOriginTx() *OriginTx
- func (x *EventBridgeReceive) GetProjectId() string
- func (*EventBridgeReceive) ProtoMessage()
- func (x *EventBridgeReceive) ProtoReflect() protoreflect.Message
- func (x *EventBridgeReceive) Reset()
- func (x *EventBridgeReceive) String() string
- type EventCancel
- func (*EventCancel) Descriptor() ([]byte, []int)deprecated
- func (x *EventCancel) GetAmount() string
- func (x *EventCancel) GetBatchDenom() string
- func (x *EventCancel) GetOwner() string
- func (x *EventCancel) GetReason() 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) GetOriginTx() *OriginTx
- func (*EventCreateBatch) ProtoMessage()
- func (x *EventCreateBatch) ProtoReflect() protoreflect.Message
- func (x *EventCreateBatch) Reset()
- func (x *EventCreateBatch) String() string
- type EventCreateClass
- type EventCreateProject
- func (*EventCreateProject) Descriptor() ([]byte, []int)deprecated
- func (x *EventCreateProject) GetProjectId() string
- func (*EventCreateProject) ProtoMessage()
- func (x *EventCreateProject) ProtoReflect() protoreflect.Message
- func (x *EventCreateProject) Reset()
- func (x *EventCreateProject) String() string
- type EventMint
- func (*EventMint) Descriptor() ([]byte, []int)deprecated
- func (x *EventMint) GetBatchDenom() string
- func (x *EventMint) GetRetiredAmount() string
- func (x *EventMint) GetTradableAmount() string
- func (*EventMint) ProtoMessage()
- func (x *EventMint) ProtoReflect() protoreflect.Message
- func (x *EventMint) Reset()
- func (x *EventMint) String() string
- type EventMintBatchCredits
- func (*EventMintBatchCredits) Descriptor() ([]byte, []int)deprecated
- func (x *EventMintBatchCredits) GetBatchDenom() string
- func (x *EventMintBatchCredits) GetOriginTx() *OriginTx
- func (*EventMintBatchCredits) ProtoMessage()
- func (x *EventMintBatchCredits) ProtoReflect() protoreflect.Message
- func (x *EventMintBatchCredits) Reset()
- func (x *EventMintBatchCredits) String() string
- type EventRetire
- func (*EventRetire) Descriptor() ([]byte, []int)deprecated
- func (x *EventRetire) GetAmount() string
- func (x *EventRetire) GetBatchDenom() string
- func (x *EventRetire) GetJurisdiction() string
- func (x *EventRetire) GetOwner() string
- func (x *EventRetire) GetReason() string
- func (*EventRetire) ProtoMessage()
- func (x *EventRetire) ProtoReflect() protoreflect.Message
- func (x *EventRetire) Reset()
- func (x *EventRetire) String() string
- type EventSealBatch
- type EventTransfer
- func (*EventTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *EventTransfer) GetBatchDenom() string
- func (x *EventTransfer) GetRecipient() string
- func (x *EventTransfer) GetRetiredAmount() string
- func (x *EventTransfer) GetSender() string
- func (x *EventTransfer) GetTradableAmount() string
- func (*EventTransfer) ProtoMessage()
- func (x *EventTransfer) ProtoReflect() protoreflect.Message
- func (x *EventTransfer) Reset()
- func (x *EventTransfer) String() string
- type EventUpdateBatchMetadata
- func (*EventUpdateBatchMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *EventUpdateBatchMetadata) GetBatchDenom() string
- func (*EventUpdateBatchMetadata) ProtoMessage()
- func (x *EventUpdateBatchMetadata) ProtoReflect() protoreflect.Message
- func (x *EventUpdateBatchMetadata) Reset()
- func (x *EventUpdateBatchMetadata) String() string
- type EventUpdateClassAdmin
- func (*EventUpdateClassAdmin) Descriptor() ([]byte, []int)deprecated
- func (x *EventUpdateClassAdmin) GetClassId() string
- func (*EventUpdateClassAdmin) ProtoMessage()
- func (x *EventUpdateClassAdmin) ProtoReflect() protoreflect.Message
- func (x *EventUpdateClassAdmin) Reset()
- func (x *EventUpdateClassAdmin) String() string
- type EventUpdateClassIssuers
- func (*EventUpdateClassIssuers) Descriptor() ([]byte, []int)deprecated
- func (x *EventUpdateClassIssuers) GetClassId() string
- func (*EventUpdateClassIssuers) ProtoMessage()
- func (x *EventUpdateClassIssuers) ProtoReflect() protoreflect.Message
- func (x *EventUpdateClassIssuers) Reset()
- func (x *EventUpdateClassIssuers) String() string
- type EventUpdateClassMetadata
- func (*EventUpdateClassMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *EventUpdateClassMetadata) GetClassId() string
- func (*EventUpdateClassMetadata) ProtoMessage()
- func (x *EventUpdateClassMetadata) ProtoReflect() protoreflect.Message
- func (x *EventUpdateClassMetadata) Reset()
- func (x *EventUpdateClassMetadata) String() string
- type EventUpdateProjectAdmin
- func (*EventUpdateProjectAdmin) Descriptor() ([]byte, []int)deprecated
- func (x *EventUpdateProjectAdmin) GetProjectId() string
- func (*EventUpdateProjectAdmin) ProtoMessage()
- func (x *EventUpdateProjectAdmin) ProtoReflect() protoreflect.Message
- func (x *EventUpdateProjectAdmin) Reset()
- func (x *EventUpdateProjectAdmin) String() string
- type EventUpdateProjectMetadata
- func (*EventUpdateProjectMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *EventUpdateProjectMetadata) GetProjectId() string
- func (*EventUpdateProjectMetadata) ProtoMessage()
- func (x *EventUpdateProjectMetadata) ProtoReflect() protoreflect.Message
- func (x *EventUpdateProjectMetadata) Reset()
- func (x *EventUpdateProjectMetadata) String() string
- type MsgAddAllowedBridgeChain
- func (*MsgAddAllowedBridgeChain) Descriptor() ([]byte, []int)deprecated
- func (x *MsgAddAllowedBridgeChain) GetAuthority() string
- func (x *MsgAddAllowedBridgeChain) GetChainName() string
- func (*MsgAddAllowedBridgeChain) ProtoMessage()
- func (x *MsgAddAllowedBridgeChain) ProtoReflect() protoreflect.Message
- func (x *MsgAddAllowedBridgeChain) Reset()
- func (x *MsgAddAllowedBridgeChain) String() string
- type MsgAddAllowedBridgeChainResponse
- func (*MsgAddAllowedBridgeChainResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgAddAllowedBridgeChainResponse) ProtoMessage()
- func (x *MsgAddAllowedBridgeChainResponse) ProtoReflect() protoreflect.Message
- func (x *MsgAddAllowedBridgeChainResponse) Reset()
- func (x *MsgAddAllowedBridgeChainResponse) String() string
- type MsgAddClassCreator
- func (*MsgAddClassCreator) Descriptor() ([]byte, []int)deprecated
- func (x *MsgAddClassCreator) GetAuthority() string
- func (x *MsgAddClassCreator) GetCreator() string
- func (*MsgAddClassCreator) ProtoMessage()
- func (x *MsgAddClassCreator) ProtoReflect() protoreflect.Message
- func (x *MsgAddClassCreator) Reset()
- func (x *MsgAddClassCreator) String() string
- type MsgAddClassCreatorResponse
- type MsgAddCreditType
- func (*MsgAddCreditType) Descriptor() ([]byte, []int)deprecated
- func (x *MsgAddCreditType) GetAuthority() string
- func (x *MsgAddCreditType) GetCreditType() *CreditType
- func (*MsgAddCreditType) ProtoMessage()
- func (x *MsgAddCreditType) ProtoReflect() protoreflect.Message
- func (x *MsgAddCreditType) Reset()
- func (x *MsgAddCreditType) String() string
- type MsgAddCreditTypeResponse
- type MsgBridge
- func (*MsgBridge) Descriptor() ([]byte, []int)deprecated
- func (x *MsgBridge) GetCredits() []*Credits
- func (x *MsgBridge) GetOwner() string
- func (x *MsgBridge) GetRecipient() string
- func (x *MsgBridge) GetTarget() string
- func (*MsgBridge) ProtoMessage()
- func (x *MsgBridge) ProtoReflect() protoreflect.Message
- func (x *MsgBridge) Reset()
- func (x *MsgBridge) String() string
- type MsgBridgeReceive
- func (*MsgBridgeReceive) Descriptor() ([]byte, []int)deprecated
- func (x *MsgBridgeReceive) GetBatch() *MsgBridgeReceive_Batch
- func (x *MsgBridgeReceive) GetClassId() string
- func (x *MsgBridgeReceive) GetIssuer() string
- func (x *MsgBridgeReceive) GetOriginTx() *OriginTx
- func (x *MsgBridgeReceive) GetProject() *MsgBridgeReceive_Project
- func (*MsgBridgeReceive) ProtoMessage()
- func (x *MsgBridgeReceive) ProtoReflect() protoreflect.Message
- func (x *MsgBridgeReceive) Reset()
- func (x *MsgBridgeReceive) String() string
- type MsgBridgeReceiveResponse
- func (*MsgBridgeReceiveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgBridgeReceiveResponse) GetBatchDenom() string
- func (x *MsgBridgeReceiveResponse) GetProjectId() string
- func (*MsgBridgeReceiveResponse) ProtoMessage()
- func (x *MsgBridgeReceiveResponse) ProtoReflect() protoreflect.Message
- func (x *MsgBridgeReceiveResponse) Reset()
- func (x *MsgBridgeReceiveResponse) String() string
- type MsgBridgeReceive_Batch
- func (*MsgBridgeReceive_Batch) Descriptor() ([]byte, []int)deprecated
- func (x *MsgBridgeReceive_Batch) GetAmount() string
- func (x *MsgBridgeReceive_Batch) GetEndDate() *timestamppb.Timestamp
- func (x *MsgBridgeReceive_Batch) GetMetadata() string
- func (x *MsgBridgeReceive_Batch) GetRecipient() string
- func (x *MsgBridgeReceive_Batch) GetStartDate() *timestamppb.Timestamp
- func (*MsgBridgeReceive_Batch) ProtoMessage()
- func (x *MsgBridgeReceive_Batch) ProtoReflect() protoreflect.Message
- func (x *MsgBridgeReceive_Batch) Reset()
- func (x *MsgBridgeReceive_Batch) String() string
- type MsgBridgeReceive_Project
- func (*MsgBridgeReceive_Project) Descriptor() ([]byte, []int)deprecated
- func (x *MsgBridgeReceive_Project) GetJurisdiction() string
- func (x *MsgBridgeReceive_Project) GetMetadata() string
- func (x *MsgBridgeReceive_Project) GetReferenceId() string
- func (*MsgBridgeReceive_Project) ProtoMessage()
- func (x *MsgBridgeReceive_Project) ProtoReflect() protoreflect.Message
- func (x *MsgBridgeReceive_Project) Reset()
- func (x *MsgBridgeReceive_Project) String() string
- type MsgBridgeResponse
- type MsgCancel
- func (*MsgCancel) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCancel) GetCredits() []*Credits
- func (x *MsgCancel) GetOwner() string
- func (x *MsgCancel) GetReason() string
- func (*MsgCancel) ProtoMessage()
- func (x *MsgCancel) ProtoReflect() protoreflect.Message
- func (x *MsgCancel) Reset()
- func (x *MsgCancel) String() string
- type MsgCancelResponse
- type MsgClient
- type MsgCreateBatch
- func (*MsgCreateBatch) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateBatch) GetEndDate() *timestamppb.Timestamp
- func (x *MsgCreateBatch) GetIssuance() []*BatchIssuance
- func (x *MsgCreateBatch) GetIssuer() string
- func (x *MsgCreateBatch) GetMetadata() string
- func (x *MsgCreateBatch) GetOpen() bool
- func (x *MsgCreateBatch) GetOriginTx() *OriginTx
- 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 MsgCreateClass
- func (*MsgCreateClass) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateClass) GetAdmin() string
- func (x *MsgCreateClass) GetCreditTypeAbbrev() string
- func (x *MsgCreateClass) GetFee() *v1beta1.Coin
- func (x *MsgCreateClass) GetIssuers() []string
- func (x *MsgCreateClass) GetMetadata() string
- 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) GetAdmin() string
- func (x *MsgCreateProject) GetClassId() string
- func (x *MsgCreateProject) GetJurisdiction() string
- func (x *MsgCreateProject) GetMetadata() string
- func (x *MsgCreateProject) GetReferenceId() 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 MsgMintBatchCredits
- func (*MsgMintBatchCredits) Descriptor() ([]byte, []int)deprecated
- func (x *MsgMintBatchCredits) GetBatchDenom() string
- func (x *MsgMintBatchCredits) GetIssuance() []*BatchIssuance
- func (x *MsgMintBatchCredits) GetIssuer() string
- func (x *MsgMintBatchCredits) GetOriginTx() *OriginTx
- func (*MsgMintBatchCredits) ProtoMessage()
- func (x *MsgMintBatchCredits) ProtoReflect() protoreflect.Message
- func (x *MsgMintBatchCredits) Reset()
- func (x *MsgMintBatchCredits) String() string
- type MsgMintBatchCreditsResponse
- type MsgRemoveAllowedBridgeChain
- func (*MsgRemoveAllowedBridgeChain) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRemoveAllowedBridgeChain) GetAuthority() string
- func (x *MsgRemoveAllowedBridgeChain) GetChainName() string
- func (*MsgRemoveAllowedBridgeChain) ProtoMessage()
- func (x *MsgRemoveAllowedBridgeChain) ProtoReflect() protoreflect.Message
- func (x *MsgRemoveAllowedBridgeChain) Reset()
- func (x *MsgRemoveAllowedBridgeChain) String() string
- type MsgRemoveAllowedBridgeChainResponse
- func (*MsgRemoveAllowedBridgeChainResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgRemoveAllowedBridgeChainResponse) ProtoMessage()
- func (x *MsgRemoveAllowedBridgeChainResponse) ProtoReflect() protoreflect.Message
- func (x *MsgRemoveAllowedBridgeChainResponse) Reset()
- func (x *MsgRemoveAllowedBridgeChainResponse) String() string
- type MsgRemoveClassCreator
- func (*MsgRemoveClassCreator) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRemoveClassCreator) GetAuthority() string
- func (x *MsgRemoveClassCreator) GetCreator() string
- func (*MsgRemoveClassCreator) ProtoMessage()
- func (x *MsgRemoveClassCreator) ProtoReflect() protoreflect.Message
- func (x *MsgRemoveClassCreator) Reset()
- func (x *MsgRemoveClassCreator) String() string
- type MsgRemoveClassCreatorResponse
- func (*MsgRemoveClassCreatorResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgRemoveClassCreatorResponse) ProtoMessage()
- func (x *MsgRemoveClassCreatorResponse) ProtoReflect() protoreflect.Message
- func (x *MsgRemoveClassCreatorResponse) Reset()
- func (x *MsgRemoveClassCreatorResponse) String() string
- type MsgRetire
- func (*MsgRetire) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRetire) GetCredits() []*Credits
- func (x *MsgRetire) GetJurisdiction() string
- func (x *MsgRetire) GetOwner() string
- func (x *MsgRetire) GetReason() string
- func (*MsgRetire) ProtoMessage()
- func (x *MsgRetire) ProtoReflect() protoreflect.Message
- func (x *MsgRetire) Reset()
- func (x *MsgRetire) String() string
- type MsgRetireResponse
- type MsgSealBatch
- func (*MsgSealBatch) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSealBatch) GetBatchDenom() string
- func (x *MsgSealBatch) GetIssuer() string
- func (*MsgSealBatch) ProtoMessage()
- func (x *MsgSealBatch) ProtoReflect() protoreflect.Message
- func (x *MsgSealBatch) Reset()
- func (x *MsgSealBatch) String() string
- type MsgSealBatchResponse
- 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) GetRetirementJurisdiction() string
- func (x *MsgSend_SendCredits) GetRetirementReason() 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 MsgSetClassCreatorAllowlist
- func (*MsgSetClassCreatorAllowlist) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSetClassCreatorAllowlist) GetAuthority() string
- func (x *MsgSetClassCreatorAllowlist) GetEnabled() bool
- func (*MsgSetClassCreatorAllowlist) ProtoMessage()
- func (x *MsgSetClassCreatorAllowlist) ProtoReflect() protoreflect.Message
- func (x *MsgSetClassCreatorAllowlist) Reset()
- func (x *MsgSetClassCreatorAllowlist) String() string
- type MsgSetClassCreatorAllowlistResponse
- func (*MsgSetClassCreatorAllowlistResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgSetClassCreatorAllowlistResponse) ProtoMessage()
- func (x *MsgSetClassCreatorAllowlistResponse) ProtoReflect() protoreflect.Message
- func (x *MsgSetClassCreatorAllowlistResponse) Reset()
- func (x *MsgSetClassCreatorAllowlistResponse) String() string
- type MsgUpdateBatchMetadata
- func (*MsgUpdateBatchMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateBatchMetadata) GetBatchDenom() string
- func (x *MsgUpdateBatchMetadata) GetIssuer() string
- func (x *MsgUpdateBatchMetadata) GetNewMetadata() string
- func (*MsgUpdateBatchMetadata) ProtoMessage()
- func (x *MsgUpdateBatchMetadata) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateBatchMetadata) Reset()
- func (x *MsgUpdateBatchMetadata) String() string
- type MsgUpdateBatchMetadataResponse
- func (*MsgUpdateBatchMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateBatchMetadataResponse) ProtoMessage()
- func (x *MsgUpdateBatchMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateBatchMetadataResponse) Reset()
- func (x *MsgUpdateBatchMetadataResponse) 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 MsgUpdateClassFee
- func (*MsgUpdateClassFee) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateClassFee) GetAuthority() string
- func (x *MsgUpdateClassFee) GetFee() *v1beta1.Coin
- func (*MsgUpdateClassFee) ProtoMessage()
- func (x *MsgUpdateClassFee) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateClassFee) Reset()
- func (x *MsgUpdateClassFee) String() string
- type MsgUpdateClassFeeResponse
- type MsgUpdateClassIssuers
- func (*MsgUpdateClassIssuers) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateClassIssuers) GetAddIssuers() []string
- func (x *MsgUpdateClassIssuers) GetAdmin() string
- func (x *MsgUpdateClassIssuers) GetClassId() string
- func (x *MsgUpdateClassIssuers) GetRemoveIssuers() []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) GetNewMetadata() string
- 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 MsgUpdateProjectAdmin
- func (*MsgUpdateProjectAdmin) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateProjectAdmin) GetAdmin() string
- func (x *MsgUpdateProjectAdmin) GetNewAdmin() string
- func (x *MsgUpdateProjectAdmin) GetProjectId() string
- func (*MsgUpdateProjectAdmin) ProtoMessage()
- func (x *MsgUpdateProjectAdmin) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateProjectAdmin) Reset()
- func (x *MsgUpdateProjectAdmin) String() string
- type MsgUpdateProjectAdminResponse
- func (*MsgUpdateProjectAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateProjectAdminResponse) ProtoMessage()
- func (x *MsgUpdateProjectAdminResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateProjectAdminResponse) Reset()
- func (x *MsgUpdateProjectAdminResponse) String() string
- type MsgUpdateProjectMetadata
- func (*MsgUpdateProjectMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateProjectMetadata) GetAdmin() string
- func (x *MsgUpdateProjectMetadata) GetNewMetadata() string
- func (x *MsgUpdateProjectMetadata) GetProjectId() string
- func (*MsgUpdateProjectMetadata) ProtoMessage()
- func (x *MsgUpdateProjectMetadata) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateProjectMetadata) Reset()
- func (x *MsgUpdateProjectMetadata) String() string
- type MsgUpdateProjectMetadataResponse
- func (*MsgUpdateProjectMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateProjectMetadataResponse) ProtoMessage()
- func (x *MsgUpdateProjectMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateProjectMetadataResponse) Reset()
- func (x *MsgUpdateProjectMetadataResponse) String() string
- type OriginTx
- func (*OriginTx) Descriptor() ([]byte, []int)deprecated
- func (x *OriginTx) GetContract() string
- func (x *OriginTx) GetId() string
- func (x *OriginTx) GetNote() string
- func (x *OriginTx) GetSource() string
- func (*OriginTx) ProtoMessage()
- func (x *OriginTx) ProtoReflect() protoreflect.Message
- func (x *OriginTx) Reset()
- func (x *OriginTx) String() string
- type OriginTxIndex
- func (*OriginTxIndex) Descriptor() ([]byte, []int)deprecated
- func (x *OriginTxIndex) GetClassKey() uint64
- func (x *OriginTxIndex) GetId() string
- func (x *OriginTxIndex) GetSource() string
- func (*OriginTxIndex) ProtoMessage()
- func (x *OriginTxIndex) ProtoReflect() protoreflect.Message
- func (x *OriginTxIndex) Reset()
- func (x *OriginTxIndex) String() string
- type OriginTxIndexClassKeyIdSourceIndexKey
- func (this OriginTxIndexClassKeyIdSourceIndexKey) WithClassKey(class_key uint64) OriginTxIndexClassKeyIdSourceIndexKey
- func (this OriginTxIndexClassKeyIdSourceIndexKey) WithClassKeyId(class_key uint64, id string) OriginTxIndexClassKeyIdSourceIndexKey
- func (this OriginTxIndexClassKeyIdSourceIndexKey) WithClassKeyIdSource(class_key uint64, id string, source string) OriginTxIndexClassKeyIdSourceIndexKey
- type OriginTxIndexIndexKey
- type OriginTxIndexIterator
- type OriginTxIndexPrimaryKey
- type OriginTxIndexTable
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetAllowedBridgeChains() []string
- func (x *Params) GetAllowedClassCreators() []string
- func (x *Params) GetAllowedDenoms() []*AllowedDenom
- func (x *Params) GetAllowlistEnabled() bool
- func (x *Params) GetBasketFee() []*v1beta1.Coin
- func (x *Params) GetCreditClassFee() []*v1beta1.Coin
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetAdmin() []byte
- func (x *Project) GetClassKey() uint64
- func (x *Project) GetId() string
- func (x *Project) GetJurisdiction() string
- func (x *Project) GetKey() uint64
- func (x *Project) GetMetadata() string
- func (x *Project) GetReferenceId() string
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type ProjectAdminIndexKey
- type ProjectClassKeyIdIndexKey
- type ProjectClassKeyReferenceIdIndexKey
- type ProjectIdIndexKey
- type ProjectIndexKey
- type ProjectInfo
- func (*ProjectInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectInfo) GetAdmin() string
- func (x *ProjectInfo) GetClassId() string
- func (x *ProjectInfo) GetId() string
- func (x *ProjectInfo) GetJurisdiction() string
- func (x *ProjectInfo) GetMetadata() string
- func (x *ProjectInfo) GetReferenceId() string
- func (*ProjectInfo) ProtoMessage()
- func (x *ProjectInfo) ProtoReflect() protoreflect.Message
- func (x *ProjectInfo) Reset()
- func (x *ProjectInfo) String() string
- type ProjectIterator
- type ProjectKeyIndexKey
- type ProjectPrimaryKey
- type ProjectReferenceIdIndexKey
- type ProjectSequence
- func (*ProjectSequence) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectSequence) GetClassKey() uint64
- func (x *ProjectSequence) GetNextSequence() uint64
- func (*ProjectSequence) ProtoMessage()
- func (x *ProjectSequence) ProtoReflect() protoreflect.Message
- func (x *ProjectSequence) Reset()
- func (x *ProjectSequence) String() string
- type ProjectSequenceClassKeyIndexKey
- type ProjectSequenceIndexKey
- type ProjectSequenceIterator
- type ProjectSequencePrimaryKey
- type ProjectSequenceTable
- type ProjectTable
- type QueryAllBalancesRequest
- func (*QueryAllBalancesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllBalancesRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllBalancesRequest) ProtoMessage()
- func (x *QueryAllBalancesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllBalancesRequest) Reset()
- func (x *QueryAllBalancesRequest) String() string
- type QueryAllBalancesResponse
- func (*QueryAllBalancesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllBalancesResponse) GetBalances() []*BatchBalanceInfo
- func (x *QueryAllBalancesResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllBalancesResponse) ProtoMessage()
- func (x *QueryAllBalancesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllBalancesResponse) Reset()
- func (x *QueryAllBalancesResponse) String() string
- type QueryAllowedBridgeChainsRequest
- func (*QueryAllowedBridgeChainsRequest) Descriptor() ([]byte, []int)deprecated
- func (*QueryAllowedBridgeChainsRequest) ProtoMessage()
- func (x *QueryAllowedBridgeChainsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllowedBridgeChainsRequest) Reset()
- func (x *QueryAllowedBridgeChainsRequest) String() string
- type QueryAllowedBridgeChainsResponse
- func (*QueryAllowedBridgeChainsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllowedBridgeChainsResponse) GetAllowedBridgeChains() []string
- func (*QueryAllowedBridgeChainsResponse) ProtoMessage()
- func (x *QueryAllowedBridgeChainsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllowedBridgeChainsResponse) Reset()
- func (x *QueryAllowedBridgeChainsResponse) String() string
- type QueryAllowedClassCreatorsRequest
- func (*QueryAllowedClassCreatorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllowedClassCreatorsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllowedClassCreatorsRequest) ProtoMessage()
- func (x *QueryAllowedClassCreatorsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllowedClassCreatorsRequest) Reset()
- func (x *QueryAllowedClassCreatorsRequest) String() string
- type QueryAllowedClassCreatorsResponse
- func (*QueryAllowedClassCreatorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllowedClassCreatorsResponse) GetClassCreators() []string
- func (x *QueryAllowedClassCreatorsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllowedClassCreatorsResponse) ProtoMessage()
- func (x *QueryAllowedClassCreatorsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllowedClassCreatorsResponse) Reset()
- func (x *QueryAllowedClassCreatorsResponse) String() string
- type QueryBalanceRequest
- func (*QueryBalanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBalanceRequest) GetAddress() 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) GetBalance() *BatchBalanceInfo
- func (*QueryBalanceResponse) ProtoMessage()
- func (x *QueryBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBalanceResponse) Reset()
- func (x *QueryBalanceResponse) String() string
- type QueryBalancesByBatchRequest
- func (*QueryBalancesByBatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBalancesByBatchRequest) GetBatchDenom() string
- func (x *QueryBalancesByBatchRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryBalancesByBatchRequest) ProtoMessage()
- func (x *QueryBalancesByBatchRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBalancesByBatchRequest) Reset()
- func (x *QueryBalancesByBatchRequest) String() string
- type QueryBalancesByBatchResponse
- func (*QueryBalancesByBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBalancesByBatchResponse) GetBalances() []*BatchBalanceInfo
- func (x *QueryBalancesByBatchResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryBalancesByBatchResponse) ProtoMessage()
- func (x *QueryBalancesByBatchResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBalancesByBatchResponse) Reset()
- func (x *QueryBalancesByBatchResponse) String() string
- type QueryBalancesRequest
- func (*QueryBalancesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBalancesRequest) GetAddress() string
- func (x *QueryBalancesRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryBalancesRequest) ProtoMessage()
- func (x *QueryBalancesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBalancesRequest) Reset()
- func (x *QueryBalancesRequest) String() string
- type QueryBalancesResponse
- func (*QueryBalancesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBalancesResponse) GetBalances() []*BatchBalanceInfo
- func (x *QueryBalancesResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryBalancesResponse) ProtoMessage()
- func (x *QueryBalancesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBalancesResponse) Reset()
- func (x *QueryBalancesResponse) String() string
- type QueryBatchRequest
- func (*QueryBatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchRequest) GetBatchDenom() string
- func (*QueryBatchRequest) ProtoMessage()
- func (x *QueryBatchRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBatchRequest) Reset()
- func (x *QueryBatchRequest) String() string
- type QueryBatchResponse
- func (*QueryBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchResponse) GetBatch() *BatchInfo
- func (*QueryBatchResponse) ProtoMessage()
- func (x *QueryBatchResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBatchResponse) Reset()
- func (x *QueryBatchResponse) String() string
- type QueryBatchesByClassRequest
- func (*QueryBatchesByClassRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchesByClassRequest) GetClassId() string
- func (x *QueryBatchesByClassRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryBatchesByClassRequest) ProtoMessage()
- func (x *QueryBatchesByClassRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBatchesByClassRequest) Reset()
- func (x *QueryBatchesByClassRequest) String() string
- type QueryBatchesByClassResponse
- func (*QueryBatchesByClassResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchesByClassResponse) GetBatches() []*BatchInfo
- func (x *QueryBatchesByClassResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryBatchesByClassResponse) ProtoMessage()
- func (x *QueryBatchesByClassResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBatchesByClassResponse) Reset()
- func (x *QueryBatchesByClassResponse) String() string
- type QueryBatchesByIssuerRequest
- func (*QueryBatchesByIssuerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchesByIssuerRequest) GetIssuer() string
- func (x *QueryBatchesByIssuerRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryBatchesByIssuerRequest) ProtoMessage()
- func (x *QueryBatchesByIssuerRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBatchesByIssuerRequest) Reset()
- func (x *QueryBatchesByIssuerRequest) String() string
- type QueryBatchesByIssuerResponse
- func (*QueryBatchesByIssuerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchesByIssuerResponse) GetBatches() []*BatchInfo
- func (x *QueryBatchesByIssuerResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryBatchesByIssuerResponse) ProtoMessage()
- func (x *QueryBatchesByIssuerResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBatchesByIssuerResponse) Reset()
- func (x *QueryBatchesByIssuerResponse) String() string
- type QueryBatchesByProjectRequest
- func (*QueryBatchesByProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchesByProjectRequest) GetPagination() *v1beta1.PageRequest
- func (x *QueryBatchesByProjectRequest) GetProjectId() string
- func (*QueryBatchesByProjectRequest) ProtoMessage()
- func (x *QueryBatchesByProjectRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBatchesByProjectRequest) Reset()
- func (x *QueryBatchesByProjectRequest) String() string
- type QueryBatchesByProjectResponse
- func (*QueryBatchesByProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchesByProjectResponse) GetBatches() []*BatchInfo
- func (x *QueryBatchesByProjectResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryBatchesByProjectResponse) ProtoMessage()
- func (x *QueryBatchesByProjectResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBatchesByProjectResponse) Reset()
- func (x *QueryBatchesByProjectResponse) String() string
- type QueryBatchesRequest
- func (*QueryBatchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchesRequest) GetPagination() *v1beta1.PageRequest
- 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 QueryClassCreatorAllowlistRequest
- func (*QueryClassCreatorAllowlistRequest) Descriptor() ([]byte, []int)deprecated
- func (*QueryClassCreatorAllowlistRequest) ProtoMessage()
- func (x *QueryClassCreatorAllowlistRequest) ProtoReflect() protoreflect.Message
- func (x *QueryClassCreatorAllowlistRequest) Reset()
- func (x *QueryClassCreatorAllowlistRequest) String() string
- type QueryClassCreatorAllowlistResponse
- func (*QueryClassCreatorAllowlistResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryClassCreatorAllowlistResponse) GetEnabled() bool
- func (*QueryClassCreatorAllowlistResponse) ProtoMessage()
- func (x *QueryClassCreatorAllowlistResponse) ProtoReflect() protoreflect.Message
- func (x *QueryClassCreatorAllowlistResponse) Reset()
- func (x *QueryClassCreatorAllowlistResponse) String() string
- type QueryClassFeeRequest
- type QueryClassFeeResponse
- func (*QueryClassFeeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryClassFeeResponse) GetFee() *v1beta11.Coin
- func (*QueryClassFeeResponse) ProtoMessage()
- func (x *QueryClassFeeResponse) ProtoReflect() protoreflect.Message
- func (x *QueryClassFeeResponse) Reset()
- func (x *QueryClassFeeResponse) String() string
- type QueryClassIssuersRequest
- func (*QueryClassIssuersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryClassIssuersRequest) GetClassId() string
- func (x *QueryClassIssuersRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryClassIssuersRequest) ProtoMessage()
- func (x *QueryClassIssuersRequest) ProtoReflect() protoreflect.Message
- func (x *QueryClassIssuersRequest) Reset()
- func (x *QueryClassIssuersRequest) String() string
- type QueryClassIssuersResponse
- func (*QueryClassIssuersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryClassIssuersResponse) GetIssuers() []string
- func (x *QueryClassIssuersResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryClassIssuersResponse) ProtoMessage()
- func (x *QueryClassIssuersResponse) ProtoReflect() protoreflect.Message
- func (x *QueryClassIssuersResponse) Reset()
- func (x *QueryClassIssuersResponse) String() string
- type QueryClassRequest
- type QueryClassResponse
- func (*QueryClassResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryClassResponse) GetClass() *ClassInfo
- func (*QueryClassResponse) ProtoMessage()
- func (x *QueryClassResponse) ProtoReflect() protoreflect.Message
- func (x *QueryClassResponse) Reset()
- func (x *QueryClassResponse) String() string
- type QueryClassesByAdminRequest
- func (*QueryClassesByAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryClassesByAdminRequest) GetAdmin() string
- func (x *QueryClassesByAdminRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryClassesByAdminRequest) ProtoMessage()
- func (x *QueryClassesByAdminRequest) ProtoReflect() protoreflect.Message
- func (x *QueryClassesByAdminRequest) Reset()
- func (x *QueryClassesByAdminRequest) String() string
- type QueryClassesByAdminResponse
- func (*QueryClassesByAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryClassesByAdminResponse) GetClasses() []*ClassInfo
- func (x *QueryClassesByAdminResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryClassesByAdminResponse) ProtoMessage()
- func (x *QueryClassesByAdminResponse) ProtoReflect() protoreflect.Message
- func (x *QueryClassesByAdminResponse) Reset()
- func (x *QueryClassesByAdminResponse) 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 QueryCreditTypeRequest
- func (*QueryCreditTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCreditTypeRequest) GetAbbreviation() string
- func (*QueryCreditTypeRequest) ProtoMessage()
- func (x *QueryCreditTypeRequest) ProtoReflect() protoreflect.Message
- func (x *QueryCreditTypeRequest) Reset()
- func (x *QueryCreditTypeRequest) String() string
- type QueryCreditTypeResponse
- func (*QueryCreditTypeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCreditTypeResponse) GetCreditType() *CreditType
- func (*QueryCreditTypeResponse) ProtoMessage()
- func (x *QueryCreditTypeResponse) ProtoReflect() protoreflect.Message
- func (x *QueryCreditTypeResponse) Reset()
- func (x *QueryCreditTypeResponse) String() string
- 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 QueryProjectRequest
- func (*QueryProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProjectRequest) GetProjectId() string
- func (*QueryProjectRequest) ProtoMessage()
- func (x *QueryProjectRequest) ProtoReflect() protoreflect.Message
- func (x *QueryProjectRequest) Reset()
- func (x *QueryProjectRequest) String() string
- type QueryProjectResponse
- func (*QueryProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProjectResponse) GetProject() *ProjectInfo
- func (*QueryProjectResponse) ProtoMessage()
- func (x *QueryProjectResponse) ProtoReflect() protoreflect.Message
- func (x *QueryProjectResponse) Reset()
- func (x *QueryProjectResponse) String() string
- type QueryProjectsByAdminRequest
- func (*QueryProjectsByAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProjectsByAdminRequest) GetAdmin() string
- func (x *QueryProjectsByAdminRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryProjectsByAdminRequest) ProtoMessage()
- func (x *QueryProjectsByAdminRequest) ProtoReflect() protoreflect.Message
- func (x *QueryProjectsByAdminRequest) Reset()
- func (x *QueryProjectsByAdminRequest) String() string
- type QueryProjectsByAdminResponse
- func (*QueryProjectsByAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProjectsByAdminResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryProjectsByAdminResponse) GetProjects() []*ProjectInfo
- func (*QueryProjectsByAdminResponse) ProtoMessage()
- func (x *QueryProjectsByAdminResponse) ProtoReflect() protoreflect.Message
- func (x *QueryProjectsByAdminResponse) Reset()
- func (x *QueryProjectsByAdminResponse) String() string
- type QueryProjectsByClassRequest
- func (*QueryProjectsByClassRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProjectsByClassRequest) GetClassId() string
- func (x *QueryProjectsByClassRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryProjectsByClassRequest) ProtoMessage()
- func (x *QueryProjectsByClassRequest) ProtoReflect() protoreflect.Message
- func (x *QueryProjectsByClassRequest) Reset()
- func (x *QueryProjectsByClassRequest) String() string
- type QueryProjectsByClassResponse
- func (*QueryProjectsByClassResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProjectsByClassResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryProjectsByClassResponse) GetProjects() []*ProjectInfo
- func (*QueryProjectsByClassResponse) ProtoMessage()
- func (x *QueryProjectsByClassResponse) ProtoReflect() protoreflect.Message
- func (x *QueryProjectsByClassResponse) Reset()
- func (x *QueryProjectsByClassResponse) String() string
- type QueryProjectsByReferenceIdRequest
- func (*QueryProjectsByReferenceIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProjectsByReferenceIdRequest) GetPagination() *v1beta1.PageRequest
- func (x *QueryProjectsByReferenceIdRequest) GetReferenceId() string
- func (*QueryProjectsByReferenceIdRequest) ProtoMessage()
- func (x *QueryProjectsByReferenceIdRequest) ProtoReflect() protoreflect.Message
- func (x *QueryProjectsByReferenceIdRequest) Reset()
- func (x *QueryProjectsByReferenceIdRequest) String() string
- type QueryProjectsByReferenceIdResponse
- func (*QueryProjectsByReferenceIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProjectsByReferenceIdResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryProjectsByReferenceIdResponse) GetProjects() []*ProjectInfo
- func (*QueryProjectsByReferenceIdResponse) ProtoMessage()
- func (x *QueryProjectsByReferenceIdResponse) ProtoReflect() protoreflect.Message
- func (x *QueryProjectsByReferenceIdResponse) Reset()
- func (x *QueryProjectsByReferenceIdResponse) String() string
- type QueryProjectsRequest
- func (*QueryProjectsRequest) Descriptor() ([]byte, []int)deprecated
- 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 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) GetCancelledAmount() string
- func (x *QuerySupplyResponse) GetRetiredAmount() string
- func (x *QuerySupplyResponse) GetTradableAmount() string
- func (*QuerySupplyResponse) ProtoMessage()
- func (x *QuerySupplyResponse) ProtoReflect() protoreflect.Message
- func (x *QuerySupplyResponse) Reset()
- func (x *QuerySupplyResponse) String() string
- type StateStore
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) AddAllowedBridgeChain(context.Context, *MsgAddAllowedBridgeChain) (*MsgAddAllowedBridgeChainResponse, error)
- func (UnimplementedMsgServer) AddClassCreator(context.Context, *MsgAddClassCreator) (*MsgAddClassCreatorResponse, error)
- func (UnimplementedMsgServer) AddCreditType(context.Context, *MsgAddCreditType) (*MsgAddCreditTypeResponse, error)
- func (UnimplementedMsgServer) Bridge(context.Context, *MsgBridge) (*MsgBridgeResponse, error)
- func (UnimplementedMsgServer) BridgeReceive(context.Context, *MsgBridgeReceive) (*MsgBridgeReceiveResponse, error)
- func (UnimplementedMsgServer) Cancel(context.Context, *MsgCancel) (*MsgCancelResponse, 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) MintBatchCredits(context.Context, *MsgMintBatchCredits) (*MsgMintBatchCreditsResponse, error)
- func (UnimplementedMsgServer) RemoveAllowedBridgeChain(context.Context, *MsgRemoveAllowedBridgeChain) (*MsgRemoveAllowedBridgeChainResponse, error)
- func (UnimplementedMsgServer) RemoveClassCreator(context.Context, *MsgRemoveClassCreator) (*MsgRemoveClassCreatorResponse, error)
- func (UnimplementedMsgServer) Retire(context.Context, *MsgRetire) (*MsgRetireResponse, error)
- func (UnimplementedMsgServer) SealBatch(context.Context, *MsgSealBatch) (*MsgSealBatchResponse, error)
- func (UnimplementedMsgServer) Send(context.Context, *MsgSend) (*MsgSendResponse, error)
- func (UnimplementedMsgServer) SetClassCreatorAllowlist(context.Context, *MsgSetClassCreatorAllowlist) (*MsgSetClassCreatorAllowlistResponse, error)
- func (UnimplementedMsgServer) UpdateBatchMetadata(context.Context, *MsgUpdateBatchMetadata) (*MsgUpdateBatchMetadataResponse, error)
- func (UnimplementedMsgServer) UpdateClassAdmin(context.Context, *MsgUpdateClassAdmin) (*MsgUpdateClassAdminResponse, error)
- func (UnimplementedMsgServer) UpdateClassFee(context.Context, *MsgUpdateClassFee) (*MsgUpdateClassFeeResponse, error)
- func (UnimplementedMsgServer) UpdateClassIssuers(context.Context, *MsgUpdateClassIssuers) (*MsgUpdateClassIssuersResponse, error)
- func (UnimplementedMsgServer) UpdateClassMetadata(context.Context, *MsgUpdateClassMetadata) (*MsgUpdateClassMetadataResponse, error)
- func (UnimplementedMsgServer) UpdateProjectAdmin(context.Context, *MsgUpdateProjectAdmin) (*MsgUpdateProjectAdminResponse, error)
- func (UnimplementedMsgServer) UpdateProjectMetadata(context.Context, *MsgUpdateProjectMetadata) (*MsgUpdateProjectMetadataResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) AllBalances(context.Context, *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error)
- func (UnimplementedQueryServer) AllowedBridgeChains(context.Context, *QueryAllowedBridgeChainsRequest) (*QueryAllowedBridgeChainsResponse, error)
- func (UnimplementedQueryServer) AllowedClassCreators(context.Context, *QueryAllowedClassCreatorsRequest) (*QueryAllowedClassCreatorsResponse, error)
- func (UnimplementedQueryServer) Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
- func (UnimplementedQueryServer) Balances(context.Context, *QueryBalancesRequest) (*QueryBalancesResponse, error)
- func (UnimplementedQueryServer) BalancesByBatch(context.Context, *QueryBalancesByBatchRequest) (*QueryBalancesByBatchResponse, error)
- func (UnimplementedQueryServer) Batch(context.Context, *QueryBatchRequest) (*QueryBatchResponse, error)
- func (UnimplementedQueryServer) Batches(context.Context, *QueryBatchesRequest) (*QueryBatchesResponse, error)
- func (UnimplementedQueryServer) BatchesByClass(context.Context, *QueryBatchesByClassRequest) (*QueryBatchesByClassResponse, error)
- func (UnimplementedQueryServer) BatchesByIssuer(context.Context, *QueryBatchesByIssuerRequest) (*QueryBatchesByIssuerResponse, error)
- func (UnimplementedQueryServer) BatchesByProject(context.Context, *QueryBatchesByProjectRequest) (*QueryBatchesByProjectResponse, error)
- func (UnimplementedQueryServer) Class(context.Context, *QueryClassRequest) (*QueryClassResponse, error)
- func (UnimplementedQueryServer) ClassCreatorAllowlist(context.Context, *QueryClassCreatorAllowlistRequest) (*QueryClassCreatorAllowlistResponse, error)
- func (UnimplementedQueryServer) ClassFee(context.Context, *QueryClassFeeRequest) (*QueryClassFeeResponse, error)
- func (UnimplementedQueryServer) ClassIssuers(context.Context, *QueryClassIssuersRequest) (*QueryClassIssuersResponse, error)
- func (UnimplementedQueryServer) Classes(context.Context, *QueryClassesRequest) (*QueryClassesResponse, error)
- func (UnimplementedQueryServer) ClassesByAdmin(context.Context, *QueryClassesByAdminRequest) (*QueryClassesByAdminResponse, error)
- func (UnimplementedQueryServer) CreditType(context.Context, *QueryCreditTypeRequest) (*QueryCreditTypeResponse, error)
- func (UnimplementedQueryServer) CreditTypes(context.Context, *QueryCreditTypesRequest) (*QueryCreditTypesResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) Project(context.Context, *QueryProjectRequest) (*QueryProjectResponse, error)
- func (UnimplementedQueryServer) Projects(context.Context, *QueryProjectsRequest) (*QueryProjectsResponse, error)
- func (UnimplementedQueryServer) ProjectsByAdmin(context.Context, *QueryProjectsByAdminRequest) (*QueryProjectsByAdminResponse, error)
- func (UnimplementedQueryServer) ProjectsByClass(context.Context, *QueryProjectsByClassRequest) (*QueryProjectsByClassResponse, error)
- func (UnimplementedQueryServer) ProjectsByReferenceId(context.Context, *QueryProjectsByReferenceIdRequest) (*QueryProjectsByReferenceIdResponse, error)
- func (UnimplementedQueryServer) Supply(context.Context, *QuerySupplyRequest) (*QuerySupplyResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_Classes_FullMethodName = "/regen.ecocredit.v1.Query/Classes" Query_ClassesByAdmin_FullMethodName = "/regen.ecocredit.v1.Query/ClassesByAdmin" Query_Class_FullMethodName = "/regen.ecocredit.v1.Query/Class" Query_ClassIssuers_FullMethodName = "/regen.ecocredit.v1.Query/ClassIssuers" Query_Projects_FullMethodName = "/regen.ecocredit.v1.Query/Projects" Query_ProjectsByClass_FullMethodName = "/regen.ecocredit.v1.Query/ProjectsByClass" Query_ProjectsByReferenceId_FullMethodName = "/regen.ecocredit.v1.Query/ProjectsByReferenceId" Query_ProjectsByAdmin_FullMethodName = "/regen.ecocredit.v1.Query/ProjectsByAdmin" Query_Project_FullMethodName = "/regen.ecocredit.v1.Query/Project" Query_Batches_FullMethodName = "/regen.ecocredit.v1.Query/Batches" Query_BatchesByIssuer_FullMethodName = "/regen.ecocredit.v1.Query/BatchesByIssuer" Query_BatchesByClass_FullMethodName = "/regen.ecocredit.v1.Query/BatchesByClass" Query_BatchesByProject_FullMethodName = "/regen.ecocredit.v1.Query/BatchesByProject" Query_Batch_FullMethodName = "/regen.ecocredit.v1.Query/Batch" Query_Balance_FullMethodName = "/regen.ecocredit.v1.Query/Balance" Query_Balances_FullMethodName = "/regen.ecocredit.v1.Query/Balances" Query_BalancesByBatch_FullMethodName = "/regen.ecocredit.v1.Query/BalancesByBatch" Query_AllBalances_FullMethodName = "/regen.ecocredit.v1.Query/AllBalances" Query_Supply_FullMethodName = "/regen.ecocredit.v1.Query/Supply" Query_CreditTypes_FullMethodName = "/regen.ecocredit.v1.Query/CreditTypes" Query_Params_FullMethodName = "/regen.ecocredit.v1.Query/Params" Query_CreditType_FullMethodName = "/regen.ecocredit.v1.Query/CreditType" Query_ClassCreatorAllowlist_FullMethodName = "/regen.ecocredit.v1.Query/ClassCreatorAllowlist" Query_AllowedClassCreators_FullMethodName = "/regen.ecocredit.v1.Query/AllowedClassCreators" Query_ClassFee_FullMethodName = "/regen.ecocredit.v1.Query/ClassFee" Query_AllowedBridgeChains_FullMethodName = "/regen.ecocredit.v1.Query/AllowedBridgeChains" )
const ( Msg_CreateClass_FullMethodName = "/regen.ecocredit.v1.Msg/CreateClass" Msg_CreateProject_FullMethodName = "/regen.ecocredit.v1.Msg/CreateProject" Msg_CreateBatch_FullMethodName = "/regen.ecocredit.v1.Msg/CreateBatch" Msg_MintBatchCredits_FullMethodName = "/regen.ecocredit.v1.Msg/MintBatchCredits" Msg_SealBatch_FullMethodName = "/regen.ecocredit.v1.Msg/SealBatch" Msg_Send_FullMethodName = "/regen.ecocredit.v1.Msg/Send" Msg_Retire_FullMethodName = "/regen.ecocredit.v1.Msg/Retire" Msg_Cancel_FullMethodName = "/regen.ecocredit.v1.Msg/Cancel" Msg_UpdateClassAdmin_FullMethodName = "/regen.ecocredit.v1.Msg/UpdateClassAdmin" Msg_UpdateClassIssuers_FullMethodName = "/regen.ecocredit.v1.Msg/UpdateClassIssuers" Msg_UpdateClassMetadata_FullMethodName = "/regen.ecocredit.v1.Msg/UpdateClassMetadata" Msg_UpdateProjectAdmin_FullMethodName = "/regen.ecocredit.v1.Msg/UpdateProjectAdmin" Msg_UpdateProjectMetadata_FullMethodName = "/regen.ecocredit.v1.Msg/UpdateProjectMetadata" Msg_UpdateBatchMetadata_FullMethodName = "/regen.ecocredit.v1.Msg/UpdateBatchMetadata" Msg_Bridge_FullMethodName = "/regen.ecocredit.v1.Msg/Bridge" Msg_BridgeReceive_FullMethodName = "/regen.ecocredit.v1.Msg/BridgeReceive" Msg_AddCreditType_FullMethodName = "/regen.ecocredit.v1.Msg/AddCreditType" Msg_SetClassCreatorAllowlist_FullMethodName = "/regen.ecocredit.v1.Msg/SetClassCreatorAllowlist" Msg_AddClassCreator_FullMethodName = "/regen.ecocredit.v1.Msg/AddClassCreator" Msg_RemoveClassCreator_FullMethodName = "/regen.ecocredit.v1.Msg/RemoveClassCreator" Msg_UpdateClassFee_FullMethodName = "/regen.ecocredit.v1.Msg/UpdateClassFee" Msg_AddAllowedBridgeChain_FullMethodName = "/regen.ecocredit.v1.Msg/AddAllowedBridgeChain" Msg_RemoveAllowedBridgeChain_FullMethodName = "/regen.ecocredit.v1.Msg/RemoveAllowedBridgeChain" )
Variables ¶
var File_regen_ecocredit_v1_doc_proto protoreflect.FileDescriptor
var File_regen_ecocredit_v1_events_proto protoreflect.FileDescriptor
var File_regen_ecocredit_v1_query_proto protoreflect.FileDescriptor
var File_regen_ecocredit_v1_state_proto protoreflect.FileDescriptor
var File_regen_ecocredit_v1_tx_proto protoreflect.FileDescriptor
var File_regen_ecocredit_v1_types_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "regen.ecocredit.v1.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: "MintBatchCredits", Handler: _Msg_MintBatchCredits_Handler, }, { MethodName: "SealBatch", Handler: _Msg_SealBatch_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: "UpdateProjectAdmin", Handler: _Msg_UpdateProjectAdmin_Handler, }, { MethodName: "UpdateProjectMetadata", Handler: _Msg_UpdateProjectMetadata_Handler, }, { MethodName: "UpdateBatchMetadata", Handler: _Msg_UpdateBatchMetadata_Handler, }, { MethodName: "Bridge", Handler: _Msg_Bridge_Handler, }, { MethodName: "BridgeReceive", Handler: _Msg_BridgeReceive_Handler, }, { MethodName: "AddCreditType", Handler: _Msg_AddCreditType_Handler, }, { MethodName: "SetClassCreatorAllowlist", Handler: _Msg_SetClassCreatorAllowlist_Handler, }, { MethodName: "AddClassCreator", Handler: _Msg_AddClassCreator_Handler, }, { MethodName: "RemoveClassCreator", Handler: _Msg_RemoveClassCreator_Handler, }, { MethodName: "UpdateClassFee", Handler: _Msg_UpdateClassFee_Handler, }, { MethodName: "AddAllowedBridgeChain", Handler: _Msg_AddAllowedBridgeChain_Handler, }, { MethodName: "RemoveAllowedBridgeChain", Handler: _Msg_RemoveAllowedBridgeChain_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "regen/ecocredit/v1/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.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Classes", Handler: _Query_Classes_Handler, }, { MethodName: "ClassesByAdmin", Handler: _Query_ClassesByAdmin_Handler, }, { MethodName: "Class", Handler: _Query_Class_Handler, }, { MethodName: "ClassIssuers", Handler: _Query_ClassIssuers_Handler, }, { MethodName: "Projects", Handler: _Query_Projects_Handler, }, { MethodName: "ProjectsByClass", Handler: _Query_ProjectsByClass_Handler, }, { MethodName: "ProjectsByReferenceId", Handler: _Query_ProjectsByReferenceId_Handler, }, { MethodName: "ProjectsByAdmin", Handler: _Query_ProjectsByAdmin_Handler, }, { MethodName: "Project", Handler: _Query_Project_Handler, }, { MethodName: "Batches", Handler: _Query_Batches_Handler, }, { MethodName: "BatchesByIssuer", Handler: _Query_BatchesByIssuer_Handler, }, { MethodName: "BatchesByClass", Handler: _Query_BatchesByClass_Handler, }, { MethodName: "BatchesByProject", Handler: _Query_BatchesByProject_Handler, }, { MethodName: "Batch", Handler: _Query_Batch_Handler, }, { MethodName: "Balance", Handler: _Query_Balance_Handler, }, { MethodName: "Balances", Handler: _Query_Balances_Handler, }, { MethodName: "BalancesByBatch", Handler: _Query_BalancesByBatch_Handler, }, { MethodName: "AllBalances", Handler: _Query_AllBalances_Handler, }, { MethodName: "Supply", Handler: _Query_Supply_Handler, }, { MethodName: "CreditTypes", Handler: _Query_CreditTypes_Handler, }, { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "CreditType", Handler: _Query_CreditType_Handler, }, { MethodName: "ClassCreatorAllowlist", Handler: _Query_ClassCreatorAllowlist_Handler, }, { MethodName: "AllowedClassCreators", Handler: _Query_AllowedClassCreators_Handler, }, { MethodName: "ClassFee", Handler: _Query_ClassFee_Handler, }, { MethodName: "AllowedBridgeChains", Handler: _Query_AllowedBridgeChains_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "regen/ecocredit/v1/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 AllowedBridgeChain ¶
type AllowedBridgeChain struct { // chain_name is the name of the chain allowed to bridge ecocredits to. ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` // contains filtered or unexported fields }
AllowedBridgeChain is a list of chains that are allowed to be used in bridging operations. NOTE: chain_names MUST be converted to lowercase before writing to and reading from this table in order to keep entries consistent. This table is controlled via governance.
Since Revision 2
func (*AllowedBridgeChain) Descriptor
deprecated
func (*AllowedBridgeChain) Descriptor() ([]byte, []int)
Deprecated: Use AllowedBridgeChain.ProtoReflect.Descriptor instead.
func (*AllowedBridgeChain) GetChainName ¶
func (x *AllowedBridgeChain) GetChainName() string
func (*AllowedBridgeChain) ProtoMessage ¶
func (*AllowedBridgeChain) ProtoMessage()
func (*AllowedBridgeChain) ProtoReflect ¶
func (x *AllowedBridgeChain) ProtoReflect() protoreflect.Message
func (*AllowedBridgeChain) Reset ¶
func (x *AllowedBridgeChain) Reset()
func (*AllowedBridgeChain) String ¶
func (x *AllowedBridgeChain) String() string
type AllowedBridgeChainChainNameIndexKey ¶
type AllowedBridgeChainChainNameIndexKey struct {
// contains filtered or unexported fields
}
func (AllowedBridgeChainChainNameIndexKey) WithChainName ¶
func (this AllowedBridgeChainChainNameIndexKey) WithChainName(chain_name string) AllowedBridgeChainChainNameIndexKey
type AllowedBridgeChainIndexKey ¶
type AllowedBridgeChainIndexKey interface {
// contains filtered or unexported methods
}
type AllowedBridgeChainIterator ¶
func (AllowedBridgeChainIterator) Value ¶
func (i AllowedBridgeChainIterator) Value() (*AllowedBridgeChain, error)
type AllowedBridgeChainPrimaryKey ¶
type AllowedBridgeChainPrimaryKey = AllowedBridgeChainChainNameIndexKey
primary key starting index..
type AllowedBridgeChainTable ¶
type AllowedBridgeChainTable interface { Insert(ctx context.Context, allowedBridgeChain *AllowedBridgeChain) error Update(ctx context.Context, allowedBridgeChain *AllowedBridgeChain) error Save(ctx context.Context, allowedBridgeChain *AllowedBridgeChain) error Delete(ctx context.Context, allowedBridgeChain *AllowedBridgeChain) error Has(ctx context.Context, chain_name string) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, chain_name string) (*AllowedBridgeChain, error) List(ctx context.Context, prefixKey AllowedBridgeChainIndexKey, opts ...ormlist.Option) (AllowedBridgeChainIterator, error) ListRange(ctx context.Context, from, to AllowedBridgeChainIndexKey, opts ...ormlist.Option) (AllowedBridgeChainIterator, error) DeleteBy(ctx context.Context, prefixKey AllowedBridgeChainIndexKey) error DeleteRange(ctx context.Context, from, to AllowedBridgeChainIndexKey) error // contains filtered or unexported methods }
func NewAllowedBridgeChainTable ¶
func NewAllowedBridgeChainTable(db ormtable.Schema) (AllowedBridgeChainTable, error)
type AllowedClassCreator ¶
type AllowedClassCreator struct { // address is the address that is allowed to create credit classes Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
AllowedClassCreator is an allowed credit class creator. This table is controlled via governance.
Since Revision 2
func (*AllowedClassCreator) Descriptor
deprecated
func (*AllowedClassCreator) Descriptor() ([]byte, []int)
Deprecated: Use AllowedClassCreator.ProtoReflect.Descriptor instead.
func (*AllowedClassCreator) GetAddress ¶
func (x *AllowedClassCreator) GetAddress() []byte
func (*AllowedClassCreator) ProtoMessage ¶
func (*AllowedClassCreator) ProtoMessage()
func (*AllowedClassCreator) ProtoReflect ¶
func (x *AllowedClassCreator) ProtoReflect() protoreflect.Message
func (*AllowedClassCreator) Reset ¶
func (x *AllowedClassCreator) Reset()
func (*AllowedClassCreator) String ¶
func (x *AllowedClassCreator) String() string
type AllowedClassCreatorAddressIndexKey ¶
type AllowedClassCreatorAddressIndexKey struct {
// contains filtered or unexported fields
}
func (AllowedClassCreatorAddressIndexKey) WithAddress ¶
func (this AllowedClassCreatorAddressIndexKey) WithAddress(address []byte) AllowedClassCreatorAddressIndexKey
type AllowedClassCreatorIndexKey ¶
type AllowedClassCreatorIndexKey interface {
// contains filtered or unexported methods
}
type AllowedClassCreatorIterator ¶
func (AllowedClassCreatorIterator) Value ¶
func (i AllowedClassCreatorIterator) Value() (*AllowedClassCreator, error)
type AllowedClassCreatorPrimaryKey ¶
type AllowedClassCreatorPrimaryKey = AllowedClassCreatorAddressIndexKey
primary key starting index..
type AllowedClassCreatorTable ¶
type AllowedClassCreatorTable interface { Insert(ctx context.Context, allowedClassCreator *AllowedClassCreator) error Update(ctx context.Context, allowedClassCreator *AllowedClassCreator) error Save(ctx context.Context, allowedClassCreator *AllowedClassCreator) error Delete(ctx context.Context, allowedClassCreator *AllowedClassCreator) error Has(ctx context.Context, address []byte) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, address []byte) (*AllowedClassCreator, error) List(ctx context.Context, prefixKey AllowedClassCreatorIndexKey, opts ...ormlist.Option) (AllowedClassCreatorIterator, error) ListRange(ctx context.Context, from, to AllowedClassCreatorIndexKey, opts ...ormlist.Option) (AllowedClassCreatorIterator, error) DeleteBy(ctx context.Context, prefixKey AllowedClassCreatorIndexKey) error DeleteRange(ctx context.Context, from, to AllowedClassCreatorIndexKey) error // contains filtered or unexported methods }
func NewAllowedClassCreatorTable ¶
func NewAllowedClassCreatorTable(db ormtable.Schema) (AllowedClassCreatorTable, error)
type AllowedDenom ¶
type AllowedDenom struct { // denom is the bank denom to allow (ex. ibc/GLKHDSG423SGS) BankDenom string `protobuf:"bytes,1,opt,name=bank_denom,json=bankDenom,proto3" json:"bank_denom,omitempty"` // display_denom is the denom to display to the user and is informational. // Because the denom is likely an IBC denom, this should be chosen by // governance to represent the consensus trusted name of the denom. 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 }
AllowedDenom represents the information for an allowed ask denom.
Since Revision 2 ¶
Deprecated(Since Revision 2): This type was added to support historical queries for params but will also be removed in the next version.
func (*AllowedDenom) Descriptor
deprecated
func (*AllowedDenom) Descriptor() ([]byte, []int)
Deprecated: Use AllowedDenom.ProtoReflect.Descriptor instead.
func (*AllowedDenom) GetBankDenom ¶
func (x *AllowedDenom) GetBankDenom() string
func (*AllowedDenom) GetDisplayDenom ¶
func (x *AllowedDenom) GetDisplayDenom() string
func (*AllowedDenom) GetExponent ¶
func (x *AllowedDenom) GetExponent() uint32
func (*AllowedDenom) ProtoMessage ¶
func (*AllowedDenom) ProtoMessage()
func (*AllowedDenom) ProtoReflect ¶
func (x *AllowedDenom) ProtoReflect() protoreflect.Message
func (*AllowedDenom) Reset ¶
func (x *AllowedDenom) Reset()
func (*AllowedDenom) String ¶
func (x *AllowedDenom) String() string
type Batch ¶
type Batch struct { // key is the table row identifier of the credit batch used internally for // efficient lookups. This identifier is auto-incrementing. Key uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"` // issuer is the address that created the batch and which is // authorized to mint more credits if open=true. Issuer []byte `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"` // project_key is the table row identifier of the credit class used internally // for efficient lookups. This links a credit batch to a project. ProjectKey uint64 `protobuf:"varint,3,opt,name=project_key,json=projectKey,proto3" json:"project_key,omitempty"` // denom is the unique identifier of the credit batch formed from the // project id, the batch sequence number, and the start and end date of the // credit batch. Denom string `protobuf:"bytes,4,opt,name=denom,proto3" json:"denom,omitempty"` // metadata is any arbitrary metadata attached to the credit batch. Metadata string `protobuf:"bytes,5,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,6,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,7,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` // issuance_date is the timestamp when the credit batch was issued. IssuanceDate *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=issuance_date,json=issuanceDate,proto3" json:"issuance_date,omitempty"` // open tells if it's possible to mint new credits in the future. // Once `open` is set to false, it can't be toggled any more. Open bool `protobuf:"varint,9,opt,name=open,proto3" json:"open,omitempty"` // contains filtered or unexported fields }
Batch represents the high-level on-chain information for a credit batch.
func (*Batch) Descriptor
deprecated
func (*Batch) GetEndDate ¶
func (x *Batch) GetEndDate() *timestamppb.Timestamp
func (*Batch) GetIssuanceDate ¶
func (x *Batch) GetIssuanceDate() *timestamppb.Timestamp
func (*Batch) GetMetadata ¶
func (*Batch) GetProjectKey ¶
func (*Batch) GetStartDate ¶
func (x *Batch) GetStartDate() *timestamppb.Timestamp
func (*Batch) ProtoMessage ¶
func (*Batch) ProtoMessage()
func (*Batch) ProtoReflect ¶
func (x *Batch) ProtoReflect() protoreflect.Message
type BatchBalance ¶
type BatchBalance struct { // batch_key is the table row identifier of the credit batch used internally // for efficient lookups. This links a batch balance to a credit batch. BatchKey uint64 `protobuf:"varint,1,opt,name=batch_key,json=batchKey,proto3" json:"batch_key,omitempty"` // address is the address of the account that owns the credits. Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // tradable_amount is the total number of tradable credits owned by address. TradableAmount string `protobuf:"bytes,3,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"` // retired_amount is the total number of retired credits owned by address. RetiredAmount string `protobuf:"bytes,4,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"` // escrowed_amount is the total number of escrowed credits owned by address // and held in escrow by the marketplace. Credits are held in escrow when a // sell order is created and taken out of escrow when the sell order is either // cancelled, updated with a reduced quantity, or processed. EscrowedAmount string `protobuf:"bytes,5,opt,name=escrowed_amount,json=escrowedAmount,proto3" json:"escrowed_amount,omitempty"` // contains filtered or unexported fields }
BatchBalance stores each accounts credit balance.
func (*BatchBalance) Descriptor
deprecated
func (*BatchBalance) Descriptor() ([]byte, []int)
Deprecated: Use BatchBalance.ProtoReflect.Descriptor instead.
func (*BatchBalance) GetAddress ¶
func (x *BatchBalance) GetAddress() []byte
func (*BatchBalance) GetBatchKey ¶
func (x *BatchBalance) GetBatchKey() uint64
func (*BatchBalance) GetEscrowedAmount ¶
func (x *BatchBalance) GetEscrowedAmount() string
func (*BatchBalance) GetRetiredAmount ¶
func (x *BatchBalance) GetRetiredAmount() string
func (*BatchBalance) GetTradableAmount ¶
func (x *BatchBalance) GetTradableAmount() string
func (*BatchBalance) ProtoMessage ¶
func (*BatchBalance) ProtoMessage()
func (*BatchBalance) ProtoReflect ¶
func (x *BatchBalance) ProtoReflect() protoreflect.Message
func (*BatchBalance) Reset ¶
func (x *BatchBalance) Reset()
func (*BatchBalance) String ¶
func (x *BatchBalance) String() string
type BatchBalanceAddressBatchKeyIndexKey ¶
type BatchBalanceAddressBatchKeyIndexKey struct {
// contains filtered or unexported fields
}
func (BatchBalanceAddressBatchKeyIndexKey) WithAddress ¶
func (this BatchBalanceAddressBatchKeyIndexKey) WithAddress(address []byte) BatchBalanceAddressBatchKeyIndexKey
func (BatchBalanceAddressBatchKeyIndexKey) WithAddressBatchKey ¶
func (this BatchBalanceAddressBatchKeyIndexKey) WithAddressBatchKey(address []byte, batch_key uint64) BatchBalanceAddressBatchKeyIndexKey
type BatchBalanceBatchKeyAddressIndexKey ¶
type BatchBalanceBatchKeyAddressIndexKey struct {
// contains filtered or unexported fields
}
func (BatchBalanceBatchKeyAddressIndexKey) WithBatchKey ¶
func (this BatchBalanceBatchKeyAddressIndexKey) WithBatchKey(batch_key uint64) BatchBalanceBatchKeyAddressIndexKey
func (BatchBalanceBatchKeyAddressIndexKey) WithBatchKeyAddress ¶
func (this BatchBalanceBatchKeyAddressIndexKey) WithBatchKeyAddress(batch_key uint64, address []byte) BatchBalanceBatchKeyAddressIndexKey
type BatchBalanceIndexKey ¶
type BatchBalanceIndexKey interface {
// contains filtered or unexported methods
}
type BatchBalanceInfo ¶
type BatchBalanceInfo struct { // address is the address of the account that owns the credits. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // batch_denom is the unique identifier of the credit batch. BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // tradable_amount is the total number of tradable credits owned by address. TradableAmount string `protobuf:"bytes,3,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"` // retired_amount is the total number of retired credits owned by address. RetiredAmount string `protobuf:"bytes,4,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"` // escrowed_amount is the total number of escrowed credits owned by address // and held in escrow by the marketplace. Credits are held in escrow when a // sell order is created and taken out of escrow when the sell order is either // cancelled, updated with a reduced quantity, or processed. EscrowedAmount string `protobuf:"bytes,5,opt,name=escrowed_amount,json=escrowedAmount,proto3" json:"escrowed_amount,omitempty"` // contains filtered or unexported fields }
BatchBalanceInfo is the human-readable batch balance information.
func (*BatchBalanceInfo) Descriptor
deprecated
func (*BatchBalanceInfo) Descriptor() ([]byte, []int)
Deprecated: Use BatchBalanceInfo.ProtoReflect.Descriptor instead.
func (*BatchBalanceInfo) GetAddress ¶
func (x *BatchBalanceInfo) GetAddress() string
func (*BatchBalanceInfo) GetBatchDenom ¶
func (x *BatchBalanceInfo) GetBatchDenom() string
func (*BatchBalanceInfo) GetEscrowedAmount ¶
func (x *BatchBalanceInfo) GetEscrowedAmount() string
func (*BatchBalanceInfo) GetRetiredAmount ¶
func (x *BatchBalanceInfo) GetRetiredAmount() string
func (*BatchBalanceInfo) GetTradableAmount ¶
func (x *BatchBalanceInfo) GetTradableAmount() string
func (*BatchBalanceInfo) ProtoMessage ¶
func (*BatchBalanceInfo) ProtoMessage()
func (*BatchBalanceInfo) ProtoReflect ¶
func (x *BatchBalanceInfo) ProtoReflect() protoreflect.Message
func (*BatchBalanceInfo) Reset ¶
func (x *BatchBalanceInfo) Reset()
func (*BatchBalanceInfo) String ¶
func (x *BatchBalanceInfo) String() string
type BatchBalanceIterator ¶
func (BatchBalanceIterator) Value ¶
func (i BatchBalanceIterator) Value() (*BatchBalance, error)
type BatchBalancePrimaryKey ¶
type BatchBalancePrimaryKey = BatchBalanceAddressBatchKeyIndexKey
primary key starting index..
type BatchBalanceTable ¶
type BatchBalanceTable interface { Insert(ctx context.Context, batchBalance *BatchBalance) error Update(ctx context.Context, batchBalance *BatchBalance) error Save(ctx context.Context, batchBalance *BatchBalance) error Delete(ctx context.Context, batchBalance *BatchBalance) error Has(ctx context.Context, address []byte, batch_key uint64) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, address []byte, batch_key uint64) (*BatchBalance, error) List(ctx context.Context, prefixKey BatchBalanceIndexKey, opts ...ormlist.Option) (BatchBalanceIterator, error) ListRange(ctx context.Context, from, to BatchBalanceIndexKey, opts ...ormlist.Option) (BatchBalanceIterator, error) DeleteBy(ctx context.Context, prefixKey BatchBalanceIndexKey) error DeleteRange(ctx context.Context, from, to BatchBalanceIndexKey) error // contains filtered or unexported methods }
func NewBatchBalanceTable ¶
func NewBatchBalanceTable(db ormtable.Schema) (BatchBalanceTable, error)
type BatchContract ¶
type BatchContract struct { // batch_key is the table row identifier of the credit batch used internally // for efficient lookups. This links an external contract to a credit batch. BatchKey uint64 `protobuf:"varint,1,opt,name=batch_key,json=batchKey,proto3" json:"batch_key,omitempty"` // class_key is the table row identifier of the credit class within which the // credit batch exists. A contract is unique within the scope of a credit // class to prevent malicious credit class issuers from blocking bridge // operations taking place within another credit class. ClassKey uint64 `protobuf:"varint,2,opt,name=class_key,json=classKey,proto3" json:"class_key,omitempty"` // contract is the address of the contract on the source chain that was // executed when creating the transaction. This address will be used when // sending credits back to the source chain. Contract string `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"` // contains filtered or unexported fields }
BatchContract stores the contract address from which credits were bridged when credits are bridged from a contract-based chain, therefore ensuring that each credit batch corresponds to a single contract and credits that have been bridged will always be bridged back to the original contract.
func (*BatchContract) Descriptor
deprecated
func (*BatchContract) Descriptor() ([]byte, []int)
Deprecated: Use BatchContract.ProtoReflect.Descriptor instead.
func (*BatchContract) GetBatchKey ¶
func (x *BatchContract) GetBatchKey() uint64
func (*BatchContract) GetClassKey ¶
func (x *BatchContract) GetClassKey() uint64
func (*BatchContract) GetContract ¶
func (x *BatchContract) GetContract() string
func (*BatchContract) ProtoMessage ¶
func (*BatchContract) ProtoMessage()
func (*BatchContract) ProtoReflect ¶
func (x *BatchContract) ProtoReflect() protoreflect.Message
func (*BatchContract) Reset ¶
func (x *BatchContract) Reset()
func (*BatchContract) String ¶
func (x *BatchContract) String() string
type BatchContractBatchKeyIndexKey ¶
type BatchContractBatchKeyIndexKey struct {
// contains filtered or unexported fields
}
func (BatchContractBatchKeyIndexKey) WithBatchKey ¶
func (this BatchContractBatchKeyIndexKey) WithBatchKey(batch_key uint64) BatchContractBatchKeyIndexKey
type BatchContractClassKeyContractIndexKey ¶
type BatchContractClassKeyContractIndexKey struct {
// contains filtered or unexported fields
}
func (BatchContractClassKeyContractIndexKey) WithClassKey ¶
func (this BatchContractClassKeyContractIndexKey) WithClassKey(class_key uint64) BatchContractClassKeyContractIndexKey
func (BatchContractClassKeyContractIndexKey) WithClassKeyContract ¶
func (this BatchContractClassKeyContractIndexKey) WithClassKeyContract(class_key uint64, contract string) BatchContractClassKeyContractIndexKey
type BatchContractIndexKey ¶
type BatchContractIndexKey interface {
// contains filtered or unexported methods
}
type BatchContractIterator ¶
func (BatchContractIterator) Value ¶
func (i BatchContractIterator) Value() (*BatchContract, error)
type BatchContractPrimaryKey ¶
type BatchContractPrimaryKey = BatchContractBatchKeyIndexKey
primary key starting index..
type BatchContractTable ¶
type BatchContractTable interface { Insert(ctx context.Context, batchContract *BatchContract) error Update(ctx context.Context, batchContract *BatchContract) error Save(ctx context.Context, batchContract *BatchContract) error Delete(ctx context.Context, batchContract *BatchContract) error Has(ctx context.Context, batch_key uint64) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, batch_key uint64) (*BatchContract, error) HasByClassKeyContract(ctx context.Context, class_key uint64, contract string) (found bool, err error) // GetByClassKeyContract returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetByClassKeyContract(ctx context.Context, class_key uint64, contract string) (*BatchContract, error) List(ctx context.Context, prefixKey BatchContractIndexKey, opts ...ormlist.Option) (BatchContractIterator, error) ListRange(ctx context.Context, from, to BatchContractIndexKey, opts ...ormlist.Option) (BatchContractIterator, error) DeleteBy(ctx context.Context, prefixKey BatchContractIndexKey) error DeleteRange(ctx context.Context, from, to BatchContractIndexKey) error // contains filtered or unexported methods }
func NewBatchContractTable ¶
func NewBatchContractTable(db ormtable.Schema) (BatchContractTable, error)
type BatchDenomIndexKey ¶
type BatchDenomIndexKey struct {
// contains filtered or unexported fields
}
func (BatchDenomIndexKey) WithDenom ¶
func (this BatchDenomIndexKey) WithDenom(denom string) BatchDenomIndexKey
type BatchIndexKey ¶
type BatchIndexKey interface {
// contains filtered or unexported methods
}
type BatchInfo ¶
type BatchInfo struct { // issuer is the address that created the batch and the address authorized to // mint new credits to the credit batch if the credit batch is open. Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` // project_id is the unique identifier of the project within which this credit // batch was created. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // denom is the unique identifier of the credit batch formed from the project // name, batch sequence number and dates. Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` // metadata is any arbitrary metadata attached to the credit batch. Metadata string `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"` // issuance_date is the timestamp when the credit batch was issued. IssuanceDate *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=issuance_date,json=issuanceDate,proto3" json:"issuance_date,omitempty"` // open determines whether or not the credit batch is open, i.e. whether or // not new credits can be minted to the credit batch. Open bool `protobuf:"varint,8,opt,name=open,proto3" json:"open,omitempty"` // contains filtered or unexported fields }
BatchInfo is the human-readable credit batch information.
func (*BatchInfo) Descriptor
deprecated
func (*BatchInfo) GetEndDate ¶
func (x *BatchInfo) GetEndDate() *timestamppb.Timestamp
func (*BatchInfo) GetIssuanceDate ¶
func (x *BatchInfo) GetIssuanceDate() *timestamppb.Timestamp
func (*BatchInfo) GetMetadata ¶
func (*BatchInfo) GetProjectId ¶
func (*BatchInfo) GetStartDate ¶
func (x *BatchInfo) GetStartDate() *timestamppb.Timestamp
func (*BatchInfo) ProtoMessage ¶
func (*BatchInfo) ProtoMessage()
func (*BatchInfo) ProtoReflect ¶
func (x *BatchInfo) ProtoReflect() protoreflect.Message
type BatchIssuance ¶
type BatchIssuance struct { // recipient is the address of the account receiving the issued credits. Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"` // tradable_amount is the amount of credits that the recipient will receive in // a tradable state. The number of decimal places must be less than or equal // to the credit type precision. TradableAmount string `protobuf:"bytes,2,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"` // retired_amount is the amount of credits that the recipient will receive in // a retired state. The number of decimal places must be less than or equal to // the credit type precision. RetiredAmount string `protobuf:"bytes,3,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"` // retirement_jurisdiction is the jurisdiction of the recipient and is only // required if retired_amount is positive. A jurisdiction has the following // format: <country-code>[-<sub-national-code>[ <postal-code>]] // The country-code must be 2 alphabetic characters, the sub-national-code // can be 1-3 alphanumeric characters, and the postal-code can be up to 64 // alphanumeric characters. Only the country-code is required, while the // sub-national-code and postal-code are optional and can be added for // increased precision. RetirementJurisdiction string `` /* 127-byte string literal not displayed */ // retirement_reason is any arbitrary string that specifies the reason for // retiring credits. The reason will be included in EventRetire and is not // stored in state. // // Since Revision 2 RetirementReason string `protobuf:"bytes,5,opt,name=retirement_reason,json=retirementReason,proto3" json:"retirement_reason,omitempty"` // contains filtered or unexported fields }
BatchIssuance represents a simple structure for a credit batch issuance.
func (*BatchIssuance) Descriptor
deprecated
func (*BatchIssuance) Descriptor() ([]byte, []int)
Deprecated: Use BatchIssuance.ProtoReflect.Descriptor instead.
func (*BatchIssuance) GetRecipient ¶
func (x *BatchIssuance) GetRecipient() string
func (*BatchIssuance) GetRetiredAmount ¶
func (x *BatchIssuance) GetRetiredAmount() string
func (*BatchIssuance) GetRetirementJurisdiction ¶
func (x *BatchIssuance) GetRetirementJurisdiction() string
func (*BatchIssuance) GetRetirementReason ¶
func (x *BatchIssuance) GetRetirementReason() string
func (*BatchIssuance) GetTradableAmount ¶
func (x *BatchIssuance) GetTradableAmount() string
func (*BatchIssuance) ProtoMessage ¶
func (*BatchIssuance) ProtoMessage()
func (*BatchIssuance) ProtoReflect ¶
func (x *BatchIssuance) ProtoReflect() protoreflect.Message
func (*BatchIssuance) Reset ¶
func (x *BatchIssuance) Reset()
func (*BatchIssuance) String ¶
func (x *BatchIssuance) String() string
type BatchIssuerIndexKey ¶
type BatchIssuerIndexKey struct {
// contains filtered or unexported fields
}
func (BatchIssuerIndexKey) WithIssuer ¶
func (this BatchIssuerIndexKey) WithIssuer(issuer []byte) BatchIssuerIndexKey
type BatchIterator ¶
func (BatchIterator) Value ¶
func (i BatchIterator) Value() (*Batch, error)
type BatchKeyIndexKey ¶
type BatchKeyIndexKey struct {
// contains filtered or unexported fields
}
func (BatchKeyIndexKey) WithKey ¶
func (this BatchKeyIndexKey) WithKey(key uint64) BatchKeyIndexKey
type BatchProjectKeyIndexKey ¶
type BatchProjectKeyIndexKey struct {
// contains filtered or unexported fields
}
func (BatchProjectKeyIndexKey) WithProjectKey ¶
func (this BatchProjectKeyIndexKey) WithProjectKey(project_key uint64) BatchProjectKeyIndexKey
type BatchSequence ¶
type BatchSequence struct { // project_key is the table row identifier of the project used internally for // efficient lookups. This links a batch sequence to a project. ProjectKey uint64 `protobuf:"varint,1,opt,name=project_key,json=projectKey,proto3" json:"project_key,omitempty"` // next_sequence is the next sequence number for a credit batch within the // project. The sequence number is used to generate a batch denom. NextSequence uint64 `protobuf:"varint,2,opt,name=next_sequence,json=nextSequence,proto3" json:"next_sequence,omitempty"` // contains filtered or unexported fields }
BatchSequence stores and increments the sequence number for credit batches within a project.
func (*BatchSequence) Descriptor
deprecated
func (*BatchSequence) Descriptor() ([]byte, []int)
Deprecated: Use BatchSequence.ProtoReflect.Descriptor instead.
func (*BatchSequence) GetNextSequence ¶
func (x *BatchSequence) GetNextSequence() uint64
func (*BatchSequence) GetProjectKey ¶
func (x *BatchSequence) GetProjectKey() uint64
func (*BatchSequence) ProtoMessage ¶
func (*BatchSequence) ProtoMessage()
func (*BatchSequence) ProtoReflect ¶
func (x *BatchSequence) ProtoReflect() protoreflect.Message
func (*BatchSequence) Reset ¶
func (x *BatchSequence) Reset()
func (*BatchSequence) String ¶
func (x *BatchSequence) String() string
type BatchSequenceIndexKey ¶
type BatchSequenceIndexKey interface {
// contains filtered or unexported methods
}
type BatchSequenceIterator ¶
func (BatchSequenceIterator) Value ¶
func (i BatchSequenceIterator) Value() (*BatchSequence, error)
type BatchSequencePrimaryKey ¶
type BatchSequencePrimaryKey = BatchSequenceProjectKeyIndexKey
primary key starting index..
type BatchSequenceProjectKeyIndexKey ¶
type BatchSequenceProjectKeyIndexKey struct {
// contains filtered or unexported fields
}
func (BatchSequenceProjectKeyIndexKey) WithProjectKey ¶
func (this BatchSequenceProjectKeyIndexKey) WithProjectKey(project_key uint64) BatchSequenceProjectKeyIndexKey
type BatchSequenceTable ¶
type BatchSequenceTable interface { Insert(ctx context.Context, batchSequence *BatchSequence) error Update(ctx context.Context, batchSequence *BatchSequence) error Save(ctx context.Context, batchSequence *BatchSequence) error Delete(ctx context.Context, batchSequence *BatchSequence) error Has(ctx context.Context, project_key uint64) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, project_key uint64) (*BatchSequence, error) List(ctx context.Context, prefixKey BatchSequenceIndexKey, opts ...ormlist.Option) (BatchSequenceIterator, error) ListRange(ctx context.Context, from, to BatchSequenceIndexKey, opts ...ormlist.Option) (BatchSequenceIterator, error) DeleteBy(ctx context.Context, prefixKey BatchSequenceIndexKey) error DeleteRange(ctx context.Context, from, to BatchSequenceIndexKey) error // contains filtered or unexported methods }
func NewBatchSequenceTable ¶
func NewBatchSequenceTable(db ormtable.Schema) (BatchSequenceTable, error)
type BatchStartDateIndexKey ¶
type BatchStartDateIndexKey struct {
// contains filtered or unexported fields
}
func (BatchStartDateIndexKey) WithStartDate ¶
func (this BatchStartDateIndexKey) WithStartDate(start_date *timestamppb.Timestamp) BatchStartDateIndexKey
type BatchSupply ¶
type BatchSupply struct { // batch_key is the table row identifier of the credit batch used internally // for efficient lookups. This links a batch supply to a credit batch. BatchKey uint64 `protobuf:"varint,1,opt,name=batch_key,json=batchKey,proto3" json:"batch_key,omitempty"` // tradable_amount is the total number of tradable credits in the credit // batch. Tradable credits may be retired in which case they will be removed // from tradable_amount and tracked in retired_amount. Tradable credits may // also be cancelled in which case they will be removed from tradable_amount // and tracked in cancelled_amount. The sum of the tradable, retired, and // cancelled amounts will always equal the original credit issuance amount. TradableAmount string `protobuf:"bytes,2,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"` // retired_amount is the total amount of credits that have been retired in the // credit batch. The sum of the tradable, retired, and cancelled amounts will // always equal the original credit issuance amount. RetiredAmount string `protobuf:"bytes,3,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"` // cancelled_amount is the number of credits in the batch that have been // cancelled, effectively undoing the issuance. The sum of the tradable, // retired, and cancelled amounts will always equal the original credit // issuance amount. CancelledAmount string `protobuf:"bytes,4,opt,name=cancelled_amount,json=cancelledAmount,proto3" json:"cancelled_amount,omitempty"` // contains filtered or unexported fields }
BatchSupply stores the supply of credits for a credit batch.
func (*BatchSupply) Descriptor
deprecated
func (*BatchSupply) Descriptor() ([]byte, []int)
Deprecated: Use BatchSupply.ProtoReflect.Descriptor instead.
func (*BatchSupply) GetBatchKey ¶
func (x *BatchSupply) GetBatchKey() uint64
func (*BatchSupply) GetCancelledAmount ¶
func (x *BatchSupply) GetCancelledAmount() string
func (*BatchSupply) GetRetiredAmount ¶
func (x *BatchSupply) GetRetiredAmount() string
func (*BatchSupply) GetTradableAmount ¶
func (x *BatchSupply) GetTradableAmount() string
func (*BatchSupply) ProtoMessage ¶
func (*BatchSupply) ProtoMessage()
func (*BatchSupply) ProtoReflect ¶
func (x *BatchSupply) ProtoReflect() protoreflect.Message
func (*BatchSupply) Reset ¶
func (x *BatchSupply) Reset()
func (*BatchSupply) String ¶
func (x *BatchSupply) String() string
type BatchSupplyBatchKeyIndexKey ¶
type BatchSupplyBatchKeyIndexKey struct {
// contains filtered or unexported fields
}
func (BatchSupplyBatchKeyIndexKey) WithBatchKey ¶
func (this BatchSupplyBatchKeyIndexKey) WithBatchKey(batch_key uint64) BatchSupplyBatchKeyIndexKey
type BatchSupplyIndexKey ¶
type BatchSupplyIndexKey interface {
// contains filtered or unexported methods
}
type BatchSupplyIterator ¶
func (BatchSupplyIterator) Value ¶
func (i BatchSupplyIterator) Value() (*BatchSupply, error)
type BatchSupplyPrimaryKey ¶
type BatchSupplyPrimaryKey = BatchSupplyBatchKeyIndexKey
primary key starting index..
type BatchSupplyTable ¶
type BatchSupplyTable interface { Insert(ctx context.Context, batchSupply *BatchSupply) error Update(ctx context.Context, batchSupply *BatchSupply) error Save(ctx context.Context, batchSupply *BatchSupply) error Delete(ctx context.Context, batchSupply *BatchSupply) error Has(ctx context.Context, batch_key uint64) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, batch_key uint64) (*BatchSupply, error) List(ctx context.Context, prefixKey BatchSupplyIndexKey, opts ...ormlist.Option) (BatchSupplyIterator, error) ListRange(ctx context.Context, from, to BatchSupplyIndexKey, opts ...ormlist.Option) (BatchSupplyIterator, error) DeleteBy(ctx context.Context, prefixKey BatchSupplyIndexKey) error DeleteRange(ctx context.Context, from, to BatchSupplyIndexKey) error // contains filtered or unexported methods }
func NewBatchSupplyTable ¶
func NewBatchSupplyTable(db ormtable.Schema) (BatchSupplyTable, error)
type BatchTable ¶
type BatchTable interface { Insert(ctx context.Context, batch *Batch) error InsertReturningID(ctx context.Context, batch *Batch) (uint64, error) Update(ctx context.Context, batch *Batch) error Save(ctx context.Context, batch *Batch) error Delete(ctx context.Context, batch *Batch) error Has(ctx context.Context, key uint64) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, key uint64) (*Batch, error) HasByDenom(ctx context.Context, denom string) (found bool, err error) // GetByDenom returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetByDenom(ctx context.Context, denom string) (*Batch, error) List(ctx context.Context, prefixKey BatchIndexKey, opts ...ormlist.Option) (BatchIterator, error) ListRange(ctx context.Context, from, to BatchIndexKey, opts ...ormlist.Option) (BatchIterator, error) DeleteBy(ctx context.Context, prefixKey BatchIndexKey) error DeleteRange(ctx context.Context, from, to BatchIndexKey) error // contains filtered or unexported methods }
func NewBatchTable ¶
func NewBatchTable(db ormtable.Schema) (BatchTable, error)
type Class ¶
type Class struct { // key is the table row identifier of the credit class used internally for // efficient lookups. This identifier is auto-incrementing. Key uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"` // id is the unique identifier of the credit class auto-generated from the // credit type abbreviation and the credit class sequence number. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // admin is the admin of the credit class. Admin []byte `protobuf:"bytes,3,opt,name=admin,proto3" json:"admin,omitempty"` // metadata is any arbitrary metadata to attached to the credit class. Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // credit_type_abbrev is the abbreviation of the credit type. CreditTypeAbbrev string `protobuf:"bytes,5,opt,name=credit_type_abbrev,json=creditTypeAbbrev,proto3" json:"credit_type_abbrev,omitempty"` // contains filtered or unexported fields }
Class represents the high-level on-chain information for a credit class.
func (*Class) Descriptor
deprecated
func (*Class) GetCreditTypeAbbrev ¶
func (*Class) GetMetadata ¶
func (*Class) ProtoMessage ¶
func (*Class) ProtoMessage()
func (*Class) ProtoReflect ¶
func (x *Class) ProtoReflect() protoreflect.Message
type ClassAdminIndexKey ¶
type ClassAdminIndexKey struct {
// contains filtered or unexported fields
}
func (ClassAdminIndexKey) WithAdmin ¶
func (this ClassAdminIndexKey) WithAdmin(admin []byte) ClassAdminIndexKey
type ClassCreatorAllowlist ¶
type ClassCreatorAllowlist struct { // enabled is whether or not the allow list is enabled. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
ClassCreatorAllowlist determines if the credit class creator allowlist is enabled. When set to true, only the addresses in the AllowedClassCreator table may create credit classes. When set to false, any address may create credit classes. This table is controlled via governance.
Since Revision 2
func (*ClassCreatorAllowlist) Descriptor
deprecated
func (*ClassCreatorAllowlist) Descriptor() ([]byte, []int)
Deprecated: Use ClassCreatorAllowlist.ProtoReflect.Descriptor instead.
func (*ClassCreatorAllowlist) GetEnabled ¶
func (x *ClassCreatorAllowlist) GetEnabled() bool
func (*ClassCreatorAllowlist) ProtoMessage ¶
func (*ClassCreatorAllowlist) ProtoMessage()
func (*ClassCreatorAllowlist) ProtoReflect ¶
func (x *ClassCreatorAllowlist) ProtoReflect() protoreflect.Message
func (*ClassCreatorAllowlist) Reset ¶
func (x *ClassCreatorAllowlist) Reset()
func (*ClassCreatorAllowlist) String ¶
func (x *ClassCreatorAllowlist) String() string
type ClassCreatorAllowlistTable ¶
type ClassCreatorAllowlistTable interface { Get(ctx context.Context) (*ClassCreatorAllowlist, error) Save(ctx context.Context, classCreatorAllowlist *ClassCreatorAllowlist) error }
singleton store
func NewClassCreatorAllowlistTable ¶
func NewClassCreatorAllowlistTable(db ormtable.Schema) (ClassCreatorAllowlistTable, error)
type ClassCreditTypeAbbrevIndexKey ¶
type ClassCreditTypeAbbrevIndexKey struct {
// contains filtered or unexported fields
}
func (ClassCreditTypeAbbrevIndexKey) WithCreditTypeAbbrev ¶
func (this ClassCreditTypeAbbrevIndexKey) WithCreditTypeAbbrev(credit_type_abbrev string) ClassCreditTypeAbbrevIndexKey
type ClassFee ¶
type ClassFee struct { // fee is the credit class creation fee. If not set, a credit class creation // fee is not required. Fee *v1beta1.Coin `protobuf:"bytes,1,opt,name=fee,proto3" json:"fee,omitempty"` // contains filtered or unexported fields }
ClassFee is the credit class creation fee. If not set, a credit class creation fee is not required. This table is controlled via governance.
Since Revision 2
func (*ClassFee) Descriptor
deprecated
func (*ClassFee) ProtoMessage ¶
func (*ClassFee) ProtoMessage()
func (*ClassFee) ProtoReflect ¶
func (x *ClassFee) ProtoReflect() protoreflect.Message
type ClassFeeTable ¶
type ClassFeeTable interface { Get(ctx context.Context) (*ClassFee, error) Save(ctx context.Context, classFee *ClassFee) error }
singleton store
func NewClassFeeTable ¶
func NewClassFeeTable(db ormtable.Schema) (ClassFeeTable, error)
type ClassIdIndexKey ¶
type ClassIdIndexKey struct {
// contains filtered or unexported fields
}
func (ClassIdIndexKey) WithId ¶
func (this ClassIdIndexKey) WithId(id string) ClassIdIndexKey
type ClassIndexKey ¶
type ClassIndexKey interface {
// contains filtered or unexported methods
}
type ClassInfo ¶
type ClassInfo struct { // id is the unique identifier of the credit class. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // admin is the admin of the credit class. Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"` // metadata is the arbitrary metadata attached to the credit class. Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // credit_type_abbrev is the abbreviation of the credit type within which this // credit class was created. CreditTypeAbbrev string `protobuf:"bytes,4,opt,name=credit_type_abbrev,json=creditTypeAbbrev,proto3" json:"credit_type_abbrev,omitempty"` // contains filtered or unexported fields }
ClassInfo is the human-readable credit class information.
func (*ClassInfo) Descriptor
deprecated
func (*ClassInfo) GetCreditTypeAbbrev ¶
func (*ClassInfo) GetMetadata ¶
func (*ClassInfo) ProtoMessage ¶
func (*ClassInfo) ProtoMessage()
func (*ClassInfo) ProtoReflect ¶
func (x *ClassInfo) ProtoReflect() protoreflect.Message
type ClassIssuer ¶
type ClassIssuer struct { // class_key is the table row identifier of the credit class used internally // for efficient lookups. This links a class issuer to a credit class. ClassKey uint64 `protobuf:"varint,1,opt,name=class_key,json=classKey,proto3" json:"class_key,omitempty"` // issuer is the approved issuer of the credit class. Issuer []byte `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"` // contains filtered or unexported fields }
ClassIssuers is a JOIN table for Class Info that stores the credit class issuers
func (*ClassIssuer) Descriptor
deprecated
func (*ClassIssuer) Descriptor() ([]byte, []int)
Deprecated: Use ClassIssuer.ProtoReflect.Descriptor instead.
func (*ClassIssuer) GetClassKey ¶
func (x *ClassIssuer) GetClassKey() uint64
func (*ClassIssuer) GetIssuer ¶
func (x *ClassIssuer) GetIssuer() []byte
func (*ClassIssuer) ProtoMessage ¶
func (*ClassIssuer) ProtoMessage()
func (*ClassIssuer) ProtoReflect ¶
func (x *ClassIssuer) ProtoReflect() protoreflect.Message
func (*ClassIssuer) Reset ¶
func (x *ClassIssuer) Reset()
func (*ClassIssuer) String ¶
func (x *ClassIssuer) String() string
type ClassIssuerClassKeyIssuerIndexKey ¶
type ClassIssuerClassKeyIssuerIndexKey struct {
// contains filtered or unexported fields
}
func (ClassIssuerClassKeyIssuerIndexKey) WithClassKey ¶
func (this ClassIssuerClassKeyIssuerIndexKey) WithClassKey(class_key uint64) ClassIssuerClassKeyIssuerIndexKey
func (ClassIssuerClassKeyIssuerIndexKey) WithClassKeyIssuer ¶
func (this ClassIssuerClassKeyIssuerIndexKey) WithClassKeyIssuer(class_key uint64, issuer []byte) ClassIssuerClassKeyIssuerIndexKey
type ClassIssuerIndexKey ¶
type ClassIssuerIndexKey interface {
// contains filtered or unexported methods
}
type ClassIssuerIterator ¶
func (ClassIssuerIterator) Value ¶
func (i ClassIssuerIterator) Value() (*ClassIssuer, error)
type ClassIssuerPrimaryKey ¶
type ClassIssuerPrimaryKey = ClassIssuerClassKeyIssuerIndexKey
primary key starting index..
type ClassIssuerTable ¶
type ClassIssuerTable interface { Insert(ctx context.Context, classIssuer *ClassIssuer) error Update(ctx context.Context, classIssuer *ClassIssuer) error Save(ctx context.Context, classIssuer *ClassIssuer) error Delete(ctx context.Context, classIssuer *ClassIssuer) error Has(ctx context.Context, class_key uint64, issuer []byte) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, class_key uint64, issuer []byte) (*ClassIssuer, error) List(ctx context.Context, prefixKey ClassIssuerIndexKey, opts ...ormlist.Option) (ClassIssuerIterator, error) ListRange(ctx context.Context, from, to ClassIssuerIndexKey, opts ...ormlist.Option) (ClassIssuerIterator, error) DeleteBy(ctx context.Context, prefixKey ClassIssuerIndexKey) error DeleteRange(ctx context.Context, from, to ClassIssuerIndexKey) error // contains filtered or unexported methods }
func NewClassIssuerTable ¶
func NewClassIssuerTable(db ormtable.Schema) (ClassIssuerTable, error)
type ClassIterator ¶
func (ClassIterator) Value ¶
func (i ClassIterator) Value() (*Class, error)
type ClassKeyIndexKey ¶
type ClassKeyIndexKey struct {
// contains filtered or unexported fields
}
func (ClassKeyIndexKey) WithKey ¶
func (this ClassKeyIndexKey) WithKey(key uint64) ClassKeyIndexKey
type ClassSequence ¶
type ClassSequence struct { // credit_type_abbrev is the credit type abbreviation. This links a class // sequence to a credit type. CreditTypeAbbrev string `protobuf:"bytes,1,opt,name=credit_type_abbrev,json=creditTypeAbbrev,proto3" json:"credit_type_abbrev,omitempty"` // next_sequence is the next sequence number for a credit class within the // credit type. The sequence number is used to generate a class id. NextSequence uint64 `protobuf:"varint,2,opt,name=next_sequence,json=nextSequence,proto3" json:"next_sequence,omitempty"` // contains filtered or unexported fields }
ClassSequence stores and increments the sequence number for credit classes within a credit type.
func (*ClassSequence) Descriptor
deprecated
func (*ClassSequence) Descriptor() ([]byte, []int)
Deprecated: Use ClassSequence.ProtoReflect.Descriptor instead.
func (*ClassSequence) GetCreditTypeAbbrev ¶
func (x *ClassSequence) GetCreditTypeAbbrev() string
func (*ClassSequence) GetNextSequence ¶
func (x *ClassSequence) GetNextSequence() uint64
func (*ClassSequence) ProtoMessage ¶
func (*ClassSequence) ProtoMessage()
func (*ClassSequence) ProtoReflect ¶
func (x *ClassSequence) ProtoReflect() protoreflect.Message
func (*ClassSequence) Reset ¶
func (x *ClassSequence) Reset()
func (*ClassSequence) String ¶
func (x *ClassSequence) String() string
type ClassSequenceCreditTypeAbbrevIndexKey ¶
type ClassSequenceCreditTypeAbbrevIndexKey struct {
// contains filtered or unexported fields
}
func (ClassSequenceCreditTypeAbbrevIndexKey) WithCreditTypeAbbrev ¶
func (this ClassSequenceCreditTypeAbbrevIndexKey) WithCreditTypeAbbrev(credit_type_abbrev string) ClassSequenceCreditTypeAbbrevIndexKey
type ClassSequenceIndexKey ¶
type ClassSequenceIndexKey interface {
// contains filtered or unexported methods
}
type ClassSequenceIterator ¶
func (ClassSequenceIterator) Value ¶
func (i ClassSequenceIterator) Value() (*ClassSequence, error)
type ClassSequencePrimaryKey ¶
type ClassSequencePrimaryKey = ClassSequenceCreditTypeAbbrevIndexKey
primary key starting index..
type ClassSequenceTable ¶
type ClassSequenceTable interface { Insert(ctx context.Context, classSequence *ClassSequence) error Update(ctx context.Context, classSequence *ClassSequence) error Save(ctx context.Context, classSequence *ClassSequence) error Delete(ctx context.Context, classSequence *ClassSequence) error Has(ctx context.Context, credit_type_abbrev string) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, credit_type_abbrev string) (*ClassSequence, error) List(ctx context.Context, prefixKey ClassSequenceIndexKey, opts ...ormlist.Option) (ClassSequenceIterator, error) ListRange(ctx context.Context, from, to ClassSequenceIndexKey, opts ...ormlist.Option) (ClassSequenceIterator, error) DeleteBy(ctx context.Context, prefixKey ClassSequenceIndexKey) error DeleteRange(ctx context.Context, from, to ClassSequenceIndexKey) error // contains filtered or unexported methods }
func NewClassSequenceTable ¶
func NewClassSequenceTable(db ormtable.Schema) (ClassSequenceTable, error)
type ClassTable ¶
type ClassTable interface { Insert(ctx context.Context, class *Class) error InsertReturningID(ctx context.Context, class *Class) (uint64, error) Update(ctx context.Context, class *Class) error Save(ctx context.Context, class *Class) error Delete(ctx context.Context, class *Class) error Has(ctx context.Context, key uint64) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, key uint64) (*Class, error) HasById(ctx context.Context, id string) (found bool, err error) // GetById returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetById(ctx context.Context, id string) (*Class, error) List(ctx context.Context, prefixKey ClassIndexKey, opts ...ormlist.Option) (ClassIterator, error) ListRange(ctx context.Context, from, to ClassIndexKey, opts ...ormlist.Option) (ClassIterator, error) DeleteBy(ctx context.Context, prefixKey ClassIndexKey) error DeleteRange(ctx context.Context, from, to ClassIndexKey) error // contains filtered or unexported methods }
func NewClassTable ¶
func NewClassTable(db ormtable.Schema) (ClassTable, error)
type CreditType ¶
type CreditType struct { // 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,1,opt,name=abbreviation,proto3" json:"abbreviation,omitempty"` // name is the name of the credit type (e.g. carbon, biodiversity). Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // unit is the measurement unit of the credit type (e.g. kg, ton). Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"` // precision is the decimal precision of the credit type. 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 CreditTypeAbbreviationIndexKey ¶
type CreditTypeAbbreviationIndexKey struct {
// contains filtered or unexported fields
}
func (CreditTypeAbbreviationIndexKey) WithAbbreviation ¶
func (this CreditTypeAbbreviationIndexKey) WithAbbreviation(abbreviation string) CreditTypeAbbreviationIndexKey
type CreditTypeIndexKey ¶
type CreditTypeIndexKey interface {
// contains filtered or unexported methods
}
type CreditTypeIterator ¶
func (CreditTypeIterator) Value ¶
func (i CreditTypeIterator) Value() (*CreditType, error)
type CreditTypeNameIndexKey ¶
type CreditTypeNameIndexKey struct {
// contains filtered or unexported fields
}
func (CreditTypeNameIndexKey) WithName ¶
func (this CreditTypeNameIndexKey) WithName(name string) CreditTypeNameIndexKey
type CreditTypePrimaryKey ¶
type CreditTypePrimaryKey = CreditTypeAbbreviationIndexKey
primary key starting index..
type CreditTypeProposal ¶
type CreditTypeProposal struct { // title is the title of the proposal. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // description is the description of the proposal. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // credit_type is the credit type to be added to the network if the proposal // passes. CreditType *CreditType `protobuf:"bytes,3,opt,name=credit_type,json=creditType,proto3" json:"credit_type,omitempty"` // contains filtered or unexported fields }
CreditTypeProposal is a gov Content type for adding a credit type. Deprecated (Since Revision 2): This message is no longer used and will be removed in the next version. See MsgAddCreditType.
func (*CreditTypeProposal) Descriptor
deprecated
func (*CreditTypeProposal) Descriptor() ([]byte, []int)
Deprecated: Use CreditTypeProposal.ProtoReflect.Descriptor instead.
func (*CreditTypeProposal) GetCreditType ¶
func (x *CreditTypeProposal) GetCreditType() *CreditType
func (*CreditTypeProposal) GetDescription ¶
func (x *CreditTypeProposal) GetDescription() string
func (*CreditTypeProposal) GetTitle ¶
func (x *CreditTypeProposal) GetTitle() string
func (*CreditTypeProposal) ProtoMessage ¶
func (*CreditTypeProposal) ProtoMessage()
func (*CreditTypeProposal) ProtoReflect ¶
func (x *CreditTypeProposal) ProtoReflect() protoreflect.Message
func (*CreditTypeProposal) Reset ¶
func (x *CreditTypeProposal) Reset()
func (*CreditTypeProposal) String ¶
func (x *CreditTypeProposal) String() string
type CreditTypeTable ¶
type CreditTypeTable interface { Insert(ctx context.Context, creditType *CreditType) error Update(ctx context.Context, creditType *CreditType) error Save(ctx context.Context, creditType *CreditType) error Delete(ctx context.Context, creditType *CreditType) error Has(ctx context.Context, abbreviation string) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, abbreviation string) (*CreditType, error) HasByName(ctx context.Context, name string) (found bool, err error) // GetByName returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetByName(ctx context.Context, name string) (*CreditType, error) List(ctx context.Context, prefixKey CreditTypeIndexKey, opts ...ormlist.Option) (CreditTypeIterator, error) ListRange(ctx context.Context, from, to CreditTypeIndexKey, opts ...ormlist.Option) (CreditTypeIterator, error) DeleteBy(ctx context.Context, prefixKey CreditTypeIndexKey) error DeleteRange(ctx context.Context, from, to CreditTypeIndexKey) error // contains filtered or unexported methods }
func NewCreditTypeTable ¶
func NewCreditTypeTable(db ormtable.Schema) (CreditTypeTable, error)
type Credits ¶
type Credits struct { // batch_denom is the denom of the credit batch. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // amount is the amount of credits. Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
Credits represents a simple structure for credits.
func (*Credits) Descriptor
deprecated
func (*Credits) GetBatchDenom ¶
func (*Credits) ProtoMessage ¶
func (*Credits) ProtoMessage()
func (*Credits) ProtoReflect ¶
func (x *Credits) ProtoReflect() protoreflect.Message
type EventAddCreditType ¶
type EventAddCreditType struct { // abbreviation is the abbreviation of the credit type. Abbreviation string `protobuf:"bytes,1,opt,name=abbreviation,proto3" json:"abbreviation,omitempty"` // contains filtered or unexported fields }
EventAddCreditType is emitted when governance approves a new credit type.
func (*EventAddCreditType) Descriptor
deprecated
func (*EventAddCreditType) Descriptor() ([]byte, []int)
Deprecated: Use EventAddCreditType.ProtoReflect.Descriptor instead.
func (*EventAddCreditType) GetAbbreviation ¶
func (x *EventAddCreditType) GetAbbreviation() string
func (*EventAddCreditType) ProtoMessage ¶
func (*EventAddCreditType) ProtoMessage()
func (*EventAddCreditType) ProtoReflect ¶
func (x *EventAddCreditType) ProtoReflect() protoreflect.Message
func (*EventAddCreditType) Reset ¶
func (x *EventAddCreditType) Reset()
func (*EventAddCreditType) String ¶
func (x *EventAddCreditType) String() string
type EventBridge ¶
type EventBridge struct { // target is the target chain. Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // recipient is the recipient address. Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` // contract is the contract address. Contract string `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"` // amount is the amount of credits. Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // owner is the owner address. // // Since Revision 1 Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` // batch_denom is the credit batch denom. // // Since Revision 3 BatchDenom string `protobuf:"bytes,6,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // contains filtered or unexported fields }
EventBridge is emitted when credits are bridged to another chain.
func (*EventBridge) Descriptor
deprecated
func (*EventBridge) Descriptor() ([]byte, []int)
Deprecated: Use EventBridge.ProtoReflect.Descriptor instead.
func (*EventBridge) GetAmount ¶
func (x *EventBridge) GetAmount() string
func (*EventBridge) GetBatchDenom ¶ added in v2.2.0
func (x *EventBridge) GetBatchDenom() string
func (*EventBridge) GetContract ¶
func (x *EventBridge) GetContract() string
func (*EventBridge) GetOwner ¶
func (x *EventBridge) GetOwner() string
func (*EventBridge) GetRecipient ¶
func (x *EventBridge) GetRecipient() string
func (*EventBridge) GetTarget ¶
func (x *EventBridge) GetTarget() string
func (*EventBridge) ProtoMessage ¶
func (*EventBridge) ProtoMessage()
func (*EventBridge) ProtoReflect ¶
func (x *EventBridge) ProtoReflect() protoreflect.Message
func (*EventBridge) Reset ¶
func (x *EventBridge) Reset()
func (*EventBridge) String ¶
func (x *EventBridge) String() string
type EventBridgeReceive ¶
type EventBridgeReceive struct { // project_id is the unique identifier of the project that was either created // or the existing project within which the credit batch exists. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // batch_denom is the unique identifier of the credit batch either created // or within which the credits were dynamically minted. BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // amount is the amount of credits. // // Since Revision 3 Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // origin_tx is the transaction from another chain or registry that triggered // the minting of credits within the credit batch. // // Since Revision 3 OriginTx *OriginTx `protobuf:"bytes,4,opt,name=origin_tx,json=originTx,proto3" json:"origin_tx,omitempty"` // contains filtered or unexported fields }
EventBridgeReceive is emitted when credits are bridged from another chain.
func (*EventBridgeReceive) Descriptor
deprecated
func (*EventBridgeReceive) Descriptor() ([]byte, []int)
Deprecated: Use EventBridgeReceive.ProtoReflect.Descriptor instead.
func (*EventBridgeReceive) GetAmount ¶ added in v2.0.1
func (x *EventBridgeReceive) GetAmount() string
func (*EventBridgeReceive) GetBatchDenom ¶
func (x *EventBridgeReceive) GetBatchDenom() string
func (*EventBridgeReceive) GetOriginTx ¶ added in v2.0.1
func (x *EventBridgeReceive) GetOriginTx() *OriginTx
func (*EventBridgeReceive) GetProjectId ¶
func (x *EventBridgeReceive) GetProjectId() string
func (*EventBridgeReceive) ProtoMessage ¶
func (*EventBridgeReceive) ProtoMessage()
func (*EventBridgeReceive) ProtoReflect ¶
func (x *EventBridgeReceive) ProtoReflect() protoreflect.Message
func (*EventBridgeReceive) Reset ¶
func (x *EventBridgeReceive) Reset()
func (*EventBridgeReceive) String ¶
func (x *EventBridgeReceive) String() string
type EventCancel ¶
type EventCancel struct { // owner is the address of the account that cancelled the credits. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // batch_denom is the unique identifier of the credit batch within which the // credits were cancelled. 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"` // reason is the reason the credits were cancelled. Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,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) GetOwner ¶
func (x *EventCancel) GetOwner() string
func (*EventCancel) GetReason ¶
func (x *EventCancel) GetReason() 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 { // batch_denom is the unique identifier of the credit batch. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // origin_tx is the transaction from another chain or registry that triggered // the creation of the credit batch. OriginTx *OriginTx `protobuf:"bytes,2,opt,name=origin_tx,json=originTx,proto3" json:"origin_tx,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) GetOriginTx ¶
func (x *EventCreateBatch) GetOriginTx() *OriginTx
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 identifier of the credit class. ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,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) 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 identifier of the project. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,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) GetProjectId ¶
func (x *EventCreateProject) GetProjectId() 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 EventMint ¶
type EventMint struct { // batch_denom is the unique identifier of the credit batch within which the // credits were minted. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // tradable_amount is the amount of tradable credits minted. TradableAmount string `protobuf:"bytes,2,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"` // retired_amount is the amount of retired credits minted. RetiredAmount string `protobuf:"bytes,3,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"` // contains filtered or unexported fields }
EventMint is an event emitted when credits are minted either when creating a credit batch or when bridging assets from another chain or registry.
func (*EventMint) Descriptor
deprecated
func (*EventMint) GetBatchDenom ¶
func (*EventMint) GetRetiredAmount ¶
func (*EventMint) GetTradableAmount ¶
func (*EventMint) ProtoMessage ¶
func (*EventMint) ProtoMessage()
func (*EventMint) ProtoReflect ¶
func (x *EventMint) ProtoReflect() protoreflect.Message
type EventMintBatchCredits ¶
type EventMintBatchCredits struct { // batch_denom is the unique identifier of the credit batch within which the // credits were minted. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // origin_tx is the transaction from another chain or registry that triggered // the minting of credits within the credit batch. OriginTx *OriginTx `protobuf:"bytes,2,opt,name=origin_tx,json=originTx,proto3" json:"origin_tx,omitempty"` // contains filtered or unexported fields }
EventMintBatchCredits is an event emitted when credits are minted to an existing open credit batch.
func (*EventMintBatchCredits) Descriptor
deprecated
func (*EventMintBatchCredits) Descriptor() ([]byte, []int)
Deprecated: Use EventMintBatchCredits.ProtoReflect.Descriptor instead.
func (*EventMintBatchCredits) GetBatchDenom ¶
func (x *EventMintBatchCredits) GetBatchDenom() string
func (*EventMintBatchCredits) GetOriginTx ¶
func (x *EventMintBatchCredits) GetOriginTx() *OriginTx
func (*EventMintBatchCredits) ProtoMessage ¶
func (*EventMintBatchCredits) ProtoMessage()
func (*EventMintBatchCredits) ProtoReflect ¶
func (x *EventMintBatchCredits) ProtoReflect() protoreflect.Message
func (*EventMintBatchCredits) Reset ¶
func (x *EventMintBatchCredits) Reset()
func (*EventMintBatchCredits) String ¶
func (x *EventMintBatchCredits) String() string
type EventRetire ¶
type EventRetire struct { // owner is the address of the account that owns the retired credits. This // will be the account receiving credits in the case that credits were retired // upon issuance using Msg/CreateBatch, retired upon transfer using Msg/Send, // retired upon taking from a basket using basket.Msg/Take, or retired upon // purchase using marketplace.Msg/BuyDirect. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // batch_denom is the unique identifier of the credit batch within which the // credits were retired. 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"` // jurisdiction is the jurisdiction 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. Jurisdiction string `protobuf:"bytes,4,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"` // reason is any arbitrary string that specifies the reason for retiring // credits. // // Since Revision 2 Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,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) GetJurisdiction ¶
func (x *EventRetire) GetJurisdiction() string
func (*EventRetire) GetOwner ¶
func (x *EventRetire) GetOwner() string
func (*EventRetire) GetReason ¶
func (x *EventRetire) GetReason() 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 EventSealBatch ¶
type EventSealBatch struct { // batch_denom is the denom of the batch that was sealed. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // contains filtered or unexported fields }
EventSealBatch is emitted when a batch is sealed.
func (*EventSealBatch) Descriptor
deprecated
func (*EventSealBatch) Descriptor() ([]byte, []int)
Deprecated: Use EventSealBatch.ProtoReflect.Descriptor instead.
func (*EventSealBatch) GetBatchDenom ¶
func (x *EventSealBatch) GetBatchDenom() string
func (*EventSealBatch) ProtoMessage ¶
func (*EventSealBatch) ProtoMessage()
func (*EventSealBatch) ProtoReflect ¶
func (x *EventSealBatch) ProtoReflect() protoreflect.Message
func (*EventSealBatch) Reset ¶
func (x *EventSealBatch) Reset()
func (*EventSealBatch) String ¶
func (x *EventSealBatch) String() string
type EventTransfer ¶
type EventTransfer struct { // sender is the sender of the credits. In the case that the credits were // transferred from a base account, this will be the account address. In the // case that the credits were transferred from a module, this will be the // module address (i.e. either the ecocredit module or basket submodule). Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // recipient is the recipient of the credits. In the case that the credits // were transferred to a base account, this will be the account address. In // the case that the credits were transferred to a module, this will be the // module address (i.e. either the ecocredit module or basket submodule). Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` // batch_denom is the unique identifier of the 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 }
EventTransfer is an event emitted when credits are transferred from one account to another including transfers to or from a module account.
func (*EventTransfer) Descriptor
deprecated
func (*EventTransfer) Descriptor() ([]byte, []int)
Deprecated: Use EventTransfer.ProtoReflect.Descriptor instead.
func (*EventTransfer) GetBatchDenom ¶
func (x *EventTransfer) GetBatchDenom() string
func (*EventTransfer) GetRecipient ¶
func (x *EventTransfer) GetRecipient() string
func (*EventTransfer) GetRetiredAmount ¶
func (x *EventTransfer) GetRetiredAmount() string
func (*EventTransfer) GetSender ¶
func (x *EventTransfer) GetSender() string
func (*EventTransfer) GetTradableAmount ¶
func (x *EventTransfer) GetTradableAmount() string
func (*EventTransfer) ProtoMessage ¶
func (*EventTransfer) ProtoMessage()
func (*EventTransfer) ProtoReflect ¶
func (x *EventTransfer) ProtoReflect() protoreflect.Message
func (*EventTransfer) Reset ¶
func (x *EventTransfer) Reset()
func (*EventTransfer) String ¶
func (x *EventTransfer) String() string
type EventUpdateBatchMetadata ¶
type EventUpdateBatchMetadata struct { // batch_denom is the unique identifier of the batch that was updated. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // contains filtered or unexported fields }
EventUpdateBatchMetadata is emitted when the credit batch metadata is changed.
Since Revision 2
func (*EventUpdateBatchMetadata) Descriptor
deprecated
func (*EventUpdateBatchMetadata) Descriptor() ([]byte, []int)
Deprecated: Use EventUpdateBatchMetadata.ProtoReflect.Descriptor instead.
func (*EventUpdateBatchMetadata) GetBatchDenom ¶
func (x *EventUpdateBatchMetadata) GetBatchDenom() string
func (*EventUpdateBatchMetadata) ProtoMessage ¶
func (*EventUpdateBatchMetadata) ProtoMessage()
func (*EventUpdateBatchMetadata) ProtoReflect ¶
func (x *EventUpdateBatchMetadata) ProtoReflect() protoreflect.Message
func (*EventUpdateBatchMetadata) Reset ¶
func (x *EventUpdateBatchMetadata) Reset()
func (*EventUpdateBatchMetadata) String ¶
func (x *EventUpdateBatchMetadata) String() string
type EventUpdateClassAdmin ¶
type EventUpdateClassAdmin struct { // class_id is the unique identifier of the class that was updated. ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // contains filtered or unexported fields }
EventUpdateClassAdmin is emitted when the admin address of a credit class is changed.
func (*EventUpdateClassAdmin) Descriptor
deprecated
func (*EventUpdateClassAdmin) Descriptor() ([]byte, []int)
Deprecated: Use EventUpdateClassAdmin.ProtoReflect.Descriptor instead.
func (*EventUpdateClassAdmin) GetClassId ¶
func (x *EventUpdateClassAdmin) GetClassId() string
func (*EventUpdateClassAdmin) ProtoMessage ¶
func (*EventUpdateClassAdmin) ProtoMessage()
func (*EventUpdateClassAdmin) ProtoReflect ¶
func (x *EventUpdateClassAdmin) ProtoReflect() protoreflect.Message
func (*EventUpdateClassAdmin) Reset ¶
func (x *EventUpdateClassAdmin) Reset()
func (*EventUpdateClassAdmin) String ¶
func (x *EventUpdateClassAdmin) String() string
type EventUpdateClassIssuers ¶
type EventUpdateClassIssuers struct { // class_id is the unique identifier of the class that was updated. ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // contains filtered or unexported fields }
EventUpdateClassIssuers is emitted when the issuer list for a credit class is updated.
func (*EventUpdateClassIssuers) Descriptor
deprecated
func (*EventUpdateClassIssuers) Descriptor() ([]byte, []int)
Deprecated: Use EventUpdateClassIssuers.ProtoReflect.Descriptor instead.
func (*EventUpdateClassIssuers) GetClassId ¶
func (x *EventUpdateClassIssuers) GetClassId() string
func (*EventUpdateClassIssuers) ProtoMessage ¶
func (*EventUpdateClassIssuers) ProtoMessage()
func (*EventUpdateClassIssuers) ProtoReflect ¶
func (x *EventUpdateClassIssuers) ProtoReflect() protoreflect.Message
func (*EventUpdateClassIssuers) Reset ¶
func (x *EventUpdateClassIssuers) Reset()
func (*EventUpdateClassIssuers) String ¶
func (x *EventUpdateClassIssuers) String() string
type EventUpdateClassMetadata ¶
type EventUpdateClassMetadata struct { // class_id is the unique identifier of the class that was updated. ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // contains filtered or unexported fields }
EventUpdateClassMetadata is emitted when the credit class metadata is changed.
func (*EventUpdateClassMetadata) Descriptor
deprecated
func (*EventUpdateClassMetadata) Descriptor() ([]byte, []int)
Deprecated: Use EventUpdateClassMetadata.ProtoReflect.Descriptor instead.
func (*EventUpdateClassMetadata) GetClassId ¶
func (x *EventUpdateClassMetadata) GetClassId() string
func (*EventUpdateClassMetadata) ProtoMessage ¶
func (*EventUpdateClassMetadata) ProtoMessage()
func (*EventUpdateClassMetadata) ProtoReflect ¶
func (x *EventUpdateClassMetadata) ProtoReflect() protoreflect.Message
func (*EventUpdateClassMetadata) Reset ¶
func (x *EventUpdateClassMetadata) Reset()
func (*EventUpdateClassMetadata) String ¶
func (x *EventUpdateClassMetadata) String() string
type EventUpdateProjectAdmin ¶
type EventUpdateProjectAdmin struct { // project_id is the unique identifier of the project that was updated. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
EventUpdateProjectAdmin is emitted when the project admin is changed.
func (*EventUpdateProjectAdmin) Descriptor
deprecated
func (*EventUpdateProjectAdmin) Descriptor() ([]byte, []int)
Deprecated: Use EventUpdateProjectAdmin.ProtoReflect.Descriptor instead.
func (*EventUpdateProjectAdmin) GetProjectId ¶
func (x *EventUpdateProjectAdmin) GetProjectId() string
func (*EventUpdateProjectAdmin) ProtoMessage ¶
func (*EventUpdateProjectAdmin) ProtoMessage()
func (*EventUpdateProjectAdmin) ProtoReflect ¶
func (x *EventUpdateProjectAdmin) ProtoReflect() protoreflect.Message
func (*EventUpdateProjectAdmin) Reset ¶
func (x *EventUpdateProjectAdmin) Reset()
func (*EventUpdateProjectAdmin) String ¶
func (x *EventUpdateProjectAdmin) String() string
type EventUpdateProjectMetadata ¶
type EventUpdateProjectMetadata struct { // project_id is the unique identifier of the project that was updated. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
EventUpdateProjectMetadata is emitted when the project metadata is changed.
func (*EventUpdateProjectMetadata) Descriptor
deprecated
func (*EventUpdateProjectMetadata) Descriptor() ([]byte, []int)
Deprecated: Use EventUpdateProjectMetadata.ProtoReflect.Descriptor instead.
func (*EventUpdateProjectMetadata) GetProjectId ¶
func (x *EventUpdateProjectMetadata) GetProjectId() string
func (*EventUpdateProjectMetadata) ProtoMessage ¶
func (*EventUpdateProjectMetadata) ProtoMessage()
func (*EventUpdateProjectMetadata) ProtoReflect ¶
func (x *EventUpdateProjectMetadata) ProtoReflect() protoreflect.Message
func (*EventUpdateProjectMetadata) Reset ¶
func (x *EventUpdateProjectMetadata) Reset()
func (*EventUpdateProjectMetadata) String ¶
func (x *EventUpdateProjectMetadata) String() string
type MsgAddAllowedBridgeChain ¶
type MsgAddAllowedBridgeChain struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // chain_name is the name of the chain to allow bridging of ecocredits to // (i.e. polygon, ethereum, celo). ChainName string `protobuf:"bytes,2,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` // contains filtered or unexported fields }
MsgAddAllowedBridgeChain is the Msg/AddAllowedBridgeChain request type.
Since Revision 2
func (*MsgAddAllowedBridgeChain) Descriptor
deprecated
func (*MsgAddAllowedBridgeChain) Descriptor() ([]byte, []int)
Deprecated: Use MsgAddAllowedBridgeChain.ProtoReflect.Descriptor instead.
func (*MsgAddAllowedBridgeChain) GetAuthority ¶
func (x *MsgAddAllowedBridgeChain) GetAuthority() string
func (*MsgAddAllowedBridgeChain) GetChainName ¶
func (x *MsgAddAllowedBridgeChain) GetChainName() string
func (*MsgAddAllowedBridgeChain) ProtoMessage ¶
func (*MsgAddAllowedBridgeChain) ProtoMessage()
func (*MsgAddAllowedBridgeChain) ProtoReflect ¶
func (x *MsgAddAllowedBridgeChain) ProtoReflect() protoreflect.Message
func (*MsgAddAllowedBridgeChain) Reset ¶
func (x *MsgAddAllowedBridgeChain) Reset()
func (*MsgAddAllowedBridgeChain) String ¶
func (x *MsgAddAllowedBridgeChain) String() string
type MsgAddAllowedBridgeChainResponse ¶
type MsgAddAllowedBridgeChainResponse struct {
// contains filtered or unexported fields
}
MsgAddAllowedBridgeChainResponse is the Msg/AddAllowedBridgeChain response type.
Since Revision 2
func (*MsgAddAllowedBridgeChainResponse) Descriptor
deprecated
func (*MsgAddAllowedBridgeChainResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgAddAllowedBridgeChainResponse.ProtoReflect.Descriptor instead.
func (*MsgAddAllowedBridgeChainResponse) ProtoMessage ¶
func (*MsgAddAllowedBridgeChainResponse) ProtoMessage()
func (*MsgAddAllowedBridgeChainResponse) ProtoReflect ¶
func (x *MsgAddAllowedBridgeChainResponse) ProtoReflect() protoreflect.Message
func (*MsgAddAllowedBridgeChainResponse) Reset ¶
func (x *MsgAddAllowedBridgeChainResponse) Reset()
func (*MsgAddAllowedBridgeChainResponse) String ¶
func (x *MsgAddAllowedBridgeChainResponse) String() string
type MsgAddClassCreator ¶
type MsgAddClassCreator struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // creator is the address to add to the class creator list. Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` // contains filtered or unexported fields }
MsgAddClassCreator is the Msg/AddClassCreator request type.
Since Revision 2
func (*MsgAddClassCreator) Descriptor
deprecated
func (*MsgAddClassCreator) Descriptor() ([]byte, []int)
Deprecated: Use MsgAddClassCreator.ProtoReflect.Descriptor instead.
func (*MsgAddClassCreator) GetAuthority ¶
func (x *MsgAddClassCreator) GetAuthority() string
func (*MsgAddClassCreator) GetCreator ¶
func (x *MsgAddClassCreator) GetCreator() string
func (*MsgAddClassCreator) ProtoMessage ¶
func (*MsgAddClassCreator) ProtoMessage()
func (*MsgAddClassCreator) ProtoReflect ¶
func (x *MsgAddClassCreator) ProtoReflect() protoreflect.Message
func (*MsgAddClassCreator) Reset ¶
func (x *MsgAddClassCreator) Reset()
func (*MsgAddClassCreator) String ¶
func (x *MsgAddClassCreator) String() string
type MsgAddClassCreatorResponse ¶
type MsgAddClassCreatorResponse struct {
// contains filtered or unexported fields
}
MsgAddClassCreatorResponse is the Msg/AddClassCreator response type.
Since Revision 2
func (*MsgAddClassCreatorResponse) Descriptor
deprecated
func (*MsgAddClassCreatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgAddClassCreatorResponse.ProtoReflect.Descriptor instead.
func (*MsgAddClassCreatorResponse) ProtoMessage ¶
func (*MsgAddClassCreatorResponse) ProtoMessage()
func (*MsgAddClassCreatorResponse) ProtoReflect ¶
func (x *MsgAddClassCreatorResponse) ProtoReflect() protoreflect.Message
func (*MsgAddClassCreatorResponse) Reset ¶
func (x *MsgAddClassCreatorResponse) Reset()
func (*MsgAddClassCreatorResponse) String ¶
func (x *MsgAddClassCreatorResponse) String() string
type MsgAddCreditType ¶
type MsgAddCreditType struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // credit_type defines a credit type to add to the credit types parameter. CreditType *CreditType `protobuf:"bytes,2,opt,name=credit_type,json=creditType,proto3" json:"credit_type,omitempty"` // contains filtered or unexported fields }
MsgAddCreditType is the Msg/AddCreditType request type.
Since Revision 2
func (*MsgAddCreditType) Descriptor
deprecated
func (*MsgAddCreditType) Descriptor() ([]byte, []int)
Deprecated: Use MsgAddCreditType.ProtoReflect.Descriptor instead.
func (*MsgAddCreditType) GetAuthority ¶
func (x *MsgAddCreditType) GetAuthority() string
func (*MsgAddCreditType) GetCreditType ¶
func (x *MsgAddCreditType) GetCreditType() *CreditType
func (*MsgAddCreditType) ProtoMessage ¶
func (*MsgAddCreditType) ProtoMessage()
func (*MsgAddCreditType) ProtoReflect ¶
func (x *MsgAddCreditType) ProtoReflect() protoreflect.Message
func (*MsgAddCreditType) Reset ¶
func (x *MsgAddCreditType) Reset()
func (*MsgAddCreditType) String ¶
func (x *MsgAddCreditType) String() string
type MsgAddCreditTypeResponse ¶
type MsgAddCreditTypeResponse struct {
// contains filtered or unexported fields
}
MsgAddCreditTypeResponse is the Msg/AddCreditType response type.
Since Revision 2
func (*MsgAddCreditTypeResponse) Descriptor
deprecated
func (*MsgAddCreditTypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgAddCreditTypeResponse.ProtoReflect.Descriptor instead.
func (*MsgAddCreditTypeResponse) ProtoMessage ¶
func (*MsgAddCreditTypeResponse) ProtoMessage()
func (*MsgAddCreditTypeResponse) ProtoReflect ¶
func (x *MsgAddCreditTypeResponse) ProtoReflect() protoreflect.Message
func (*MsgAddCreditTypeResponse) Reset ¶
func (x *MsgAddCreditTypeResponse) Reset()
func (*MsgAddCreditTypeResponse) String ¶
func (x *MsgAddCreditTypeResponse) String() string
type MsgBridge ¶
type MsgBridge struct { // owner is the address of the account that owns the credits being bridged. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // target is the name of the target chain or registry. Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // recipient is the address of the account receiving the bridged credits. Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` // credits specifies a credit batch and the number of credits being bridged. Credits []*Credits `protobuf:"bytes,4,rep,name=credits,proto3" json:"credits,omitempty"` // contains filtered or unexported fields }
MsgBridge is the Msg/Bridge request type.
func (*MsgBridge) Descriptor
deprecated
func (*MsgBridge) GetCredits ¶
func (*MsgBridge) GetRecipient ¶
func (*MsgBridge) ProtoMessage ¶
func (*MsgBridge) ProtoMessage()
func (*MsgBridge) ProtoReflect ¶
func (x *MsgBridge) ProtoReflect() protoreflect.Message
type MsgBridgeReceive ¶
type MsgBridgeReceive struct { // issuer is the account address of the service bridging the credits. Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` // class_id is the unique identifier of the credit class within which the // project and credit batch already exist or will be created. ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // project defines the project information for the bridged credits. Project *MsgBridgeReceive_Project `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` // batch defines the credit batch information for the bridged credits. Batch *MsgBridgeReceive_Batch `protobuf:"bytes,4,opt,name=batch,proto3" json:"batch,omitempty"` // origin_tx is a reference to a transaction which caused the transfer from // another chain or registry. OriginTx *OriginTx `protobuf:"bytes,5,opt,name=origin_tx,json=originTx,proto3" json:"origin_tx,omitempty"` // contains filtered or unexported fields }
MsgBridgeReceive is the Msg/BridgeReceive request type.
func (*MsgBridgeReceive) Descriptor
deprecated
func (*MsgBridgeReceive) Descriptor() ([]byte, []int)
Deprecated: Use MsgBridgeReceive.ProtoReflect.Descriptor instead.
func (*MsgBridgeReceive) GetBatch ¶
func (x *MsgBridgeReceive) GetBatch() *MsgBridgeReceive_Batch
func (*MsgBridgeReceive) GetClassId ¶
func (x *MsgBridgeReceive) GetClassId() string
func (*MsgBridgeReceive) GetIssuer ¶
func (x *MsgBridgeReceive) GetIssuer() string
func (*MsgBridgeReceive) GetOriginTx ¶
func (x *MsgBridgeReceive) GetOriginTx() *OriginTx
func (*MsgBridgeReceive) GetProject ¶
func (x *MsgBridgeReceive) GetProject() *MsgBridgeReceive_Project
func (*MsgBridgeReceive) ProtoMessage ¶
func (*MsgBridgeReceive) ProtoMessage()
func (*MsgBridgeReceive) ProtoReflect ¶
func (x *MsgBridgeReceive) ProtoReflect() protoreflect.Message
func (*MsgBridgeReceive) Reset ¶
func (x *MsgBridgeReceive) Reset()
func (*MsgBridgeReceive) String ¶
func (x *MsgBridgeReceive) String() string
type MsgBridgeReceiveResponse ¶
type MsgBridgeReceiveResponse struct { // batch_denom is the unique identifier of the credit batch either created // or within which the credits were dynamically minted. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // project_id is the unique identifier of the project that was either created // or the existing project within which the credit batch exists. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
MsgBridgeReceiveResponse is the Msg/BridgeReceive response type.
func (*MsgBridgeReceiveResponse) Descriptor
deprecated
func (*MsgBridgeReceiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgBridgeReceiveResponse.ProtoReflect.Descriptor instead.
func (*MsgBridgeReceiveResponse) GetBatchDenom ¶
func (x *MsgBridgeReceiveResponse) GetBatchDenom() string
func (*MsgBridgeReceiveResponse) GetProjectId ¶
func (x *MsgBridgeReceiveResponse) GetProjectId() string
func (*MsgBridgeReceiveResponse) ProtoMessage ¶
func (*MsgBridgeReceiveResponse) ProtoMessage()
func (*MsgBridgeReceiveResponse) ProtoReflect ¶
func (x *MsgBridgeReceiveResponse) ProtoReflect() protoreflect.Message
func (*MsgBridgeReceiveResponse) Reset ¶
func (x *MsgBridgeReceiveResponse) Reset()
func (*MsgBridgeReceiveResponse) String ¶
func (x *MsgBridgeReceiveResponse) String() string
type MsgBridgeReceive_Batch ¶
type MsgBridgeReceive_Batch struct { // recipient is the recipient of the bridged credits. Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"` // amount is the amount of credits being bridged. Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // start_date is the beginning of the period during which this credit batch // was quantified and verified. StartDate *timestamppb.Timestamp `protobuf:"bytes,3,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,4,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` // metadata is the metadata for the credit batch. Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Batch defines the credit batch information for the bridged credits. This information will be used to create a credit batch or to dynamically mint credits to an existing credit batch.
func (*MsgBridgeReceive_Batch) Descriptor
deprecated
func (*MsgBridgeReceive_Batch) Descriptor() ([]byte, []int)
Deprecated: Use MsgBridgeReceive_Batch.ProtoReflect.Descriptor instead.
func (*MsgBridgeReceive_Batch) GetAmount ¶
func (x *MsgBridgeReceive_Batch) GetAmount() string
func (*MsgBridgeReceive_Batch) GetEndDate ¶
func (x *MsgBridgeReceive_Batch) GetEndDate() *timestamppb.Timestamp
func (*MsgBridgeReceive_Batch) GetMetadata ¶
func (x *MsgBridgeReceive_Batch) GetMetadata() string
func (*MsgBridgeReceive_Batch) GetRecipient ¶
func (x *MsgBridgeReceive_Batch) GetRecipient() string
func (*MsgBridgeReceive_Batch) GetStartDate ¶
func (x *MsgBridgeReceive_Batch) GetStartDate() *timestamppb.Timestamp
func (*MsgBridgeReceive_Batch) ProtoMessage ¶
func (*MsgBridgeReceive_Batch) ProtoMessage()
func (*MsgBridgeReceive_Batch) ProtoReflect ¶
func (x *MsgBridgeReceive_Batch) ProtoReflect() protoreflect.Message
func (*MsgBridgeReceive_Batch) Reset ¶
func (x *MsgBridgeReceive_Batch) Reset()
func (*MsgBridgeReceive_Batch) String ¶
func (x *MsgBridgeReceive_Batch) String() string
type MsgBridgeReceive_Project ¶
type MsgBridgeReceive_Project struct { // reference_id is the reference id of the project. ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` // jurisdiction is the project jurisdiction. Jurisdiction string `protobuf:"bytes,2,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"` // metadata is the metadata for the project. Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Project defines the project information for the bridged credits. This information will be used to find an existing project or to create a new project if a project with the same reference id does not already exist.
func (*MsgBridgeReceive_Project) Descriptor
deprecated
func (*MsgBridgeReceive_Project) Descriptor() ([]byte, []int)
Deprecated: Use MsgBridgeReceive_Project.ProtoReflect.Descriptor instead.
func (*MsgBridgeReceive_Project) GetJurisdiction ¶
func (x *MsgBridgeReceive_Project) GetJurisdiction() string
func (*MsgBridgeReceive_Project) GetMetadata ¶
func (x *MsgBridgeReceive_Project) GetMetadata() string
func (*MsgBridgeReceive_Project) GetReferenceId ¶
func (x *MsgBridgeReceive_Project) GetReferenceId() string
func (*MsgBridgeReceive_Project) ProtoMessage ¶
func (*MsgBridgeReceive_Project) ProtoMessage()
func (*MsgBridgeReceive_Project) ProtoReflect ¶
func (x *MsgBridgeReceive_Project) ProtoReflect() protoreflect.Message
func (*MsgBridgeReceive_Project) Reset ¶
func (x *MsgBridgeReceive_Project) Reset()
func (*MsgBridgeReceive_Project) String ¶
func (x *MsgBridgeReceive_Project) String() string
type MsgBridgeResponse ¶
type MsgBridgeResponse struct {
// contains filtered or unexported fields
}
MsgBridgeResponse is the Msg/Bridge response type.
func (*MsgBridgeResponse) Descriptor
deprecated
func (*MsgBridgeResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgBridgeResponse.ProtoReflect.Descriptor instead.
func (*MsgBridgeResponse) ProtoMessage ¶
func (*MsgBridgeResponse) ProtoMessage()
func (*MsgBridgeResponse) ProtoReflect ¶
func (x *MsgBridgeResponse) ProtoReflect() protoreflect.Message
func (*MsgBridgeResponse) Reset ¶
func (x *MsgBridgeResponse) Reset()
func (*MsgBridgeResponse) String ¶
func (x *MsgBridgeResponse) String() string
type MsgCancel ¶
type MsgCancel struct { // owner is the address of the account that owns the credits being cancelled. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // credits specifies a credit batch and the number of credits being cancelled. Credits []*Credits `protobuf:"bytes,2,rep,name=credits,proto3" json:"credits,omitempty"` // reason is any arbitrary string that specifies the reason for cancelling // credits. Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
MsgCancel is the Msg/Cancel request type.
func (*MsgCancel) Descriptor
deprecated
func (*MsgCancel) GetCredits ¶
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 MsgClient ¶
type MsgClient interface { // CreateClass creates a new credit class under the given credit type with an // approved list of issuers and optional metadata. If the class fee parameter // is set, the fee field must be populated with equal value. A greater fee can // be provided, however, the creator will only be charged the amount specified // in the fee parameter. The creator of the credit class becomes the admin of // the credit class upon creation. CreateClass(ctx context.Context, in *MsgCreateClass, opts ...grpc.CallOption) (*MsgCreateClassResponse, error) // CreateProject creates a new project under the given credit class with a // jurisdiction, optional metadata, and an optional reference ID. The creator // of the project must be an approved credit class issuer for the given credit // class. The creator becomes the admin of the project upon creation. CreateProject(ctx context.Context, in *MsgCreateProject, opts ...grpc.CallOption) (*MsgCreateProjectResponse, error) // CreateBatch creates a new batch of credits under the given project with a // start and end date representing the monitoring period, a list of credits to // be issued with each issuance specifying a recipient, the amount of tradable // and retired credits, and the retirement jurisdiction (if credits are to be // retired upon receipt), and optional metadata. The credit batch creator must // be listed as an approved issuer within the credit class of the project that // the credits are being issued under. // // The default behavior is for a new credit batch to be "sealed" as opposed to // being "open". When a credit batch is "open", new credits can be dynamically // minted to the credit batch following the creation of the credit batch. This // "open" option should only be set to true when bridging credits from another // chain or registry as a result of a bridge operation and is not intended for // native credit issuance. CreateBatch(ctx context.Context, in *MsgCreateBatch, opts ...grpc.CallOption) (*MsgCreateBatchResponse, error) // MintBatchCredits dynamically mints credits to an "open" credit batch. This // feature is only meant to be used when bridging credits from another chain // or registry and is not intended for native credit issuance. When bridging // credits from the same vintage (or monitoring period) as an existing credit // batch, the credits can be dynamically minted to the existing credit batch // if the credit batch is "open". MintBatchCredits(ctx context.Context, in *MsgMintBatchCredits, opts ...grpc.CallOption) (*MsgMintBatchCreditsResponse, error) // MsgSealBatch seals an "open" credit batch. Once a credit batch is sealed // (i.e. once "open" is set to false), credits can no longer be dynamically // minted to the credit batch. A sealed credit batch cannot be unsealed and // only the credit batch issuer can seal a credit batch. SealBatch(ctx context.Context, in *MsgSealBatch, opts ...grpc.CallOption) (*MsgSealBatchResponse, error) // Send sends a specified amount of tradable credits from the credit owner's // account to another account. Sent credits can either remain tradable or be // retired upon receipt. Send(ctx context.Context, in *MsgSend, opts ...grpc.CallOption) (*MsgSendResponse, error) // Retire retires a specified amount of tradable credits, removing the amount // from the credit owner's tradable balance and adding it to their retired // balance. Retiring credits is permanent and implies the credits are being // consumed as a offset. Retire(ctx context.Context, in *MsgRetire, opts ...grpc.CallOption) (*MsgRetireResponse, error) // Cancel cancels a specified amount of tradable credits, removing the amount // from the credit owner's tradable balance and removing the amount from the // credit batch's tradable supply. Cancelling credits is permanent and implies // the credits have been moved to another chain or registry. Cancel(ctx context.Context, in *MsgCancel, opts ...grpc.CallOption) (*MsgCancelResponse, error) // UpdateClassAdmin updates the credit class admin. Only the admin of the // credit class can update the credit class. UpdateClassAdmin(ctx context.Context, in *MsgUpdateClassAdmin, opts ...grpc.CallOption) (*MsgUpdateClassAdminResponse, error) // UpdateClassIssuers updates the credit class issuer list. Only the admin of // the credit class can update the credit class. UpdateClassIssuers(ctx context.Context, in *MsgUpdateClassIssuers, opts ...grpc.CallOption) (*MsgUpdateClassIssuersResponse, error) // UpdateClassMetadata updates the credit class metadata. Only the admin of // the credit class can update the credit class. UpdateClassMetadata(ctx context.Context, in *MsgUpdateClassMetadata, opts ...grpc.CallOption) (*MsgUpdateClassMetadataResponse, error) // UpdateProjectAdmin updates the project admin address. Only the admin of the // project can update the project. UpdateProjectAdmin(ctx context.Context, in *MsgUpdateProjectAdmin, opts ...grpc.CallOption) (*MsgUpdateProjectAdminResponse, error) // UpdateProjectMetadata updates the project metadata. Only the admin of the // project can update the project. UpdateProjectMetadata(ctx context.Context, in *MsgUpdateProjectMetadata, opts ...grpc.CallOption) (*MsgUpdateProjectMetadataResponse, error) // UpdateBatchMetadata updates the batch metadata. Only an "open" batch can be // updated and only the issuer of the batch can update the batch. // // Since Revision 2 UpdateBatchMetadata(ctx context.Context, in *MsgUpdateBatchMetadata, opts ...grpc.CallOption) (*MsgUpdateBatchMetadataResponse, error) // Bridge processes credits being sent back to the source chain. When credits // are sent back to the source chain, the credits are cancelled and an event // is emitted to be handled by an external bridge service. Bridge(ctx context.Context, in *MsgBridge, opts ...grpc.CallOption) (*MsgBridgeResponse, error) // BridgeReceive processes credits being sent from another chain. When the // credits are sent from the same vintage as an existing credit batch within // the scope of the provided credit class, the credits will be minted to the // existing credit batch, otherwise the credits will be issued in a new credit // batch. The new credit batch will be created under an existing project if a // project with a matching reference id already exists within the scope of the // credit class, otherwise a new project will be created. BridgeReceive(ctx context.Context, in *MsgBridgeReceive, opts ...grpc.CallOption) (*MsgBridgeReceiveResponse, error) // AddCreditType is a governance method that allows the addition of new // credit types to the network. // // Since Revision 2 AddCreditType(ctx context.Context, in *MsgAddCreditType, opts ...grpc.CallOption) (*MsgAddCreditTypeResponse, error) // SetClassCreatorAllowlist is a governance method that updates the class // creator allowlist enabled setting. When enabled, only addresses listed in // the allowlist can create credit classes. When disabled, any address can // create credit classes. // // Since Revision 2 SetClassCreatorAllowlist(ctx context.Context, in *MsgSetClassCreatorAllowlist, opts ...grpc.CallOption) (*MsgSetClassCreatorAllowlistResponse, error) // AddClassCreator is a governance method that allows the addition of a new // address to the class creation allowlist. // // Since Revision 2 AddClassCreator(ctx context.Context, in *MsgAddClassCreator, opts ...grpc.CallOption) (*MsgAddClassCreatorResponse, error) // RemoveClassCreator is a governance method that removes an // address from the class creation allowlist. // // Since Revision 2 RemoveClassCreator(ctx context.Context, in *MsgRemoveClassCreator, opts ...grpc.CallOption) (*MsgRemoveClassCreatorResponse, error) // UpdateClassFee is a governance method that allows for updating the credit // class creation fee. If no fee is specified in the request, the credit // class creation fee will be removed and no fee will be required to create // a credit class. // // Since Revision 2 UpdateClassFee(ctx context.Context, in *MsgUpdateClassFee, opts ...grpc.CallOption) (*MsgUpdateClassFeeResponse, error) // AddAllowedBridgeChain is a governance method that allows for the // addition of a chain to bridge ecocredits to. // // Since Revision 2 AddAllowedBridgeChain(ctx context.Context, in *MsgAddAllowedBridgeChain, opts ...grpc.CallOption) (*MsgAddAllowedBridgeChainResponse, error) // RemoveAllowedBridgeChain is a governance method that allows for the // removal of a chain to bridge ecocredits to. // // Since Revision 2 RemoveAllowedBridgeChain(ctx context.Context, in *MsgRemoveAllowedBridgeChain, opts ...grpc.CallOption) (*MsgRemoveAllowedBridgeChainResponse, 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 MsgCreateBatch ¶
type MsgCreateBatch struct { // issuer is the address of the account issuing the credits and must be an // approved issuer within the credit class of the project. Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` // project_id is the unique identifier of the project under which the credit // batch will be created. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // issuance specifies the amount of tradable and retired credits that will be // issued to each recipient and the jurisdiction in which the credits will be // retired if credits are to be retired upon receipt. Issuance []*BatchIssuance `protobuf:"bytes,3,rep,name=issuance,proto3" json:"issuance,omitempty"` // metadata is any arbitrary string with a maximum length of 256 characters // that includes or references metadata to attach to the credit batch. Metadata string `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"` // open determines whether or not the credits can be dynamically minted to the // credit batch following the creation of the credit batch. This field should // only be set to true when bridging credits from another chain or registry as // a result of a bridge operation and is not intended for native issuance. Open bool `protobuf:"varint,7,opt,name=open,proto3" json:"open,omitempty"` // origin_tx is the transaction from another chain or registry that triggered // the creation of the credit batch. This field can be ignored when natively // issuing credits and should only be set when bridging assets from another // chain or registry as a result of a bridge operation. OriginTx *OriginTx `protobuf:"bytes,8,opt,name=origin_tx,json=originTx,proto3" json:"origin_tx,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() []*BatchIssuance
func (*MsgCreateBatch) GetIssuer ¶
func (x *MsgCreateBatch) GetIssuer() string
func (*MsgCreateBatch) GetMetadata ¶
func (x *MsgCreateBatch) GetMetadata() string
func (*MsgCreateBatch) GetOpen ¶
func (x *MsgCreateBatch) GetOpen() bool
func (*MsgCreateBatch) GetOriginTx ¶
func (x *MsgCreateBatch) GetOriginTx() *OriginTx
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 identifier of the credit 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 MsgCreateClass ¶
type MsgCreateClass struct { // admin is the address of the account creating the credit class that will // become the admin of the credit class upon creation. The admin will have // permissions within the credit class to update the credit class including // the list of approved issuers. If Params.allowlist_enabled is set to true, // this address must be included in Params.allowed_class_creators. Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"` // issuers are the addresses of the accounts that will have permissions within // the credit class to create projects and issue credits. Issuers []string `protobuf:"bytes,2,rep,name=issuers,proto3" json:"issuers,omitempty"` // metadata is any arbitrary string with a maximum length of 256 characters // that includes or references metadata to attach to the credit class. Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // credit_type_abbrev is the abbreviation of the credit type under which the // credit class will be created (e.g. "C", "BIO"). CreditTypeAbbrev string `protobuf:"bytes,4,opt,name=credit_type_abbrev,json=creditTypeAbbrev,proto3" json:"credit_type_abbrev,omitempty"` // fee is the credit class creation fee. An equal fee is required if the class // creation fee parameter is set. The provided fee can be greater than the // parameter, but only the amount in the parameter will be charged. Fee *v1beta1.Coin `protobuf:"bytes,5,opt,name=fee,proto3" json:"fee,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) GetCreditTypeAbbrev ¶
func (x *MsgCreateClass) GetCreditTypeAbbrev() string
func (*MsgCreateClass) GetFee ¶
func (x *MsgCreateClass) GetFee() *v1beta1.Coin
func (*MsgCreateClass) GetIssuers ¶
func (x *MsgCreateClass) GetIssuers() []string
func (*MsgCreateClass) GetMetadata ¶
func (x *MsgCreateClass) GetMetadata() string
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 identifier of the 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 { // admin is the address of the account creating the project that will become // the admin of the project upon creation. The creator of the project must be // an approved issuer within the credit class under which the project is being // created. The admin will have permissions to update the project including // the ability to reassign the admin role to another account. Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"` // class_id is the unique identifier of the credit class under which the // project will be created. ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // metadata is any arbitrary string with a maximum length of 256 characters // that includes or references metadata to attach to the project. Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // jurisdiction is the jurisdiction of the project. A jurisdiction has with // the format: <country-code>[-<sub-national-code>[ <postal-code>]] // The country-code must be 2 alphabetic characters, the sub-national-code // can be 1-3 alphanumeric characters, and the postal-code can be up to 64 // alphanumeric characters. Only the country-code is required, while the // sub-national-code and postal-code are optional and can be added for // increased precision. Jurisdiction string `protobuf:"bytes,4,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"` // reference_id is any arbitrary string used to reference the project with a // maximum length of 32 characters. ReferenceId string `protobuf:"bytes,5,opt,name=reference_id,json=referenceId,proto3" json:"reference_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) GetAdmin ¶
func (x *MsgCreateProject) GetAdmin() string
func (*MsgCreateProject) GetClassId ¶
func (x *MsgCreateProject) GetClassId() string
func (*MsgCreateProject) GetJurisdiction ¶
func (x *MsgCreateProject) GetJurisdiction() string
func (*MsgCreateProject) GetMetadata ¶
func (x *MsgCreateProject) GetMetadata() string
func (*MsgCreateProject) GetReferenceId ¶
func (x *MsgCreateProject) GetReferenceId() 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 unique identifier of the 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 MsgMintBatchCredits ¶
type MsgMintBatchCredits struct { // issuer is the address of the account minting the credits and must be the // same issuer who created the credit batch. Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` // batch_denom is the unique identifier of the credit batch. BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // issuance specifies the amount of tradable and retired credits that will be // issued to each recipient and the jurisdiction in which the credits will be // retired if credits are to be retired upon receipt. Issuance []*BatchIssuance `protobuf:"bytes,3,rep,name=issuance,proto3" json:"issuance,omitempty"` // origin_tx is the transaction from another chain or registry that triggered // the minting of credits. OriginTx *OriginTx `protobuf:"bytes,4,opt,name=origin_tx,json=originTx,proto3" json:"origin_tx,omitempty"` // contains filtered or unexported fields }
MsgMintBatchCredits is the Msg/MintBatchCredits request type.
func (*MsgMintBatchCredits) Descriptor
deprecated
func (*MsgMintBatchCredits) Descriptor() ([]byte, []int)
Deprecated: Use MsgMintBatchCredits.ProtoReflect.Descriptor instead.
func (*MsgMintBatchCredits) GetBatchDenom ¶
func (x *MsgMintBatchCredits) GetBatchDenom() string
func (*MsgMintBatchCredits) GetIssuance ¶
func (x *MsgMintBatchCredits) GetIssuance() []*BatchIssuance
func (*MsgMintBatchCredits) GetIssuer ¶
func (x *MsgMintBatchCredits) GetIssuer() string
func (*MsgMintBatchCredits) GetOriginTx ¶
func (x *MsgMintBatchCredits) GetOriginTx() *OriginTx
func (*MsgMintBatchCredits) ProtoMessage ¶
func (*MsgMintBatchCredits) ProtoMessage()
func (*MsgMintBatchCredits) ProtoReflect ¶
func (x *MsgMintBatchCredits) ProtoReflect() protoreflect.Message
func (*MsgMintBatchCredits) Reset ¶
func (x *MsgMintBatchCredits) Reset()
func (*MsgMintBatchCredits) String ¶
func (x *MsgMintBatchCredits) String() string
type MsgMintBatchCreditsResponse ¶
type MsgMintBatchCreditsResponse struct {
// contains filtered or unexported fields
}
MsgMintBatchCreditsResponse is the Msg/MintBatchCredits response type.
func (*MsgMintBatchCreditsResponse) Descriptor
deprecated
func (*MsgMintBatchCreditsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgMintBatchCreditsResponse.ProtoReflect.Descriptor instead.
func (*MsgMintBatchCreditsResponse) ProtoMessage ¶
func (*MsgMintBatchCreditsResponse) ProtoMessage()
func (*MsgMintBatchCreditsResponse) ProtoReflect ¶
func (x *MsgMintBatchCreditsResponse) ProtoReflect() protoreflect.Message
func (*MsgMintBatchCreditsResponse) Reset ¶
func (x *MsgMintBatchCreditsResponse) Reset()
func (*MsgMintBatchCreditsResponse) String ¶
func (x *MsgMintBatchCreditsResponse) String() string
type MsgRemoveAllowedBridgeChain ¶
type MsgRemoveAllowedBridgeChain struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // chain_name is the name of the chain to remove from the list of allowed // chains to bridge ecocredits to (i.e. polygon, ethereum, celo). ChainName string `protobuf:"bytes,2,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` // contains filtered or unexported fields }
MsgRemoveAllowedBridgeChain is the Msg/RemoveAllowedBridgeChain request type.
Since Revision 2
func (*MsgRemoveAllowedBridgeChain) Descriptor
deprecated
func (*MsgRemoveAllowedBridgeChain) Descriptor() ([]byte, []int)
Deprecated: Use MsgRemoveAllowedBridgeChain.ProtoReflect.Descriptor instead.
func (*MsgRemoveAllowedBridgeChain) GetAuthority ¶
func (x *MsgRemoveAllowedBridgeChain) GetAuthority() string
func (*MsgRemoveAllowedBridgeChain) GetChainName ¶
func (x *MsgRemoveAllowedBridgeChain) GetChainName() string
func (*MsgRemoveAllowedBridgeChain) ProtoMessage ¶
func (*MsgRemoveAllowedBridgeChain) ProtoMessage()
func (*MsgRemoveAllowedBridgeChain) ProtoReflect ¶
func (x *MsgRemoveAllowedBridgeChain) ProtoReflect() protoreflect.Message
func (*MsgRemoveAllowedBridgeChain) Reset ¶
func (x *MsgRemoveAllowedBridgeChain) Reset()
func (*MsgRemoveAllowedBridgeChain) String ¶
func (x *MsgRemoveAllowedBridgeChain) String() string
type MsgRemoveAllowedBridgeChainResponse ¶
type MsgRemoveAllowedBridgeChainResponse struct {
// contains filtered or unexported fields
}
MsgRemoveAllowedBridgeChainResponse is the Msg/RemoveAllowedBridgeChain response type.
Since Revision 2
func (*MsgRemoveAllowedBridgeChainResponse) Descriptor
deprecated
func (*MsgRemoveAllowedBridgeChainResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRemoveAllowedBridgeChainResponse.ProtoReflect.Descriptor instead.
func (*MsgRemoveAllowedBridgeChainResponse) ProtoMessage ¶
func (*MsgRemoveAllowedBridgeChainResponse) ProtoMessage()
func (*MsgRemoveAllowedBridgeChainResponse) ProtoReflect ¶
func (x *MsgRemoveAllowedBridgeChainResponse) ProtoReflect() protoreflect.Message
func (*MsgRemoveAllowedBridgeChainResponse) Reset ¶
func (x *MsgRemoveAllowedBridgeChainResponse) Reset()
func (*MsgRemoveAllowedBridgeChainResponse) String ¶
func (x *MsgRemoveAllowedBridgeChainResponse) String() string
type MsgRemoveClassCreator ¶
type MsgRemoveClassCreator struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // creator is the address to remove from the class creator list. Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` // contains filtered or unexported fields }
MsgRemoveClassCreator is the Msg/RemoveClassCreator request type.
Since Revision 2
func (*MsgRemoveClassCreator) Descriptor
deprecated
func (*MsgRemoveClassCreator) Descriptor() ([]byte, []int)
Deprecated: Use MsgRemoveClassCreator.ProtoReflect.Descriptor instead.
func (*MsgRemoveClassCreator) GetAuthority ¶
func (x *MsgRemoveClassCreator) GetAuthority() string
func (*MsgRemoveClassCreator) GetCreator ¶
func (x *MsgRemoveClassCreator) GetCreator() string
func (*MsgRemoveClassCreator) ProtoMessage ¶
func (*MsgRemoveClassCreator) ProtoMessage()
func (*MsgRemoveClassCreator) ProtoReflect ¶
func (x *MsgRemoveClassCreator) ProtoReflect() protoreflect.Message
func (*MsgRemoveClassCreator) Reset ¶
func (x *MsgRemoveClassCreator) Reset()
func (*MsgRemoveClassCreator) String ¶
func (x *MsgRemoveClassCreator) String() string
type MsgRemoveClassCreatorResponse ¶
type MsgRemoveClassCreatorResponse struct {
// contains filtered or unexported fields
}
MsgRemoveClassCreatorResponse is the Msg/RemoveClasssCreator response type.
Since Revision 2
func (*MsgRemoveClassCreatorResponse) Descriptor
deprecated
func (*MsgRemoveClassCreatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRemoveClassCreatorResponse.ProtoReflect.Descriptor instead.
func (*MsgRemoveClassCreatorResponse) ProtoMessage ¶
func (*MsgRemoveClassCreatorResponse) ProtoMessage()
func (*MsgRemoveClassCreatorResponse) ProtoReflect ¶
func (x *MsgRemoveClassCreatorResponse) ProtoReflect() protoreflect.Message
func (*MsgRemoveClassCreatorResponse) Reset ¶
func (x *MsgRemoveClassCreatorResponse) Reset()
func (*MsgRemoveClassCreatorResponse) String ¶
func (x *MsgRemoveClassCreatorResponse) String() string
type MsgRetire ¶
type MsgRetire struct { // owner is the address of the account that owns the credits being retired. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // credits specifies a credit batch and the number of credits being retired. Credits []*Credits `protobuf:"bytes,2,rep,name=credits,proto3" json:"credits,omitempty"` // jurisdiction is the jurisdiction of the credit owner. A jurisdiction has // the format: <country-code>[-<sub-national-code>[ <postal-code>]] // The country-code must be 2 alphabetic characters, the sub-national-code // can be 1-3 alphanumeric characters, and the postal-code can be up to 64 // alphanumeric characters. Only the country-code is required, while the // sub-national-code and postal-code are optional and can be added for // increased precision. Jurisdiction string `protobuf:"bytes,3,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"` // reason is any arbitrary string that specifies the reason for retiring // credits. // // Since Revision 2 Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
MsgRetire is the Msg/Retire request type.
func (*MsgRetire) Descriptor
deprecated
func (*MsgRetire) GetCredits ¶
func (*MsgRetire) GetJurisdiction ¶
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 MsgSealBatch ¶
type MsgSealBatch struct { // issuer is the address of the account that created the credit batch and the // only account with permissions to seal the credit batch. Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` // batch_denom is the unique identifier of the credit batch. BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // contains filtered or unexported fields }
MsgSealBatch is the Msg/MintBatchCredits request type.
func (*MsgSealBatch) Descriptor
deprecated
func (*MsgSealBatch) Descriptor() ([]byte, []int)
Deprecated: Use MsgSealBatch.ProtoReflect.Descriptor instead.
func (*MsgSealBatch) GetBatchDenom ¶
func (x *MsgSealBatch) GetBatchDenom() string
func (*MsgSealBatch) GetIssuer ¶
func (x *MsgSealBatch) GetIssuer() string
func (*MsgSealBatch) ProtoMessage ¶
func (*MsgSealBatch) ProtoMessage()
func (*MsgSealBatch) ProtoReflect ¶
func (x *MsgSealBatch) ProtoReflect() protoreflect.Message
func (*MsgSealBatch) Reset ¶
func (x *MsgSealBatch) Reset()
func (*MsgSealBatch) String ¶
func (x *MsgSealBatch) String() string
type MsgSealBatchResponse ¶
type MsgSealBatchResponse struct {
// contains filtered or unexported fields
}
MsgSealBatchResponse is the Msg/SealBatch response type.
func (*MsgSealBatchResponse) Descriptor
deprecated
func (*MsgSealBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSealBatchResponse.ProtoReflect.Descriptor instead.
func (*MsgSealBatchResponse) ProtoMessage ¶
func (*MsgSealBatchResponse) ProtoMessage()
func (*MsgSealBatchResponse) ProtoReflect ¶
func (x *MsgSealBatchResponse) ProtoReflect() protoreflect.Message
func (*MsgSealBatchResponse) Reset ¶
func (x *MsgSealBatchResponse) Reset()
func (*MsgSealBatchResponse) String ¶
func (x *MsgSealBatchResponse) 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"` // recipient 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 to the recipient. 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 identifier of the credit batch. BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // tradable_amount is the amount of credits in this transfer that can be // traded by the recipient. The number of decimal places must be less than // or equal to the credit type precision. TradableAmount string `protobuf:"bytes,2,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"` // retired_amount is the amount of credits in this transfer that are retired // upon receipt. The number of decimal places must be less than or equal to // the credit type precision. RetiredAmount string `protobuf:"bytes,3,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"` // retirement_jurisdiction is the jurisdiction of the recipient and is only // required if retired_amount is positive. A jurisdiction has the format: // <country-code>[-<sub-national-code>[ <postal-code>]] // The country-code and sub-national-code must conform to ISO 3166-2 and the // postal-code can be up to 64 alphanumeric characters. Only the // country-code is required, while the sub-national-code and postal-code are // optional and can be added for increased precision. RetirementJurisdiction string `` /* 127-byte string literal not displayed */ // retirement_reason is any arbitrary string that specifies the reason for // retiring credits. This field is only required if retired_amount is // positive. // // Since Revision 2 RetirementReason string `protobuf:"bytes,5,opt,name=retirement_reason,json=retirementReason,proto3" json:"retirement_reason,omitempty"` // contains filtered or unexported fields }
SendCredits specifies the amount of tradable and retired credits of a credit batch that will be sent to the recipient and the jurisdiction in which the credits will be retired upon 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) GetRetirementJurisdiction ¶
func (x *MsgSend_SendCredits) GetRetirementJurisdiction() string
func (*MsgSend_SendCredits) GetRetirementReason ¶
func (x *MsgSend_SendCredits) GetRetirementReason() 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 under the given credit type with an // approved list of issuers and optional metadata. If the class fee parameter // is set, the fee field must be populated with equal value. A greater fee can // be provided, however, the creator will only be charged the amount specified // in the fee parameter. The creator of the credit class becomes the admin of // the credit class upon creation. CreateClass(context.Context, *MsgCreateClass) (*MsgCreateClassResponse, error) // CreateProject creates a new project under the given credit class with a // jurisdiction, optional metadata, and an optional reference ID. The creator // of the project must be an approved credit class issuer for the given credit // class. The creator becomes the admin of the project upon creation. CreateProject(context.Context, *MsgCreateProject) (*MsgCreateProjectResponse, error) // CreateBatch creates a new batch of credits under the given project with a // start and end date representing the monitoring period, a list of credits to // be issued with each issuance specifying a recipient, the amount of tradable // and retired credits, and the retirement jurisdiction (if credits are to be // retired upon receipt), and optional metadata. The credit batch creator must // be listed as an approved issuer within the credit class of the project that // the credits are being issued under. // // The default behavior is for a new credit batch to be "sealed" as opposed to // being "open". When a credit batch is "open", new credits can be dynamically // minted to the credit batch following the creation of the credit batch. This // "open" option should only be set to true when bridging credits from another // chain or registry as a result of a bridge operation and is not intended for // native credit issuance. CreateBatch(context.Context, *MsgCreateBatch) (*MsgCreateBatchResponse, error) // MintBatchCredits dynamically mints credits to an "open" credit batch. This // feature is only meant to be used when bridging credits from another chain // or registry and is not intended for native credit issuance. When bridging // credits from the same vintage (or monitoring period) as an existing credit // batch, the credits can be dynamically minted to the existing credit batch // if the credit batch is "open". MintBatchCredits(context.Context, *MsgMintBatchCredits) (*MsgMintBatchCreditsResponse, error) // MsgSealBatch seals an "open" credit batch. Once a credit batch is sealed // (i.e. once "open" is set to false), credits can no longer be dynamically // minted to the credit batch. A sealed credit batch cannot be unsealed and // only the credit batch issuer can seal a credit batch. SealBatch(context.Context, *MsgSealBatch) (*MsgSealBatchResponse, error) // Send sends a specified amount of tradable credits from the credit owner's // account to another account. Sent credits can either remain tradable or be // retired upon receipt. Send(context.Context, *MsgSend) (*MsgSendResponse, error) // Retire retires a specified amount of tradable credits, removing the amount // from the credit owner's tradable balance and adding it to their retired // balance. Retiring credits is permanent and implies the credits are being // consumed as a offset. Retire(context.Context, *MsgRetire) (*MsgRetireResponse, error) // Cancel cancels a specified amount of tradable credits, removing the amount // from the credit owner's tradable balance and removing the amount from the // credit batch's tradable supply. Cancelling credits is permanent and implies // the credits have been moved to another chain or registry. Cancel(context.Context, *MsgCancel) (*MsgCancelResponse, error) // UpdateClassAdmin updates the credit class admin. Only the admin of the // credit class can update the credit class. UpdateClassAdmin(context.Context, *MsgUpdateClassAdmin) (*MsgUpdateClassAdminResponse, error) // UpdateClassIssuers updates the credit class issuer list. Only the admin of // the credit class can update the credit class. UpdateClassIssuers(context.Context, *MsgUpdateClassIssuers) (*MsgUpdateClassIssuersResponse, error) // UpdateClassMetadata updates the credit class metadata. Only the admin of // the credit class can update the credit class. UpdateClassMetadata(context.Context, *MsgUpdateClassMetadata) (*MsgUpdateClassMetadataResponse, error) // UpdateProjectAdmin updates the project admin address. Only the admin of the // project can update the project. UpdateProjectAdmin(context.Context, *MsgUpdateProjectAdmin) (*MsgUpdateProjectAdminResponse, error) // UpdateProjectMetadata updates the project metadata. Only the admin of the // project can update the project. UpdateProjectMetadata(context.Context, *MsgUpdateProjectMetadata) (*MsgUpdateProjectMetadataResponse, error) // UpdateBatchMetadata updates the batch metadata. Only an "open" batch can be // updated and only the issuer of the batch can update the batch. // // Since Revision 2 UpdateBatchMetadata(context.Context, *MsgUpdateBatchMetadata) (*MsgUpdateBatchMetadataResponse, error) // Bridge processes credits being sent back to the source chain. When credits // are sent back to the source chain, the credits are cancelled and an event // is emitted to be handled by an external bridge service. Bridge(context.Context, *MsgBridge) (*MsgBridgeResponse, error) // BridgeReceive processes credits being sent from another chain. When the // credits are sent from the same vintage as an existing credit batch within // the scope of the provided credit class, the credits will be minted to the // existing credit batch, otherwise the credits will be issued in a new credit // batch. The new credit batch will be created under an existing project if a // project with a matching reference id already exists within the scope of the // credit class, otherwise a new project will be created. BridgeReceive(context.Context, *MsgBridgeReceive) (*MsgBridgeReceiveResponse, error) // AddCreditType is a governance method that allows the addition of new // credit types to the network. // // Since Revision 2 AddCreditType(context.Context, *MsgAddCreditType) (*MsgAddCreditTypeResponse, error) // SetClassCreatorAllowlist is a governance method that updates the class // creator allowlist enabled setting. When enabled, only addresses listed in // the allowlist can create credit classes. When disabled, any address can // create credit classes. // // Since Revision 2 SetClassCreatorAllowlist(context.Context, *MsgSetClassCreatorAllowlist) (*MsgSetClassCreatorAllowlistResponse, error) // AddClassCreator is a governance method that allows the addition of a new // address to the class creation allowlist. // // Since Revision 2 AddClassCreator(context.Context, *MsgAddClassCreator) (*MsgAddClassCreatorResponse, error) // RemoveClassCreator is a governance method that removes an // address from the class creation allowlist. // // Since Revision 2 RemoveClassCreator(context.Context, *MsgRemoveClassCreator) (*MsgRemoveClassCreatorResponse, error) // UpdateClassFee is a governance method that allows for updating the credit // class creation fee. If no fee is specified in the request, the credit // class creation fee will be removed and no fee will be required to create // a credit class. // // Since Revision 2 UpdateClassFee(context.Context, *MsgUpdateClassFee) (*MsgUpdateClassFeeResponse, error) // AddAllowedBridgeChain is a governance method that allows for the // addition of a chain to bridge ecocredits to. // // Since Revision 2 AddAllowedBridgeChain(context.Context, *MsgAddAllowedBridgeChain) (*MsgAddAllowedBridgeChainResponse, error) // RemoveAllowedBridgeChain is a governance method that allows for the // removal of a chain to bridge ecocredits to. // // Since Revision 2 RemoveAllowedBridgeChain(context.Context, *MsgRemoveAllowedBridgeChain) (*MsgRemoveAllowedBridgeChainResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgSetClassCreatorAllowlist ¶
type MsgSetClassCreatorAllowlist struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // enabled defines the boolean value to set the allowlist on or off. Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
MsgSetClassCreatorAllowlist is the Msg/SetClassCreatorAllowlist request type.
Since Revision 2
func (*MsgSetClassCreatorAllowlist) Descriptor
deprecated
func (*MsgSetClassCreatorAllowlist) Descriptor() ([]byte, []int)
Deprecated: Use MsgSetClassCreatorAllowlist.ProtoReflect.Descriptor instead.
func (*MsgSetClassCreatorAllowlist) GetAuthority ¶
func (x *MsgSetClassCreatorAllowlist) GetAuthority() string
func (*MsgSetClassCreatorAllowlist) GetEnabled ¶
func (x *MsgSetClassCreatorAllowlist) GetEnabled() bool
func (*MsgSetClassCreatorAllowlist) ProtoMessage ¶
func (*MsgSetClassCreatorAllowlist) ProtoMessage()
func (*MsgSetClassCreatorAllowlist) ProtoReflect ¶
func (x *MsgSetClassCreatorAllowlist) ProtoReflect() protoreflect.Message
func (*MsgSetClassCreatorAllowlist) Reset ¶
func (x *MsgSetClassCreatorAllowlist) Reset()
func (*MsgSetClassCreatorAllowlist) String ¶
func (x *MsgSetClassCreatorAllowlist) String() string
type MsgSetClassCreatorAllowlistResponse ¶
type MsgSetClassCreatorAllowlistResponse struct {
// contains filtered or unexported fields
}
MsgSetClassCreatorAllowlistResponse is the Msg/SetClassCreatorAllowlist response type.
Since Revision 2
func (*MsgSetClassCreatorAllowlistResponse) Descriptor
deprecated
func (*MsgSetClassCreatorAllowlistResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSetClassCreatorAllowlistResponse.ProtoReflect.Descriptor instead.
func (*MsgSetClassCreatorAllowlistResponse) ProtoMessage ¶
func (*MsgSetClassCreatorAllowlistResponse) ProtoMessage()
func (*MsgSetClassCreatorAllowlistResponse) ProtoReflect ¶
func (x *MsgSetClassCreatorAllowlistResponse) ProtoReflect() protoreflect.Message
func (*MsgSetClassCreatorAllowlistResponse) Reset ¶
func (x *MsgSetClassCreatorAllowlistResponse) Reset()
func (*MsgSetClassCreatorAllowlistResponse) String ¶
func (x *MsgSetClassCreatorAllowlistResponse) String() string
type MsgUpdateBatchMetadata ¶
type MsgUpdateBatchMetadata struct { // issuer is the address of the account that is the issuer of the batch. Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` // batch_denom is the unique identifier of the batch. BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"` // new_metadata is new metadata that will replace the existing metadata. It // can be any arbitrary string with a maximum length of 256 characters that // includes or references the metadata to attach to the batch. NewMetadata string `protobuf:"bytes,3,opt,name=new_metadata,json=newMetadata,proto3" json:"new_metadata,omitempty"` // contains filtered or unexported fields }
MsgUpdateBatchMetadata is the Msg/UpdateBatchMetadata request type.
Since Revision 2
func (*MsgUpdateBatchMetadata) Descriptor
deprecated
func (*MsgUpdateBatchMetadata) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateBatchMetadata.ProtoReflect.Descriptor instead.
func (*MsgUpdateBatchMetadata) GetBatchDenom ¶
func (x *MsgUpdateBatchMetadata) GetBatchDenom() string
func (*MsgUpdateBatchMetadata) GetIssuer ¶
func (x *MsgUpdateBatchMetadata) GetIssuer() string
func (*MsgUpdateBatchMetadata) GetNewMetadata ¶
func (x *MsgUpdateBatchMetadata) GetNewMetadata() string
func (*MsgUpdateBatchMetadata) ProtoMessage ¶
func (*MsgUpdateBatchMetadata) ProtoMessage()
func (*MsgUpdateBatchMetadata) ProtoReflect ¶
func (x *MsgUpdateBatchMetadata) ProtoReflect() protoreflect.Message
func (*MsgUpdateBatchMetadata) Reset ¶
func (x *MsgUpdateBatchMetadata) Reset()
func (*MsgUpdateBatchMetadata) String ¶
func (x *MsgUpdateBatchMetadata) String() string
type MsgUpdateBatchMetadataResponse ¶
type MsgUpdateBatchMetadataResponse struct {
// contains filtered or unexported fields
}
MsgUpdateBatchMetadataResponse is the Msg/UpdateBatchMetadataResponse response type.
Since Revision 2
func (*MsgUpdateBatchMetadataResponse) Descriptor
deprecated
func (*MsgUpdateBatchMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateBatchMetadataResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateBatchMetadataResponse) ProtoMessage ¶
func (*MsgUpdateBatchMetadataResponse) ProtoMessage()
func (*MsgUpdateBatchMetadataResponse) ProtoReflect ¶
func (x *MsgUpdateBatchMetadataResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateBatchMetadataResponse) Reset ¶
func (x *MsgUpdateBatchMetadataResponse) Reset()
func (*MsgUpdateBatchMetadataResponse) String ¶
func (x *MsgUpdateBatchMetadataResponse) String() string
type MsgUpdateClassAdmin ¶
type MsgUpdateClassAdmin struct { // admin is the address of the account that is currently the admin of the // credit class. Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"` // class_id is the unique identifier 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 account that will become 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 MsgUpdateClassFee ¶
type MsgUpdateClassFee struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // fee is the credit class creation fee. If not set, the credit class creation // fee will be removed and no fee will be required to create a credit class. Fee *v1beta1.Coin `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` // contains filtered or unexported fields }
MsgUpdateClassFee is the Msg/UpdateClassFee request type.
Since Revision 2
func (*MsgUpdateClassFee) Descriptor
deprecated
func (*MsgUpdateClassFee) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateClassFee.ProtoReflect.Descriptor instead.
func (*MsgUpdateClassFee) GetAuthority ¶
func (x *MsgUpdateClassFee) GetAuthority() string
func (*MsgUpdateClassFee) GetFee ¶
func (x *MsgUpdateClassFee) GetFee() *v1beta1.Coin
func (*MsgUpdateClassFee) ProtoMessage ¶
func (*MsgUpdateClassFee) ProtoMessage()
func (*MsgUpdateClassFee) ProtoReflect ¶
func (x *MsgUpdateClassFee) ProtoReflect() protoreflect.Message
func (*MsgUpdateClassFee) Reset ¶
func (x *MsgUpdateClassFee) Reset()
func (*MsgUpdateClassFee) String ¶
func (x *MsgUpdateClassFee) String() string
type MsgUpdateClassFeeResponse ¶
type MsgUpdateClassFeeResponse struct {
// contains filtered or unexported fields
}
MsgUpdateClassFeeResponse is the Msg/UpdateClassFee response type.
Since Revision 2
func (*MsgUpdateClassFeeResponse) Descriptor
deprecated
func (*MsgUpdateClassFeeResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateClassFeeResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateClassFeeResponse) ProtoMessage ¶
func (*MsgUpdateClassFeeResponse) ProtoMessage()
func (*MsgUpdateClassFeeResponse) ProtoReflect ¶
func (x *MsgUpdateClassFeeResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateClassFeeResponse) Reset ¶
func (x *MsgUpdateClassFeeResponse) Reset()
func (*MsgUpdateClassFeeResponse) String ¶
func (x *MsgUpdateClassFeeResponse) 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 identifier of the credit class. ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // add_issuers are the addresses of the accounts that will be added to the // list of approved credit class issuers. AddIssuers []string `protobuf:"bytes,3,rep,name=add_issuers,json=addIssuers,proto3" json:"add_issuers,omitempty"` // remove_issuers are the addresses of the accounts that will be removed from // the list of approved credit class issuers. RemoveIssuers []string `protobuf:"bytes,4,rep,name=remove_issuers,json=removeIssuers,proto3" json:"remove_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) GetAddIssuers ¶
func (x *MsgUpdateClassIssuers) GetAddIssuers() []string
func (*MsgUpdateClassIssuers) GetAdmin ¶
func (x *MsgUpdateClassIssuers) GetAdmin() string
func (*MsgUpdateClassIssuers) GetClassId ¶
func (x *MsgUpdateClassIssuers) GetClassId() string
func (*MsgUpdateClassIssuers) GetRemoveIssuers ¶
func (x *MsgUpdateClassIssuers) GetRemoveIssuers() []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 identifier of the credit class. ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // new_metadata is new metadata that will replace the existing metadata. It // can be any arbitrary string with a maximum length of 256 characters that // includes or references the metadata to attach to the credit class. NewMetadata string `protobuf:"bytes,3,opt,name=new_metadata,json=newMetadata,proto3" json:"new_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) GetNewMetadata ¶
func (x *MsgUpdateClassMetadata) GetNewMetadata() string
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 Msg/UpdateClassMetadata 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 MsgUpdateProjectAdmin ¶
type MsgUpdateProjectAdmin struct { // admin is the address of the account that is the currently the admin of the // project. Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"` // project_id is the unique identifier of the project. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // new_admin is the address of the account that will become the new admin of // the project. NewAdmin string `protobuf:"bytes,3,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty"` // contains filtered or unexported fields }
MsgUpdateProjectAdmin is the Msg/UpdateProjectAdmin request type.
func (*MsgUpdateProjectAdmin) Descriptor
deprecated
func (*MsgUpdateProjectAdmin) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateProjectAdmin.ProtoReflect.Descriptor instead.
func (*MsgUpdateProjectAdmin) GetAdmin ¶
func (x *MsgUpdateProjectAdmin) GetAdmin() string
func (*MsgUpdateProjectAdmin) GetNewAdmin ¶
func (x *MsgUpdateProjectAdmin) GetNewAdmin() string
func (*MsgUpdateProjectAdmin) GetProjectId ¶
func (x *MsgUpdateProjectAdmin) GetProjectId() string
func (*MsgUpdateProjectAdmin) ProtoMessage ¶
func (*MsgUpdateProjectAdmin) ProtoMessage()
func (*MsgUpdateProjectAdmin) ProtoReflect ¶
func (x *MsgUpdateProjectAdmin) ProtoReflect() protoreflect.Message
func (*MsgUpdateProjectAdmin) Reset ¶
func (x *MsgUpdateProjectAdmin) Reset()
func (*MsgUpdateProjectAdmin) String ¶
func (x *MsgUpdateProjectAdmin) String() string
type MsgUpdateProjectAdminResponse ¶
type MsgUpdateProjectAdminResponse struct {
// contains filtered or unexported fields
}
MsgUpdateProjectAdmin is the Msg/UpdateProjectAdmin response type.
func (*MsgUpdateProjectAdminResponse) Descriptor
deprecated
func (*MsgUpdateProjectAdminResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateProjectAdminResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateProjectAdminResponse) ProtoMessage ¶
func (*MsgUpdateProjectAdminResponse) ProtoMessage()
func (*MsgUpdateProjectAdminResponse) ProtoReflect ¶
func (x *MsgUpdateProjectAdminResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateProjectAdminResponse) Reset ¶
func (x *MsgUpdateProjectAdminResponse) Reset()
func (*MsgUpdateProjectAdminResponse) String ¶
func (x *MsgUpdateProjectAdminResponse) String() string
type MsgUpdateProjectMetadata ¶
type MsgUpdateProjectMetadata struct { // admin is the address of the account that is the admin of the project. Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"` // project_id is the unique identifier of the project. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // new_metadata is new metadata that will replace the existing metadata. It // can be any arbitrary string with a maximum length of 256 characters that // includes or references the metadata to attach to the project. NewMetadata string `protobuf:"bytes,3,opt,name=new_metadata,json=newMetadata,proto3" json:"new_metadata,omitempty"` // contains filtered or unexported fields }
MsgUpdateProjectMetadata is the Msg/UpdateProjectMetadata request type.
func (*MsgUpdateProjectMetadata) Descriptor
deprecated
func (*MsgUpdateProjectMetadata) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateProjectMetadata.ProtoReflect.Descriptor instead.
func (*MsgUpdateProjectMetadata) GetAdmin ¶
func (x *MsgUpdateProjectMetadata) GetAdmin() string
func (*MsgUpdateProjectMetadata) GetNewMetadata ¶
func (x *MsgUpdateProjectMetadata) GetNewMetadata() string
func (*MsgUpdateProjectMetadata) GetProjectId ¶
func (x *MsgUpdateProjectMetadata) GetProjectId() string
func (*MsgUpdateProjectMetadata) ProtoMessage ¶
func (*MsgUpdateProjectMetadata) ProtoMessage()
func (*MsgUpdateProjectMetadata) ProtoReflect ¶
func (x *MsgUpdateProjectMetadata) ProtoReflect() protoreflect.Message
func (*MsgUpdateProjectMetadata) Reset ¶
func (x *MsgUpdateProjectMetadata) Reset()
func (*MsgUpdateProjectMetadata) String ¶
func (x *MsgUpdateProjectMetadata) String() string
type MsgUpdateProjectMetadataResponse ¶
type MsgUpdateProjectMetadataResponse struct {
// contains filtered or unexported fields
}
MsgUpdateProjectMetadataResponse is the Msg/UpdateProjectMetadataResponse response type.
func (*MsgUpdateProjectMetadataResponse) Descriptor
deprecated
func (*MsgUpdateProjectMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateProjectMetadataResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateProjectMetadataResponse) ProtoMessage ¶
func (*MsgUpdateProjectMetadataResponse) ProtoMessage()
func (*MsgUpdateProjectMetadataResponse) ProtoReflect ¶
func (x *MsgUpdateProjectMetadataResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateProjectMetadataResponse) Reset ¶
func (x *MsgUpdateProjectMetadataResponse) Reset()
func (*MsgUpdateProjectMetadataResponse) String ¶
func (x *MsgUpdateProjectMetadataResponse) String() string
type OriginTx ¶
type OriginTx struct { // id is the transaction ID of an originating transaction or operation based // on a type (i.e. transaction ID, serial number). Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // source is the source chain or registry of the transaction originating the // mint process (e.g. polygon, ethereum, verra). Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // contract is the address of the contract on the source chain that was // executed when creating the transaction. This address will be stored in // state separately from the origin tx and on a per credit batch basis to be // used when sending credits back to the source chain. This field can be left // blank if credits are bridged from a non-contract-based source. Contract string `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"` // note is a reference note for accounting that will be included in an event // emitted from either Msg/CreateBatch or Msg/MintBatchCredits. Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"` // contains filtered or unexported fields }
OriginTx is the transaction from another chain or registry that triggered the minting of credits.
func (*OriginTx) Descriptor
deprecated
func (*OriginTx) GetContract ¶
func (*OriginTx) ProtoMessage ¶
func (*OriginTx) ProtoMessage()
func (*OriginTx) ProtoReflect ¶
func (x *OriginTx) ProtoReflect() protoreflect.Message
type OriginTxIndex ¶
type OriginTxIndex struct { // class_key is the table row identifier of the credit class within which the // credits were issued or minted. The class_key is included within the index // to prevent malicious credit class issuers from blocking bridge operations // taking place within another credit class. ClassKey uint64 `protobuf:"varint,1,opt,name=class_key,json=classKey,proto3" json:"class_key,omitempty"` // id is the transaction ID of an originating transaction or operation // based on a type (i.e. transaction ID, serial number). Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // source is the source chain or registry of the transaction originating // the mint process (e.g. polygon, ethereum, verra). Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
OriginTxIndex indexes the transaction ID and source from the OriginTx included in Msg/CreateBatch and Msg/MintBatchCredits to prevent double minting errors. The index is scoped to a credit class (it includes the class_key) to prevent malicious credit class issuers from blocking any bridge operations taking place within another credit class.
func (*OriginTxIndex) Descriptor
deprecated
func (*OriginTxIndex) Descriptor() ([]byte, []int)
Deprecated: Use OriginTxIndex.ProtoReflect.Descriptor instead.
func (*OriginTxIndex) GetClassKey ¶
func (x *OriginTxIndex) GetClassKey() uint64
func (*OriginTxIndex) GetId ¶
func (x *OriginTxIndex) GetId() string
func (*OriginTxIndex) GetSource ¶
func (x *OriginTxIndex) GetSource() string
func (*OriginTxIndex) ProtoMessage ¶
func (*OriginTxIndex) ProtoMessage()
func (*OriginTxIndex) ProtoReflect ¶
func (x *OriginTxIndex) ProtoReflect() protoreflect.Message
func (*OriginTxIndex) Reset ¶
func (x *OriginTxIndex) Reset()
func (*OriginTxIndex) String ¶
func (x *OriginTxIndex) String() string
type OriginTxIndexClassKeyIdSourceIndexKey ¶
type OriginTxIndexClassKeyIdSourceIndexKey struct {
// contains filtered or unexported fields
}
func (OriginTxIndexClassKeyIdSourceIndexKey) WithClassKey ¶
func (this OriginTxIndexClassKeyIdSourceIndexKey) WithClassKey(class_key uint64) OriginTxIndexClassKeyIdSourceIndexKey
func (OriginTxIndexClassKeyIdSourceIndexKey) WithClassKeyId ¶
func (this OriginTxIndexClassKeyIdSourceIndexKey) WithClassKeyId(class_key uint64, id string) OriginTxIndexClassKeyIdSourceIndexKey
func (OriginTxIndexClassKeyIdSourceIndexKey) WithClassKeyIdSource ¶
func (this OriginTxIndexClassKeyIdSourceIndexKey) WithClassKeyIdSource(class_key uint64, id string, source string) OriginTxIndexClassKeyIdSourceIndexKey
type OriginTxIndexIndexKey ¶
type OriginTxIndexIndexKey interface {
// contains filtered or unexported methods
}
type OriginTxIndexIterator ¶
func (OriginTxIndexIterator) Value ¶
func (i OriginTxIndexIterator) Value() (*OriginTxIndex, error)
type OriginTxIndexPrimaryKey ¶
type OriginTxIndexPrimaryKey = OriginTxIndexClassKeyIdSourceIndexKey
primary key starting index..
type OriginTxIndexTable ¶
type OriginTxIndexTable interface { Insert(ctx context.Context, originTxIndex *OriginTxIndex) error Update(ctx context.Context, originTxIndex *OriginTxIndex) error Save(ctx context.Context, originTxIndex *OriginTxIndex) error Delete(ctx context.Context, originTxIndex *OriginTxIndex) error Has(ctx context.Context, class_key uint64, id string, source string) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, class_key uint64, id string, source string) (*OriginTxIndex, error) List(ctx context.Context, prefixKey OriginTxIndexIndexKey, opts ...ormlist.Option) (OriginTxIndexIterator, error) ListRange(ctx context.Context, from, to OriginTxIndexIndexKey, opts ...ormlist.Option) (OriginTxIndexIterator, error) DeleteBy(ctx context.Context, prefixKey OriginTxIndexIndexKey) error DeleteRange(ctx context.Context, from, to OriginTxIndexIndexKey) error // contains filtered or unexported methods }
func NewOriginTxIndexTable ¶
func NewOriginTxIndexTable(db ormtable.Schema) (OriginTxIndexTable, error)
type Params ¶
type Params struct { // credit_class_fee is a list of credit class creation fees accepted when // creating a credit class. Any fee listed is accepted and charged to the // credit class creator when creating a credit class. CreditClassFee []*v1beta1.Coin `protobuf:"bytes,1,rep,name=credit_class_fee,json=creditClassFee,proto3" json:"credit_class_fee,omitempty"` // basket_fee is a list of basket creation fees accepted when creating a // basket. Any fee listed is accepted and charged to the basket creator when // creating a basket. BasketFee []*v1beta1.Coin `protobuf:"bytes,2,rep,name=basket_fee,json=basketFee,proto3" json:"basket_fee,omitempty"` // allowed_class_creators is an allowlist defining the addresses with the // required permissions to create credit classes when allowlist_enabled is set // to true. If allowlist_enabled is set to false, this list has no effect. AllowedClassCreators []string `protobuf:"bytes,3,rep,name=allowed_class_creators,json=allowedClassCreators,proto3" json:"allowed_class_creators,omitempty"` // allowlist_enabled determines whether or not the allowlist for creating // credit classes is enabled. When set to true, only the addresses listed in // allowed_class_creators can create credit classes. When set to false, any // address can create credit classes. AllowlistEnabled bool `protobuf:"varint,4,opt,name=allowlist_enabled,json=allowlistEnabled,proto3" json:"allowlist_enabled,omitempty"` // allowed_denoms is a list of bank denoms allowed to be used in the ask price // of sell orders. // // Since Revision 2 AllowedDenoms []*AllowedDenom `protobuf:"bytes,5,rep,name=allowed_denoms,json=allowedDenoms,proto3" json:"allowed_denoms,omitempty"` // AllowedBridgeChains is a list of chain names that are allowed to be used in // bridge operations. // // Since Revision 2 AllowedBridgeChains []string `protobuf:"bytes,6,rep,name=allowed_bridge_chains,json=allowedBridgeChains,proto3" json:"allowed_bridge_chains,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) GetAllowedBridgeChains ¶
func (*Params) GetAllowedClassCreators ¶
func (*Params) GetAllowedDenoms ¶
func (x *Params) GetAllowedDenoms() []*AllowedDenom
func (*Params) GetAllowlistEnabled ¶
func (*Params) GetBasketFee ¶
func (*Params) GetCreditClassFee ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type Project ¶
type Project struct { // key is the table row identifier of the project used internally for // efficient lookups. This identifier is auto-incrementing. Key uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"` // id is the unique identifier of the project either auto-generated from the // credit class id and project sequence number or provided upon creation. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // admin is the admin of the project. Admin []byte `protobuf:"bytes,3,opt,name=admin,proto3" json:"admin,omitempty"` // class_key is the table row identifier of the credit class used internally // for efficient lookups. This links a project to a credit class. ClassKey uint64 `protobuf:"varint,4,opt,name=class_key,json=classKey,proto3" json:"class_key,omitempty"` // jurisdiction is the jurisdiction of the project. // Full documentation can be found in MsgCreateProject.jurisdiction. Jurisdiction string `protobuf:"bytes,5,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"` // metadata is any arbitrary metadata attached to the project. Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // reference_id is any arbitrary string used to reference the project. ReferenceId string `protobuf:"bytes,7,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` // contains filtered or unexported fields }
Project represents the high-level on-chain information for a project.
func (*Project) Descriptor
deprecated
func (*Project) GetClassKey ¶
func (*Project) GetJurisdiction ¶
func (*Project) GetMetadata ¶
func (*Project) GetReferenceId ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ProjectAdminIndexKey ¶
type ProjectAdminIndexKey struct {
// contains filtered or unexported fields
}
func (ProjectAdminIndexKey) WithAdmin ¶
func (this ProjectAdminIndexKey) WithAdmin(admin []byte) ProjectAdminIndexKey
type ProjectClassKeyIdIndexKey ¶
type ProjectClassKeyIdIndexKey struct {
// contains filtered or unexported fields
}
func (ProjectClassKeyIdIndexKey) WithClassKey ¶
func (this ProjectClassKeyIdIndexKey) WithClassKey(class_key uint64) ProjectClassKeyIdIndexKey
func (ProjectClassKeyIdIndexKey) WithClassKeyId ¶
func (this ProjectClassKeyIdIndexKey) WithClassKeyId(class_key uint64, id string) ProjectClassKeyIdIndexKey
type ProjectClassKeyReferenceIdIndexKey ¶
type ProjectClassKeyReferenceIdIndexKey struct {
// contains filtered or unexported fields
}
func (ProjectClassKeyReferenceIdIndexKey) WithClassKey ¶
func (this ProjectClassKeyReferenceIdIndexKey) WithClassKey(class_key uint64) ProjectClassKeyReferenceIdIndexKey
func (ProjectClassKeyReferenceIdIndexKey) WithClassKeyReferenceId ¶
func (this ProjectClassKeyReferenceIdIndexKey) WithClassKeyReferenceId(class_key uint64, reference_id string) ProjectClassKeyReferenceIdIndexKey
type ProjectIdIndexKey ¶
type ProjectIdIndexKey struct {
// contains filtered or unexported fields
}
func (ProjectIdIndexKey) WithId ¶
func (this ProjectIdIndexKey) WithId(id string) ProjectIdIndexKey
type ProjectIndexKey ¶
type ProjectIndexKey interface {
// contains filtered or unexported methods
}
type ProjectInfo ¶
type ProjectInfo struct { // id is the unique identifier of the project. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // admin is the admin of the project. Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"` // class_id is the unique identifier of the credit class within which the // project was created. ClassId string `protobuf:"bytes,3,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // jurisdiction is the jurisdiction of the project. Full documentation can be // found in MsgCreateProject.jurisdiction. Jurisdiction string `protobuf:"bytes,4,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"` // metadata is the arbitrary metadata attached to the project. Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // reference_id is any arbitrary string that can be use to reference project. ReferenceId string `protobuf:"bytes,6,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` // contains filtered or unexported fields }
ProjectInfo is the human-readable project information.
func (*ProjectInfo) Descriptor
deprecated
func (*ProjectInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProjectInfo.ProtoReflect.Descriptor instead.
func (*ProjectInfo) GetAdmin ¶
func (x *ProjectInfo) GetAdmin() string
func (*ProjectInfo) GetClassId ¶
func (x *ProjectInfo) GetClassId() string
func (*ProjectInfo) GetId ¶
func (x *ProjectInfo) GetId() string
func (*ProjectInfo) GetJurisdiction ¶
func (x *ProjectInfo) GetJurisdiction() string
func (*ProjectInfo) GetMetadata ¶
func (x *ProjectInfo) GetMetadata() string
func (*ProjectInfo) GetReferenceId ¶
func (x *ProjectInfo) GetReferenceId() 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 ProjectIterator ¶
func (ProjectIterator) Value ¶
func (i ProjectIterator) Value() (*Project, error)
type ProjectKeyIndexKey ¶
type ProjectKeyIndexKey struct {
// contains filtered or unexported fields
}
func (ProjectKeyIndexKey) WithKey ¶
func (this ProjectKeyIndexKey) WithKey(key uint64) ProjectKeyIndexKey
type ProjectReferenceIdIndexKey ¶
type ProjectReferenceIdIndexKey struct {
// contains filtered or unexported fields
}
func (ProjectReferenceIdIndexKey) WithReferenceId ¶
func (this ProjectReferenceIdIndexKey) WithReferenceId(reference_id string) ProjectReferenceIdIndexKey
type ProjectSequence ¶
type ProjectSequence struct { // class_key is the table row identifier of the credit class used internally // for efficient lookups. This links a project sequence to a credit class. ClassKey uint64 `protobuf:"varint,1,opt,name=class_key,json=classKey,proto3" json:"class_key,omitempty"` // next_sequence is the next sequence number for a project within the credit // class. The sequence number is used to generate a project id. NextSequence uint64 `protobuf:"varint,2,opt,name=next_sequence,json=nextSequence,proto3" json:"next_sequence,omitempty"` // contains filtered or unexported fields }
ProjectSequence stores and increments the sequence number for projects within a credit class.
func (*ProjectSequence) Descriptor
deprecated
func (*ProjectSequence) Descriptor() ([]byte, []int)
Deprecated: Use ProjectSequence.ProtoReflect.Descriptor instead.
func (*ProjectSequence) GetClassKey ¶
func (x *ProjectSequence) GetClassKey() uint64
func (*ProjectSequence) GetNextSequence ¶
func (x *ProjectSequence) GetNextSequence() uint64
func (*ProjectSequence) ProtoMessage ¶
func (*ProjectSequence) ProtoMessage()
func (*ProjectSequence) ProtoReflect ¶
func (x *ProjectSequence) ProtoReflect() protoreflect.Message
func (*ProjectSequence) Reset ¶
func (x *ProjectSequence) Reset()
func (*ProjectSequence) String ¶
func (x *ProjectSequence) String() string
type ProjectSequenceClassKeyIndexKey ¶
type ProjectSequenceClassKeyIndexKey struct {
// contains filtered or unexported fields
}
func (ProjectSequenceClassKeyIndexKey) WithClassKey ¶
func (this ProjectSequenceClassKeyIndexKey) WithClassKey(class_key uint64) ProjectSequenceClassKeyIndexKey
type ProjectSequenceIndexKey ¶
type ProjectSequenceIndexKey interface {
// contains filtered or unexported methods
}
type ProjectSequenceIterator ¶
func (ProjectSequenceIterator) Value ¶
func (i ProjectSequenceIterator) Value() (*ProjectSequence, error)
type ProjectSequencePrimaryKey ¶
type ProjectSequencePrimaryKey = ProjectSequenceClassKeyIndexKey
primary key starting index..
type ProjectSequenceTable ¶
type ProjectSequenceTable interface { Insert(ctx context.Context, projectSequence *ProjectSequence) error Update(ctx context.Context, projectSequence *ProjectSequence) error Save(ctx context.Context, projectSequence *ProjectSequence) error Delete(ctx context.Context, projectSequence *ProjectSequence) error Has(ctx context.Context, class_key uint64) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, class_key uint64) (*ProjectSequence, error) List(ctx context.Context, prefixKey ProjectSequenceIndexKey, opts ...ormlist.Option) (ProjectSequenceIterator, error) ListRange(ctx context.Context, from, to ProjectSequenceIndexKey, opts ...ormlist.Option) (ProjectSequenceIterator, error) DeleteBy(ctx context.Context, prefixKey ProjectSequenceIndexKey) error DeleteRange(ctx context.Context, from, to ProjectSequenceIndexKey) error // contains filtered or unexported methods }
func NewProjectSequenceTable ¶
func NewProjectSequenceTable(db ormtable.Schema) (ProjectSequenceTable, error)
type ProjectTable ¶
type ProjectTable interface { Insert(ctx context.Context, project *Project) error InsertReturningID(ctx context.Context, project *Project) (uint64, error) Update(ctx context.Context, project *Project) error Save(ctx context.Context, project *Project) error Delete(ctx context.Context, project *Project) error Has(ctx context.Context, key uint64) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, key uint64) (*Project, error) HasById(ctx context.Context, id string) (found bool, err error) // GetById returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetById(ctx context.Context, id string) (*Project, error) HasByClassKeyId(ctx context.Context, class_key uint64, id string) (found bool, err error) // GetByClassKeyId returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetByClassKeyId(ctx context.Context, class_key uint64, id string) (*Project, error) List(ctx context.Context, prefixKey ProjectIndexKey, opts ...ormlist.Option) (ProjectIterator, error) ListRange(ctx context.Context, from, to ProjectIndexKey, opts ...ormlist.Option) (ProjectIterator, error) DeleteBy(ctx context.Context, prefixKey ProjectIndexKey) error DeleteRange(ctx context.Context, from, to ProjectIndexKey) error // contains filtered or unexported methods }
func NewProjectTable ¶
func NewProjectTable(db ormtable.Schema) (ProjectTable, error)
type QueryAllBalancesRequest ¶
type QueryAllBalancesRequest 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 }
QueryAllBalancesRequest is the Query/AllBalances request type.
Since Revision 2
func (*QueryAllBalancesRequest) Descriptor
deprecated
func (*QueryAllBalancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllBalancesRequest.ProtoReflect.Descriptor instead.
func (*QueryAllBalancesRequest) GetPagination ¶
func (x *QueryAllBalancesRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllBalancesRequest) ProtoMessage ¶
func (*QueryAllBalancesRequest) ProtoMessage()
func (*QueryAllBalancesRequest) ProtoReflect ¶
func (x *QueryAllBalancesRequest) ProtoReflect() protoreflect.Message
func (*QueryAllBalancesRequest) Reset ¶
func (x *QueryAllBalancesRequest) Reset()
func (*QueryAllBalancesRequest) String ¶
func (x *QueryAllBalancesRequest) String() string
type QueryAllBalancesResponse ¶
type QueryAllBalancesResponse struct { // balances are a list of balances from different credit batches that the // account holds. Balances []*BatchBalanceInfo `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,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 }
QueryAllBalancesResponse is the Query/AllBalances response type.
Since Revision 2
func (*QueryAllBalancesResponse) Descriptor
deprecated
func (*QueryAllBalancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllBalancesResponse.ProtoReflect.Descriptor instead.
func (*QueryAllBalancesResponse) GetBalances ¶
func (x *QueryAllBalancesResponse) GetBalances() []*BatchBalanceInfo
func (*QueryAllBalancesResponse) GetPagination ¶
func (x *QueryAllBalancesResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllBalancesResponse) ProtoMessage ¶
func (*QueryAllBalancesResponse) ProtoMessage()
func (*QueryAllBalancesResponse) ProtoReflect ¶
func (x *QueryAllBalancesResponse) ProtoReflect() protoreflect.Message
func (*QueryAllBalancesResponse) Reset ¶
func (x *QueryAllBalancesResponse) Reset()
func (*QueryAllBalancesResponse) String ¶
func (x *QueryAllBalancesResponse) String() string
type QueryAllowedBridgeChainsRequest ¶
type QueryAllowedBridgeChainsRequest struct {
// contains filtered or unexported fields
}
QueryAllowedBridgeChainsRequest is the Query/AllowedBridgeChains request type.
Since Revision 2
func (*QueryAllowedBridgeChainsRequest) Descriptor
deprecated
func (*QueryAllowedBridgeChainsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllowedBridgeChainsRequest.ProtoReflect.Descriptor instead.
func (*QueryAllowedBridgeChainsRequest) ProtoMessage ¶
func (*QueryAllowedBridgeChainsRequest) ProtoMessage()
func (*QueryAllowedBridgeChainsRequest) ProtoReflect ¶
func (x *QueryAllowedBridgeChainsRequest) ProtoReflect() protoreflect.Message
func (*QueryAllowedBridgeChainsRequest) Reset ¶
func (x *QueryAllowedBridgeChainsRequest) Reset()
func (*QueryAllowedBridgeChainsRequest) String ¶
func (x *QueryAllowedBridgeChainsRequest) String() string
type QueryAllowedBridgeChainsResponse ¶
type QueryAllowedBridgeChainsResponse struct { // allowed_bridge_chains is a list of chains that are allowed to be used in // bridge operations. AllowedBridgeChains []string `protobuf:"bytes,1,rep,name=allowed_bridge_chains,json=allowedBridgeChains,proto3" json:"allowed_bridge_chains,omitempty"` // contains filtered or unexported fields }
QueryAllowedBridgeChainsResponse is the Query/AllowedBridgeChains response type.
Since Revision 2
func (*QueryAllowedBridgeChainsResponse) Descriptor
deprecated
func (*QueryAllowedBridgeChainsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllowedBridgeChainsResponse.ProtoReflect.Descriptor instead.
func (*QueryAllowedBridgeChainsResponse) GetAllowedBridgeChains ¶
func (x *QueryAllowedBridgeChainsResponse) GetAllowedBridgeChains() []string
func (*QueryAllowedBridgeChainsResponse) ProtoMessage ¶
func (*QueryAllowedBridgeChainsResponse) ProtoMessage()
func (*QueryAllowedBridgeChainsResponse) ProtoReflect ¶
func (x *QueryAllowedBridgeChainsResponse) ProtoReflect() protoreflect.Message
func (*QueryAllowedBridgeChainsResponse) Reset ¶
func (x *QueryAllowedBridgeChainsResponse) Reset()
func (*QueryAllowedBridgeChainsResponse) String ¶
func (x *QueryAllowedBridgeChainsResponse) String() string
type QueryAllowedClassCreatorsRequest ¶
type QueryAllowedClassCreatorsRequest 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 }
QueryAllowedClassCreatorsRequest is the Query/AllowedClassCreators request type.
Since Revision 2
func (*QueryAllowedClassCreatorsRequest) Descriptor
deprecated
func (*QueryAllowedClassCreatorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllowedClassCreatorsRequest.ProtoReflect.Descriptor instead.
func (*QueryAllowedClassCreatorsRequest) GetPagination ¶
func (x *QueryAllowedClassCreatorsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllowedClassCreatorsRequest) ProtoMessage ¶
func (*QueryAllowedClassCreatorsRequest) ProtoMessage()
func (*QueryAllowedClassCreatorsRequest) ProtoReflect ¶
func (x *QueryAllowedClassCreatorsRequest) ProtoReflect() protoreflect.Message
func (*QueryAllowedClassCreatorsRequest) Reset ¶
func (x *QueryAllowedClassCreatorsRequest) Reset()
func (*QueryAllowedClassCreatorsRequest) String ¶
func (x *QueryAllowedClassCreatorsRequest) String() string
type QueryAllowedClassCreatorsResponse ¶
type QueryAllowedClassCreatorsResponse struct { // class_creators is the list of allowed credit class creators. ClassCreators []string `protobuf:"bytes,1,rep,name=class_creators,json=classCreators,proto3" json:"class_creators,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 }
QueryAllowedClassCreatorsResponse is the Query/AllowedClassCreators response type.
Since Revision 2
func (*QueryAllowedClassCreatorsResponse) Descriptor
deprecated
func (*QueryAllowedClassCreatorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllowedClassCreatorsResponse.ProtoReflect.Descriptor instead.
func (*QueryAllowedClassCreatorsResponse) GetClassCreators ¶
func (x *QueryAllowedClassCreatorsResponse) GetClassCreators() []string
func (*QueryAllowedClassCreatorsResponse) GetPagination ¶
func (x *QueryAllowedClassCreatorsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllowedClassCreatorsResponse) ProtoMessage ¶
func (*QueryAllowedClassCreatorsResponse) ProtoMessage()
func (*QueryAllowedClassCreatorsResponse) ProtoReflect ¶
func (x *QueryAllowedClassCreatorsResponse) ProtoReflect() protoreflect.Message
func (*QueryAllowedClassCreatorsResponse) Reset ¶
func (x *QueryAllowedClassCreatorsResponse) Reset()
func (*QueryAllowedClassCreatorsResponse) String ¶
func (x *QueryAllowedClassCreatorsResponse) String() string
type QueryBalanceRequest ¶
type QueryBalanceRequest struct { // address is the address of the account whose balance is being queried. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // batch_denom is the unique identifier of the credit batch 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) GetAddress ¶
func (x *QueryBalanceRequest) GetAddress() 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 { // balance is the balance of the given account. Balance *BatchBalanceInfo `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,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) GetBalance ¶
func (x *QueryBalanceResponse) GetBalance() *BatchBalanceInfo
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 QueryBalancesByBatchRequest ¶
type QueryBalancesByBatchRequest struct { // batch_denom is the denom of the batch to query by. 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 }
QueryBalancesByBatchRequest is the Query/BalancesByBatch request type.
Since Revision 2
func (*QueryBalancesByBatchRequest) Descriptor
deprecated
func (*QueryBalancesByBatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBalancesByBatchRequest.ProtoReflect.Descriptor instead.
func (*QueryBalancesByBatchRequest) GetBatchDenom ¶
func (x *QueryBalancesByBatchRequest) GetBatchDenom() string
func (*QueryBalancesByBatchRequest) GetPagination ¶
func (x *QueryBalancesByBatchRequest) GetPagination() *v1beta1.PageRequest
func (*QueryBalancesByBatchRequest) ProtoMessage ¶
func (*QueryBalancesByBatchRequest) ProtoMessage()
func (*QueryBalancesByBatchRequest) ProtoReflect ¶
func (x *QueryBalancesByBatchRequest) ProtoReflect() protoreflect.Message
func (*QueryBalancesByBatchRequest) Reset ¶
func (x *QueryBalancesByBatchRequest) Reset()
func (*QueryBalancesByBatchRequest) String ¶
func (x *QueryBalancesByBatchRequest) String() string
type QueryBalancesByBatchResponse ¶
type QueryBalancesByBatchResponse struct { // balances are a list of balances from different credit batches that the // account holds. Balances []*BatchBalanceInfo `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,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 }
QueryBalancesByBatchResponse is the Query/BalancesByBatch response type.
Since Revision 2
func (*QueryBalancesByBatchResponse) Descriptor
deprecated
func (*QueryBalancesByBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBalancesByBatchResponse.ProtoReflect.Descriptor instead.
func (*QueryBalancesByBatchResponse) GetBalances ¶
func (x *QueryBalancesByBatchResponse) GetBalances() []*BatchBalanceInfo
func (*QueryBalancesByBatchResponse) GetPagination ¶
func (x *QueryBalancesByBatchResponse) GetPagination() *v1beta1.PageResponse
func (*QueryBalancesByBatchResponse) ProtoMessage ¶
func (*QueryBalancesByBatchResponse) ProtoMessage()
func (*QueryBalancesByBatchResponse) ProtoReflect ¶
func (x *QueryBalancesByBatchResponse) ProtoReflect() protoreflect.Message
func (*QueryBalancesByBatchResponse) Reset ¶
func (x *QueryBalancesByBatchResponse) Reset()
func (*QueryBalancesByBatchResponse) String ¶
func (x *QueryBalancesByBatchResponse) String() string
type QueryBalancesRequest ¶
type QueryBalancesRequest struct { // address is the address of the account whose balance is being queried. 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 }
QueryBalancesRequest is the Query/Balances request type.
func (*QueryBalancesRequest) Descriptor
deprecated
func (*QueryBalancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBalancesRequest.ProtoReflect.Descriptor instead.
func (*QueryBalancesRequest) GetAddress ¶
func (x *QueryBalancesRequest) GetAddress() string
func (*QueryBalancesRequest) GetPagination ¶
func (x *QueryBalancesRequest) GetPagination() *v1beta1.PageRequest
func (*QueryBalancesRequest) ProtoMessage ¶
func (*QueryBalancesRequest) ProtoMessage()
func (*QueryBalancesRequest) ProtoReflect ¶
func (x *QueryBalancesRequest) ProtoReflect() protoreflect.Message
func (*QueryBalancesRequest) Reset ¶
func (x *QueryBalancesRequest) Reset()
func (*QueryBalancesRequest) String ¶
func (x *QueryBalancesRequest) String() string
type QueryBalancesResponse ¶
type QueryBalancesResponse struct { // balances are a list of balances from different credit batches that the // account holds. Balances []*BatchBalanceInfo `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,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 }
QueryBalancesResponse is the Query/Balances response type.
func (*QueryBalancesResponse) Descriptor
deprecated
func (*QueryBalancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBalancesResponse.ProtoReflect.Descriptor instead.
func (*QueryBalancesResponse) GetBalances ¶
func (x *QueryBalancesResponse) GetBalances() []*BatchBalanceInfo
func (*QueryBalancesResponse) GetPagination ¶
func (x *QueryBalancesResponse) GetPagination() *v1beta1.PageResponse
func (*QueryBalancesResponse) ProtoMessage ¶
func (*QueryBalancesResponse) ProtoMessage()
func (*QueryBalancesResponse) ProtoReflect ¶
func (x *QueryBalancesResponse) ProtoReflect() protoreflect.Message
func (*QueryBalancesResponse) Reset ¶
func (x *QueryBalancesResponse) Reset()
func (*QueryBalancesResponse) String ¶
func (x *QueryBalancesResponse) String() string
type QueryBatchRequest ¶
type QueryBatchRequest struct { // batch_denom is the unique identifier of the 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 }
QueryBatchRequest is the Query/Batch request type.
func (*QueryBatchRequest) Descriptor
deprecated
func (*QueryBatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchRequest.ProtoReflect.Descriptor instead.
func (*QueryBatchRequest) GetBatchDenom ¶
func (x *QueryBatchRequest) GetBatchDenom() string
func (*QueryBatchRequest) ProtoMessage ¶
func (*QueryBatchRequest) ProtoMessage()
func (*QueryBatchRequest) ProtoReflect ¶
func (x *QueryBatchRequest) ProtoReflect() protoreflect.Message
func (*QueryBatchRequest) Reset ¶
func (x *QueryBatchRequest) Reset()
func (*QueryBatchRequest) String ¶
func (x *QueryBatchRequest) String() string
type QueryBatchResponse ¶
type QueryBatchResponse struct { // batch is the fetched credit batch. Batch *BatchInfo `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"` // contains filtered or unexported fields }
QueryBatchResponse is the Query/Batch response type.
func (*QueryBatchResponse) Descriptor
deprecated
func (*QueryBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchResponse.ProtoReflect.Descriptor instead.
func (*QueryBatchResponse) GetBatch ¶
func (x *QueryBatchResponse) GetBatch() *BatchInfo
func (*QueryBatchResponse) ProtoMessage ¶
func (*QueryBatchResponse) ProtoMessage()
func (*QueryBatchResponse) ProtoReflect ¶
func (x *QueryBatchResponse) ProtoReflect() protoreflect.Message
func (*QueryBatchResponse) Reset ¶
func (x *QueryBatchResponse) Reset()
func (*QueryBatchResponse) String ¶
func (x *QueryBatchResponse) String() string
type QueryBatchesByClassRequest ¶
type QueryBatchesByClassRequest struct { // class_id is the unique identifier of the credit class to query. ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBatchesByClassRequest is the Query/BatchesByClass request type.
func (*QueryBatchesByClassRequest) Descriptor
deprecated
func (*QueryBatchesByClassRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchesByClassRequest.ProtoReflect.Descriptor instead.
func (*QueryBatchesByClassRequest) GetClassId ¶
func (x *QueryBatchesByClassRequest) GetClassId() string
func (*QueryBatchesByClassRequest) GetPagination ¶
func (x *QueryBatchesByClassRequest) GetPagination() *v1beta1.PageRequest
func (*QueryBatchesByClassRequest) ProtoMessage ¶
func (*QueryBatchesByClassRequest) ProtoMessage()
func (*QueryBatchesByClassRequest) ProtoReflect ¶
func (x *QueryBatchesByClassRequest) ProtoReflect() protoreflect.Message
func (*QueryBatchesByClassRequest) Reset ¶
func (x *QueryBatchesByClassRequest) Reset()
func (*QueryBatchesByClassRequest) String ¶
func (x *QueryBatchesByClassRequest) String() string
type QueryBatchesByClassResponse ¶
type QueryBatchesByClassResponse struct { // batches are the fetched credit batches. 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 }
QueryBatchesByClassResponse is the Query/BatchesByClass response type.
func (*QueryBatchesByClassResponse) Descriptor
deprecated
func (*QueryBatchesByClassResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchesByClassResponse.ProtoReflect.Descriptor instead.
func (*QueryBatchesByClassResponse) GetBatches ¶
func (x *QueryBatchesByClassResponse) GetBatches() []*BatchInfo
func (*QueryBatchesByClassResponse) GetPagination ¶
func (x *QueryBatchesByClassResponse) GetPagination() *v1beta1.PageResponse
func (*QueryBatchesByClassResponse) ProtoMessage ¶
func (*QueryBatchesByClassResponse) ProtoMessage()
func (*QueryBatchesByClassResponse) ProtoReflect ¶
func (x *QueryBatchesByClassResponse) ProtoReflect() protoreflect.Message
func (*QueryBatchesByClassResponse) Reset ¶
func (x *QueryBatchesByClassResponse) Reset()
func (*QueryBatchesByClassResponse) String ¶
func (x *QueryBatchesByClassResponse) String() string
type QueryBatchesByIssuerRequest ¶
type QueryBatchesByIssuerRequest struct { // issuer is the address that issued the batch Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,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 }
QueryBatchesByIssuerRequest is the Query/BatchesByIssuer request type.
func (*QueryBatchesByIssuerRequest) Descriptor
deprecated
func (*QueryBatchesByIssuerRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchesByIssuerRequest.ProtoReflect.Descriptor instead.
func (*QueryBatchesByIssuerRequest) GetIssuer ¶
func (x *QueryBatchesByIssuerRequest) GetIssuer() string
func (*QueryBatchesByIssuerRequest) GetPagination ¶
func (x *QueryBatchesByIssuerRequest) GetPagination() *v1beta1.PageRequest
func (*QueryBatchesByIssuerRequest) ProtoMessage ¶
func (*QueryBatchesByIssuerRequest) ProtoMessage()
func (*QueryBatchesByIssuerRequest) ProtoReflect ¶
func (x *QueryBatchesByIssuerRequest) ProtoReflect() protoreflect.Message
func (*QueryBatchesByIssuerRequest) Reset ¶
func (x *QueryBatchesByIssuerRequest) Reset()
func (*QueryBatchesByIssuerRequest) String ¶
func (x *QueryBatchesByIssuerRequest) String() string
type QueryBatchesByIssuerResponse ¶
type QueryBatchesByIssuerResponse struct { // batches are the fetched credit batches. 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 }
QueryBatchesByIssuerResponse is the Query/BatchesByIssuer response type.
func (*QueryBatchesByIssuerResponse) Descriptor
deprecated
func (*QueryBatchesByIssuerResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchesByIssuerResponse.ProtoReflect.Descriptor instead.
func (*QueryBatchesByIssuerResponse) GetBatches ¶
func (x *QueryBatchesByIssuerResponse) GetBatches() []*BatchInfo
func (*QueryBatchesByIssuerResponse) GetPagination ¶
func (x *QueryBatchesByIssuerResponse) GetPagination() *v1beta1.PageResponse
func (*QueryBatchesByIssuerResponse) ProtoMessage ¶
func (*QueryBatchesByIssuerResponse) ProtoMessage()
func (*QueryBatchesByIssuerResponse) ProtoReflect ¶
func (x *QueryBatchesByIssuerResponse) ProtoReflect() protoreflect.Message
func (*QueryBatchesByIssuerResponse) Reset ¶
func (x *QueryBatchesByIssuerResponse) Reset()
func (*QueryBatchesByIssuerResponse) String ¶
func (x *QueryBatchesByIssuerResponse) String() string
type QueryBatchesByProjectRequest ¶
type QueryBatchesByProjectRequest struct { // project_id is the unique identifier 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 }
QueryBatchesByProjectRequest is the Query/BatchesByProject request type.
func (*QueryBatchesByProjectRequest) Descriptor
deprecated
func (*QueryBatchesByProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchesByProjectRequest.ProtoReflect.Descriptor instead.
func (*QueryBatchesByProjectRequest) GetPagination ¶
func (x *QueryBatchesByProjectRequest) GetPagination() *v1beta1.PageRequest
func (*QueryBatchesByProjectRequest) GetProjectId ¶
func (x *QueryBatchesByProjectRequest) GetProjectId() string
func (*QueryBatchesByProjectRequest) ProtoMessage ¶
func (*QueryBatchesByProjectRequest) ProtoMessage()
func (*QueryBatchesByProjectRequest) ProtoReflect ¶
func (x *QueryBatchesByProjectRequest) ProtoReflect() protoreflect.Message
func (*QueryBatchesByProjectRequest) Reset ¶
func (x *QueryBatchesByProjectRequest) Reset()
func (*QueryBatchesByProjectRequest) String ¶
func (x *QueryBatchesByProjectRequest) String() string
type QueryBatchesByProjectResponse ¶
type QueryBatchesByProjectResponse struct { // batches are the fetched credit batches. 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 }
QueryBatchesByProjectResponse is the Query/BatchesByProject response type.
func (*QueryBatchesByProjectResponse) Descriptor
deprecated
func (*QueryBatchesByProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchesByProjectResponse.ProtoReflect.Descriptor instead.
func (*QueryBatchesByProjectResponse) GetBatches ¶
func (x *QueryBatchesByProjectResponse) GetBatches() []*BatchInfo
func (*QueryBatchesByProjectResponse) GetPagination ¶
func (x *QueryBatchesByProjectResponse) GetPagination() *v1beta1.PageResponse
func (*QueryBatchesByProjectResponse) ProtoMessage ¶
func (*QueryBatchesByProjectResponse) ProtoMessage()
func (*QueryBatchesByProjectResponse) ProtoReflect ¶
func (x *QueryBatchesByProjectResponse) ProtoReflect() protoreflect.Message
func (*QueryBatchesByProjectResponse) Reset ¶
func (x *QueryBatchesByProjectResponse) Reset()
func (*QueryBatchesByProjectResponse) String ¶
func (x *QueryBatchesByProjectResponse) String() string
type QueryBatchesRequest ¶
type QueryBatchesRequest 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 }
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) 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. 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 QueryClassCreatorAllowlistRequest ¶
type QueryClassCreatorAllowlistRequest struct {
// contains filtered or unexported fields
}
QueryClassCreatorAllowlistRequest is the Query/ClassCreatorAllowlist request type.
Since Revision 2
func (*QueryClassCreatorAllowlistRequest) Descriptor
deprecated
func (*QueryClassCreatorAllowlistRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassCreatorAllowlistRequest.ProtoReflect.Descriptor instead.
func (*QueryClassCreatorAllowlistRequest) ProtoMessage ¶
func (*QueryClassCreatorAllowlistRequest) ProtoMessage()
func (*QueryClassCreatorAllowlistRequest) ProtoReflect ¶
func (x *QueryClassCreatorAllowlistRequest) ProtoReflect() protoreflect.Message
func (*QueryClassCreatorAllowlistRequest) Reset ¶
func (x *QueryClassCreatorAllowlistRequest) Reset()
func (*QueryClassCreatorAllowlistRequest) String ¶
func (x *QueryClassCreatorAllowlistRequest) String() string
type QueryClassCreatorAllowlistResponse ¶
type QueryClassCreatorAllowlistResponse struct { // enabled determines whether or not the allowlist for creating credit classes // is enabled. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
QueryClassCreatorAllowlistResponse is the Query/ClassCreatorAllowlist response type.
Since Revision 2
func (*QueryClassCreatorAllowlistResponse) Descriptor
deprecated
func (*QueryClassCreatorAllowlistResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassCreatorAllowlistResponse.ProtoReflect.Descriptor instead.
func (*QueryClassCreatorAllowlistResponse) GetEnabled ¶
func (x *QueryClassCreatorAllowlistResponse) GetEnabled() bool
func (*QueryClassCreatorAllowlistResponse) ProtoMessage ¶
func (*QueryClassCreatorAllowlistResponse) ProtoMessage()
func (*QueryClassCreatorAllowlistResponse) ProtoReflect ¶
func (x *QueryClassCreatorAllowlistResponse) ProtoReflect() protoreflect.Message
func (*QueryClassCreatorAllowlistResponse) Reset ¶
func (x *QueryClassCreatorAllowlistResponse) Reset()
func (*QueryClassCreatorAllowlistResponse) String ¶
func (x *QueryClassCreatorAllowlistResponse) String() string
type QueryClassFeeRequest ¶
type QueryClassFeeRequest struct {
// contains filtered or unexported fields
}
QueryClassFeeRequest is the Query/ClassFee request type.
Since Revision 2
func (*QueryClassFeeRequest) Descriptor
deprecated
func (*QueryClassFeeRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassFeeRequest.ProtoReflect.Descriptor instead.
func (*QueryClassFeeRequest) ProtoMessage ¶
func (*QueryClassFeeRequest) ProtoMessage()
func (*QueryClassFeeRequest) ProtoReflect ¶
func (x *QueryClassFeeRequest) ProtoReflect() protoreflect.Message
func (*QueryClassFeeRequest) Reset ¶
func (x *QueryClassFeeRequest) Reset()
func (*QueryClassFeeRequest) String ¶
func (x *QueryClassFeeRequest) String() string
type QueryClassFeeResponse ¶
type QueryClassFeeResponse struct { // fee is the credit class creation fee. If not set, a credit class creation // fee is not required. Fee *v1beta11.Coin `protobuf:"bytes,1,opt,name=fee,proto3" json:"fee,omitempty"` // contains filtered or unexported fields }
QueryClassFeeResponse is the Query/ClassFee response type.
Since Revision 2
func (*QueryClassFeeResponse) Descriptor
deprecated
func (*QueryClassFeeResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassFeeResponse.ProtoReflect.Descriptor instead.
func (*QueryClassFeeResponse) GetFee ¶
func (x *QueryClassFeeResponse) GetFee() *v1beta11.Coin
func (*QueryClassFeeResponse) ProtoMessage ¶
func (*QueryClassFeeResponse) ProtoMessage()
func (*QueryClassFeeResponse) ProtoReflect ¶
func (x *QueryClassFeeResponse) ProtoReflect() protoreflect.Message
func (*QueryClassFeeResponse) Reset ¶
func (x *QueryClassFeeResponse) Reset()
func (*QueryClassFeeResponse) String ¶
func (x *QueryClassFeeResponse) String() string
type QueryClassIssuersRequest ¶
type QueryClassIssuersRequest struct { // class_id is the unique identifier of the credit class to query. ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryClassIssuersRequest is the Query/ClassIssuers request type.
func (*QueryClassIssuersRequest) Descriptor
deprecated
func (*QueryClassIssuersRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassIssuersRequest.ProtoReflect.Descriptor instead.
func (*QueryClassIssuersRequest) GetClassId ¶
func (x *QueryClassIssuersRequest) GetClassId() string
func (*QueryClassIssuersRequest) GetPagination ¶
func (x *QueryClassIssuersRequest) GetPagination() *v1beta1.PageRequest
func (*QueryClassIssuersRequest) ProtoMessage ¶
func (*QueryClassIssuersRequest) ProtoMessage()
func (*QueryClassIssuersRequest) ProtoReflect ¶
func (x *QueryClassIssuersRequest) ProtoReflect() protoreflect.Message
func (*QueryClassIssuersRequest) Reset ¶
func (x *QueryClassIssuersRequest) Reset()
func (*QueryClassIssuersRequest) String ¶
func (x *QueryClassIssuersRequest) String() string
type QueryClassIssuersResponse ¶
type QueryClassIssuersResponse struct { // issuers is a list of issuers for the credit class Issuers []string `protobuf:"bytes,1,rep,name=issuers,proto3" json:"issuers,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 }
QueryClassIssuersRequest is the Query/ClassIssuers response type.
func (*QueryClassIssuersResponse) Descriptor
deprecated
func (*QueryClassIssuersResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassIssuersResponse.ProtoReflect.Descriptor instead.
func (*QueryClassIssuersResponse) GetIssuers ¶
func (x *QueryClassIssuersResponse) GetIssuers() []string
func (*QueryClassIssuersResponse) GetPagination ¶
func (x *QueryClassIssuersResponse) GetPagination() *v1beta1.PageResponse
func (*QueryClassIssuersResponse) ProtoMessage ¶
func (*QueryClassIssuersResponse) ProtoMessage()
func (*QueryClassIssuersResponse) ProtoReflect ¶
func (x *QueryClassIssuersResponse) ProtoReflect() protoreflect.Message
func (*QueryClassIssuersResponse) Reset ¶
func (x *QueryClassIssuersResponse) Reset()
func (*QueryClassIssuersResponse) String ¶
func (x *QueryClassIssuersResponse) String() string
type QueryClassRequest ¶
type QueryClassRequest struct { // class_id is the unique identifier of the 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 }
QueryClassRequest is the Query/Class request type.
func (*QueryClassRequest) Descriptor
deprecated
func (*QueryClassRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassRequest.ProtoReflect.Descriptor instead.
func (*QueryClassRequest) GetClassId ¶
func (x *QueryClassRequest) GetClassId() string
func (*QueryClassRequest) ProtoMessage ¶
func (*QueryClassRequest) ProtoMessage()
func (*QueryClassRequest) ProtoReflect ¶
func (x *QueryClassRequest) ProtoReflect() protoreflect.Message
func (*QueryClassRequest) Reset ¶
func (x *QueryClassRequest) Reset()
func (*QueryClassRequest) String ¶
func (x *QueryClassRequest) String() string
type QueryClassResponse ¶
type QueryClassResponse struct { // class is the fetched credit class. Class *ClassInfo `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` // contains filtered or unexported fields }
QueryClassResponse is the Query/Class request type.
func (*QueryClassResponse) Descriptor
deprecated
func (*QueryClassResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassResponse.ProtoReflect.Descriptor instead.
func (*QueryClassResponse) GetClass ¶
func (x *QueryClassResponse) GetClass() *ClassInfo
func (*QueryClassResponse) ProtoMessage ¶
func (*QueryClassResponse) ProtoMessage()
func (*QueryClassResponse) ProtoReflect ¶
func (x *QueryClassResponse) ProtoReflect() protoreflect.Message
func (*QueryClassResponse) Reset ¶
func (x *QueryClassResponse) Reset()
func (*QueryClassResponse) String ¶
func (x *QueryClassResponse) String() string
type QueryClassesByAdminRequest ¶
type QueryClassesByAdminRequest struct { // admin is the address of the admin of the class. Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,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 }
QueryClassesByAdminRequest is the Query/ClassesByAdmin request type.
func (*QueryClassesByAdminRequest) Descriptor
deprecated
func (*QueryClassesByAdminRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassesByAdminRequest.ProtoReflect.Descriptor instead.
func (*QueryClassesByAdminRequest) GetAdmin ¶
func (x *QueryClassesByAdminRequest) GetAdmin() string
func (*QueryClassesByAdminRequest) GetPagination ¶
func (x *QueryClassesByAdminRequest) GetPagination() *v1beta1.PageRequest
func (*QueryClassesByAdminRequest) ProtoMessage ¶
func (*QueryClassesByAdminRequest) ProtoMessage()
func (*QueryClassesByAdminRequest) ProtoReflect ¶
func (x *QueryClassesByAdminRequest) ProtoReflect() protoreflect.Message
func (*QueryClassesByAdminRequest) Reset ¶
func (x *QueryClassesByAdminRequest) Reset()
func (*QueryClassesByAdminRequest) String ¶
func (x *QueryClassesByAdminRequest) String() string
type QueryClassesByAdminResponse ¶
type QueryClassesByAdminResponse 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 }
QueryClassesByAdminResponse is the Query/ClassesByAdmin response type.
func (*QueryClassesByAdminResponse) Descriptor
deprecated
func (*QueryClassesByAdminResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassesByAdminResponse.ProtoReflect.Descriptor instead.
func (*QueryClassesByAdminResponse) GetClasses ¶
func (x *QueryClassesByAdminResponse) GetClasses() []*ClassInfo
func (*QueryClassesByAdminResponse) GetPagination ¶
func (x *QueryClassesByAdminResponse) GetPagination() *v1beta1.PageResponse
func (*QueryClassesByAdminResponse) ProtoMessage ¶
func (*QueryClassesByAdminResponse) ProtoMessage()
func (*QueryClassesByAdminResponse) ProtoReflect ¶
func (x *QueryClassesByAdminResponse) ProtoReflect() protoreflect.Message
func (*QueryClassesByAdminResponse) Reset ¶
func (x *QueryClassesByAdminResponse) Reset()
func (*QueryClassesByAdminResponse) String ¶
func (x *QueryClassesByAdminResponse) 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) // ClassesByAdmin queries for all credit classes with a specific admin // address. ClassesByAdmin(ctx context.Context, in *QueryClassesByAdminRequest, opts ...grpc.CallOption) (*QueryClassesByAdminResponse, error) // Class queries for information on a credit class. Class(ctx context.Context, in *QueryClassRequest, opts ...grpc.CallOption) (*QueryClassResponse, error) // ClassIssuers queries for the addresses of the issuers for a credit class. ClassIssuers(ctx context.Context, in *QueryClassIssuersRequest, opts ...grpc.CallOption) (*QueryClassIssuersResponse, error) // Projects queries for all projects with pagination. Projects(ctx context.Context, in *QueryProjectsRequest, opts ...grpc.CallOption) (*QueryProjectsResponse, error) // ProjectsByClass queries for all projects within a class with pagination. ProjectsByClass(ctx context.Context, in *QueryProjectsByClassRequest, opts ...grpc.CallOption) (*QueryProjectsByClassResponse, error) // ProjectsByReferenceId queries for all projects by reference-id with // pagination. ProjectsByReferenceId(ctx context.Context, in *QueryProjectsByReferenceIdRequest, opts ...grpc.CallOption) (*QueryProjectsByReferenceIdResponse, error) // ProjectsByAdmin queries for all projects by admin with // pagination. ProjectsByAdmin(ctx context.Context, in *QueryProjectsByAdminRequest, opts ...grpc.CallOption) (*QueryProjectsByAdminResponse, error) // Project queries for information on a project. Project(ctx context.Context, in *QueryProjectRequest, opts ...grpc.CallOption) (*QueryProjectResponse, error) // Batches queries for all batches with pagination. Batches(ctx context.Context, in *QueryBatchesRequest, opts ...grpc.CallOption) (*QueryBatchesResponse, error) // BatchesByIssuer queries all batches issued from a given issuer address. BatchesByIssuer(ctx context.Context, in *QueryBatchesByIssuerRequest, opts ...grpc.CallOption) (*QueryBatchesByIssuerResponse, error) // BatchesByClass queries all batches issued from a given class. BatchesByClass(ctx context.Context, in *QueryBatchesByClassRequest, opts ...grpc.CallOption) (*QueryBatchesByClassResponse, error) // BatchesByProject queries for all batches from a given project with // pagination. BatchesByProject(ctx context.Context, in *QueryBatchesByProjectRequest, opts ...grpc.CallOption) (*QueryBatchesByProjectResponse, error) // Batch queries for information on a credit batch. Batch(ctx context.Context, in *QueryBatchRequest, opts ...grpc.CallOption) (*QueryBatchResponse, error) // Balance queries the balance (both tradable and retired) of a given credit // batch for a given account address. Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error) // Balances queries all credit balances the given account holds. Balances(ctx context.Context, in *QueryBalancesRequest, opts ...grpc.CallOption) (*QueryBalancesResponse, error) // BalancesByBatch queries all credit balances from a given batch. // // Since Revision 2 BalancesByBatch(ctx context.Context, in *QueryBalancesByBatchRequest, opts ...grpc.CallOption) (*QueryBalancesByBatchResponse, error) // AllBalances queries all credit balances. // // Since Revision 2 AllBalances(ctx context.Context, in *QueryAllBalancesRequest, opts ...grpc.CallOption) (*QueryAllBalancesResponse, 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) // Deprecated: Do not use. // Params queries the ecocredit module parameters. // // Deprecated (Since Revision 2): This rpc will be removed in the next // version. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // CreditType queries credit type information by abbreviation. CreditType(ctx context.Context, in *QueryCreditTypeRequest, opts ...grpc.CallOption) (*QueryCreditTypeResponse, error) // ClassCreatorAllowlist queries the credit class creator allowlist // enabled setting. // // Since Revision 2 ClassCreatorAllowlist(ctx context.Context, in *QueryClassCreatorAllowlistRequest, opts ...grpc.CallOption) (*QueryClassCreatorAllowlistResponse, error) // AllowedClassCreators queries allowed credit class creators list. // // Since Revision 2 AllowedClassCreators(ctx context.Context, in *QueryAllowedClassCreatorsRequest, opts ...grpc.CallOption) (*QueryAllowedClassCreatorsResponse, error) // ClassFee returns the credit class creation fee. If not set, a credit class // creation fee is not required. // // Since Revision 2 ClassFee(ctx context.Context, in *QueryClassFeeRequest, opts ...grpc.CallOption) (*QueryClassFeeResponse, error) // AllowedBridgeChains queries the list of chains allowed to be used in bridge // operations. // // Since Revision 2 AllowedBridgeChains(ctx context.Context, in *QueryAllowedBridgeChainsRequest, opts ...grpc.CallOption) (*QueryAllowedBridgeChainsResponse, 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 QueryCreditTypeRequest ¶
type QueryCreditTypeRequest struct { // abbreviation is the abbreviation of the credit type. Abbreviation string `protobuf:"bytes,1,opt,name=abbreviation,proto3" json:"abbreviation,omitempty"` // contains filtered or unexported fields }
QueryCreditTypeRequest is the Query/CreditType request type
func (*QueryCreditTypeRequest) Descriptor
deprecated
func (*QueryCreditTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryCreditTypeRequest.ProtoReflect.Descriptor instead.
func (*QueryCreditTypeRequest) GetAbbreviation ¶
func (x *QueryCreditTypeRequest) GetAbbreviation() string
func (*QueryCreditTypeRequest) ProtoMessage ¶
func (*QueryCreditTypeRequest) ProtoMessage()
func (*QueryCreditTypeRequest) ProtoReflect ¶
func (x *QueryCreditTypeRequest) ProtoReflect() protoreflect.Message
func (*QueryCreditTypeRequest) Reset ¶
func (x *QueryCreditTypeRequest) Reset()
func (*QueryCreditTypeRequest) String ¶
func (x *QueryCreditTypeRequest) String() string
type QueryCreditTypeResponse ¶
type QueryCreditTypeResponse struct { // credit_type is the fetched credit type. CreditType *CreditType `protobuf:"bytes,1,opt,name=credit_type,json=creditType,proto3" json:"credit_type,omitempty"` // contains filtered or unexported fields }
QueryCreditTypeResponse is the Query/CreditType response type
func (*QueryCreditTypeResponse) Descriptor
deprecated
func (*QueryCreditTypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryCreditTypeResponse.ProtoReflect.Descriptor instead.
func (*QueryCreditTypeResponse) GetCreditType ¶
func (x *QueryCreditTypeResponse) GetCreditType() *CreditType
func (*QueryCreditTypeResponse) ProtoMessage ¶
func (*QueryCreditTypeResponse) ProtoMessage()
func (*QueryCreditTypeResponse) ProtoReflect ¶
func (x *QueryCreditTypeResponse) ProtoReflect() protoreflect.Message
func (*QueryCreditTypeResponse) Reset ¶
func (x *QueryCreditTypeResponse) Reset()
func (*QueryCreditTypeResponse) String ¶
func (x *QueryCreditTypeResponse) String() string
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 { // credit_types are the fetched 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 QueryProjectRequest ¶
type QueryProjectRequest struct { // project_id is the unique identifier 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 }
QueryProjectRequest is the Query/Project request type.
func (*QueryProjectRequest) Descriptor
deprecated
func (*QueryProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryProjectRequest.ProtoReflect.Descriptor instead.
func (*QueryProjectRequest) GetProjectId ¶
func (x *QueryProjectRequest) GetProjectId() string
func (*QueryProjectRequest) ProtoMessage ¶
func (*QueryProjectRequest) ProtoMessage()
func (*QueryProjectRequest) ProtoReflect ¶
func (x *QueryProjectRequest) ProtoReflect() protoreflect.Message
func (*QueryProjectRequest) Reset ¶
func (x *QueryProjectRequest) Reset()
func (*QueryProjectRequest) String ¶
func (x *QueryProjectRequest) String() string
type QueryProjectResponse ¶
type QueryProjectResponse struct { // project is the fetched project. Project *ProjectInfo `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
QueryProjectResponse is the Query/Project response type.
func (*QueryProjectResponse) Descriptor
deprecated
func (*QueryProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryProjectResponse.ProtoReflect.Descriptor instead.
func (*QueryProjectResponse) GetProject ¶
func (x *QueryProjectResponse) GetProject() *ProjectInfo
func (*QueryProjectResponse) ProtoMessage ¶
func (*QueryProjectResponse) ProtoMessage()
func (*QueryProjectResponse) ProtoReflect ¶
func (x *QueryProjectResponse) ProtoReflect() protoreflect.Message
func (*QueryProjectResponse) Reset ¶
func (x *QueryProjectResponse) Reset()
func (*QueryProjectResponse) String ¶
func (x *QueryProjectResponse) String() string
type QueryProjectsByAdminRequest ¶
type QueryProjectsByAdminRequest struct { // admin is the account address of project admin. Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,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 }
QueryProjectsByAdminRequest is the Query/ProjectByAdmin request type.
func (*QueryProjectsByAdminRequest) Descriptor
deprecated
func (*QueryProjectsByAdminRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryProjectsByAdminRequest.ProtoReflect.Descriptor instead.
func (*QueryProjectsByAdminRequest) GetAdmin ¶
func (x *QueryProjectsByAdminRequest) GetAdmin() string
func (*QueryProjectsByAdminRequest) GetPagination ¶
func (x *QueryProjectsByAdminRequest) GetPagination() *v1beta1.PageRequest
func (*QueryProjectsByAdminRequest) ProtoMessage ¶
func (*QueryProjectsByAdminRequest) ProtoMessage()
func (*QueryProjectsByAdminRequest) ProtoReflect ¶
func (x *QueryProjectsByAdminRequest) ProtoReflect() protoreflect.Message
func (*QueryProjectsByAdminRequest) Reset ¶
func (x *QueryProjectsByAdminRequest) Reset()
func (*QueryProjectsByAdminRequest) String ¶
func (x *QueryProjectsByAdminRequest) String() string
type QueryProjectsByAdminResponse ¶
type QueryProjectsByAdminResponse 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 }
QueryProjectsByAdminResponse is the Query/ProjectByAdmin response type.
func (*QueryProjectsByAdminResponse) Descriptor
deprecated
func (*QueryProjectsByAdminResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryProjectsByAdminResponse.ProtoReflect.Descriptor instead.
func (*QueryProjectsByAdminResponse) GetPagination ¶
func (x *QueryProjectsByAdminResponse) GetPagination() *v1beta1.PageResponse
func (*QueryProjectsByAdminResponse) GetProjects ¶
func (x *QueryProjectsByAdminResponse) GetProjects() []*ProjectInfo
func (*QueryProjectsByAdminResponse) ProtoMessage ¶
func (*QueryProjectsByAdminResponse) ProtoMessage()
func (*QueryProjectsByAdminResponse) ProtoReflect ¶
func (x *QueryProjectsByAdminResponse) ProtoReflect() protoreflect.Message
func (*QueryProjectsByAdminResponse) Reset ¶
func (x *QueryProjectsByAdminResponse) Reset()
func (*QueryProjectsByAdminResponse) String ¶
func (x *QueryProjectsByAdminResponse) String() string
type QueryProjectsByClassRequest ¶
type QueryProjectsByClassRequest struct { // class_id is the unique identifier of the credit class to query. ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryProjectsByClassRequest is the Query/ProjectsByClass request type.
func (*QueryProjectsByClassRequest) Descriptor
deprecated
func (*QueryProjectsByClassRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryProjectsByClassRequest.ProtoReflect.Descriptor instead.
func (*QueryProjectsByClassRequest) GetClassId ¶
func (x *QueryProjectsByClassRequest) GetClassId() string
func (*QueryProjectsByClassRequest) GetPagination ¶
func (x *QueryProjectsByClassRequest) GetPagination() *v1beta1.PageRequest
func (*QueryProjectsByClassRequest) ProtoMessage ¶
func (*QueryProjectsByClassRequest) ProtoMessage()
func (*QueryProjectsByClassRequest) ProtoReflect ¶
func (x *QueryProjectsByClassRequest) ProtoReflect() protoreflect.Message
func (*QueryProjectsByClassRequest) Reset ¶
func (x *QueryProjectsByClassRequest) Reset()
func (*QueryProjectsByClassRequest) String ¶
func (x *QueryProjectsByClassRequest) String() string
type QueryProjectsByClassResponse ¶
type QueryProjectsByClassResponse 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 }
QueryProjectsByClassResponse is the Query/ProjectsByClass response type.
func (*QueryProjectsByClassResponse) Descriptor
deprecated
func (*QueryProjectsByClassResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryProjectsByClassResponse.ProtoReflect.Descriptor instead.
func (*QueryProjectsByClassResponse) GetPagination ¶
func (x *QueryProjectsByClassResponse) GetPagination() *v1beta1.PageResponse
func (*QueryProjectsByClassResponse) GetProjects ¶
func (x *QueryProjectsByClassResponse) GetProjects() []*ProjectInfo
func (*QueryProjectsByClassResponse) ProtoMessage ¶
func (*QueryProjectsByClassResponse) ProtoMessage()
func (*QueryProjectsByClassResponse) ProtoReflect ¶
func (x *QueryProjectsByClassResponse) ProtoReflect() protoreflect.Message
func (*QueryProjectsByClassResponse) Reset ¶
func (x *QueryProjectsByClassResponse) Reset()
func (*QueryProjectsByClassResponse) String ¶
func (x *QueryProjectsByClassResponse) String() string
type QueryProjectsByReferenceIdRequest ¶
type QueryProjectsByReferenceIdRequest struct { // reference_id is the project reference id. ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_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 }
QueryProjectsByReferenceIdRequest is the Query/ProjectsByReferenceId request type.
func (*QueryProjectsByReferenceIdRequest) Descriptor
deprecated
func (*QueryProjectsByReferenceIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryProjectsByReferenceIdRequest.ProtoReflect.Descriptor instead.
func (*QueryProjectsByReferenceIdRequest) GetPagination ¶
func (x *QueryProjectsByReferenceIdRequest) GetPagination() *v1beta1.PageRequest
func (*QueryProjectsByReferenceIdRequest) GetReferenceId ¶
func (x *QueryProjectsByReferenceIdRequest) GetReferenceId() string
func (*QueryProjectsByReferenceIdRequest) ProtoMessage ¶
func (*QueryProjectsByReferenceIdRequest) ProtoMessage()
func (*QueryProjectsByReferenceIdRequest) ProtoReflect ¶
func (x *QueryProjectsByReferenceIdRequest) ProtoReflect() protoreflect.Message
func (*QueryProjectsByReferenceIdRequest) Reset ¶
func (x *QueryProjectsByReferenceIdRequest) Reset()
func (*QueryProjectsByReferenceIdRequest) String ¶
func (x *QueryProjectsByReferenceIdRequest) String() string
type QueryProjectsByReferenceIdResponse ¶
type QueryProjectsByReferenceIdResponse 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 }
QueryProjectsByReferenceIdResponse is the Query/ProjectsByReferenceId response type.
func (*QueryProjectsByReferenceIdResponse) Descriptor
deprecated
func (*QueryProjectsByReferenceIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryProjectsByReferenceIdResponse.ProtoReflect.Descriptor instead.
func (*QueryProjectsByReferenceIdResponse) GetPagination ¶
func (x *QueryProjectsByReferenceIdResponse) GetPagination() *v1beta1.PageResponse
func (*QueryProjectsByReferenceIdResponse) GetProjects ¶
func (x *QueryProjectsByReferenceIdResponse) GetProjects() []*ProjectInfo
func (*QueryProjectsByReferenceIdResponse) ProtoMessage ¶
func (*QueryProjectsByReferenceIdResponse) ProtoMessage()
func (*QueryProjectsByReferenceIdResponse) ProtoReflect ¶
func (x *QueryProjectsByReferenceIdResponse) ProtoReflect() protoreflect.Message
func (*QueryProjectsByReferenceIdResponse) Reset ¶
func (x *QueryProjectsByReferenceIdResponse) Reset()
func (*QueryProjectsByReferenceIdResponse) String ¶
func (x *QueryProjectsByReferenceIdResponse) String() string
type QueryProjectsRequest ¶
type QueryProjectsRequest 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 }
QueryProjectsRequest is the Query/Projects request type.
func (*QueryProjectsRequest) Descriptor
deprecated
func (*QueryProjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryProjectsRequest.ProtoReflect.Descriptor instead.
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 QueryServer ¶
type QueryServer interface { // Classes queries for all credit classes with pagination. Classes(context.Context, *QueryClassesRequest) (*QueryClassesResponse, error) // ClassesByAdmin queries for all credit classes with a specific admin // address. ClassesByAdmin(context.Context, *QueryClassesByAdminRequest) (*QueryClassesByAdminResponse, error) // Class queries for information on a credit class. Class(context.Context, *QueryClassRequest) (*QueryClassResponse, error) // ClassIssuers queries for the addresses of the issuers for a credit class. ClassIssuers(context.Context, *QueryClassIssuersRequest) (*QueryClassIssuersResponse, error) // Projects queries for all projects with pagination. Projects(context.Context, *QueryProjectsRequest) (*QueryProjectsResponse, error) // ProjectsByClass queries for all projects within a class with pagination. ProjectsByClass(context.Context, *QueryProjectsByClassRequest) (*QueryProjectsByClassResponse, error) // ProjectsByReferenceId queries for all projects by reference-id with // pagination. ProjectsByReferenceId(context.Context, *QueryProjectsByReferenceIdRequest) (*QueryProjectsByReferenceIdResponse, error) // ProjectsByAdmin queries for all projects by admin with // pagination. ProjectsByAdmin(context.Context, *QueryProjectsByAdminRequest) (*QueryProjectsByAdminResponse, error) // Project queries for information on a project. Project(context.Context, *QueryProjectRequest) (*QueryProjectResponse, error) // Batches queries for all batches with pagination. Batches(context.Context, *QueryBatchesRequest) (*QueryBatchesResponse, error) // BatchesByIssuer queries all batches issued from a given issuer address. BatchesByIssuer(context.Context, *QueryBatchesByIssuerRequest) (*QueryBatchesByIssuerResponse, error) // BatchesByClass queries all batches issued from a given class. BatchesByClass(context.Context, *QueryBatchesByClassRequest) (*QueryBatchesByClassResponse, error) // BatchesByProject queries for all batches from a given project with // pagination. BatchesByProject(context.Context, *QueryBatchesByProjectRequest) (*QueryBatchesByProjectResponse, error) // Batch queries for information on a credit batch. Batch(context.Context, *QueryBatchRequest) (*QueryBatchResponse, error) // Balance queries the balance (both tradable and retired) of a given credit // batch for a given account address. Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error) // Balances queries all credit balances the given account holds. Balances(context.Context, *QueryBalancesRequest) (*QueryBalancesResponse, error) // BalancesByBatch queries all credit balances from a given batch. // // Since Revision 2 BalancesByBatch(context.Context, *QueryBalancesByBatchRequest) (*QueryBalancesByBatchResponse, error) // AllBalances queries all credit balances. // // Since Revision 2 AllBalances(context.Context, *QueryAllBalancesRequest) (*QueryAllBalancesResponse, 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) // Deprecated: Do not use. // Params queries the ecocredit module parameters. // // Deprecated (Since Revision 2): This rpc will be removed in the next // version. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // CreditType queries credit type information by abbreviation. CreditType(context.Context, *QueryCreditTypeRequest) (*QueryCreditTypeResponse, error) // ClassCreatorAllowlist queries the credit class creator allowlist // enabled setting. // // Since Revision 2 ClassCreatorAllowlist(context.Context, *QueryClassCreatorAllowlistRequest) (*QueryClassCreatorAllowlistResponse, error) // AllowedClassCreators queries allowed credit class creators list. // // Since Revision 2 AllowedClassCreators(context.Context, *QueryAllowedClassCreatorsRequest) (*QueryAllowedClassCreatorsResponse, error) // ClassFee returns the credit class creation fee. If not set, a credit class // creation fee is not required. // // Since Revision 2 ClassFee(context.Context, *QueryClassFeeRequest) (*QueryClassFeeResponse, error) // AllowedBridgeChains queries the list of chains allowed to be used in bridge // operations. // // Since Revision 2 AllowedBridgeChains(context.Context, *QueryAllowedBridgeChainsRequest) (*QueryAllowedBridgeChainsResponse, 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 identifier of the 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_amount is the decimal number of tradable credits in the batch // supply. 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 in the batch // supply. RetiredAmount string `protobuf:"bytes,2,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"` // cancelled_amount is the decimal number of cancelled credits in the batch // supply. CancelledAmount string `protobuf:"bytes,3,opt,name=cancelled_amount,json=cancelledAmount,proto3" json:"cancelled_amount,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) GetCancelledAmount ¶
func (x *QuerySupplyResponse) GetCancelledAmount() string
func (*QuerySupplyResponse) GetRetiredAmount ¶
func (x *QuerySupplyResponse) GetRetiredAmount() string
func (*QuerySupplyResponse) GetTradableAmount ¶
func (x *QuerySupplyResponse) GetTradableAmount() 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 StateStore ¶
type StateStore interface { CreditTypeTable() CreditTypeTable ClassTable() ClassTable ClassIssuerTable() ClassIssuerTable ProjectTable() ProjectTable BatchTable() BatchTable ClassSequenceTable() ClassSequenceTable ProjectSequenceTable() ProjectSequenceTable BatchSequenceTable() BatchSequenceTable BatchBalanceTable() BatchBalanceTable BatchSupplyTable() BatchSupplyTable OriginTxIndexTable() OriginTxIndexTable BatchContractTable() BatchContractTable ClassCreatorAllowlistTable() ClassCreatorAllowlistTable AllowedClassCreatorTable() AllowedClassCreatorTable ClassFeeTable() ClassFeeTable AllowedBridgeChainTable() AllowedBridgeChainTable // contains filtered or unexported methods }
func NewStateStore ¶
func NewStateStore(db ormtable.Schema) (StateStore, error)
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) AddAllowedBridgeChain ¶
func (UnimplementedMsgServer) AddAllowedBridgeChain(context.Context, *MsgAddAllowedBridgeChain) (*MsgAddAllowedBridgeChainResponse, error)
func (UnimplementedMsgServer) AddClassCreator ¶
func (UnimplementedMsgServer) AddClassCreator(context.Context, *MsgAddClassCreator) (*MsgAddClassCreatorResponse, error)
func (UnimplementedMsgServer) AddCreditType ¶
func (UnimplementedMsgServer) AddCreditType(context.Context, *MsgAddCreditType) (*MsgAddCreditTypeResponse, error)
func (UnimplementedMsgServer) Bridge ¶
func (UnimplementedMsgServer) Bridge(context.Context, *MsgBridge) (*MsgBridgeResponse, error)
func (UnimplementedMsgServer) BridgeReceive ¶
func (UnimplementedMsgServer) BridgeReceive(context.Context, *MsgBridgeReceive) (*MsgBridgeReceiveResponse, error)
func (UnimplementedMsgServer) Cancel ¶
func (UnimplementedMsgServer) Cancel(context.Context, *MsgCancel) (*MsgCancelResponse, 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) MintBatchCredits ¶
func (UnimplementedMsgServer) MintBatchCredits(context.Context, *MsgMintBatchCredits) (*MsgMintBatchCreditsResponse, error)
func (UnimplementedMsgServer) RemoveAllowedBridgeChain ¶
func (UnimplementedMsgServer) RemoveAllowedBridgeChain(context.Context, *MsgRemoveAllowedBridgeChain) (*MsgRemoveAllowedBridgeChainResponse, error)
func (UnimplementedMsgServer) RemoveClassCreator ¶
func (UnimplementedMsgServer) RemoveClassCreator(context.Context, *MsgRemoveClassCreator) (*MsgRemoveClassCreatorResponse, error)
func (UnimplementedMsgServer) Retire ¶
func (UnimplementedMsgServer) Retire(context.Context, *MsgRetire) (*MsgRetireResponse, error)
func (UnimplementedMsgServer) SealBatch ¶
func (UnimplementedMsgServer) SealBatch(context.Context, *MsgSealBatch) (*MsgSealBatchResponse, error)
func (UnimplementedMsgServer) Send ¶
func (UnimplementedMsgServer) Send(context.Context, *MsgSend) (*MsgSendResponse, error)
func (UnimplementedMsgServer) SetClassCreatorAllowlist ¶
func (UnimplementedMsgServer) SetClassCreatorAllowlist(context.Context, *MsgSetClassCreatorAllowlist) (*MsgSetClassCreatorAllowlistResponse, error)
func (UnimplementedMsgServer) UpdateBatchMetadata ¶
func (UnimplementedMsgServer) UpdateBatchMetadata(context.Context, *MsgUpdateBatchMetadata) (*MsgUpdateBatchMetadataResponse, error)
func (UnimplementedMsgServer) UpdateClassAdmin ¶
func (UnimplementedMsgServer) UpdateClassAdmin(context.Context, *MsgUpdateClassAdmin) (*MsgUpdateClassAdminResponse, error)
func (UnimplementedMsgServer) UpdateClassFee ¶
func (UnimplementedMsgServer) UpdateClassFee(context.Context, *MsgUpdateClassFee) (*MsgUpdateClassFeeResponse, 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) UpdateProjectAdmin ¶
func (UnimplementedMsgServer) UpdateProjectAdmin(context.Context, *MsgUpdateProjectAdmin) (*MsgUpdateProjectAdminResponse, error)
func (UnimplementedMsgServer) UpdateProjectMetadata ¶
func (UnimplementedMsgServer) UpdateProjectMetadata(context.Context, *MsgUpdateProjectMetadata) (*MsgUpdateProjectMetadataResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) AllBalances ¶
func (UnimplementedQueryServer) AllBalances(context.Context, *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error)
func (UnimplementedQueryServer) AllowedBridgeChains ¶
func (UnimplementedQueryServer) AllowedBridgeChains(context.Context, *QueryAllowedBridgeChainsRequest) (*QueryAllowedBridgeChainsResponse, error)
func (UnimplementedQueryServer) AllowedClassCreators ¶
func (UnimplementedQueryServer) AllowedClassCreators(context.Context, *QueryAllowedClassCreatorsRequest) (*QueryAllowedClassCreatorsResponse, error)
func (UnimplementedQueryServer) Balance ¶
func (UnimplementedQueryServer) Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
func (UnimplementedQueryServer) Balances ¶
func (UnimplementedQueryServer) Balances(context.Context, *QueryBalancesRequest) (*QueryBalancesResponse, error)
func (UnimplementedQueryServer) BalancesByBatch ¶
func (UnimplementedQueryServer) BalancesByBatch(context.Context, *QueryBalancesByBatchRequest) (*QueryBalancesByBatchResponse, error)
func (UnimplementedQueryServer) Batch ¶
func (UnimplementedQueryServer) Batch(context.Context, *QueryBatchRequest) (*QueryBatchResponse, error)
func (UnimplementedQueryServer) Batches ¶
func (UnimplementedQueryServer) Batches(context.Context, *QueryBatchesRequest) (*QueryBatchesResponse, error)
func (UnimplementedQueryServer) BatchesByClass ¶
func (UnimplementedQueryServer) BatchesByClass(context.Context, *QueryBatchesByClassRequest) (*QueryBatchesByClassResponse, error)
func (UnimplementedQueryServer) BatchesByIssuer ¶
func (UnimplementedQueryServer) BatchesByIssuer(context.Context, *QueryBatchesByIssuerRequest) (*QueryBatchesByIssuerResponse, error)
func (UnimplementedQueryServer) BatchesByProject ¶
func (UnimplementedQueryServer) BatchesByProject(context.Context, *QueryBatchesByProjectRequest) (*QueryBatchesByProjectResponse, error)
func (UnimplementedQueryServer) Class ¶
func (UnimplementedQueryServer) Class(context.Context, *QueryClassRequest) (*QueryClassResponse, error)
func (UnimplementedQueryServer) ClassCreatorAllowlist ¶
func (UnimplementedQueryServer) ClassCreatorAllowlist(context.Context, *QueryClassCreatorAllowlistRequest) (*QueryClassCreatorAllowlistResponse, error)
func (UnimplementedQueryServer) ClassFee ¶
func (UnimplementedQueryServer) ClassFee(context.Context, *QueryClassFeeRequest) (*QueryClassFeeResponse, error)
func (UnimplementedQueryServer) ClassIssuers ¶
func (UnimplementedQueryServer) ClassIssuers(context.Context, *QueryClassIssuersRequest) (*QueryClassIssuersResponse, error)
func (UnimplementedQueryServer) Classes ¶
func (UnimplementedQueryServer) Classes(context.Context, *QueryClassesRequest) (*QueryClassesResponse, error)
func (UnimplementedQueryServer) ClassesByAdmin ¶
func (UnimplementedQueryServer) ClassesByAdmin(context.Context, *QueryClassesByAdminRequest) (*QueryClassesByAdminResponse, error)
func (UnimplementedQueryServer) CreditType ¶
func (UnimplementedQueryServer) CreditType(context.Context, *QueryCreditTypeRequest) (*QueryCreditTypeResponse, 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) Project ¶
func (UnimplementedQueryServer) Project(context.Context, *QueryProjectRequest) (*QueryProjectResponse, error)
func (UnimplementedQueryServer) Projects ¶
func (UnimplementedQueryServer) Projects(context.Context, *QueryProjectsRequest) (*QueryProjectsResponse, error)
func (UnimplementedQueryServer) ProjectsByAdmin ¶
func (UnimplementedQueryServer) ProjectsByAdmin(context.Context, *QueryProjectsByAdminRequest) (*QueryProjectsByAdminResponse, error)
func (UnimplementedQueryServer) ProjectsByClass ¶
func (UnimplementedQueryServer) ProjectsByClass(context.Context, *QueryProjectsByClassRequest) (*QueryProjectsByClassResponse, error)
func (UnimplementedQueryServer) ProjectsByReferenceId ¶
func (UnimplementedQueryServer) ProjectsByReferenceId(context.Context, *QueryProjectsByReferenceIdRequest) (*QueryProjectsByReferenceIdResponse, 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.