MCPcopy Create free account
hub / github.com/CPChain/chain / printBalance

Function printBalance

tools/smartcontract/deploy/util.go:50–55  ·  view source on GitHub ↗
(client *cpclient.Client, fromAddress common.Address)

Source from the content-addressed store, hash-verified

48}
49
50func printBalance(client *cpclient.Client, fromAddress common.Address) {
51 // Check balance.
52 bal, _ := client.BalanceAt(context.Background(), fromAddress, nil)
53 _ = bal
54 // fmt.Println("balance:", bal)
55}
56
57func PrintContract(title string, address common.Address) {
58 fmt.Println("================================================================")

Callers 6

DeployCampaignFunction · 0.70
DeployRNodeFunction · 0.70
DeployRptFunction · 0.70
TestRptFunction · 0.70
DeployNetworkFunction · 0.70
DeployAdmissionFunction · 0.70

Calls 1

BalanceAtMethod · 0.65

Tested by 1

TestRptFunction · 0.56