ethscan

package
v0.171.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const BalanceScannerABI = "" /* 2489-byte string literal not displayed */

BalanceScannerABI is the input ABI used to generate the binding from.

Variables

View Source
var BalanceScannerFuncSigs = map[string]string{
	"458b3a7c": "call(address[],bytes[])",
	"36738374": "call(address[],bytes[],uint256)",
	"dbdbb51b": "etherBalances(address[])",
	"aad33091": "tokenBalances(address[],address)",
	"e5da1b68": "tokensBalance(address,address[])",
}

BalanceScannerFuncSigs maps the 4-byte function signature to its string representation.

Functions

func ContractAddress

func ContractAddress(chainID uint64) (common.Address, error)

func ContractCreatedAt added in v0.167.5

func ContractCreatedAt(chainID uint64) (uint, error)

Types

type BalanceScanner

type BalanceScanner struct {
	BalanceScannerCaller     // Read-only binding to the contract
	BalanceScannerTransactor // Write-only binding to the contract
	BalanceScannerFilterer   // Log filterer for contract events
}

BalanceScanner is an auto generated Go binding around an Ethereum contract.

func NewBalanceScanner

func NewBalanceScanner(address common.Address, backend bind.ContractBackend) (*BalanceScanner, error)

NewBalanceScanner creates a new instance of BalanceScanner, bound to a specific deployed contract.

type BalanceScannerCaller

type BalanceScannerCaller struct {
	// contains filtered or unexported fields
}

BalanceScannerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBalanceScannerCaller

func NewBalanceScannerCaller(address common.Address, caller bind.ContractCaller) (*BalanceScannerCaller, error)

NewBalanceScannerCaller creates a new read-only instance of BalanceScanner, bound to a specific deployed contract.

func (*BalanceScannerCaller) Call

func (_BalanceScanner *BalanceScannerCaller) Call(opts *bind.CallOpts, contracts []common.Address, data [][]byte, gas *big.Int) ([]BalanceScannerResult, error)

Call is a free data retrieval call binding the contract method 0x36738374.

Solidity: function call(address[] contracts, bytes[] data, uint256 gas) view returns((bool,bytes)[] results)

func (*BalanceScannerCaller) Call0

func (_BalanceScanner *BalanceScannerCaller) Call0(opts *bind.CallOpts, contracts []common.Address, data [][]byte) ([]BalanceScannerResult, error)

Call0 is a free data retrieval call binding the contract method 0x458b3a7c.

Solidity: function call(address[] contracts, bytes[] data) view returns((bool,bytes)[] results)

func (*BalanceScannerCaller) EtherBalances

func (_BalanceScanner *BalanceScannerCaller) EtherBalances(opts *bind.CallOpts, addresses []common.Address) ([]BalanceScannerResult, error)

EtherBalances is a free data retrieval call binding the contract method 0xdbdbb51b.

Solidity: function etherBalances(address[] addresses) view returns((bool,bytes)[] results)

func (*BalanceScannerCaller) TokenBalances

func (_BalanceScanner *BalanceScannerCaller) TokenBalances(opts *bind.CallOpts, addresses []common.Address, token common.Address) ([]BalanceScannerResult, error)

TokenBalances is a free data retrieval call binding the contract method 0xaad33091.

Solidity: function tokenBalances(address[] addresses, address token) view returns((bool,bytes)[] results)

func (*BalanceScannerCaller) TokensBalance

func (_BalanceScanner *BalanceScannerCaller) TokensBalance(opts *bind.CallOpts, owner common.Address, contracts []common.Address) ([]BalanceScannerResult, error)

TokensBalance is a free data retrieval call binding the contract method 0xe5da1b68.

Solidity: function tokensBalance(address owner, address[] contracts) view returns((bool,bytes)[] results)

type BalanceScannerCallerRaw

type BalanceScannerCallerRaw struct {
	Contract *BalanceScannerCaller // Generic read-only contract binding to access the raw methods on
}

BalanceScannerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BalanceScannerCallerRaw) Call

func (_BalanceScanner *BalanceScannerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type BalanceScannerCallerSession

type BalanceScannerCallerSession struct {
	Contract *BalanceScannerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

BalanceScannerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BalanceScannerCallerSession) Call

func (_BalanceScanner *BalanceScannerCallerSession) Call(contracts []common.Address, data [][]byte, gas *big.Int) ([]BalanceScannerResult, error)

Call is a free data retrieval call binding the contract method 0x36738374.

Solidity: function call(address[] contracts, bytes[] data, uint256 gas) view returns((bool,bytes)[] results)

func (*BalanceScannerCallerSession) Call0

func (_BalanceScanner *BalanceScannerCallerSession) Call0(contracts []common.Address, data [][]byte) ([]BalanceScannerResult, error)

Call0 is a free data retrieval call binding the contract method 0x458b3a7c.

Solidity: function call(address[] contracts, bytes[] data) view returns((bool,bytes)[] results)

func (*BalanceScannerCallerSession) EtherBalances

func (_BalanceScanner *BalanceScannerCallerSession) EtherBalances(addresses []common.Address) ([]BalanceScannerResult, error)

EtherBalances is a free data retrieval call binding the contract method 0xdbdbb51b.

Solidity: function etherBalances(address[] addresses) view returns((bool,bytes)[] results)

func (*BalanceScannerCallerSession) TokenBalances

func (_BalanceScanner *BalanceScannerCallerSession) TokenBalances(addresses []common.Address, token common.Address) ([]BalanceScannerResult, error)

TokenBalances is a free data retrieval call binding the contract method 0xaad33091.

Solidity: function tokenBalances(address[] addresses, address token) view returns((bool,bytes)[] results)

func (*BalanceScannerCallerSession) TokensBalance

func (_BalanceScanner *BalanceScannerCallerSession) TokensBalance(owner common.Address, contracts []common.Address) ([]BalanceScannerResult, error)

TokensBalance is a free data retrieval call binding the contract method 0xe5da1b68.

Solidity: function tokensBalance(address owner, address[] contracts) view returns((bool,bytes)[] results)

type BalanceScannerFilterer

type BalanceScannerFilterer struct {
	// contains filtered or unexported fields
}

BalanceScannerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBalanceScannerFilterer

func NewBalanceScannerFilterer(address common.Address, filterer bind.ContractFilterer) (*BalanceScannerFilterer, error)

NewBalanceScannerFilterer creates a new log filterer instance of BalanceScanner, bound to a specific deployed contract.

type BalanceScannerRaw

type BalanceScannerRaw struct {
	Contract *BalanceScanner // Generic contract binding to access the raw methods on
}

BalanceScannerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BalanceScannerRaw) Call

func (_BalanceScanner *BalanceScannerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*BalanceScannerRaw) Transact

func (_BalanceScanner *BalanceScannerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BalanceScannerRaw) Transfer

func (_BalanceScanner *BalanceScannerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BalanceScannerResult

type BalanceScannerResult struct {
	Success bool
	Data    []byte
}

BalanceScannerResult is an auto generated low-level Go binding around an user-defined struct.

type BalanceScannerSession

type BalanceScannerSession struct {
	Contract     *BalanceScanner   // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BalanceScannerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BalanceScannerSession) Call

func (_BalanceScanner *BalanceScannerSession) Call(contracts []common.Address, data [][]byte, gas *big.Int) ([]BalanceScannerResult, error)

Call is a free data retrieval call binding the contract method 0x36738374.

Solidity: function call(address[] contracts, bytes[] data, uint256 gas) view returns((bool,bytes)[] results)

func (*BalanceScannerSession) Call0

func (_BalanceScanner *BalanceScannerSession) Call0(contracts []common.Address, data [][]byte) ([]BalanceScannerResult, error)

Call0 is a free data retrieval call binding the contract method 0x458b3a7c.

Solidity: function call(address[] contracts, bytes[] data) view returns((bool,bytes)[] results)

func (*BalanceScannerSession) EtherBalances

func (_BalanceScanner *BalanceScannerSession) EtherBalances(addresses []common.Address) ([]BalanceScannerResult, error)

EtherBalances is a free data retrieval call binding the contract method 0xdbdbb51b.

Solidity: function etherBalances(address[] addresses) view returns((bool,bytes)[] results)

func (*BalanceScannerSession) TokenBalances

func (_BalanceScanner *BalanceScannerSession) TokenBalances(addresses []common.Address, token common.Address) ([]BalanceScannerResult, error)

TokenBalances is a free data retrieval call binding the contract method 0xaad33091.

Solidity: function tokenBalances(address[] addresses, address token) view returns((bool,bytes)[] results)

func (*BalanceScannerSession) TokensBalance

func (_BalanceScanner *BalanceScannerSession) TokensBalance(owner common.Address, contracts []common.Address) ([]BalanceScannerResult, error)

TokensBalance is a free data retrieval call binding the contract method 0xe5da1b68.

Solidity: function tokensBalance(address owner, address[] contracts) view returns((bool,bytes)[] results)

type BalanceScannerTransactor

type BalanceScannerTransactor struct {
	// contains filtered or unexported fields
}

BalanceScannerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBalanceScannerTransactor

func NewBalanceScannerTransactor(address common.Address, transactor bind.ContractTransactor) (*BalanceScannerTransactor, error)

NewBalanceScannerTransactor creates a new write-only instance of BalanceScanner, bound to a specific deployed contract.

type BalanceScannerTransactorRaw

type BalanceScannerTransactorRaw struct {
	Contract *BalanceScannerTransactor // Generic write-only contract binding to access the raw methods on
}

BalanceScannerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BalanceScannerTransactorRaw) Transact

func (_BalanceScanner *BalanceScannerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BalanceScannerTransactorRaw) Transfer

func (_BalanceScanner *BalanceScannerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BalanceScannerTransactorSession

type BalanceScannerTransactorSession struct {
	Contract     *BalanceScannerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

BalanceScannerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type ContractData added in v0.167.5

type ContractData struct {
	Address        common.Address
	CreatedAtBlock uint
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL