Documentation ¶
Index ¶
- Constants
- func ParseDate(field string, date string) (time.Time, error)
- func QueryBalanceCmd() *cobra.Command
- func QueryBatchInfoCmd() *cobra.Command
- func QueryBatchesCmd() *cobra.Command
- func QueryClassInfoCmd() *cobra.Command
- func QueryClassesCmd() *cobra.Command
- func QueryCmd(name string) *cobra.Command
- func QueryCreditTypesCmd() *cobra.Command
- func QueryParams() *cobra.Command
- func QuerySupplyCmd() *cobra.Command
- func TxCancelCmd() *cobra.Command
- func TxCmd(name string) *cobra.Command
- func TxCreateBatchCmd() *cobra.Command
- func TxCreateClassCmd() *cobra.Command
- func TxGenBatchJSONCmd() *cobra.Command
- func TxRetireCmd() *cobra.Command
- func TxSendCmd() *cobra.Command
- func TxUpdateClassAdminCmd() *cobra.Command
- func TxUpdateClassIssuersCmd() *cobra.Command
- func TxUpdateClassMetadataCmd() *cobra.Command
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func QueryBalanceCmd ¶
QueryBalanceCmd returns a query command that retrieves the tradable and retired balances for a given credit batch and account address.
func QueryBatchInfoCmd ¶
QueryBatchInfoCmd returns a query command that retrieves information for a given credit batch.
func QueryBatchesCmd ¶
QueryBatchesCmd returns a query command that retrieves credit batches for a given credit class.
func QueryClassInfoCmd ¶
QueryClassInfoCmd returns a query command that retrieves information for a given credit class.
func QueryClassesCmd ¶
QueryClassesCmd returns a query command that lists all credit classes.
func QueryCreditTypesCmd ¶
QueryCreditTypesCmd returns a query command that retrieves the list of approved credit types.
func QueryParams ¶
QueryParams returns ecocredit module parameters.
func QuerySupplyCmd ¶
QuerySupplyCmd returns a query command that retrieves the tradable and retired supply of credits for a given credit batch.
func TxCancelCmd ¶
TxCancelCmd returns a transaction command that cancels credits.
func TxCreateBatchCmd ¶
TxCreateBatchCmd returns a transaction command that creates a credit batch.
func TxCreateClassCmd ¶
TxCreateClassCmd returns a transaction command that creates a credit class.
func TxGenBatchJSONCmd ¶
TxGenBatchJSONCmd returns a transaction command that generates JSON to represent a new credit batch.
func TxRetireCmd ¶
TxRetireCmd returns a transaction command that retires credits.
func TxSendCmd ¶
TxSendCmd returns a transaction command that sends credits from one account to another.
func TxUpdateClassAdminCmd ¶
func TxUpdateClassIssuersCmd ¶
Types ¶
This section is empty.