@@ -41,80 +41,81 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
41
41
Short : "Returns the tokenfactory module's parameters" ,
42
42
},
43
43
},
44
+ EnhanceCustomCommand : true , // We still have manual commands in gov that we want to keep
44
45
},
45
- Tx : & autocliv1.ServiceCommandDescriptor {
46
- Service : tokenfactoryv1beta1 .Msg_ServiceDesc .ServiceName ,
47
- RpcCommandOptions : []* autocliv1.RpcCommandOptions {
48
- {
49
- RpcMethod : "CreateDenom" ,
50
- Use : "create-denom [sender] [sub-denom]" ,
51
- Short : "create a new denom from an account." ,
52
- PositionalArgs : []* autocliv1.PositionalArgDescriptor {
53
- {ProtoField : "sender" },
54
- {ProtoField : "subdenom" },
55
- },
56
- },
57
- {
58
- RpcMethod : "Mint" ,
59
- Use : "mint [sender] [amount] [mint-to-address]" ,
60
- Short : "Mint a denom to an address. Must have admin authority to do so." ,
61
- PositionalArgs : []* autocliv1.PositionalArgDescriptor {
62
- {ProtoField : "sender" },
63
- {ProtoField : "amount" },
64
- {ProtoField : "mintToAddress" },
65
- },
66
- },
67
- {
68
- RpcMethod : "Burn" ,
69
- Use : "burn [sender] [amount] [burn-from-address]" ,
70
- Short : "Burn tokens from an address. Must have admin authority to do so." ,
71
- PositionalArgs : []* autocliv1.PositionalArgDescriptor {
72
- {ProtoField : "sender" },
73
- {ProtoField : "amount" },
74
- {ProtoField : "burnFromAddress" },
75
- },
76
- },
77
- {
78
- RpcMethod : "ChangeAdmin" ,
79
- Use : "change-admin [sender] [denom] [new-admin]" ,
80
- Short : "Changes the admin address for a factory-created denom. Must have admin authority to do so." ,
81
- PositionalArgs : []* autocliv1.PositionalArgDescriptor {
82
- {ProtoField : "sender" },
83
- {ProtoField : "denom" },
84
- {ProtoField : "new_admin" },
85
- },
86
- },
87
- {
88
- RpcMethod : "SetDenomMetadata" ,
89
- Use : "set-denom-metadata [sender] [denom] [cosmwasm-address]" ,
90
- Short : "Set a denom metadata" ,
91
- PositionalArgs : []* autocliv1.PositionalArgDescriptor {
92
- {ProtoField : "sender" },
93
- {ProtoField : "denom" },
94
- {ProtoField : "cosmwasm_address" },
95
- },
96
- },
97
- {
98
- RpcMethod : "SetBeforeSendHook" ,
99
- Use : "set-beforesend-hook [denom] [cosmwasm-address]" ,
100
- Short : "Set a cosmwasm contract to be the beforesend hook for a factory-created denom. Must have admin authority to do so." ,
101
- PositionalArgs : []* autocliv1.PositionalArgDescriptor {
102
- {ProtoField : "sender " },
103
- {ProtoField : "subdenom " },
104
- },
105
- },
106
- {
107
- RpcMethod : "ForceTransfer" ,
108
- Use : "force-transfer [sender] [amount] [transfer-from-address] [transfer-to-address]" ,
109
- Short : "Transfer a factory-crated denom" ,
110
- PositionalArgs : []* autocliv1.PositionalArgDescriptor {
111
- {ProtoField : "sender" },
112
- {ProtoField : "amount" },
113
- {ProtoField : "transferFromAddress" },
114
- {ProtoField : "transferToAddress" },
115
- },
116
- },
117
- },
118
- },
46
+ // Tx: &autocliv1.ServiceCommandDescriptor{
47
+ // Service: tokenfactoryv1beta1.Msg_ServiceDesc.ServiceName,
48
+ // RpcCommandOptions: []*autocliv1.RpcCommandOptions{
49
+ // {
50
+ // RpcMethod: "CreateDenom",
51
+ // Use: "create-denom [sender] [sub-denom]",
52
+ // Short: "create a new denom from an account.",
53
+ // PositionalArgs: []*autocliv1.PositionalArgDescriptor{
54
+ // {ProtoField: "sender"},
55
+ // {ProtoField: "subdenom"},
56
+ // },
57
+ // },
58
+ // {
59
+ // RpcMethod: "Mint",
60
+ // Use: "mint [sender] [amount] [mint-to-address]",
61
+ // Short: "Mint a denom to an address. Must have admin authority to do so.",
62
+ // PositionalArgs: []*autocliv1.PositionalArgDescriptor{
63
+ // {ProtoField: "sender"},
64
+ // {ProtoField: "amount"},
65
+ // {ProtoField: "mintToAddress"},
66
+ // },
67
+ // },
68
+ // {
69
+ // RpcMethod: "Burn",
70
+ // Use: "burn [sender] [amount] [burn-from-address]",
71
+ // Short: "Burn tokens from an address. Must have admin authority to do so.",
72
+ // PositionalArgs: []*autocliv1.PositionalArgDescriptor{
73
+ // {ProtoField: "sender"},
74
+ // {ProtoField: "amount"},
75
+ // {ProtoField: "burnFromAddress"},
76
+ // },
77
+ // },
78
+ // {
79
+ // RpcMethod: "ChangeAdmin",
80
+ // Use: "change-admin [sender] [denom] [new-admin]",
81
+ // Short: "Changes the admin address for a factory-created denom. Must have admin authority to do so.",
82
+ // PositionalArgs: []*autocliv1.PositionalArgDescriptor{
83
+ // {ProtoField: "sender"},
84
+ // {ProtoField: "denom"},
85
+ // {ProtoField: "new_admin"},
86
+ // },
87
+ // },
88
+ // {
89
+ // RpcMethod: "SetDenomMetadata",
90
+ // Use: "set-denom-metadata [sender] [denom] [cosmwasm-address]",
91
+ // Short: "Set a denom metadata",
92
+ // PositionalArgs: []*autocliv1.PositionalArgDescriptor{
93
+ // {ProtoField: "sender"},
94
+ // {ProtoField: "denom"},
95
+ // {ProtoField: "cosmwasm_address"},
96
+ // },
97
+ // },
98
+ // {
99
+ // RpcMethod: "SetBeforeSendHook",
100
+ // Use: "set-beforesend-hook [denom] [cosmwasm-address]",
101
+ // Short: "Set a cosmwasm contract to be the beforesend hook for a factory-created denom. Must have admin authority to do so.",
102
+ // PositionalArgs: []*autocliv1.PositionalArgDescriptor{
103
+ // {ProtoField: "denom "},
104
+ // {ProtoField: "cosmwasm-address "},
105
+ // },
106
+ // },
107
+ // {
108
+ // RpcMethod: "ForceTransfer",
109
+ // Use: "force-transfer [sender] [amount] [transfer-from-address] [transfer-to-address]",
110
+ // Short: "Transfer a factory-crated denom",
111
+ // PositionalArgs: []*autocliv1.PositionalArgDescriptor{
112
+ // {ProtoField: "sender"},
113
+ // {ProtoField: "amount"},
114
+ // {ProtoField: "transferFromAddress"},
115
+ // {ProtoField: "transferToAddress"},
116
+ // },
117
+ // },
118
+ // },
119
+ // },
119
120
}
120
121
}
0 commit comments