(client *cpclient.Client, fromAddress common.Address)
| 48 | } |
| 49 | |
| 50 | func 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 | |
| 57 | func PrintContract(title string, address common.Address) { |
| 58 | fmt.Println("================================================================") |