balance_op

package
v0.0.0-...-40c4472 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BalanceOpABI = "" /* 1743-byte string literal not displayed */

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

Variables

View Source
var BalanceOpBin = "" /* 5262-byte string literal not displayed */

BalanceOpBin is the compiled bytecode used for deploying new contracts.

View Source
var BalanceOpParsedABI, _ = abi.JSON(strings.NewReader(BalanceOpABI))
View Source
var DepositTopicHash = "0x4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e38426"
View Source
var TransferTopicHash = "0x69ca02dd4edd7bf0a4abb9ed3b7af3f14778db5d61921c7dc7cd545266326de2"
View Source
var WithdrawalTopicHash = "0x4e70a604b23a8edee2b1d0a656e9b9c00b73ad8bb1afc2c59381ee9f69197de7"

Functions

This section is empty.

Types

type BalanceOp

type BalanceOp struct {
	BalanceOpCaller     // Read-only binding to the contract
	BalanceOpTransactor // Write-only binding to the contract
	BalanceOpFilterer   // Log filterer for contract events
}

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

func DeployBalanceOp

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

DeployBalanceOp deploys a new Ethereum contract, binding an instance of BalanceOp to it.

func NewBalanceOp

func NewBalanceOp(address common.Address, backend bind.ContractBackend) (*BalanceOp, error)

NewBalanceOp creates a new instance of BalanceOp, bound to a specific deployed contract.

type BalanceOpCaller

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

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

func NewBalanceOpCaller

func NewBalanceOpCaller(address common.Address, caller bind.ContractCaller) (*BalanceOpCaller, error)

NewBalanceOpCaller creates a new read-only instance of BalanceOp, bound to a specific deployed contract.

func (*BalanceOpCaller) Balances

func (_BalanceOp *BalanceOpCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

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

Solidity: function balances(address ) view returns(uint256)

func (*BalanceOpCaller) Owner

func (_BalanceOp *BalanceOpCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type BalanceOpCallerRaw

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

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

func (*BalanceOpCallerRaw) Call

func (_BalanceOp *BalanceOpCallerRaw) 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 BalanceOpCallerSession

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

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

func (*BalanceOpCallerSession) Balances

func (_BalanceOp *BalanceOpCallerSession) Balances(arg0 common.Address) (*big.Int, error)

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

Solidity: function balances(address ) view returns(uint256)

func (*BalanceOpCallerSession) Owner

func (_BalanceOp *BalanceOpCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type BalanceOpDeposit

type BalanceOpDeposit struct {
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BalanceOpDeposit represents a Deposit event raised by the BalanceOp contract.

type BalanceOpDepositIterator

type BalanceOpDepositIterator struct {
	Event *BalanceOpDeposit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalanceOpDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the BalanceOp contract.

func (*BalanceOpDepositIterator) Close

func (it *BalanceOpDepositIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalanceOpDepositIterator) Error

func (it *BalanceOpDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalanceOpDepositIterator) Next

func (it *BalanceOpDepositIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalanceOpFilterer

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

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

func NewBalanceOpFilterer

func NewBalanceOpFilterer(address common.Address, filterer bind.ContractFilterer) (*BalanceOpFilterer, error)

NewBalanceOpFilterer creates a new log filterer instance of BalanceOp, bound to a specific deployed contract.

func (*BalanceOpFilterer) FilterDeposit

func (_BalanceOp *BalanceOpFilterer) FilterDeposit(opts *bind.FilterOpts) (*BalanceOpDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e38426.

Solidity: event Deposit(uint256 amount)

func (*BalanceOpFilterer) FilterTransfer

func (_BalanceOp *BalanceOpFilterer) FilterTransfer(opts *bind.FilterOpts) (*BalanceOpTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0x69ca02dd4edd7bf0a4abb9ed3b7af3f14778db5d61921c7dc7cd545266326de2.

Solidity: event Transfer(address receiver, uint256 amount)

func (*BalanceOpFilterer) FilterWithdrawal

func (_BalanceOp *BalanceOpFilterer) FilterWithdrawal(opts *bind.FilterOpts) (*BalanceOpWithdrawalIterator, error)

FilterWithdrawal is a free log retrieval operation binding the contract event 0x4e70a604b23a8edee2b1d0a656e9b9c00b73ad8bb1afc2c59381ee9f69197de7.

Solidity: event Withdrawal(uint256 amount)

func (*BalanceOpFilterer) ParseDeposit

func (_BalanceOp *BalanceOpFilterer) ParseDeposit(log types.Log) (*BalanceOpDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0x4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e38426.

Solidity: event Deposit(uint256 amount)

func (*BalanceOpFilterer) ParseTransfer

func (_BalanceOp *BalanceOpFilterer) ParseTransfer(log types.Log) (*BalanceOpTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0x69ca02dd4edd7bf0a4abb9ed3b7af3f14778db5d61921c7dc7cd545266326de2.

Solidity: event Transfer(address receiver, uint256 amount)

func (*BalanceOpFilterer) ParseWithdrawal

func (_BalanceOp *BalanceOpFilterer) ParseWithdrawal(log types.Log) (*BalanceOpWithdrawal, error)

ParseWithdrawal is a log parse operation binding the contract event 0x4e70a604b23a8edee2b1d0a656e9b9c00b73ad8bb1afc2c59381ee9f69197de7.

Solidity: event Withdrawal(uint256 amount)

func (*BalanceOpFilterer) WatchDeposit

func (_BalanceOp *BalanceOpFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *BalanceOpDeposit) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e38426.

Solidity: event Deposit(uint256 amount)

func (*BalanceOpFilterer) WatchTransfer

func (_BalanceOp *BalanceOpFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BalanceOpTransfer) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0x69ca02dd4edd7bf0a4abb9ed3b7af3f14778db5d61921c7dc7cd545266326de2.

Solidity: event Transfer(address receiver, uint256 amount)

func (*BalanceOpFilterer) WatchWithdrawal

func (_BalanceOp *BalanceOpFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *BalanceOpWithdrawal) (event.Subscription, error)

WatchWithdrawal is a free log subscription operation binding the contract event 0x4e70a604b23a8edee2b1d0a656e9b9c00b73ad8bb1afc2c59381ee9f69197de7.

Solidity: event Withdrawal(uint256 amount)

type BalanceOpRaw

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

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

func (*BalanceOpRaw) Call

func (_BalanceOp *BalanceOpRaw) 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 (*BalanceOpRaw) Transact

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

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

func (*BalanceOpRaw) Transfer

func (_BalanceOp *BalanceOpRaw) 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 BalanceOpSession

type BalanceOpSession struct {
	Contract     *BalanceOp        // 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
}

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

func (*BalanceOpSession) Balances

func (_BalanceOp *BalanceOpSession) Balances(arg0 common.Address) (*big.Int, error)

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

Solidity: function balances(address ) view returns(uint256)

func (*BalanceOpSession) Deposit

func (_BalanceOp *BalanceOpSession) Deposit(amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 amount) payable returns()

func (*BalanceOpSession) Owner

func (_BalanceOp *BalanceOpSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BalanceOpSession) Receive

func (_BalanceOp *BalanceOpSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*BalanceOpSession) Transfer

func (_BalanceOp *BalanceOpSession) Transfer(receiver common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address receiver, uint256 amount) returns()

func (*BalanceOpSession) Withdraw

func (_BalanceOp *BalanceOpSession) Withdraw(amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type BalanceOpTransactor

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

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

func NewBalanceOpTransactor

func NewBalanceOpTransactor(address common.Address, transactor bind.ContractTransactor) (*BalanceOpTransactor, error)

NewBalanceOpTransactor creates a new write-only instance of BalanceOp, bound to a specific deployed contract.

func (*BalanceOpTransactor) Deposit

func (_BalanceOp *BalanceOpTransactor) Deposit(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 amount) payable returns()

func (*BalanceOpTransactor) Receive

func (_BalanceOp *BalanceOpTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*BalanceOpTransactor) Transfer

func (_BalanceOp *BalanceOpTransactor) Transfer(opts *bind.TransactOpts, receiver common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address receiver, uint256 amount) returns()

func (*BalanceOpTransactor) Withdraw

func (_BalanceOp *BalanceOpTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type BalanceOpTransactorRaw

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

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

func (*BalanceOpTransactorRaw) Transact

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

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

func (*BalanceOpTransactorRaw) Transfer

func (_BalanceOp *BalanceOpTransactorRaw) 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 BalanceOpTransactorSession

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

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

func (*BalanceOpTransactorSession) Deposit

func (_BalanceOp *BalanceOpTransactorSession) Deposit(amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 amount) payable returns()

func (*BalanceOpTransactorSession) Receive

func (_BalanceOp *BalanceOpTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*BalanceOpTransactorSession) Transfer

func (_BalanceOp *BalanceOpTransactorSession) Transfer(receiver common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address receiver, uint256 amount) returns()

func (*BalanceOpTransactorSession) Withdraw

func (_BalanceOp *BalanceOpTransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type BalanceOpTransfer

type BalanceOpTransfer struct {
	Receiver common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

BalanceOpTransfer represents a Transfer event raised by the BalanceOp contract.

type BalanceOpTransferIterator

type BalanceOpTransferIterator struct {
	Event *BalanceOpTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalanceOpTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BalanceOp contract.

func (*BalanceOpTransferIterator) Close

func (it *BalanceOpTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalanceOpTransferIterator) Error

func (it *BalanceOpTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalanceOpTransferIterator) Next

func (it *BalanceOpTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalanceOpWithdrawal

type BalanceOpWithdrawal struct {
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BalanceOpWithdrawal represents a Withdrawal event raised by the BalanceOp contract.

type BalanceOpWithdrawalIterator

type BalanceOpWithdrawalIterator struct {
	Event *BalanceOpWithdrawal // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalanceOpWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the BalanceOp contract.

func (*BalanceOpWithdrawalIterator) Close

func (it *BalanceOpWithdrawalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalanceOpWithdrawalIterator) Error

func (it *BalanceOpWithdrawalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalanceOpWithdrawalIterator) Next

func (it *BalanceOpWithdrawalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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