# Packages

Package v1alpha1 is a reverse proxy.

# Functions

DefaultCreditTypes returns a default set of credit types.
DefaultParams returns a default set of parameters.
ExponentToPrefix returns a denom prefix for a given exponent.
FormatBatchDenom formats the unique denomination for a credit batch.
FormatClassId formats the unique identifier for a new credit class, based on the credit type abbreviation and the credit class sequence number.
FormatProjectId formats the unique identifier for a new project, based on the credit class id and project sequence number.
GetClassIdFromBatchDenom returns the credit class ID in a batch denom.
GetClassIdFromProjectId returns the credit class ID in a project ID.
GetCreditTypeAbbrevFromClassId returns the credit type abbreviation in a credit class id.
GetProjectIdFromBatchDenom returns the credit project ID in a batch denom.
No description provided by the author
NewParams creates a new Params object.
No description provided by the author
ParamKeyTable returns the parameter key table.
No description provided by the author
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
No description provided by the author
ValidateBatchDenom validates a batch denomination conforms to the format described in FormatBatchDenom.
ValidateClassId validates a class ID conforms to the format described in FormatClassId.
ValidateCreditTypeAbbreviation validates a credit type abbreviation, ensuring it is only 1-3 uppercase letters.
ValidateJurisdiction checks that the country and region conform to ISO 3166 and the postal code is valid.
ValidateProjectId validates a project ID conforms to the format described in FormatProjectId.

# Constants

BridgePolygon is currently the only allowed target when calling Msg/Bridge and the only allowed source (provided within OriginTx) when calling Msg/BridgeReceive.
MaxMetadataLength defines the max length of the metadata bytes field for the credit-class & credit-batch.
MaxNoteLength defines the max length for note fields.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
This is a value of 20 REGEN.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Batch represents the high-level on-chain information for a credit batch.
BatchBalance stores each accounts credit balance.
BatchBalanceInfo is the human-readable batch balance information.
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.
BatchInfo is the human-readable credit batch information.
BatchIssuance represents a simple structure for a credit batch issuance.
BatchSequence stores and increments the sequence number for credit batches within a project.
BatchSupply stores the supply of credits for a credit batch.
Class represents the high-level on-chain information for a credit class.
ClassInfo is the human-readable credit class information.
ClassIssuers is a JOIN table for Class Info that stores the credit class issuers.
ClassSequence stores and increments the sequence number for credit classes within a credit type.
Credits represents a simple structure for credits.
CreditType defines the measurement unit/precision of a certain credit type (e.g.
CreditTypeProposal is a gov Content type for adding a credit type.
EventAddCreditType is emitted when governance approves a new credit type.
EventBridge is emitted when credits are bridged to another chain.
EventBridgeReceive is emitted when credits are bridged from another chain.
EventCancel is an event emitted when credits are cancelled.
EventCreateBatch is an event emitted when a credit batch is created.
EventCreateClass is an event emitted when a credit class is created.
EventCreateProject is an event emitted when a project is created.
EventMint is an event emitted when credits are minted either when creating a credit batch or when bridging assets from another chain or registry.
EventMintBatchCredits is an event emitted when credits are minted to an existing open credit batch.
EventRetire is an event emitted when credits are retired.
EventSealBatch is emitted when a batch is sealed.
EventTransfer is an event emitted when credits are transferred from one account to another including transfers to or from a module account.
EventUpdateClassAdmin is emitted when the admin address of a credit class is changed.
EventUpdateClassIssuers is emitted when the issuer list for a credit class is updated.
EventUpdateClassMetadata is emitted when the credit class metadata is changed.
EventUpdateProjectAdmin is emitted when the project admin is changed.
EventUpdateProjectMetadata is emitted when the project metadata is changed.
MsgBridge is the Msg/Bridge request type.
MsgBridgeReceive is the Msg/BridgeReceive request type.
Batch defines the credit batch information for the bridged credits.
Project defines the project information for the bridged credits.
MsgBridgeReceiveResponse is the Msg/BridgeReceive response type.
MsgBridgeResponse is the Msg/Bridge response type.
MsgCancel is the Msg/Cancel request type.
MsgCancelResponse is the Msg/Cancel response type.
MsgCreateBatch is the Msg/CreateBatch request type.
MsgCreateBatchResponse is the Msg/CreateBatch response type.
MsgCreateClass is the Msg/CreateClass request type.
MsgCreateClassResponse is the Msg/CreateClass response type.
MsgCreateProjectResponse is the Msg/CreateProject request type.
MsgCreateProjectResponse is the Msg/CreateProject response type.
MsgMintBatchCredits is the Msg/MintBatchCredits request type.
MsgMintBatchCreditsResponse is the Msg/MintBatchCredits response type.
MsgRetire is the Msg/Retire request type.
MsgRetire is the Msg/Retire response type.
MsgSealBatch is the Msg/MintBatchCredits request type.
MsgSealBatchResponse is the Msg/SealBatch response type.
MsgSend is the Msg/Send request type.
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.
MsgSendResponse is the Msg/Send response type.
MsgUpdateClassAdmin is the Msg/UpdateClassAdmin request type.
MsgUpdateClassAdminResponse is the MsgUpdateClassAdmin response type.
MsgUpdateClassIssuers is the Msg/UpdateClassIssuers request type.
MsgUpdateClassIssuersResponse is the MsgUpdateClassIssuers response type.
MsgUpdateClassMetadata is the Msg/UpdateClassMetadata request type.
MsgUpdateClassMetadataResponse is the Msg/UpdateClassMetadata response type.
MsgUpdateProjectAdmin is the Msg/UpdateProjectAdmin request type.
MsgUpdateProjectAdmin is the Msg/UpdateProjectAdmin response type.
MsgUpdateProjectMetadata is the Msg/UpdateProjectMetadata request type.
MsgUpdateProjectMetadataResponse is the Msg/UpdateProjectMetadataResponse response type.
OriginTx is the transaction from another chain or registry that triggered the minting of credits.
OriginTxIndex indexes the transaction ID and source from the OriginTx included in Msg/CreateBatch and Msg/MintBatchCredits to prevent double minting errors.
Params defines the updatable global parameters of the ecocredit module for use with the x/params module.
Project represents the high-level on-chain information for a project.
ProjectInfo is the human-readable project information.
ProjectSequence stores and increments the sequence number for projects within a credit class.
QueryBalanceRequest is the Query/Balance request type.
QueryBalanceResponse is the Query/Balance response type.
QueryBalancesRequest is the Query/Balances request type.
QueryBalancesResponse is the Query/Balances response type.
QueryBatchesByClassRequest is the Query/BatchesByClass request type.
QueryBatchesByClassResponse is the Query/BatchesByClass response type.
QueryBatchesByIssuerRequest is the Query/BatchesByIssuer request type.
QueryBatchesByIssuerResponse is the Query/BatchesByIssuer response type.
QueryBatchesByProjectRequest is the Query/BatchesByProject request type.
QueryBatchesByProjectResponse is the Query/BatchesByProject response type.
QueryBatchesRequest is the Query/Batches request type.
QueryBatchesResponse is the Query/Batches response type.
QueryBatchRequest is the Query/Batch request type.
QueryBatchResponse is the Query/Batch response type.
QueryClassesByAdminRequest is the Query/ClassesByAdmin request type.
QueryClassesByAdminResponse is the Query/ClassesByAdmin response type.
QueryClassesRequest is the Query/Classes request type.
QueryClassesResponse is the Query/Classes response type.
QueryClassIssuersRequest is the Query/ClassIssuers request type.
QueryClassIssuersRequest is the Query/ClassIssuers response type.
QueryClassRequest is the Query/Class request type.
QueryClassResponse is the Query/Class request type.
QueryCreditTypeRequest is the Query/CreditType request type.
QueryCreditTypeResponse is the Query/CreditType response type.
QueryCreditTypesRequest is the Query/Credit_Types request type.
QueryCreditTypesRequest is the Query/Credit_Types response type.
QueryParamsRequest is the Query/Params request type.
QueryParamsResponse is the Query/Params response type.
QueryProjectRequest is the Query/Project request type.
QueryProjectResponse is the Query/Project response type.
QueryProjectsByAdminRequest is the Query/ProjectByAdmin request type.
QueryProjectsByAdminResponse is the Query/ProjectByAdmin response type.
QueryProjectsByClassRequest is the Query/ProjectsByClass request type.
QueryProjectsByClassResponse is the Query/ProjectsByClass response type.
QueryProjectsByReferenceIdRequest is the Query/ProjectsByReferenceId request type.
QueryProjectsByReferenceIdResponse is the Query/ProjectsByReferenceId response type.
QueryProjectsRequest is the Query/Projects request type.
QueryProjectsResponse is the Query/Projects response type.
QuerySupplyRequest is the Query/Supply request type.
QuerySupplyResponse is the Query/Supply response type.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.

# Interfaces

MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.