Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
6780aa90
Commit
6780aa90
authored
Dec 30, 2019
by
linj
Committed by
vipwzw
Dec 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
token cmd
get_finish_created -> created get_precreated -> precreated token_assets -> assets token_balance -> balance get_token_logs -> logs
parent
bccd6190
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
token.go
plugin/dapp/token/commands/token.go
+9
-9
No files found.
plugin/dapp/token/commands/token.go
View file @
6780aa90
...
...
@@ -35,7 +35,7 @@ func TokenCmd() *cobra.Command {
CreateTokenTransferCmd
(),
CreateTokenWithdrawCmd
(),
GetTokensPreCreatedCmd
(),
GetTokens
Finish
CreatedCmd
(),
GetTokensCreatedCmd
(),
GetTokenAssetsCmd
(),
GetTokenBalanceCmd
(),
CreateRawTokenPreCreateTxCmd
(),
...
...
@@ -136,7 +136,7 @@ func createTokenWithdraw(cmd *cobra.Command, args []string) {
// GetTokensPreCreatedCmd get precreated tokens
func
GetTokensPreCreatedCmd
()
*
cobra
.
Command
{
cmd
:=
&
cobra
.
Command
{
Use
:
"
get_
precreated"
,
Use
:
"precreated"
,
Short
:
"Get precreated tokens"
,
Run
:
getPreCreatedTokens
,
}
...
...
@@ -179,10 +179,10 @@ func getPreCreatedTokens(cmd *cobra.Command, args []string) {
}
}
// GetTokens
Finish
CreatedCmd get finish created tokens
func
GetTokens
Finish
CreatedCmd
()
*
cobra
.
Command
{
// GetTokensCreatedCmd get finish created tokens
func
GetTokensCreatedCmd
()
*
cobra
.
Command
{
cmd
:=
&
cobra
.
Command
{
Use
:
"
get_finish_
created"
,
Use
:
"created"
,
Short
:
"Get finish created tokens"
,
Run
:
getFinishCreatedTokens
,
}
...
...
@@ -229,7 +229,7 @@ func getFinishCreatedTokens(cmd *cobra.Command, args []string) {
// GetTokenAssetsCmd get token assets
func
GetTokenAssetsCmd
()
*
cobra
.
Command
{
cmd
:=
&
cobra
.
Command
{
Use
:
"
token_
assets"
,
Use
:
"assets"
,
Short
:
"Get token assets"
,
Run
:
tokenAssets
,
}
...
...
@@ -287,7 +287,7 @@ func parseTokenAssetsRes(arg interface{}) (interface{}, error) {
// GetTokenBalanceCmd get token balance
func
GetTokenBalanceCmd
()
*
cobra
.
Command
{
cmd
:=
&
cobra
.
Command
{
Use
:
"
token_
balance"
,
Use
:
"balance"
,
Short
:
"Get token balance of one or more addresses"
,
Run
:
tokenBalance
,
}
...
...
@@ -544,7 +544,7 @@ func tokenBurn(cmd *cobra.Command, args []string) {
// GetTokenLogsCmd get logs of token
func
GetTokenLogsCmd
()
*
cobra
.
Command
{
cmd
:=
&
cobra
.
Command
{
Use
:
"
get_token_
logs"
,
Use
:
"logs"
,
Short
:
"Get logs of token"
,
Run
:
getTokenLogs
,
}
...
...
@@ -589,7 +589,7 @@ func getTokenLogsFlags(cmd *cobra.Command) {
// GetTokenCmd get token
func
GetTokenCmd
()
*
cobra
.
Command
{
cmd
:=
&
cobra
.
Command
{
Use
:
"
get_token
"
,
Use
:
"
info
"
,
Short
:
"Get token info"
,
Run
:
getToken
,
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment