mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-07-08 21:52:28 +00:00

* extended AttestMachine FundAccount to support a given fee denominator * renamed testutil/network/network.go to testutil/network/loader.go * renamed new to Load * integrated cosmos/testutil/network to planetmint-go/testutil/network * changed to plmnt token tests only! * removed obsolete variables * fixed newest linter issues --------- Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
42 lines
1.1 KiB
Go
42 lines
1.1 KiB
Go
package cli
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
"github.com/cosmos/cosmos-sdk/client"
|
|
// "github.com/cosmos/cosmos-sdk/client/flags"
|
|
"github.com/planetmint/planetmint-go/x/dao/types"
|
|
)
|
|
|
|
var (
|
|
DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds())
|
|
)
|
|
|
|
// GetTxCmd returns the transaction commands for this module
|
|
func GetTxCmd() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: types.ModuleName,
|
|
Short: types.ModuleName + " transactions subcommands",
|
|
DisableFlagParsing: true,
|
|
SuggestionsMinimumDistance: 2,
|
|
RunE: client.ValidateCmd,
|
|
}
|
|
|
|
cmd.AddCommand(CmdReportPopResult())
|
|
cmd.AddCommand(CmdReissueRDDLProposal())
|
|
cmd.AddCommand(CmdMintToken())
|
|
cmd.AddCommand(CmdReissueRDDLResult())
|
|
cmd.AddCommand(CmdDistributionResult())
|
|
cmd.AddCommand(CmdDistributionRequest())
|
|
cmd.AddCommand(CmdUpdateParams())
|
|
cmd.AddCommand(CmdInitPop())
|
|
cmd.AddCommand(CmdCreateRedeemClaim())
|
|
cmd.AddCommand(CmdUpdateRedeemClaim())
|
|
cmd.AddCommand(CmdConfirmRedeemClaim())
|
|
// this line is used by starport scaffolding # 1
|
|
|
|
return cmd
|
|
}
|