ethpool

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const EthPoolABI = "" /* 3593-byte string literal not displayed */

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

Variables

View Source
var EthPoolBin = "" /* 5824-byte string literal not displayed */

EthPoolBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type EthPool

type EthPool struct {
	EthPoolCaller     // Read-only binding to the contract
	EthPoolTransactor // Write-only binding to the contract
	EthPoolFilterer   // Log filterer for contract events
}

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

func DeployEthPool

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

DeployEthPool deploys a new Ethereum contract, binding an instance of EthPool to it.

func NewEthPool

func NewEthPool(address common.Address, backend bind.ContractBackend) (*EthPool, error)

NewEthPool creates a new instance of EthPool, bound to a specific deployed contract.

type EthPoolApproval

type EthPoolApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

EthPoolApproval represents a Approval event raised by the EthPool contract.

type EthPoolApprovalIterator

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

EthPoolApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the EthPool contract.

func (*EthPoolApprovalIterator) Close

func (it *EthPoolApprovalIterator) Close() error

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

func (*EthPoolApprovalIterator) Error

func (it *EthPoolApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EthPoolApprovalIterator) Next

func (it *EthPoolApprovalIterator) 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 EthPoolCaller

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

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

func NewEthPoolCaller

func NewEthPoolCaller(address common.Address, caller bind.ContractCaller) (*EthPoolCaller, error)

NewEthPoolCaller creates a new read-only instance of EthPool, bound to a specific deployed contract.

func (*EthPoolCaller) Allowance

func (_EthPool *EthPoolCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256)

func (*EthPoolCaller) BalanceOf

func (_EthPool *EthPoolCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256)

func (*EthPoolCaller) Decimals

func (_EthPool *EthPoolCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*EthPoolCaller) Name

func (_EthPool *EthPoolCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*EthPoolCaller) Symbol

func (_EthPool *EthPoolCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

type EthPoolCallerRaw

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

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

func (*EthPoolCallerRaw) Call

func (_EthPool *EthPoolCallerRaw) 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 EthPoolCallerSession

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

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

func (*EthPoolCallerSession) Allowance

func (_EthPool *EthPoolCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256)

func (*EthPoolCallerSession) BalanceOf

func (_EthPool *EthPoolCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256)

func (*EthPoolCallerSession) Decimals

func (_EthPool *EthPoolCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*EthPoolCallerSession) Name

func (_EthPool *EthPoolCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*EthPoolCallerSession) Symbol

func (_EthPool *EthPoolCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

type EthPoolDeposit

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

EthPoolDeposit represents a Deposit event raised by the EthPool contract.

type EthPoolDepositIterator

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

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

func (*EthPoolDepositIterator) Close

func (it *EthPoolDepositIterator) Close() error

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

func (*EthPoolDepositIterator) Error

func (it *EthPoolDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EthPoolDepositIterator) Next

func (it *EthPoolDepositIterator) 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 EthPoolFilterer

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

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

func NewEthPoolFilterer

func NewEthPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*EthPoolFilterer, error)

NewEthPoolFilterer creates a new log filterer instance of EthPool, bound to a specific deployed contract.

func (*EthPoolFilterer) FilterApproval

func (_EthPool *EthPoolFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*EthPoolApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*EthPoolFilterer) FilterDeposit

func (_EthPool *EthPoolFilterer) FilterDeposit(opts *bind.FilterOpts, receiver []common.Address) (*EthPoolDepositIterator, error)

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

Solidity: event Deposit(address indexed receiver, uint256 value)

func (*EthPoolFilterer) FilterTransfer

func (_EthPool *EthPoolFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*EthPoolTransferIterator, error)

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

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*EthPoolFilterer) ParseApproval

func (_EthPool *EthPoolFilterer) ParseApproval(log types.Log) (*EthPoolApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*EthPoolFilterer) ParseDeposit

func (_EthPool *EthPoolFilterer) ParseDeposit(log types.Log) (*EthPoolDeposit, error)

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

Solidity: event Deposit(address indexed receiver, uint256 value)

func (*EthPoolFilterer) ParseTransfer

func (_EthPool *EthPoolFilterer) ParseTransfer(log types.Log) (*EthPoolTransfer, error)

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

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*EthPoolFilterer) WatchApproval

func (_EthPool *EthPoolFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *EthPoolApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*EthPoolFilterer) WatchDeposit

func (_EthPool *EthPoolFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *EthPoolDeposit, receiver []common.Address) (event.Subscription, error)

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

Solidity: event Deposit(address indexed receiver, uint256 value)

func (*EthPoolFilterer) WatchTransfer

func (_EthPool *EthPoolFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *EthPoolTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type EthPoolRaw

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

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

func (*EthPoolRaw) Call

func (_EthPool *EthPoolRaw) 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 (*EthPoolRaw) Transact

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

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

func (*EthPoolRaw) Transfer

func (_EthPool *EthPoolRaw) 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 EthPoolSession

type EthPoolSession struct {
	Contract     *EthPool          // 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
}

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

func (*EthPoolSession) Allowance

func (_EthPool *EthPoolSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256)

func (*EthPoolSession) Approve

func (_EthPool *EthPoolSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*EthPoolSession) BalanceOf

func (_EthPool *EthPoolSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256)

func (*EthPoolSession) Decimals

func (_EthPool *EthPoolSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*EthPoolSession) DecreaseAllowance

func (_EthPool *EthPoolSession) DecreaseAllowance(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address _spender, uint256 _subtractedValue) returns(bool)

func (*EthPoolSession) Deposit

func (_EthPool *EthPoolSession) Deposit(_receiver common.Address) (*types.Transaction, error)

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

Solidity: function deposit(address _receiver) payable returns()

func (*EthPoolSession) IncreaseAllowance

func (_EthPool *EthPoolSession) IncreaseAllowance(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address _spender, uint256 _addedValue) returns(bool)

func (*EthPoolSession) Name

func (_EthPool *EthPoolSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*EthPoolSession) Symbol

func (_EthPool *EthPoolSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*EthPoolSession) TransferFrom

func (_EthPool *EthPoolSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*EthPoolSession) TransferToCelerWallet

func (_EthPool *EthPoolSession) TransferToCelerWallet(_from common.Address, _walletAddr common.Address, _walletId [32]byte, _value *big.Int) (*types.Transaction, error)

TransferToCelerWallet is a paid mutator transaction binding the contract method 0x7e1cd431.

Solidity: function transferToCelerWallet(address _from, address _walletAddr, bytes32 _walletId, uint256 _value) returns(bool)

func (*EthPoolSession) Withdraw

func (_EthPool *EthPoolSession) Withdraw(_value *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _value) returns()

type EthPoolTransactor

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

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

func NewEthPoolTransactor

func NewEthPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*EthPoolTransactor, error)

NewEthPoolTransactor creates a new write-only instance of EthPool, bound to a specific deployed contract.

func (*EthPoolTransactor) Approve

func (_EthPool *EthPoolTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*EthPoolTransactor) DecreaseAllowance

func (_EthPool *EthPoolTransactor) DecreaseAllowance(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address _spender, uint256 _subtractedValue) returns(bool)

func (*EthPoolTransactor) Deposit

func (_EthPool *EthPoolTransactor) Deposit(opts *bind.TransactOpts, _receiver common.Address) (*types.Transaction, error)

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

Solidity: function deposit(address _receiver) payable returns()

func (*EthPoolTransactor) IncreaseAllowance

func (_EthPool *EthPoolTransactor) IncreaseAllowance(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address _spender, uint256 _addedValue) returns(bool)

func (*EthPoolTransactor) TransferFrom

func (_EthPool *EthPoolTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*EthPoolTransactor) TransferToCelerWallet

func (_EthPool *EthPoolTransactor) TransferToCelerWallet(opts *bind.TransactOpts, _from common.Address, _walletAddr common.Address, _walletId [32]byte, _value *big.Int) (*types.Transaction, error)

TransferToCelerWallet is a paid mutator transaction binding the contract method 0x7e1cd431.

Solidity: function transferToCelerWallet(address _from, address _walletAddr, bytes32 _walletId, uint256 _value) returns(bool)

func (*EthPoolTransactor) Withdraw

func (_EthPool *EthPoolTransactor) Withdraw(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _value) returns()

type EthPoolTransactorRaw

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

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

func (*EthPoolTransactorRaw) Transact

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

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

func (*EthPoolTransactorRaw) Transfer

func (_EthPool *EthPoolTransactorRaw) 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 EthPoolTransactorSession

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

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

func (*EthPoolTransactorSession) Approve

func (_EthPool *EthPoolTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*EthPoolTransactorSession) DecreaseAllowance

func (_EthPool *EthPoolTransactorSession) DecreaseAllowance(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address _spender, uint256 _subtractedValue) returns(bool)

func (*EthPoolTransactorSession) Deposit

func (_EthPool *EthPoolTransactorSession) Deposit(_receiver common.Address) (*types.Transaction, error)

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

Solidity: function deposit(address _receiver) payable returns()

func (*EthPoolTransactorSession) IncreaseAllowance

func (_EthPool *EthPoolTransactorSession) IncreaseAllowance(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address _spender, uint256 _addedValue) returns(bool)

func (*EthPoolTransactorSession) TransferFrom

func (_EthPool *EthPoolTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*EthPoolTransactorSession) TransferToCelerWallet

func (_EthPool *EthPoolTransactorSession) TransferToCelerWallet(_from common.Address, _walletAddr common.Address, _walletId [32]byte, _value *big.Int) (*types.Transaction, error)

TransferToCelerWallet is a paid mutator transaction binding the contract method 0x7e1cd431.

Solidity: function transferToCelerWallet(address _from, address _walletAddr, bytes32 _walletId, uint256 _value) returns(bool)

func (*EthPoolTransactorSession) Withdraw

func (_EthPool *EthPoolTransactorSession) Withdraw(_value *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _value) returns()

type EthPoolTransfer

type EthPoolTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

EthPoolTransfer represents a Transfer event raised by the EthPool contract.

type EthPoolTransferIterator

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

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

func (*EthPoolTransferIterator) Close

func (it *EthPoolTransferIterator) Close() error

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

func (*EthPoolTransferIterator) Error

func (it *EthPoolTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EthPoolTransferIterator) Next

func (it *EthPoolTransferIterator) 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