MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / runWallet

Function runWallet

cmd/cql/internal/wallet.go:232–246  ·  view source on GitHub ↗
(cmd *Command, args []string)

Source from the content-addressed store, hash-verified

230}
231
232func runWallet(cmd *Command, args []string) {
233 commonFlagsInit(cmd)
234 configInit()
235
236 fmt.Printf("\n\nwallet address: %s\n", conf.GConf.WalletAddress)
237
238 if databaseID != "" {
239 showDatabaseDeposit(databaseID)
240 } else if tokenName == "" {
241 showAllTokenBalance()
242 showAllDatabaseDeposit()
243 } else {
244 showTokenBalance(tokenName)
245 }
246}

Callers

nothing calls this directly

Calls 7

commonFlagsInitFunction · 0.85
configInitFunction · 0.85
showDatabaseDepositFunction · 0.85
showAllTokenBalanceFunction · 0.85
showAllDatabaseDepositFunction · 0.85
showTokenBalanceFunction · 0.85
PrintfMethod · 0.45

Tested by

no test coverage detected