github.com/aergoio/aergo@v1.3.1/cmd/brick/context/symbol.go (about)

     1  package context
     2  
     3  var Comment = "#"
     4  var (
     5  	PathSymbol         = "<path>"
     6  	ContractSymbol     = "<contract>"
     7  	AccountSymbol      = "<account>"
     8  	AmountSymbol       = "<amount>"
     9  	ContractArgsSymbol = "<contract_args>"
    10  	ExpectedSymbol     = "<expected>"
    11  	ExpectedErrSymbol  = "<expected_err>"
    12  	FunctionSymbol     = "<function>"
    13  	CommandSymbol      = "[command]"
    14  )
    15  
    16  // reprenestation and description map of all symbols
    17  var Symbols = make(map[string]string)
    18  
    19  func init() {
    20  	Symbols[PathSymbol] = "folder or file location"
    21  	Symbols[ContractSymbol] = "contract address"
    22  	Symbols[AccountSymbol] = "account address"
    23  	Symbols[ContractArgsSymbol] = "an array of argments to call a contract"
    24  	Symbols[AmountSymbol] = "amount of aergo to send"
    25  	Symbols[ExpectedSymbol] = "expected result"
    26  	Symbols[ExpectedErrSymbol] = "expected error"
    27  	Symbols[FunctionSymbol] = "smart contract function name"
    28  }