github.com/status-im/status-go@v1.1.0/contracts/ethscan/ethscan_iface.go (about) 1 package ethscan 2 3 import ( 4 "github.com/ethereum/go-ethereum/accounts/abi/bind" 5 "github.com/ethereum/go-ethereum/common" 6 ) 7 8 type BalanceScannerIface interface { 9 EtherBalances(opts *bind.CallOpts, addresses []common.Address) ([]BalanceScannerResult, error) 10 TokenBalances(opts *bind.CallOpts, addresses []common.Address, tokenAddress common.Address) ([]BalanceScannerResult, error) 11 TokensBalance(opts *bind.CallOpts, owner common.Address, contracts []common.Address) ([]BalanceScannerResult, error) 12 } 13 14 // Verify that BalanceScanner implements BalanceScannerIface. If contract changes, this will fail to compile. 15 var _ BalanceScannerIface = (*BalanceScanner)(nil)