forked from aergoio/aergo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
symbol.go
28 lines (25 loc) · 881 Bytes
/
symbol.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package context
var Comment = "#"
var (
PathSymbol = "<path>"
ContractSymbol = "<contract>"
AccountSymbol = "<account>"
AmountSymbol = "<amount>"
ContractArgsSymbol = "<contract_args>"
ExpectedSymbol = "<expected>"
ExpectedErrSymbol = "<expected_err>"
FunctionSymbol = "<function>"
CommandSymbol = "[command]"
)
// reprenestation and description map of all symbols
var Symbols = make(map[string]string)
func init() {
Symbols[PathSymbol] = "folder or file location"
Symbols[ContractSymbol] = "contract address"
Symbols[AccountSymbol] = "account address"
Symbols[ContractArgsSymbol] = "an array of argments to call a contract"
Symbols[AmountSymbol] = "amount of aergo to send"
Symbols[ExpectedSymbol] = "expected result"
Symbols[ExpectedErrSymbol] = "expected error"
Symbols[FunctionSymbol] = "smart contract function name"
}