Documentation
¶
Overview ¶
Copyright 2019 The Swarm Authors This file is part of the Swarm library.
The Swarm library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
The Swarm library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with the Swarm library. If not, see <http://www.gnu.org/licenses/>.
Code generated - DO NOT EDIT. This file was autogenerated with 'npm run abigen' from ethersphere/swap-swear-and-swindle and any manual changes will be lost.
Index ¶
- Constants
- Variables
- type ChequeBook
- type ChequeBookCaller
- func (_ChequeBook *ChequeBookCaller) Balance(opts *bind.CallOpts) (*big.Int, error)
- func (_ChequeBook *ChequeBookCaller) BeneficiaryBalances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_ChequeBook *ChequeBookCaller) HardDepositBalances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_ChequeBook *ChequeBookCaller) Issuer(opts *bind.CallOpts) (common.Address, error)
- func (_ChequeBook *ChequeBookCaller) LiquidBalance(opts *bind.CallOpts) (*big.Int, error)
- func (_ChequeBook *ChequeBookCaller) PaidOut(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_ChequeBook *ChequeBookCaller) Token(opts *bind.CallOpts) (common.Address, error)
- func (_ChequeBook *ChequeBookCaller) TotalBeneficiary(opts *bind.CallOpts) (*big.Int, error)
- func (_ChequeBook *ChequeBookCaller) TotalHardDeposit(opts *bind.CallOpts) (*big.Int, error)
- func (_ChequeBook *ChequeBookCaller) TotalPaidOut(opts *bind.CallOpts) (*big.Int, error)
- type ChequeBookCallerRaw
- type ChequeBookCallerSession
- func (_ChequeBook *ChequeBookCallerSession) Balance() (*big.Int, error)
- func (_ChequeBook *ChequeBookCallerSession) BeneficiaryBalances(arg0 common.Address) (*big.Int, error)
- func (_ChequeBook *ChequeBookCallerSession) HardDepositBalances(arg0 common.Address) (*big.Int, error)
- func (_ChequeBook *ChequeBookCallerSession) Issuer() (common.Address, error)
- func (_ChequeBook *ChequeBookCallerSession) LiquidBalance() (*big.Int, error)
- func (_ChequeBook *ChequeBookCallerSession) PaidOut(arg0 common.Address) (*big.Int, error)
- func (_ChequeBook *ChequeBookCallerSession) Token() (common.Address, error)
- func (_ChequeBook *ChequeBookCallerSession) TotalBeneficiary() (*big.Int, error)
- func (_ChequeBook *ChequeBookCallerSession) TotalHardDeposit() (*big.Int, error)
- func (_ChequeBook *ChequeBookCallerSession) TotalPaidOut() (*big.Int, error)
- type ChequeBookCashouted
- type ChequeBookCashoutedIterator
- type ChequeBookFactory
- type ChequeBookFactoryCaller
- func (_ChequeBookFactory *ChequeBookFactoryCaller) DeployedContractAddress(opts *bind.CallOpts) (common.Address, error)
- func (_ChequeBookFactory *ChequeBookFactoryCaller) ERC20Address(opts *bind.CallOpts) (common.Address, error)
- func (_ChequeBookFactory *ChequeBookFactoryCaller) Master(opts *bind.CallOpts) (common.Address, error)
- type ChequeBookFactoryCallerRaw
- type ChequeBookFactoryCallerSession
- type ChequeBookFactoryChequeBookDeployed
- type ChequeBookFactoryChequeBookDeployedIterator
- type ChequeBookFactoryFilterer
- func (_ChequeBookFactory *ChequeBookFactoryFilterer) FilterChequeBookDeployed(opts *bind.FilterOpts) (*ChequeBookFactoryChequeBookDeployedIterator, error)
- func (_ChequeBookFactory *ChequeBookFactoryFilterer) ParseChequeBookDeployed(log types.Log) (*ChequeBookFactoryChequeBookDeployed, error)
- func (_ChequeBookFactory *ChequeBookFactoryFilterer) WatchChequeBookDeployed(opts *bind.WatchOpts, sink chan<- *ChequeBookFactoryChequeBookDeployed) (event.Subscription, error)
- type ChequeBookFactoryRaw
- func (_ChequeBookFactory *ChequeBookFactoryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ChequeBookFactory *ChequeBookFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ChequeBookFactory *ChequeBookFactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ChequeBookFactorySession
- func (_ChequeBookFactory *ChequeBookFactorySession) DeployChequeBook(issuer common.Address, salt [32]byte) (*types.Transaction, error)
- func (_ChequeBookFactory *ChequeBookFactorySession) DeployedContractAddress() (common.Address, error)
- func (_ChequeBookFactory *ChequeBookFactorySession) ERC20Address() (common.Address, error)
- func (_ChequeBookFactory *ChequeBookFactorySession) Master() (common.Address, error)
- type ChequeBookFactoryTransactor
- type ChequeBookFactoryTransactorRaw
- type ChequeBookFactoryTransactorSession
- type ChequeBookFilterer
- func (_ChequeBook *ChequeBookFilterer) FilterCashouted(opts *bind.FilterOpts, beneficiary []common.Address) (*ChequeBookCashoutedIterator, error)
- func (_ChequeBook *ChequeBookFilterer) FilterHardDepositAmountChanged(opts *bind.FilterOpts, beneficiary []common.Address) (*ChequeBookHardDepositAmountChangedIterator, error)
- func (_ChequeBook *ChequeBookFilterer) ParseCashouted(log types.Log) (*ChequeBookCashouted, error)
- func (_ChequeBook *ChequeBookFilterer) ParseHardDepositAmountChanged(log types.Log) (*ChequeBookHardDepositAmountChanged, error)
- func (_ChequeBook *ChequeBookFilterer) WatchCashouted(opts *bind.WatchOpts, sink chan<- *ChequeBookCashouted, ...) (event.Subscription, error)
- func (_ChequeBook *ChequeBookFilterer) WatchHardDepositAmountChanged(opts *bind.WatchOpts, sink chan<- *ChequeBookHardDepositAmountChanged, ...) (event.Subscription, error)
- type ChequeBookHardDepositAmountChanged
- type ChequeBookHardDepositAmountChangedIterator
- type ChequeBookRaw
- func (_ChequeBook *ChequeBookRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ChequeBook *ChequeBookRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ChequeBook *ChequeBookRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ChequeBookSession
- func (_ChequeBook *ChequeBookSession) Balance() (*big.Int, error)
- func (_ChequeBook *ChequeBookSession) BeneficiaryBalances(arg0 common.Address) (*big.Int, error)
- func (_ChequeBook *ChequeBookSession) Cashout(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ChequeBook *ChequeBookSession) Deposit(_amount *big.Int) (*types.Transaction, error)
- func (_ChequeBook *ChequeBookSession) HardDepositBalances(arg0 common.Address) (*big.Int, error)
- func (_ChequeBook *ChequeBookSession) Init(_issuer common.Address, _token common.Address) (*types.Transaction, error)
- func (_ChequeBook *ChequeBookSession) Issuer() (common.Address, error)
- func (_ChequeBook *ChequeBookSession) LiquidBalance() (*big.Int, error)
- func (_ChequeBook *ChequeBookSession) PaidOut(arg0 common.Address) (*big.Int, error)
- func (_ChequeBook *ChequeBookSession) Pay(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ChequeBook *ChequeBookSession) PayHardDeposit(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ChequeBook *ChequeBookSession) Token() (common.Address, error)
- func (_ChequeBook *ChequeBookSession) TotalBeneficiary() (*big.Int, error)
- func (_ChequeBook *ChequeBookSession) TotalHardDeposit() (*big.Int, error)
- func (_ChequeBook *ChequeBookSession) TotalPaidOut() (*big.Int, error)
- type ChequeBookTransactor
- func (_ChequeBook *ChequeBookTransactor) Cashout(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ChequeBook *ChequeBookTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_ChequeBook *ChequeBookTransactor) Init(opts *bind.TransactOpts, _issuer common.Address, _token common.Address) (*types.Transaction, error)
- func (_ChequeBook *ChequeBookTransactor) Pay(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ChequeBook *ChequeBookTransactor) PayHardDeposit(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- type ChequeBookTransactorRaw
- type ChequeBookTransactorSession
- func (_ChequeBook *ChequeBookTransactorSession) Cashout(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ChequeBook *ChequeBookTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)
- func (_ChequeBook *ChequeBookTransactorSession) Init(_issuer common.Address, _token common.Address) (*types.Transaction, error)
- func (_ChequeBook *ChequeBookTransactorSession) Pay(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ChequeBook *ChequeBookTransactorSession) PayHardDeposit(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- type Clones
- type ClonesCaller
- type ClonesCallerRaw
- type ClonesCallerSession
- type ClonesFilterer
- type ClonesRaw
- func (_Clones *ClonesRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Clones *ClonesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Clones *ClonesRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ClonesSession
- type ClonesTransactor
- type ClonesTransactorRaw
- type ClonesTransactorSession
- type Context
- type ContextCaller
- type ContextCallerRaw
- type ContextCallerSession
- type ContextFilterer
- type ContextRaw
- func (_Context *ContextRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Context *ContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Context *ContextRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContextSession
- type ContextTransactor
- type ContextTransactorRaw
- type ContextTransactorSession
- type ERC20
- type ERC20Approval
- type ERC20ApprovalIterator
- type ERC20Caller
- func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ERC20 *ERC20Caller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC20 *ERC20Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC20CallerRaw
- type ERC20CallerSession
- func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20 *ERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)
- func (_ERC20 *ERC20CallerSession) Name() (string, error)
- func (_ERC20 *ERC20CallerSession) Symbol() (string, error)
- func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)
- type ERC20Filterer
- func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
- func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
- func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
- func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
- func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type ERC20Raw
- func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20Session
- func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) Decimals() (uint8, error)
- func (_ERC20 *ERC20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) Name() (string, error)
- func (_ERC20 *ERC20Session) Symbol() (string, error)
- func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
- func (_ERC20 *ERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20Transactor
- func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type ERC20TransactorRaw
- type ERC20TransactorSession
- func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20Transfer
- type ERC20TransferIterator
- type IChequeBook
- type IChequeBookCaller
- type IChequeBookCallerRaw
- type IChequeBookCallerSession
- type IChequeBookFilterer
- type IChequeBookRaw
- func (_IChequeBook *IChequeBookRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_IChequeBook *IChequeBookRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IChequeBook *IChequeBookRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IChequeBookSession
- func (_IChequeBook *IChequeBookSession) Cashout(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_IChequeBook *IChequeBookSession) Deposit(_amount *big.Int) (*types.Transaction, error)
- func (_IChequeBook *IChequeBookSession) Pay(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_IChequeBook *IChequeBookSession) PayHardDeposit(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- type IChequeBookTransactor
- func (_IChequeBook *IChequeBookTransactor) Cashout(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_IChequeBook *IChequeBookTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_IChequeBook *IChequeBookTransactor) Pay(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_IChequeBook *IChequeBookTransactor) PayHardDeposit(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- type IChequeBookTransactorRaw
- type IChequeBookTransactorSession
- func (_IChequeBook *IChequeBookTransactorSession) Cashout(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_IChequeBook *IChequeBookTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)
- func (_IChequeBook *IChequeBookTransactorSession) Pay(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_IChequeBook *IChequeBookTransactorSession) PayHardDeposit(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- type IERC20
- type IERC20Approval
- type IERC20ApprovalIterator
- type IERC20Caller
- func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type IERC20CallerRaw
- type IERC20CallerSession
- type IERC20Filterer
- func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)
- func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)
- func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)
- func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)
- func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type IERC20Raw
- func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IERC20Session
- func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
- func (_IERC20 *IERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type IERC20Transactor
- func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type IERC20TransactorRaw
- type IERC20TransactorSession
- func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type IERC20Transfer
- type IERC20TransferIterator
- type Math
- type MathCaller
- type MathCallerRaw
- type MathCallerSession
- type MathFilterer
- type MathRaw
- func (_Math *MathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Math *MathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Math *MathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MathSession
- type MathTransactor
- type MathTransactorRaw
- type MathTransactorSession
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
Constants ¶
const ChequeBookABI = "" /* 3767-byte string literal not displayed */
ChequeBookABI is the input ABI used to generate the binding from.
const ChequeBookFactoryABI = "" /* 1188-byte string literal not displayed */
ChequeBookFactoryABI is the input ABI used to generate the binding from.
const ChequeBookFactoryDeployedCode = "" /* 1600-byte string literal not displayed */
ChequeBookFactoryDeployedCode is the bytecode ChequeBookFactory will have after deployment
const ClonesABI = "[]"
ClonesABI is the input ABI used to generate the binding from.
const ContextABI = "[]"
ContextABI is the input ABI used to generate the binding from.
const ERC20ABI = "" /* 3791-byte string literal not displayed */
ERC20ABI is the input ABI used to generate the binding from.
const IChequeBookABI = "" /* 956-byte string literal not displayed */
IChequeBookABI is the input ABI used to generate the binding from.
const IERC20ABI = "" /* 2426-byte string literal not displayed */
IERC20ABI is the input ABI used to generate the binding from.
const MathABI = "[]"
MathABI is the input ABI used to generate the binding from.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
Variables ¶
var ChequeBookBin = "" /* 6758-byte string literal not displayed */
ChequeBookBin is the compiled bytecode used for deploying new contracts.
var ChequeBookFactoryBin = "" /* 9124-byte string literal not displayed */
ChequeBookFactoryBin is the compiled bytecode used for deploying new contracts.
var ClonesBin = "" /* 244-byte string literal not displayed */
ClonesBin is the compiled bytecode used for deploying new contracts.
var ERC20Bin = "" /* 6430-byte string literal not displayed */
ERC20Bin is the compiled bytecode used for deploying new contracts.
var MathBin = "" /* 244-byte string literal not displayed */
MathBin is the compiled bytecode used for deploying new contracts.
var SafeMathBin = "" /* 244-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type ChequeBook ¶
type ChequeBook struct { ChequeBookCaller // Read-only binding to the contract ChequeBookTransactor // Write-only binding to the contract ChequeBookFilterer // Log filterer for contract events }
ChequeBook is an auto generated Go binding around an Ethereum contract.
func DeployChequeBook ¶
func DeployChequeBook(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ChequeBook, error)
DeployChequeBook deploys a new Ethereum contract, binding an instance of ChequeBook to it.
func NewChequeBook ¶
func NewChequeBook(address common.Address, backend bind.ContractBackend) (*ChequeBook, error)
NewChequeBook creates a new instance of ChequeBook, bound to a specific deployed contract.
type ChequeBookCaller ¶
type ChequeBookCaller struct {
// contains filtered or unexported fields
}
ChequeBookCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewChequeBookCaller ¶
func NewChequeBookCaller(address common.Address, caller bind.ContractCaller) (*ChequeBookCaller, error)
NewChequeBookCaller creates a new read-only instance of ChequeBook, bound to a specific deployed contract.
func (*ChequeBookCaller) Balance ¶
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
func (*ChequeBookCaller) BeneficiaryBalances ¶
func (_ChequeBook *ChequeBookCaller) BeneficiaryBalances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
BeneficiaryBalances is a free data retrieval call binding the contract method 0x5664865a.
Solidity: function beneficiaryBalances(address ) view returns(uint256)
func (*ChequeBookCaller) HardDepositBalances ¶
func (_ChequeBook *ChequeBookCaller) HardDepositBalances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
HardDepositBalances is a free data retrieval call binding the contract method 0x5bf58ec7.
Solidity: function hardDepositBalances(address ) view returns(uint256)
func (*ChequeBookCaller) Issuer ¶
Issuer is a free data retrieval call binding the contract method 0x1d143848.
Solidity: function issuer() view returns(address)
func (*ChequeBookCaller) LiquidBalance ¶
LiquidBalance is a free data retrieval call binding the contract method 0xb7ec1a33.
Solidity: function liquidBalance() view returns(uint256)
func (*ChequeBookCaller) PaidOut ¶
func (_ChequeBook *ChequeBookCaller) PaidOut(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
PaidOut is a free data retrieval call binding the contract method 0x81f03fcb.
Solidity: function paidOut(address ) view returns(uint256)
func (*ChequeBookCaller) Token ¶
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*ChequeBookCaller) TotalBeneficiary ¶
TotalBeneficiary is a free data retrieval call binding the contract method 0x959d15ca.
Solidity: function totalBeneficiary() view returns(uint256)
func (*ChequeBookCaller) TotalHardDeposit ¶
TotalHardDeposit is a free data retrieval call binding the contract method 0xe0bcf13a.
Solidity: function totalHardDeposit() view returns(uint256)
func (*ChequeBookCaller) TotalPaidOut ¶
TotalPaidOut is a free data retrieval call binding the contract method 0x1357e1dc.
Solidity: function totalPaidOut() view returns(uint256)
type ChequeBookCallerRaw ¶
type ChequeBookCallerRaw struct {
Contract *ChequeBookCaller // Generic read-only contract binding to access the raw methods on
}
ChequeBookCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ChequeBookCallerRaw) Call ¶
func (_ChequeBook *ChequeBookCallerRaw) 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 ChequeBookCallerSession ¶
type ChequeBookCallerSession struct { Contract *ChequeBookCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ChequeBookCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ChequeBookCallerSession) Balance ¶
func (_ChequeBook *ChequeBookCallerSession) Balance() (*big.Int, error)
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
func (*ChequeBookCallerSession) BeneficiaryBalances ¶
func (_ChequeBook *ChequeBookCallerSession) BeneficiaryBalances(arg0 common.Address) (*big.Int, error)
BeneficiaryBalances is a free data retrieval call binding the contract method 0x5664865a.
Solidity: function beneficiaryBalances(address ) view returns(uint256)
func (*ChequeBookCallerSession) HardDepositBalances ¶
func (_ChequeBook *ChequeBookCallerSession) HardDepositBalances(arg0 common.Address) (*big.Int, error)
HardDepositBalances is a free data retrieval call binding the contract method 0x5bf58ec7.
Solidity: function hardDepositBalances(address ) view returns(uint256)
func (*ChequeBookCallerSession) Issuer ¶
func (_ChequeBook *ChequeBookCallerSession) Issuer() (common.Address, error)
Issuer is a free data retrieval call binding the contract method 0x1d143848.
Solidity: function issuer() view returns(address)
func (*ChequeBookCallerSession) LiquidBalance ¶
func (_ChequeBook *ChequeBookCallerSession) LiquidBalance() (*big.Int, error)
LiquidBalance is a free data retrieval call binding the contract method 0xb7ec1a33.
Solidity: function liquidBalance() view returns(uint256)
func (*ChequeBookCallerSession) PaidOut ¶
PaidOut is a free data retrieval call binding the contract method 0x81f03fcb.
Solidity: function paidOut(address ) view returns(uint256)
func (*ChequeBookCallerSession) Token ¶
func (_ChequeBook *ChequeBookCallerSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*ChequeBookCallerSession) TotalBeneficiary ¶
func (_ChequeBook *ChequeBookCallerSession) TotalBeneficiary() (*big.Int, error)
TotalBeneficiary is a free data retrieval call binding the contract method 0x959d15ca.
Solidity: function totalBeneficiary() view returns(uint256)
func (*ChequeBookCallerSession) TotalHardDeposit ¶
func (_ChequeBook *ChequeBookCallerSession) TotalHardDeposit() (*big.Int, error)
TotalHardDeposit is a free data retrieval call binding the contract method 0xe0bcf13a.
Solidity: function totalHardDeposit() view returns(uint256)
func (*ChequeBookCallerSession) TotalPaidOut ¶
func (_ChequeBook *ChequeBookCallerSession) TotalPaidOut() (*big.Int, error)
TotalPaidOut is a free data retrieval call binding the contract method 0x1357e1dc.
Solidity: function totalPaidOut() view returns(uint256)
type ChequeBookCashouted ¶
type ChequeBookCashouted struct { Beneficiary common.Address Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ChequeBookCashouted represents a Cashouted event raised by the ChequeBook contract.
type ChequeBookCashoutedIterator ¶
type ChequeBookCashoutedIterator struct { Event *ChequeBookCashouted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ChequeBookCashoutedIterator is returned from FilterCashouted and is used to iterate over the raw logs and unpacked data for Cashouted events raised by the ChequeBook contract.
func (*ChequeBookCashoutedIterator) Close ¶
func (it *ChequeBookCashoutedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ChequeBookCashoutedIterator) Error ¶
func (it *ChequeBookCashoutedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ChequeBookCashoutedIterator) Next ¶
func (it *ChequeBookCashoutedIterator) 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 ChequeBookFactory ¶
type ChequeBookFactory struct { ChequeBookFactoryCaller // Read-only binding to the contract ChequeBookFactoryTransactor // Write-only binding to the contract ChequeBookFactoryFilterer // Log filterer for contract events }
ChequeBookFactory is an auto generated Go binding around an Ethereum contract.
func DeployChequeBookFactory ¶
func DeployChequeBookFactory(auth *bind.TransactOpts, backend bind.ContractBackend, _ERC20Address common.Address) (common.Address, *types.Transaction, *ChequeBookFactory, error)
DeployChequeBookFactory deploys a new Ethereum contract, binding an instance of ChequeBookFactory to it.
func NewChequeBookFactory ¶
func NewChequeBookFactory(address common.Address, backend bind.ContractBackend) (*ChequeBookFactory, error)
NewChequeBookFactory creates a new instance of ChequeBookFactory, bound to a specific deployed contract.
type ChequeBookFactoryCaller ¶
type ChequeBookFactoryCaller struct {
// contains filtered or unexported fields
}
ChequeBookFactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewChequeBookFactoryCaller ¶
func NewChequeBookFactoryCaller(address common.Address, caller bind.ContractCaller) (*ChequeBookFactoryCaller, error)
NewChequeBookFactoryCaller creates a new read-only instance of ChequeBookFactory, bound to a specific deployed contract.
func (*ChequeBookFactoryCaller) DeployedContractAddress ¶
func (_ChequeBookFactory *ChequeBookFactoryCaller) DeployedContractAddress(opts *bind.CallOpts) (common.Address, error)
DeployedContractAddress is a free data retrieval call binding the contract method 0xb35fbb27.
Solidity: function deployedContractAddress() view returns(address)
func (*ChequeBookFactoryCaller) ERC20Address ¶
func (_ChequeBookFactory *ChequeBookFactoryCaller) ERC20Address(opts *bind.CallOpts) (common.Address, error)
ERC20Address is a free data retrieval call binding the contract method 0xa6021ace.
Solidity: function ERC20Address() view returns(address)
type ChequeBookFactoryCallerRaw ¶
type ChequeBookFactoryCallerRaw struct {
Contract *ChequeBookFactoryCaller // Generic read-only contract binding to access the raw methods on
}
ChequeBookFactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ChequeBookFactoryCallerRaw) Call ¶
func (_ChequeBookFactory *ChequeBookFactoryCallerRaw) 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 ChequeBookFactoryCallerSession ¶
type ChequeBookFactoryCallerSession struct { Contract *ChequeBookFactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ChequeBookFactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ChequeBookFactoryCallerSession) DeployedContractAddress ¶
func (_ChequeBookFactory *ChequeBookFactoryCallerSession) DeployedContractAddress() (common.Address, error)
DeployedContractAddress is a free data retrieval call binding the contract method 0xb35fbb27.
Solidity: function deployedContractAddress() view returns(address)
func (*ChequeBookFactoryCallerSession) ERC20Address ¶
func (_ChequeBookFactory *ChequeBookFactoryCallerSession) ERC20Address() (common.Address, error)
ERC20Address is a free data retrieval call binding the contract method 0xa6021ace.
Solidity: function ERC20Address() view returns(address)
type ChequeBookFactoryChequeBookDeployed ¶
type ChequeBookFactoryChequeBookDeployed struct { ContractAddress common.Address Raw types.Log // Blockchain specific contextual infos }
ChequeBookFactoryChequeBookDeployed represents a ChequeBookDeployed event raised by the ChequeBookFactory contract.
type ChequeBookFactoryChequeBookDeployedIterator ¶
type ChequeBookFactoryChequeBookDeployedIterator struct { Event *ChequeBookFactoryChequeBookDeployed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ChequeBookFactoryChequeBookDeployedIterator is returned from FilterChequeBookDeployed and is used to iterate over the raw logs and unpacked data for ChequeBookDeployed events raised by the ChequeBookFactory contract.
func (*ChequeBookFactoryChequeBookDeployedIterator) Close ¶
func (it *ChequeBookFactoryChequeBookDeployedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ChequeBookFactoryChequeBookDeployedIterator) Error ¶
func (it *ChequeBookFactoryChequeBookDeployedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ChequeBookFactoryChequeBookDeployedIterator) Next ¶
func (it *ChequeBookFactoryChequeBookDeployedIterator) 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 ChequeBookFactoryFilterer ¶
type ChequeBookFactoryFilterer struct {
// contains filtered or unexported fields
}
ChequeBookFactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewChequeBookFactoryFilterer ¶
func NewChequeBookFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*ChequeBookFactoryFilterer, error)
NewChequeBookFactoryFilterer creates a new log filterer instance of ChequeBookFactory, bound to a specific deployed contract.
func (*ChequeBookFactoryFilterer) FilterChequeBookDeployed ¶
func (_ChequeBookFactory *ChequeBookFactoryFilterer) FilterChequeBookDeployed(opts *bind.FilterOpts) (*ChequeBookFactoryChequeBookDeployedIterator, error)
FilterChequeBookDeployed is a free log retrieval operation binding the contract event 0x7a3ceb4fc57b5e88d7a21720f0b69536d1d1c1084b320499456655ac02e81897.
Solidity: event ChequeBookDeployed(address contractAddress)
func (*ChequeBookFactoryFilterer) ParseChequeBookDeployed ¶
func (_ChequeBookFactory *ChequeBookFactoryFilterer) ParseChequeBookDeployed(log types.Log) (*ChequeBookFactoryChequeBookDeployed, error)
ParseChequeBookDeployed is a log parse operation binding the contract event 0x7a3ceb4fc57b5e88d7a21720f0b69536d1d1c1084b320499456655ac02e81897.
Solidity: event ChequeBookDeployed(address contractAddress)
func (*ChequeBookFactoryFilterer) WatchChequeBookDeployed ¶
func (_ChequeBookFactory *ChequeBookFactoryFilterer) WatchChequeBookDeployed(opts *bind.WatchOpts, sink chan<- *ChequeBookFactoryChequeBookDeployed) (event.Subscription, error)
WatchChequeBookDeployed is a free log subscription operation binding the contract event 0x7a3ceb4fc57b5e88d7a21720f0b69536d1d1c1084b320499456655ac02e81897.
Solidity: event ChequeBookDeployed(address contractAddress)
type ChequeBookFactoryRaw ¶
type ChequeBookFactoryRaw struct {
Contract *ChequeBookFactory // Generic contract binding to access the raw methods on
}
ChequeBookFactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ChequeBookFactoryRaw) Call ¶
func (_ChequeBookFactory *ChequeBookFactoryRaw) 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 (*ChequeBookFactoryRaw) Transact ¶
func (_ChequeBookFactory *ChequeBookFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ChequeBookFactoryRaw) Transfer ¶
func (_ChequeBookFactory *ChequeBookFactoryRaw) 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 ChequeBookFactorySession ¶
type ChequeBookFactorySession struct { Contract *ChequeBookFactory // 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 }
ChequeBookFactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ChequeBookFactorySession) DeployChequeBook ¶
func (_ChequeBookFactory *ChequeBookFactorySession) DeployChequeBook(issuer common.Address, salt [32]byte) (*types.Transaction, error)
DeployChequeBook is a paid mutator transaction binding the contract method 0x4e360034.
Solidity: function deployChequeBook(address issuer, bytes32 salt) returns(address)
func (*ChequeBookFactorySession) DeployedContractAddress ¶
func (_ChequeBookFactory *ChequeBookFactorySession) DeployedContractAddress() (common.Address, error)
DeployedContractAddress is a free data retrieval call binding the contract method 0xb35fbb27.
Solidity: function deployedContractAddress() view returns(address)
func (*ChequeBookFactorySession) ERC20Address ¶
func (_ChequeBookFactory *ChequeBookFactorySession) ERC20Address() (common.Address, error)
ERC20Address is a free data retrieval call binding the contract method 0xa6021ace.
Solidity: function ERC20Address() view returns(address)
type ChequeBookFactoryTransactor ¶
type ChequeBookFactoryTransactor struct {
// contains filtered or unexported fields
}
ChequeBookFactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewChequeBookFactoryTransactor ¶
func NewChequeBookFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*ChequeBookFactoryTransactor, error)
NewChequeBookFactoryTransactor creates a new write-only instance of ChequeBookFactory, bound to a specific deployed contract.
func (*ChequeBookFactoryTransactor) DeployChequeBook ¶
func (_ChequeBookFactory *ChequeBookFactoryTransactor) DeployChequeBook(opts *bind.TransactOpts, issuer common.Address, salt [32]byte) (*types.Transaction, error)
DeployChequeBook is a paid mutator transaction binding the contract method 0x4e360034.
Solidity: function deployChequeBook(address issuer, bytes32 salt) returns(address)
type ChequeBookFactoryTransactorRaw ¶
type ChequeBookFactoryTransactorRaw struct {
Contract *ChequeBookFactoryTransactor // Generic write-only contract binding to access the raw methods on
}
ChequeBookFactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ChequeBookFactoryTransactorRaw) Transact ¶
func (_ChequeBookFactory *ChequeBookFactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ChequeBookFactoryTransactorRaw) Transfer ¶
func (_ChequeBookFactory *ChequeBookFactoryTransactorRaw) 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 ChequeBookFactoryTransactorSession ¶
type ChequeBookFactoryTransactorSession struct { Contract *ChequeBookFactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ChequeBookFactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ChequeBookFactoryTransactorSession) DeployChequeBook ¶
func (_ChequeBookFactory *ChequeBookFactoryTransactorSession) DeployChequeBook(issuer common.Address, salt [32]byte) (*types.Transaction, error)
DeployChequeBook is a paid mutator transaction binding the contract method 0x4e360034.
Solidity: function deployChequeBook(address issuer, bytes32 salt) returns(address)
type ChequeBookFilterer ¶
type ChequeBookFilterer struct {
// contains filtered or unexported fields
}
ChequeBookFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewChequeBookFilterer ¶
func NewChequeBookFilterer(address common.Address, filterer bind.ContractFilterer) (*ChequeBookFilterer, error)
NewChequeBookFilterer creates a new log filterer instance of ChequeBook, bound to a specific deployed contract.
func (*ChequeBookFilterer) FilterCashouted ¶
func (_ChequeBook *ChequeBookFilterer) FilterCashouted(opts *bind.FilterOpts, beneficiary []common.Address) (*ChequeBookCashoutedIterator, error)
FilterCashouted is a free log retrieval operation binding the contract event 0x92fec97bff9ddc18bbb7cf738dd42818ad2528ca913ee47fbe149a5cc822ad21.
Solidity: event Cashouted(address indexed beneficiary, address recipient, uint256 amount)
func (*ChequeBookFilterer) FilterHardDepositAmountChanged ¶
func (_ChequeBook *ChequeBookFilterer) FilterHardDepositAmountChanged(opts *bind.FilterOpts, beneficiary []common.Address) (*ChequeBookHardDepositAmountChangedIterator, error)
FilterHardDepositAmountChanged is a free log retrieval operation binding the contract event 0x2506c43272ded05d095b91dbba876e66e46888157d3e078db5691496e96c5fad.
Solidity: event HardDepositAmountChanged(address indexed beneficiary, uint256 amount)
func (*ChequeBookFilterer) ParseCashouted ¶
func (_ChequeBook *ChequeBookFilterer) ParseCashouted(log types.Log) (*ChequeBookCashouted, error)
ParseCashouted is a log parse operation binding the contract event 0x92fec97bff9ddc18bbb7cf738dd42818ad2528ca913ee47fbe149a5cc822ad21.
Solidity: event Cashouted(address indexed beneficiary, address recipient, uint256 amount)
func (*ChequeBookFilterer) ParseHardDepositAmountChanged ¶
func (_ChequeBook *ChequeBookFilterer) ParseHardDepositAmountChanged(log types.Log) (*ChequeBookHardDepositAmountChanged, error)
ParseHardDepositAmountChanged is a log parse operation binding the contract event 0x2506c43272ded05d095b91dbba876e66e46888157d3e078db5691496e96c5fad.
Solidity: event HardDepositAmountChanged(address indexed beneficiary, uint256 amount)
func (*ChequeBookFilterer) WatchCashouted ¶
func (_ChequeBook *ChequeBookFilterer) WatchCashouted(opts *bind.WatchOpts, sink chan<- *ChequeBookCashouted, beneficiary []common.Address) (event.Subscription, error)
WatchCashouted is a free log subscription operation binding the contract event 0x92fec97bff9ddc18bbb7cf738dd42818ad2528ca913ee47fbe149a5cc822ad21.
Solidity: event Cashouted(address indexed beneficiary, address recipient, uint256 amount)
func (*ChequeBookFilterer) WatchHardDepositAmountChanged ¶
func (_ChequeBook *ChequeBookFilterer) WatchHardDepositAmountChanged(opts *bind.WatchOpts, sink chan<- *ChequeBookHardDepositAmountChanged, beneficiary []common.Address) (event.Subscription, error)
WatchHardDepositAmountChanged is a free log subscription operation binding the contract event 0x2506c43272ded05d095b91dbba876e66e46888157d3e078db5691496e96c5fad.
Solidity: event HardDepositAmountChanged(address indexed beneficiary, uint256 amount)
type ChequeBookHardDepositAmountChanged ¶
type ChequeBookHardDepositAmountChanged struct { Beneficiary common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ChequeBookHardDepositAmountChanged represents a HardDepositAmountChanged event raised by the ChequeBook contract.
type ChequeBookHardDepositAmountChangedIterator ¶
type ChequeBookHardDepositAmountChangedIterator struct { Event *ChequeBookHardDepositAmountChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ChequeBookHardDepositAmountChangedIterator is returned from FilterHardDepositAmountChanged and is used to iterate over the raw logs and unpacked data for HardDepositAmountChanged events raised by the ChequeBook contract.
func (*ChequeBookHardDepositAmountChangedIterator) Close ¶
func (it *ChequeBookHardDepositAmountChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ChequeBookHardDepositAmountChangedIterator) Error ¶
func (it *ChequeBookHardDepositAmountChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ChequeBookHardDepositAmountChangedIterator) Next ¶
func (it *ChequeBookHardDepositAmountChangedIterator) 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 ChequeBookRaw ¶
type ChequeBookRaw struct {
Contract *ChequeBook // Generic contract binding to access the raw methods on
}
ChequeBookRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ChequeBookRaw) Call ¶
func (_ChequeBook *ChequeBookRaw) 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 (*ChequeBookRaw) Transact ¶
func (_ChequeBook *ChequeBookRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ChequeBookRaw) Transfer ¶
func (_ChequeBook *ChequeBookRaw) 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 ChequeBookSession ¶
type ChequeBookSession struct { Contract *ChequeBook // 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 }
ChequeBookSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ChequeBookSession) Balance ¶
func (_ChequeBook *ChequeBookSession) Balance() (*big.Int, error)
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
func (*ChequeBookSession) BeneficiaryBalances ¶
BeneficiaryBalances is a free data retrieval call binding the contract method 0x5664865a.
Solidity: function beneficiaryBalances(address ) view returns(uint256)
func (*ChequeBookSession) Cashout ¶
func (_ChequeBook *ChequeBookSession) Cashout(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Cashout is a paid mutator transaction binding the contract method 0xb7b172b3.
Solidity: function cashout(address _recipient, uint256 _amount) returns()
func (*ChequeBookSession) Deposit ¶
func (_ChequeBook *ChequeBookSession) Deposit(_amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _amount) returns()
func (*ChequeBookSession) HardDepositBalances ¶
HardDepositBalances is a free data retrieval call binding the contract method 0x5bf58ec7.
Solidity: function hardDepositBalances(address ) view returns(uint256)
func (*ChequeBookSession) Init ¶
func (_ChequeBook *ChequeBookSession) Init(_issuer common.Address, _token common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xf09a4016.
Solidity: function init(address _issuer, address _token) returns()
func (*ChequeBookSession) Issuer ¶
func (_ChequeBook *ChequeBookSession) Issuer() (common.Address, error)
Issuer is a free data retrieval call binding the contract method 0x1d143848.
Solidity: function issuer() view returns(address)
func (*ChequeBookSession) LiquidBalance ¶
func (_ChequeBook *ChequeBookSession) LiquidBalance() (*big.Int, error)
LiquidBalance is a free data retrieval call binding the contract method 0xb7ec1a33.
Solidity: function liquidBalance() view returns(uint256)
func (*ChequeBookSession) PaidOut ¶
PaidOut is a free data retrieval call binding the contract method 0x81f03fcb.
Solidity: function paidOut(address ) view returns(uint256)
func (*ChequeBookSession) Pay ¶
func (_ChequeBook *ChequeBookSession) Pay(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0xc4076876.
Solidity: function pay(address _recipient, uint256 _amount) returns()
func (*ChequeBookSession) PayHardDeposit ¶
func (_ChequeBook *ChequeBookSession) PayHardDeposit(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
PayHardDeposit is a paid mutator transaction binding the contract method 0xf6407d0c.
Solidity: function payHardDeposit(address _recipient, uint256 _amount) returns()
func (*ChequeBookSession) Token ¶
func (_ChequeBook *ChequeBookSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*ChequeBookSession) TotalBeneficiary ¶
func (_ChequeBook *ChequeBookSession) TotalBeneficiary() (*big.Int, error)
TotalBeneficiary is a free data retrieval call binding the contract method 0x959d15ca.
Solidity: function totalBeneficiary() view returns(uint256)
func (*ChequeBookSession) TotalHardDeposit ¶
func (_ChequeBook *ChequeBookSession) TotalHardDeposit() (*big.Int, error)
TotalHardDeposit is a free data retrieval call binding the contract method 0xe0bcf13a.
Solidity: function totalHardDeposit() view returns(uint256)
func (*ChequeBookSession) TotalPaidOut ¶
func (_ChequeBook *ChequeBookSession) TotalPaidOut() (*big.Int, error)
TotalPaidOut is a free data retrieval call binding the contract method 0x1357e1dc.
Solidity: function totalPaidOut() view returns(uint256)
type ChequeBookTransactor ¶
type ChequeBookTransactor struct {
// contains filtered or unexported fields
}
ChequeBookTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewChequeBookTransactor ¶
func NewChequeBookTransactor(address common.Address, transactor bind.ContractTransactor) (*ChequeBookTransactor, error)
NewChequeBookTransactor creates a new write-only instance of ChequeBook, bound to a specific deployed contract.
func (*ChequeBookTransactor) Cashout ¶
func (_ChequeBook *ChequeBookTransactor) Cashout(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Cashout is a paid mutator transaction binding the contract method 0xb7b172b3.
Solidity: function cashout(address _recipient, uint256 _amount) returns()
func (*ChequeBookTransactor) Deposit ¶
func (_ChequeBook *ChequeBookTransactor) 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) returns()
func (*ChequeBookTransactor) Init ¶
func (_ChequeBook *ChequeBookTransactor) Init(opts *bind.TransactOpts, _issuer common.Address, _token common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xf09a4016.
Solidity: function init(address _issuer, address _token) returns()
func (*ChequeBookTransactor) Pay ¶
func (_ChequeBook *ChequeBookTransactor) Pay(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0xc4076876.
Solidity: function pay(address _recipient, uint256 _amount) returns()
func (*ChequeBookTransactor) PayHardDeposit ¶
func (_ChequeBook *ChequeBookTransactor) PayHardDeposit(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
PayHardDeposit is a paid mutator transaction binding the contract method 0xf6407d0c.
Solidity: function payHardDeposit(address _recipient, uint256 _amount) returns()
type ChequeBookTransactorRaw ¶
type ChequeBookTransactorRaw struct {
Contract *ChequeBookTransactor // Generic write-only contract binding to access the raw methods on
}
ChequeBookTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ChequeBookTransactorRaw) Transact ¶
func (_ChequeBook *ChequeBookTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ChequeBookTransactorRaw) Transfer ¶
func (_ChequeBook *ChequeBookTransactorRaw) 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 ChequeBookTransactorSession ¶
type ChequeBookTransactorSession struct { Contract *ChequeBookTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ChequeBookTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ChequeBookTransactorSession) Cashout ¶
func (_ChequeBook *ChequeBookTransactorSession) Cashout(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Cashout is a paid mutator transaction binding the contract method 0xb7b172b3.
Solidity: function cashout(address _recipient, uint256 _amount) returns()
func (*ChequeBookTransactorSession) Deposit ¶
func (_ChequeBook *ChequeBookTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _amount) returns()
func (*ChequeBookTransactorSession) Init ¶
func (_ChequeBook *ChequeBookTransactorSession) Init(_issuer common.Address, _token common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xf09a4016.
Solidity: function init(address _issuer, address _token) returns()
func (*ChequeBookTransactorSession) Pay ¶
func (_ChequeBook *ChequeBookTransactorSession) Pay(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0xc4076876.
Solidity: function pay(address _recipient, uint256 _amount) returns()
func (*ChequeBookTransactorSession) PayHardDeposit ¶
func (_ChequeBook *ChequeBookTransactorSession) PayHardDeposit(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
PayHardDeposit is a paid mutator transaction binding the contract method 0xf6407d0c.
Solidity: function payHardDeposit(address _recipient, uint256 _amount) returns()
type Clones ¶
type Clones struct { ClonesCaller // Read-only binding to the contract ClonesTransactor // Write-only binding to the contract ClonesFilterer // Log filterer for contract events }
Clones is an auto generated Go binding around an Ethereum contract.
func DeployClones ¶
func DeployClones(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Clones, error)
DeployClones deploys a new Ethereum contract, binding an instance of Clones to it.
type ClonesCaller ¶
type ClonesCaller struct {
// contains filtered or unexported fields
}
ClonesCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewClonesCaller ¶
func NewClonesCaller(address common.Address, caller bind.ContractCaller) (*ClonesCaller, error)
NewClonesCaller creates a new read-only instance of Clones, bound to a specific deployed contract.
type ClonesCallerRaw ¶
type ClonesCallerRaw struct {
Contract *ClonesCaller // Generic read-only contract binding to access the raw methods on
}
ClonesCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ClonesCallerRaw) Call ¶
func (_Clones *ClonesCallerRaw) 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 ClonesCallerSession ¶
type ClonesCallerSession struct { Contract *ClonesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ClonesCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ClonesFilterer ¶
type ClonesFilterer struct {
// contains filtered or unexported fields
}
ClonesFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewClonesFilterer ¶
func NewClonesFilterer(address common.Address, filterer bind.ContractFilterer) (*ClonesFilterer, error)
NewClonesFilterer creates a new log filterer instance of Clones, bound to a specific deployed contract.
type ClonesRaw ¶
type ClonesRaw struct {
Contract *Clones // Generic contract binding to access the raw methods on
}
ClonesRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ClonesRaw) Call ¶
func (_Clones *ClonesRaw) 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 (*ClonesRaw) Transact ¶
func (_Clones *ClonesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ClonesRaw) Transfer ¶
func (_Clones *ClonesRaw) 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 ClonesSession ¶
type ClonesSession struct { Contract *Clones // 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 }
ClonesSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ClonesTransactor ¶
type ClonesTransactor struct {
// contains filtered or unexported fields
}
ClonesTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewClonesTransactor ¶
func NewClonesTransactor(address common.Address, transactor bind.ContractTransactor) (*ClonesTransactor, error)
NewClonesTransactor creates a new write-only instance of Clones, bound to a specific deployed contract.
type ClonesTransactorRaw ¶
type ClonesTransactorRaw struct {
Contract *ClonesTransactor // Generic write-only contract binding to access the raw methods on
}
ClonesTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ClonesTransactorRaw) Transact ¶
func (_Clones *ClonesTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ClonesTransactorRaw) Transfer ¶
func (_Clones *ClonesTransactorRaw) 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 ClonesTransactorSession ¶
type ClonesTransactorSession struct { Contract *ClonesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ClonesTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Context ¶
type Context struct { ContextCaller // Read-only binding to the contract ContextTransactor // Write-only binding to the contract ContextFilterer // Log filterer for contract events }
Context is an auto generated Go binding around an Ethereum contract.
func NewContext ¶
NewContext creates a new instance of Context, bound to a specific deployed contract.
type ContextCaller ¶
type ContextCaller struct {
// contains filtered or unexported fields
}
ContextCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContextCaller ¶
func NewContextCaller(address common.Address, caller bind.ContractCaller) (*ContextCaller, error)
NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.
type ContextCallerRaw ¶
type ContextCallerRaw struct {
Contract *ContextCaller // Generic read-only contract binding to access the raw methods on
}
ContextCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContextCallerRaw) Call ¶
func (_Context *ContextCallerRaw) 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 ContextCallerSession ¶
type ContextCallerSession struct { Contract *ContextCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContextCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ContextFilterer ¶
type ContextFilterer struct {
// contains filtered or unexported fields
}
ContextFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContextFilterer ¶
func NewContextFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextFilterer, error)
NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.
type ContextRaw ¶
type ContextRaw struct {
Contract *Context // Generic contract binding to access the raw methods on
}
ContextRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContextRaw) Call ¶
func (_Context *ContextRaw) 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 (*ContextRaw) Transact ¶
func (_Context *ContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextRaw) Transfer ¶
func (_Context *ContextRaw) 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 ContextSession ¶
type ContextSession struct { Contract *Context // 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 }
ContextSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ContextTransactor ¶
type ContextTransactor struct {
// contains filtered or unexported fields
}
ContextTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContextTransactor ¶
func NewContextTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextTransactor, error)
NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.
type ContextTransactorRaw ¶
type ContextTransactorRaw struct {
Contract *ContextTransactor // Generic write-only contract binding to access the raw methods on
}
ContextTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContextTransactorRaw) Transact ¶
func (_Context *ContextTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextTransactorRaw) Transfer ¶
func (_Context *ContextTransactorRaw) 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 ContextTransactorSession ¶
type ContextTransactorSession struct { Contract *ContextTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContextTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ERC20 ¶
type ERC20 struct { ERC20Caller // Read-only binding to the contract ERC20Transactor // Write-only binding to the contract ERC20Filterer // Log filterer for contract events }
ERC20 is an auto generated Go binding around an Ethereum contract.
func DeployERC20 ¶
func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend, name_ string, symbol_ string) (common.Address, *types.Transaction, *ERC20, error)
DeployERC20 deploys a new Ethereum contract, binding an instance of ERC20 to it.
type ERC20Approval ¶
type ERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Approval represents a Approval event raised by the ERC20 contract.
type ERC20ApprovalIterator ¶
type ERC20ApprovalIterator struct { Event *ERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20 contract.
func (*ERC20ApprovalIterator) Close ¶
func (it *ERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20ApprovalIterator) Error ¶
func (it *ERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20ApprovalIterator) Next ¶
func (it *ERC20ApprovalIterator) 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 ERC20Caller ¶
type ERC20Caller struct {
// contains filtered or unexported fields
}
ERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20Caller ¶
func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)
NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Caller) Allowance ¶
func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20Caller) Decimals ¶
func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) Name ¶
func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) Symbol ¶
func (_ERC20 *ERC20Caller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20CallerRaw ¶
type ERC20CallerRaw struct {
Contract *ERC20Caller // Generic read-only contract binding to access the raw methods on
}
ERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20CallerRaw) Call ¶
func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession ¶
type ERC20CallerSession struct { Contract *ERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20CallerSession) Allowance ¶
func (_ERC20 *ERC20CallerSession) 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 (*ERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20CallerSession) Decimals ¶
func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20CallerSession) Name ¶
func (_ERC20 *ERC20CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20CallerSession) Symbol ¶
func (_ERC20 *ERC20CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20CallerSession) TotalSupply ¶
func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20Filterer ¶
type ERC20Filterer struct {
// contains filtered or unexported fields
}
ERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20Filterer ¶
func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)
NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.
func (*ERC20Filterer) FilterApproval ¶
func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, 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 (*ERC20Filterer) FilterTransfer ¶
func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, 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 (*ERC20Filterer) ParseApproval ¶
func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) ParseTransfer ¶
func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20Filterer) WatchApproval ¶
func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, 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 (*ERC20Filterer) WatchTransfer ¶
func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, 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 ERC20Raw ¶
type ERC20Raw struct {
Contract *ERC20 // Generic contract binding to access the raw methods on
}
ERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20Raw) Call ¶
func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact ¶
func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20Raw) Transfer ¶
func (_ERC20 *ERC20Raw) 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 ERC20Session ¶
type ERC20Session struct { Contract *ERC20 // 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 }
ERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20Session) Allowance ¶
func (_ERC20 *ERC20Session) 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 (*ERC20Session) Approve ¶
func (_ERC20 *ERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20Session) Decimals ¶
func (_ERC20 *ERC20Session) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20Session) DecreaseAllowance ¶
func (_ERC20 *ERC20Session) 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 (*ERC20Session) IncreaseAllowance ¶
func (_ERC20 *ERC20Session) 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 (*ERC20Session) Name ¶
func (_ERC20 *ERC20Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20Session) Symbol ¶
func (_ERC20 *ERC20Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20Session) TotalSupply ¶
func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ERC20Session) Transfer ¶
func (_ERC20 *ERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20Session) TransferFrom ¶
func (_ERC20 *ERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20Transactor ¶
type ERC20Transactor struct {
// contains filtered or unexported fields
}
ERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20Transactor ¶
func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)
NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Transactor) Approve ¶
func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20Transactor) DecreaseAllowance ¶
func (_ERC20 *ERC20Transactor) 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 (*ERC20Transactor) IncreaseAllowance ¶
func (_ERC20 *ERC20Transactor) 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 (*ERC20Transactor) Transfer ¶
func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20Transactor) TransferFrom ¶
func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20TransactorRaw ¶
type ERC20TransactorRaw struct {
Contract *ERC20Transactor // Generic write-only contract binding to access the raw methods on
}
ERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20TransactorRaw) Transact ¶
func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20TransactorRaw) Transfer ¶
func (_ERC20 *ERC20TransactorRaw) 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 ERC20TransactorSession ¶
type ERC20TransactorSession struct { Contract *ERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20TransactorSession) Approve ¶
func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20TransactorSession) DecreaseAllowance ¶
func (_ERC20 *ERC20TransactorSession) 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 (*ERC20TransactorSession) IncreaseAllowance ¶
func (_ERC20 *ERC20TransactorSession) 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 (*ERC20TransactorSession) Transfer ¶
func (_ERC20 *ERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*ERC20TransactorSession) TransferFrom ¶
func (_ERC20 *ERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type ERC20Transfer ¶
type ERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Transfer represents a Transfer event raised by the ERC20 contract.
type ERC20TransferIterator ¶
type ERC20TransferIterator struct { Event *ERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20 contract.
func (*ERC20TransferIterator) Close ¶
func (it *ERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20TransferIterator) Error ¶
func (it *ERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20TransferIterator) Next ¶
func (it *ERC20TransferIterator) 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 IChequeBook ¶
type IChequeBook struct { IChequeBookCaller // Read-only binding to the contract IChequeBookTransactor // Write-only binding to the contract IChequeBookFilterer // Log filterer for contract events }
IChequeBook is an auto generated Go binding around an Ethereum contract.
func NewIChequeBook ¶
func NewIChequeBook(address common.Address, backend bind.ContractBackend) (*IChequeBook, error)
NewIChequeBook creates a new instance of IChequeBook, bound to a specific deployed contract.
type IChequeBookCaller ¶
type IChequeBookCaller struct {
// contains filtered or unexported fields
}
IChequeBookCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIChequeBookCaller ¶
func NewIChequeBookCaller(address common.Address, caller bind.ContractCaller) (*IChequeBookCaller, error)
NewIChequeBookCaller creates a new read-only instance of IChequeBook, bound to a specific deployed contract.
type IChequeBookCallerRaw ¶
type IChequeBookCallerRaw struct {
Contract *IChequeBookCaller // Generic read-only contract binding to access the raw methods on
}
IChequeBookCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IChequeBookCallerRaw) Call ¶
func (_IChequeBook *IChequeBookCallerRaw) 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 IChequeBookCallerSession ¶
type IChequeBookCallerSession struct { Contract *IChequeBookCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IChequeBookCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IChequeBookFilterer ¶
type IChequeBookFilterer struct {
// contains filtered or unexported fields
}
IChequeBookFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIChequeBookFilterer ¶
func NewIChequeBookFilterer(address common.Address, filterer bind.ContractFilterer) (*IChequeBookFilterer, error)
NewIChequeBookFilterer creates a new log filterer instance of IChequeBook, bound to a specific deployed contract.
type IChequeBookRaw ¶
type IChequeBookRaw struct {
Contract *IChequeBook // Generic contract binding to access the raw methods on
}
IChequeBookRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IChequeBookRaw) Call ¶
func (_IChequeBook *IChequeBookRaw) 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 (*IChequeBookRaw) Transact ¶
func (_IChequeBook *IChequeBookRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IChequeBookRaw) Transfer ¶
func (_IChequeBook *IChequeBookRaw) 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 IChequeBookSession ¶
type IChequeBookSession struct { Contract *IChequeBook // 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 }
IChequeBookSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IChequeBookSession) Cashout ¶
func (_IChequeBook *IChequeBookSession) Cashout(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Cashout is a paid mutator transaction binding the contract method 0xb7b172b3.
Solidity: function cashout(address _recipient, uint256 _amount) returns()
func (*IChequeBookSession) Deposit ¶
func (_IChequeBook *IChequeBookSession) Deposit(_amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _amount) returns()
func (*IChequeBookSession) Pay ¶
func (_IChequeBook *IChequeBookSession) Pay(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0xc4076876.
Solidity: function pay(address _recipient, uint256 _amount) returns()
func (*IChequeBookSession) PayHardDeposit ¶
func (_IChequeBook *IChequeBookSession) PayHardDeposit(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
PayHardDeposit is a paid mutator transaction binding the contract method 0xf6407d0c.
Solidity: function payHardDeposit(address _recipient, uint256 _amount) returns()
type IChequeBookTransactor ¶
type IChequeBookTransactor struct {
// contains filtered or unexported fields
}
IChequeBookTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIChequeBookTransactor ¶
func NewIChequeBookTransactor(address common.Address, transactor bind.ContractTransactor) (*IChequeBookTransactor, error)
NewIChequeBookTransactor creates a new write-only instance of IChequeBook, bound to a specific deployed contract.
func (*IChequeBookTransactor) Cashout ¶
func (_IChequeBook *IChequeBookTransactor) Cashout(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Cashout is a paid mutator transaction binding the contract method 0xb7b172b3.
Solidity: function cashout(address _recipient, uint256 _amount) returns()
func (*IChequeBookTransactor) Deposit ¶
func (_IChequeBook *IChequeBookTransactor) 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) returns()
func (*IChequeBookTransactor) Pay ¶
func (_IChequeBook *IChequeBookTransactor) Pay(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0xc4076876.
Solidity: function pay(address _recipient, uint256 _amount) returns()
func (*IChequeBookTransactor) PayHardDeposit ¶
func (_IChequeBook *IChequeBookTransactor) PayHardDeposit(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
PayHardDeposit is a paid mutator transaction binding the contract method 0xf6407d0c.
Solidity: function payHardDeposit(address _recipient, uint256 _amount) returns()
type IChequeBookTransactorRaw ¶
type IChequeBookTransactorRaw struct {
Contract *IChequeBookTransactor // Generic write-only contract binding to access the raw methods on
}
IChequeBookTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IChequeBookTransactorRaw) Transact ¶
func (_IChequeBook *IChequeBookTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IChequeBookTransactorRaw) Transfer ¶
func (_IChequeBook *IChequeBookTransactorRaw) 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 IChequeBookTransactorSession ¶
type IChequeBookTransactorSession struct { Contract *IChequeBookTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IChequeBookTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IChequeBookTransactorSession) Cashout ¶
func (_IChequeBook *IChequeBookTransactorSession) Cashout(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Cashout is a paid mutator transaction binding the contract method 0xb7b172b3.
Solidity: function cashout(address _recipient, uint256 _amount) returns()
func (*IChequeBookTransactorSession) Deposit ¶
func (_IChequeBook *IChequeBookTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _amount) returns()
func (*IChequeBookTransactorSession) Pay ¶
func (_IChequeBook *IChequeBookTransactorSession) Pay(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0xc4076876.
Solidity: function pay(address _recipient, uint256 _amount) returns()
func (*IChequeBookTransactorSession) PayHardDeposit ¶
func (_IChequeBook *IChequeBookTransactorSession) PayHardDeposit(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
PayHardDeposit is a paid mutator transaction binding the contract method 0xf6407d0c.
Solidity: function payHardDeposit(address _recipient, uint256 _amount) returns()
type IERC20 ¶
type IERC20 struct { IERC20Caller // Read-only binding to the contract IERC20Transactor // Write-only binding to the contract IERC20Filterer // Log filterer for contract events }
IERC20 is an auto generated Go binding around an Ethereum contract.
type IERC20Approval ¶
type IERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Approval represents a Approval event raised by the IERC20 contract.
type IERC20ApprovalIterator ¶
type IERC20ApprovalIterator struct { Event *IERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20 contract.
func (*IERC20ApprovalIterator) Close ¶
func (it *IERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20ApprovalIterator) Error ¶
func (it *IERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20ApprovalIterator) Next ¶
func (it *IERC20ApprovalIterator) 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 IERC20Caller ¶
type IERC20Caller struct {
// contains filtered or unexported fields
}
IERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewIERC20Caller ¶
func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)
NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Caller) Allowance ¶
func (_IERC20 *IERC20Caller) 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 (*IERC20Caller) BalanceOf ¶
func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20CallerRaw ¶
type IERC20CallerRaw struct {
Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on
}
IERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IERC20CallerRaw) Call ¶
func (_IERC20 *IERC20CallerRaw) 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 IERC20CallerSession ¶
type IERC20CallerSession struct { Contract *IERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IERC20CallerSession) Allowance ¶
func (_IERC20 *IERC20CallerSession) 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 (*IERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20CallerSession) TotalSupply ¶
func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20Filterer ¶
type IERC20Filterer struct {
// contains filtered or unexported fields
}
IERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIERC20Filterer ¶
func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)
NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.
func (*IERC20Filterer) FilterApproval ¶
func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, 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 (*IERC20Filterer) FilterTransfer ¶
func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, 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 (*IERC20Filterer) ParseApproval ¶
func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) ParseTransfer ¶
func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IERC20Filterer) WatchApproval ¶
func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, 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 (*IERC20Filterer) WatchTransfer ¶
func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, 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 IERC20Raw ¶
type IERC20Raw struct {
Contract *IERC20 // Generic contract binding to access the raw methods on
}
IERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*IERC20Raw) Call ¶
func (_IERC20 *IERC20Raw) 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 (*IERC20Raw) Transact ¶
func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20Raw) Transfer ¶
func (_IERC20 *IERC20Raw) 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 IERC20Session ¶
type IERC20Session struct { Contract *IERC20 // 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 }
IERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IERC20Session) Allowance ¶
func (_IERC20 *IERC20Session) 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 (*IERC20Session) Approve ¶
func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*IERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20Session) TotalSupply ¶
func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IERC20Session) Transfer ¶
func (_IERC20 *IERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IERC20Session) TransferFrom ¶
func (_IERC20 *IERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type IERC20Transactor ¶
type IERC20Transactor struct {
// contains filtered or unexported fields
}
IERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIERC20Transactor ¶
func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)
NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Transactor) Approve ¶
func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*IERC20Transactor) Transfer ¶
func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IERC20Transactor) TransferFrom ¶
func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type IERC20TransactorRaw ¶
type IERC20TransactorRaw struct {
Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on
}
IERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IERC20TransactorRaw) Transact ¶
func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20TransactorRaw) Transfer ¶
func (_IERC20 *IERC20TransactorRaw) 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 IERC20TransactorSession ¶
type IERC20TransactorSession struct { Contract *IERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IERC20TransactorSession) Approve ¶
func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*IERC20TransactorSession) Transfer ¶
func (_IERC20 *IERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*IERC20TransactorSession) TransferFrom ¶
func (_IERC20 *IERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type IERC20Transfer ¶
type IERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Transfer represents a Transfer event raised by the IERC20 contract.
type IERC20TransferIterator ¶
type IERC20TransferIterator struct { Event *IERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.
func (*IERC20TransferIterator) Close ¶
func (it *IERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20TransferIterator) Error ¶
func (it *IERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20TransferIterator) Next ¶
func (it *IERC20TransferIterator) 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 Math ¶
type Math struct { MathCaller // Read-only binding to the contract MathTransactor // Write-only binding to the contract MathFilterer // Log filterer for contract events }
Math is an auto generated Go binding around an Ethereum contract.
func DeployMath ¶
func DeployMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Math, error)
DeployMath deploys a new Ethereum contract, binding an instance of Math to it.
type MathCaller ¶
type MathCaller struct {
// contains filtered or unexported fields
}
MathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMathCaller ¶
func NewMathCaller(address common.Address, caller bind.ContractCaller) (*MathCaller, error)
NewMathCaller creates a new read-only instance of Math, bound to a specific deployed contract.
type MathCallerRaw ¶
type MathCallerRaw struct {
Contract *MathCaller // Generic read-only contract binding to access the raw methods on
}
MathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MathCallerRaw) Call ¶
func (_Math *MathCallerRaw) 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 MathCallerSession ¶
type MathCallerSession struct { Contract *MathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type MathFilterer ¶
type MathFilterer struct {
// contains filtered or unexported fields
}
MathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMathFilterer ¶
func NewMathFilterer(address common.Address, filterer bind.ContractFilterer) (*MathFilterer, error)
NewMathFilterer creates a new log filterer instance of Math, bound to a specific deployed contract.
type MathRaw ¶
type MathRaw struct {
Contract *Math // Generic contract binding to access the raw methods on
}
MathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MathRaw) Call ¶
func (_Math *MathRaw) 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 (*MathRaw) Transact ¶
func (_Math *MathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MathRaw) Transfer ¶
func (_Math *MathRaw) 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 MathSession ¶
type MathSession struct { Contract *Math // 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 }
MathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type MathTransactor ¶
type MathTransactor struct {
// contains filtered or unexported fields
}
MathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMathTransactor ¶
func NewMathTransactor(address common.Address, transactor bind.ContractTransactor) (*MathTransactor, error)
NewMathTransactor creates a new write-only instance of Math, bound to a specific deployed contract.
type MathTransactorRaw ¶
type MathTransactorRaw struct {
Contract *MathTransactor // Generic write-only contract binding to access the raw methods on
}
MathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MathTransactorRaw) Transact ¶
func (_Math *MathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MathTransactorRaw) Transfer ¶
func (_Math *MathTransactorRaw) 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 MathTransactorSession ¶
type MathTransactorSession struct { Contract *MathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type SafeMath ¶
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around an Ethereum contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession ¶
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) 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 SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // 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 }
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.