multibalance

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: BlueOak-1.0.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const MultiBalanceV0RuntimeBin = "" /* 2310-byte string literal not displayed */

Variables

View Source
var MultiBalanceV0ABI = MultiBalanceV0MetaData.ABI

MultiBalanceV0ABI is the input ABI used to generate the binding from. Deprecated: Use MultiBalanceV0MetaData.ABI instead.

View Source
var MultiBalanceV0Bin = MultiBalanceV0MetaData.Bin

MultiBalanceV0Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use MultiBalanceV0MetaData.Bin instead.

View Source
var MultiBalanceV0MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"acct\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"tokenAddresses\",\"type\":\"address[]\"}],\"name\":\"balances\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50610483806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063d3e5ca8714610030575b600080fd5b61004361003e3660046102a5565b610059565b604051610050919061032b565b60405180910390f35b60606000610068836001610385565b67ffffffffffffffff8111156100805761008061039e565b6040519080825280602002602001820160405280156100a9578160200160208202803683370190505b509050846001600160a01b031631816000815181106100ca576100ca6103b4565b60200260200101818152505060005b838110156102805760008585838181106100f5576100f56103b4565b905060200201602081019061010a91906103ca565b905060006060826001600160a01b03167f70a08231b98ef4ca268c9cc3f6b4590e4bfec28280db06bb5d45e689f2a360be8a60405160240161015b91906001600160a01b0391909116815260200190565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252905161019991906103ec565b600060405180830381855afa9150503d80600081146101d4576040519150601f19603f3d011682016040523d82523d6000602084013e6101d9565b606091505b509092509050816102285760405162461bcd60e51b815260206004820152601560248201527418985b185b98d953d98818d85b1b0819985a5b1959605a1b604482015260640160405180910390fd5b60008180602001905181019061023e919061041b565b9050808661024d876001610385565b8151811061025d5761025d6103b4565b60200260200101818152505050505050808061027890610434565b9150506100d9565b50949350505050565b80356001600160a01b03811681146102a057600080fd5b919050565b6000806000604084860312156102ba57600080fd5b6102c384610289565b9250602084013567ffffffffffffffff808211156102e057600080fd5b818601915086601f8301126102f457600080fd5b81358181111561030357600080fd5b8760208260051b850101111561031857600080fd5b6020830194508093505050509250925092565b6020808252825182820181905260009190848201906040850190845b8181101561036357835183529284019291840191600101610347565b50909695505050505050565b634e487b7160e01b600052601160045260246000fd5b808201808211156103985761039861036f565b92915050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156103dc57600080fd5b6103e582610289565b9392505050565b6000825160005b8181101561040d57602081860181015185830152016103f3565b506000920191825250919050565b60006020828403121561042d57600080fd5b5051919050565b6000600182016104465761044661036f565b506001019056fea26469706673582212207074e3e189a2692e2841f7943a9de24bcdbca943ee6bfcbd83a2fa6e43ec497b64736f6c63430008120033",
}

MultiBalanceV0MetaData contains all meta data concerning the MultiBalanceV0 contract.

Functions

This section is empty.

Types

type MultiBalanceV0

type MultiBalanceV0 struct {
	MultiBalanceV0Caller     // Read-only binding to the contract
	MultiBalanceV0Transactor // Write-only binding to the contract
	MultiBalanceV0Filterer   // Log filterer for contract events
}

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

func DeployMultiBalanceV0

func DeployMultiBalanceV0(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MultiBalanceV0, error)

DeployMultiBalanceV0 deploys a new Ethereum contract, binding an instance of MultiBalanceV0 to it.

func NewMultiBalanceV0

func NewMultiBalanceV0(address common.Address, backend bind.ContractBackend) (*MultiBalanceV0, error)

NewMultiBalanceV0 creates a new instance of MultiBalanceV0, bound to a specific deployed contract.

type MultiBalanceV0Caller

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

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

func NewMultiBalanceV0Caller

func NewMultiBalanceV0Caller(address common.Address, caller bind.ContractCaller) (*MultiBalanceV0Caller, error)

NewMultiBalanceV0Caller creates a new read-only instance of MultiBalanceV0, bound to a specific deployed contract.

func (*MultiBalanceV0Caller) Balances

func (_MultiBalanceV0 *MultiBalanceV0Caller) Balances(opts *bind.CallOpts, acct common.Address, tokenAddresses []common.Address) ([]*big.Int, error)

Balances is a free data retrieval call binding the contract method 0xd3e5ca87.

Solidity: function balances(address acct, address[] tokenAddresses) view returns(uint256[])

type MultiBalanceV0CallerRaw

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

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

func (*MultiBalanceV0CallerRaw) Call

func (_MultiBalanceV0 *MultiBalanceV0CallerRaw) 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 MultiBalanceV0CallerSession

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

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

func (*MultiBalanceV0CallerSession) Balances

func (_MultiBalanceV0 *MultiBalanceV0CallerSession) Balances(acct common.Address, tokenAddresses []common.Address) ([]*big.Int, error)

Balances is a free data retrieval call binding the contract method 0xd3e5ca87.

Solidity: function balances(address acct, address[] tokenAddresses) view returns(uint256[])

type MultiBalanceV0Filterer

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

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

func NewMultiBalanceV0Filterer

func NewMultiBalanceV0Filterer(address common.Address, filterer bind.ContractFilterer) (*MultiBalanceV0Filterer, error)

NewMultiBalanceV0Filterer creates a new log filterer instance of MultiBalanceV0, bound to a specific deployed contract.

type MultiBalanceV0Raw

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

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

func (*MultiBalanceV0Raw) Call

func (_MultiBalanceV0 *MultiBalanceV0Raw) 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 (*MultiBalanceV0Raw) Transact

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

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

func (*MultiBalanceV0Raw) Transfer

func (_MultiBalanceV0 *MultiBalanceV0Raw) 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 MultiBalanceV0Session

type MultiBalanceV0Session struct {
	Contract     *MultiBalanceV0   // 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
}

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

func (*MultiBalanceV0Session) Balances

func (_MultiBalanceV0 *MultiBalanceV0Session) Balances(acct common.Address, tokenAddresses []common.Address) ([]*big.Int, error)

Balances is a free data retrieval call binding the contract method 0xd3e5ca87.

Solidity: function balances(address acct, address[] tokenAddresses) view returns(uint256[])

type MultiBalanceV0Transactor

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

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

func NewMultiBalanceV0Transactor

func NewMultiBalanceV0Transactor(address common.Address, transactor bind.ContractTransactor) (*MultiBalanceV0Transactor, error)

NewMultiBalanceV0Transactor creates a new write-only instance of MultiBalanceV0, bound to a specific deployed contract.

type MultiBalanceV0TransactorRaw

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

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

func (*MultiBalanceV0TransactorRaw) Transact

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

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

func (*MultiBalanceV0TransactorRaw) Transfer

func (_MultiBalanceV0 *MultiBalanceV0TransactorRaw) 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 MultiBalanceV0TransactorSession

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

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

Jump to

Keyboard shortcuts

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