Documentation ¶
Index ¶
- Constants
- Variables
- type Console
- type ConsoleCaller
- type ConsoleCallerRaw
- type ConsoleCallerSession
- type ConsoleFilterer
- type ConsoleRaw
- func (_Console *ConsoleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Console *ConsoleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Console *ConsoleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ConsoleSession
- type ConsoleTransactor
- type ConsoleTransactorRaw
- type ConsoleTransactorSession
- type DODOFlashloan
- type DODOFlashloanCaller
- type DODOFlashloanCallerRaw
- type DODOFlashloanCallerSession
- type DODOFlashloanCheckBorrowedAmount
- type DODOFlashloanCheckBorrowedAmountIterator
- type DODOFlashloanFilterer
- func (_DODOFlashloan *DODOFlashloanFilterer) FilterCheckBorrowedAmount(opts *bind.FilterOpts) (*DODOFlashloanCheckBorrowedAmountIterator, error)
- func (_DODOFlashloan *DODOFlashloanFilterer) FilterPayBackLoan(opts *bind.FilterOpts) (*DODOFlashloanPayBackLoanIterator, error)
- func (_DODOFlashloan *DODOFlashloanFilterer) ParseCheckBorrowedAmount(log types.Log) (*DODOFlashloanCheckBorrowedAmount, error)
- func (_DODOFlashloan *DODOFlashloanFilterer) ParsePayBackLoan(log types.Log) (*DODOFlashloanPayBackLoan, error)
- func (_DODOFlashloan *DODOFlashloanFilterer) WatchCheckBorrowedAmount(opts *bind.WatchOpts, sink chan<- *DODOFlashloanCheckBorrowedAmount) (event.Subscription, error)
- func (_DODOFlashloan *DODOFlashloanFilterer) WatchPayBackLoan(opts *bind.WatchOpts, sink chan<- *DODOFlashloanPayBackLoan) (event.Subscription, error)
- type DODOFlashloanPayBackLoan
- type DODOFlashloanPayBackLoanIterator
- type DODOFlashloanRaw
- func (_DODOFlashloan *DODOFlashloanRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_DODOFlashloan *DODOFlashloanRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_DODOFlashloan *DODOFlashloanRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DODOFlashloanSession
- func (_DODOFlashloan *DODOFlashloanSession) DPPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_DODOFlashloan *DODOFlashloanSession) DSPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_DODOFlashloan *DODOFlashloanSession) DVMFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_DODOFlashloan *DODOFlashloanSession) DodoFlashLoan(flashLoanPool common.Address, loanAmount *big.Int, loanToken common.Address) (*types.Transaction, error)
- type DODOFlashloanTransactor
- func (_DODOFlashloan *DODOFlashloanTransactor) DPPFlashLoanCall(opts *bind.TransactOpts, sender common.Address, baseAmount *big.Int, ...) (*types.Transaction, error)
- func (_DODOFlashloan *DODOFlashloanTransactor) DSPFlashLoanCall(opts *bind.TransactOpts, sender common.Address, baseAmount *big.Int, ...) (*types.Transaction, error)
- func (_DODOFlashloan *DODOFlashloanTransactor) DVMFlashLoanCall(opts *bind.TransactOpts, sender common.Address, baseAmount *big.Int, ...) (*types.Transaction, error)
- func (_DODOFlashloan *DODOFlashloanTransactor) DodoFlashLoan(opts *bind.TransactOpts, flashLoanPool common.Address, loanAmount *big.Int, ...) (*types.Transaction, error)
- type DODOFlashloanTransactorRaw
- type DODOFlashloanTransactorSession
- func (_DODOFlashloan *DODOFlashloanTransactorSession) DPPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_DODOFlashloan *DODOFlashloanTransactorSession) DSPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_DODOFlashloan *DODOFlashloanTransactorSession) DVMFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_DODOFlashloan *DODOFlashloanTransactorSession) DodoFlashLoan(flashLoanPool common.Address, loanAmount *big.Int, loanToken common.Address) (*types.Transaction, error)
- type IDODO
- type IDODOCaller
- func (_IDODO *IDODOCaller) BASERESERVE(opts *bind.CallOpts) (*big.Int, error)
- func (_IDODO *IDODOCaller) BASETOKEN(opts *bind.CallOpts) (common.Address, error)
- func (_IDODO *IDODOCaller) QUOTERESERVE(opts *bind.CallOpts) (*big.Int, error)
- func (_IDODO *IDODOCaller) QUOTETOKEN(opts *bind.CallOpts) (common.Address, error)
- type IDODOCallerRaw
- type IDODOCallerSession
- type IDODOFilterer
- type IDODORaw
- func (_IDODO *IDODORaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IDODO *IDODORaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IDODO *IDODORaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IDODOSession
- func (_IDODO *IDODOSession) BASERESERVE() (*big.Int, error)
- func (_IDODO *IDODOSession) BASETOKEN() (common.Address, error)
- func (_IDODO *IDODOSession) FlashLoan(baseAmount *big.Int, quoteAmount *big.Int, assetTo common.Address, data []byte) (*types.Transaction, error)
- func (_IDODO *IDODOSession) QUOTERESERVE() (*big.Int, error)
- func (_IDODO *IDODOSession) QUOTETOKEN() (common.Address, error)
- type IDODOTransactor
- type IDODOTransactorRaw
- type IDODOTransactorSession
- 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, ...) 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
Constants ¶
const ConsoleABI = "[]"
ConsoleABI is the input ABI used to generate the binding from.
const DODOFlashloanABI = "" /* 2093-byte string literal not displayed */
DODOFlashloanABI is the input ABI used to generate the binding from.
const IDODOABI = "" /* 1101-byte string literal not displayed */
IDODOABI 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.
Variables ¶
var ConsoleBin = "" /* 284-byte string literal not displayed */
ConsoleBin is the compiled bytecode used for deploying new contracts.
var DODOFlashloanBin = "" /* 4364-byte string literal not displayed */
DODOFlashloanBin is the compiled bytecode used for deploying new contracts.
var DODOFlashloanFuncSigs = map[string]string{
"7ed1f1dd": "DPPFlashLoanCall(address,uint256,uint256,bytes)",
"d5b99797": "DSPFlashLoanCall(address,uint256,uint256,bytes)",
"eb2021c3": "DVMFlashLoanCall(address,uint256,uint256,bytes)",
"ed97c938": "dodoFlashLoan(address,uint256,address)",
}
DODOFlashloanFuncSigs maps the 4-byte function signature to its string representation.
var IDODOFuncSigs = map[string]string{
"7d721504": "_BASE_RESERVE_()",
"4a248d2a": "_BASE_TOKEN_()",
"bbf5ce78": "_QUOTE_RESERVE_()",
"d4b97046": "_QUOTE_TOKEN_()",
"d0a494e4": "flashLoan(uint256,uint256,address,bytes)",
}
IDODOFuncSigs maps the 4-byte function signature to its string representation.
var IERC20FuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
IERC20FuncSigs maps the 4-byte function signature to its string representation.
Functions ¶
This section is empty.
Types ¶
type Console ¶
type Console struct { ConsoleCaller // Read-only binding to the contract ConsoleTransactor // Write-only binding to the contract ConsoleFilterer // Log filterer for contract events }
Console is an auto generated Go binding around an Ethereum contract.
func DeployConsole ¶
func DeployConsole(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Console, error)
DeployConsole deploys a new Ethereum contract, binding an instance of Console to it.
func NewConsole ¶
NewConsole creates a new instance of Console, bound to a specific deployed contract.
type ConsoleCaller ¶
type ConsoleCaller struct {
// contains filtered or unexported fields
}
ConsoleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewConsoleCaller ¶
func NewConsoleCaller(address common.Address, caller bind.ContractCaller) (*ConsoleCaller, error)
NewConsoleCaller creates a new read-only instance of Console, bound to a specific deployed contract.
type ConsoleCallerRaw ¶
type ConsoleCallerRaw struct {
Contract *ConsoleCaller // Generic read-only contract binding to access the raw methods on
}
ConsoleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ConsoleCallerRaw) Call ¶
func (_Console *ConsoleCallerRaw) 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 ConsoleCallerSession ¶
type ConsoleCallerSession struct { Contract *ConsoleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ConsoleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ConsoleFilterer ¶
type ConsoleFilterer struct {
// contains filtered or unexported fields
}
ConsoleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewConsoleFilterer ¶
func NewConsoleFilterer(address common.Address, filterer bind.ContractFilterer) (*ConsoleFilterer, error)
NewConsoleFilterer creates a new log filterer instance of Console, bound to a specific deployed contract.
type ConsoleRaw ¶
type ConsoleRaw struct {
Contract *Console // Generic contract binding to access the raw methods on
}
ConsoleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ConsoleRaw) Call ¶
func (_Console *ConsoleRaw) 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 (*ConsoleRaw) Transact ¶
func (_Console *ConsoleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ConsoleRaw) Transfer ¶
func (_Console *ConsoleRaw) 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 ConsoleSession ¶
type ConsoleSession struct { Contract *Console // 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 }
ConsoleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ConsoleTransactor ¶
type ConsoleTransactor struct {
// contains filtered or unexported fields
}
ConsoleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewConsoleTransactor ¶
func NewConsoleTransactor(address common.Address, transactor bind.ContractTransactor) (*ConsoleTransactor, error)
NewConsoleTransactor creates a new write-only instance of Console, bound to a specific deployed contract.
type ConsoleTransactorRaw ¶
type ConsoleTransactorRaw struct {
Contract *ConsoleTransactor // Generic write-only contract binding to access the raw methods on
}
ConsoleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ConsoleTransactorRaw) Transact ¶
func (_Console *ConsoleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ConsoleTransactorRaw) Transfer ¶
func (_Console *ConsoleTransactorRaw) 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 ConsoleTransactorSession ¶
type ConsoleTransactorSession struct { Contract *ConsoleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ConsoleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type DODOFlashloan ¶
type DODOFlashloan struct { DODOFlashloanCaller // Read-only binding to the contract DODOFlashloanTransactor // Write-only binding to the contract DODOFlashloanFilterer // Log filterer for contract events }
DODOFlashloan is an auto generated Go binding around an Ethereum contract.
func DeployDODOFlashloan ¶
func DeployDODOFlashloan(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *DODOFlashloan, error)
DeployDODOFlashloan deploys a new Ethereum contract, binding an instance of DODOFlashloan to it.
func NewDODOFlashloan ¶
func NewDODOFlashloan(address common.Address, backend bind.ContractBackend) (*DODOFlashloan, error)
NewDODOFlashloan creates a new instance of DODOFlashloan, bound to a specific deployed contract.
type DODOFlashloanCaller ¶
type DODOFlashloanCaller struct {
// contains filtered or unexported fields
}
DODOFlashloanCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDODOFlashloanCaller ¶
func NewDODOFlashloanCaller(address common.Address, caller bind.ContractCaller) (*DODOFlashloanCaller, error)
NewDODOFlashloanCaller creates a new read-only instance of DODOFlashloan, bound to a specific deployed contract.
type DODOFlashloanCallerRaw ¶
type DODOFlashloanCallerRaw struct {
Contract *DODOFlashloanCaller // Generic read-only contract binding to access the raw methods on
}
DODOFlashloanCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DODOFlashloanCallerRaw) Call ¶
func (_DODOFlashloan *DODOFlashloanCallerRaw) 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 DODOFlashloanCallerSession ¶
type DODOFlashloanCallerSession struct { Contract *DODOFlashloanCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DODOFlashloanCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type DODOFlashloanCheckBorrowedAmount ¶
type DODOFlashloanCheckBorrowedAmount struct { Token common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
DODOFlashloanCheckBorrowedAmount represents a CheckBorrowedAmount event raised by the DODOFlashloan contract.
type DODOFlashloanCheckBorrowedAmountIterator ¶
type DODOFlashloanCheckBorrowedAmountIterator struct { Event *DODOFlashloanCheckBorrowedAmount // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DODOFlashloanCheckBorrowedAmountIterator is returned from FilterCheckBorrowedAmount and is used to iterate over the raw logs and unpacked data for CheckBorrowedAmount events raised by the DODOFlashloan contract.
func (*DODOFlashloanCheckBorrowedAmountIterator) Close ¶
func (it *DODOFlashloanCheckBorrowedAmountIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DODOFlashloanCheckBorrowedAmountIterator) Error ¶
func (it *DODOFlashloanCheckBorrowedAmountIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DODOFlashloanCheckBorrowedAmountIterator) Next ¶
func (it *DODOFlashloanCheckBorrowedAmountIterator) 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 DODOFlashloanFilterer ¶
type DODOFlashloanFilterer struct {
// contains filtered or unexported fields
}
DODOFlashloanFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDODOFlashloanFilterer ¶
func NewDODOFlashloanFilterer(address common.Address, filterer bind.ContractFilterer) (*DODOFlashloanFilterer, error)
NewDODOFlashloanFilterer creates a new log filterer instance of DODOFlashloan, bound to a specific deployed contract.
func (*DODOFlashloanFilterer) FilterCheckBorrowedAmount ¶
func (_DODOFlashloan *DODOFlashloanFilterer) FilterCheckBorrowedAmount(opts *bind.FilterOpts) (*DODOFlashloanCheckBorrowedAmountIterator, error)
FilterCheckBorrowedAmount is a free log retrieval operation binding the contract event 0x3a227357a857ce0c0e91741d8eccc8993feba4b2722acb7260125b30ce214136.
Solidity: event checkBorrowedAmount(address token, uint256 amount)
func (*DODOFlashloanFilterer) FilterPayBackLoan ¶
func (_DODOFlashloan *DODOFlashloanFilterer) FilterPayBackLoan(opts *bind.FilterOpts) (*DODOFlashloanPayBackLoanIterator, error)
FilterPayBackLoan is a free log retrieval operation binding the contract event 0xdb1cb55863e8c14b76121e1c7a1dd384bbf404face056dcd7f4ed8d9daa716da.
Solidity: event payBackLoan(address token, uint256 amount)
func (*DODOFlashloanFilterer) ParseCheckBorrowedAmount ¶
func (_DODOFlashloan *DODOFlashloanFilterer) ParseCheckBorrowedAmount(log types.Log) (*DODOFlashloanCheckBorrowedAmount, error)
ParseCheckBorrowedAmount is a log parse operation binding the contract event 0x3a227357a857ce0c0e91741d8eccc8993feba4b2722acb7260125b30ce214136.
Solidity: event checkBorrowedAmount(address token, uint256 amount)
func (*DODOFlashloanFilterer) ParsePayBackLoan ¶
func (_DODOFlashloan *DODOFlashloanFilterer) ParsePayBackLoan(log types.Log) (*DODOFlashloanPayBackLoan, error)
ParsePayBackLoan is a log parse operation binding the contract event 0xdb1cb55863e8c14b76121e1c7a1dd384bbf404face056dcd7f4ed8d9daa716da.
Solidity: event payBackLoan(address token, uint256 amount)
func (*DODOFlashloanFilterer) WatchCheckBorrowedAmount ¶
func (_DODOFlashloan *DODOFlashloanFilterer) WatchCheckBorrowedAmount(opts *bind.WatchOpts, sink chan<- *DODOFlashloanCheckBorrowedAmount) (event.Subscription, error)
WatchCheckBorrowedAmount is a free log subscription operation binding the contract event 0x3a227357a857ce0c0e91741d8eccc8993feba4b2722acb7260125b30ce214136.
Solidity: event checkBorrowedAmount(address token, uint256 amount)
func (*DODOFlashloanFilterer) WatchPayBackLoan ¶
func (_DODOFlashloan *DODOFlashloanFilterer) WatchPayBackLoan(opts *bind.WatchOpts, sink chan<- *DODOFlashloanPayBackLoan) (event.Subscription, error)
WatchPayBackLoan is a free log subscription operation binding the contract event 0xdb1cb55863e8c14b76121e1c7a1dd384bbf404face056dcd7f4ed8d9daa716da.
Solidity: event payBackLoan(address token, uint256 amount)
type DODOFlashloanPayBackLoan ¶
type DODOFlashloanPayBackLoan struct { Token common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
DODOFlashloanPayBackLoan represents a PayBackLoan event raised by the DODOFlashloan contract.
type DODOFlashloanPayBackLoanIterator ¶
type DODOFlashloanPayBackLoanIterator struct { Event *DODOFlashloanPayBackLoan // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DODOFlashloanPayBackLoanIterator is returned from FilterPayBackLoan and is used to iterate over the raw logs and unpacked data for PayBackLoan events raised by the DODOFlashloan contract.
func (*DODOFlashloanPayBackLoanIterator) Close ¶
func (it *DODOFlashloanPayBackLoanIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DODOFlashloanPayBackLoanIterator) Error ¶
func (it *DODOFlashloanPayBackLoanIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DODOFlashloanPayBackLoanIterator) Next ¶
func (it *DODOFlashloanPayBackLoanIterator) 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 DODOFlashloanRaw ¶
type DODOFlashloanRaw struct {
Contract *DODOFlashloan // Generic contract binding to access the raw methods on
}
DODOFlashloanRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DODOFlashloanRaw) Call ¶
func (_DODOFlashloan *DODOFlashloanRaw) 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 (*DODOFlashloanRaw) Transact ¶
func (_DODOFlashloan *DODOFlashloanRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DODOFlashloanRaw) Transfer ¶
func (_DODOFlashloan *DODOFlashloanRaw) 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 DODOFlashloanSession ¶
type DODOFlashloanSession struct { Contract *DODOFlashloan // 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 }
DODOFlashloanSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DODOFlashloanSession) DPPFlashLoanCall ¶
func (_DODOFlashloan *DODOFlashloanSession) DPPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
DPPFlashLoanCall is a paid mutator transaction binding the contract method 0x7ed1f1dd.
Solidity: function DPPFlashLoanCall(address sender, uint256 baseAmount, uint256 quoteAmount, bytes data) returns()
func (*DODOFlashloanSession) DSPFlashLoanCall ¶
func (_DODOFlashloan *DODOFlashloanSession) DSPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
DSPFlashLoanCall is a paid mutator transaction binding the contract method 0xd5b99797.
Solidity: function DSPFlashLoanCall(address sender, uint256 baseAmount, uint256 quoteAmount, bytes data) returns()
func (*DODOFlashloanSession) DVMFlashLoanCall ¶
func (_DODOFlashloan *DODOFlashloanSession) DVMFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
DVMFlashLoanCall is a paid mutator transaction binding the contract method 0xeb2021c3.
Solidity: function DVMFlashLoanCall(address sender, uint256 baseAmount, uint256 quoteAmount, bytes data) returns()
func (*DODOFlashloanSession) DodoFlashLoan ¶
func (_DODOFlashloan *DODOFlashloanSession) DodoFlashLoan(flashLoanPool common.Address, loanAmount *big.Int, loanToken common.Address) (*types.Transaction, error)
DodoFlashLoan is a paid mutator transaction binding the contract method 0xed97c938.
Solidity: function dodoFlashLoan(address flashLoanPool, uint256 loanAmount, address loanToken) returns()
type DODOFlashloanTransactor ¶
type DODOFlashloanTransactor struct {
// contains filtered or unexported fields
}
DODOFlashloanTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDODOFlashloanTransactor ¶
func NewDODOFlashloanTransactor(address common.Address, transactor bind.ContractTransactor) (*DODOFlashloanTransactor, error)
NewDODOFlashloanTransactor creates a new write-only instance of DODOFlashloan, bound to a specific deployed contract.
func (*DODOFlashloanTransactor) DPPFlashLoanCall ¶
func (_DODOFlashloan *DODOFlashloanTransactor) DPPFlashLoanCall(opts *bind.TransactOpts, sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
DPPFlashLoanCall is a paid mutator transaction binding the contract method 0x7ed1f1dd.
Solidity: function DPPFlashLoanCall(address sender, uint256 baseAmount, uint256 quoteAmount, bytes data) returns()
func (*DODOFlashloanTransactor) DSPFlashLoanCall ¶
func (_DODOFlashloan *DODOFlashloanTransactor) DSPFlashLoanCall(opts *bind.TransactOpts, sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
DSPFlashLoanCall is a paid mutator transaction binding the contract method 0xd5b99797.
Solidity: function DSPFlashLoanCall(address sender, uint256 baseAmount, uint256 quoteAmount, bytes data) returns()
func (*DODOFlashloanTransactor) DVMFlashLoanCall ¶
func (_DODOFlashloan *DODOFlashloanTransactor) DVMFlashLoanCall(opts *bind.TransactOpts, sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
DVMFlashLoanCall is a paid mutator transaction binding the contract method 0xeb2021c3.
Solidity: function DVMFlashLoanCall(address sender, uint256 baseAmount, uint256 quoteAmount, bytes data) returns()
func (*DODOFlashloanTransactor) DodoFlashLoan ¶
func (_DODOFlashloan *DODOFlashloanTransactor) DodoFlashLoan(opts *bind.TransactOpts, flashLoanPool common.Address, loanAmount *big.Int, loanToken common.Address) (*types.Transaction, error)
DodoFlashLoan is a paid mutator transaction binding the contract method 0xed97c938.
Solidity: function dodoFlashLoan(address flashLoanPool, uint256 loanAmount, address loanToken) returns()
type DODOFlashloanTransactorRaw ¶
type DODOFlashloanTransactorRaw struct {
Contract *DODOFlashloanTransactor // Generic write-only contract binding to access the raw methods on
}
DODOFlashloanTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DODOFlashloanTransactorRaw) Transact ¶
func (_DODOFlashloan *DODOFlashloanTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DODOFlashloanTransactorRaw) Transfer ¶
func (_DODOFlashloan *DODOFlashloanTransactorRaw) 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 DODOFlashloanTransactorSession ¶
type DODOFlashloanTransactorSession struct { Contract *DODOFlashloanTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DODOFlashloanTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DODOFlashloanTransactorSession) DPPFlashLoanCall ¶
func (_DODOFlashloan *DODOFlashloanTransactorSession) DPPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
DPPFlashLoanCall is a paid mutator transaction binding the contract method 0x7ed1f1dd.
Solidity: function DPPFlashLoanCall(address sender, uint256 baseAmount, uint256 quoteAmount, bytes data) returns()
func (*DODOFlashloanTransactorSession) DSPFlashLoanCall ¶
func (_DODOFlashloan *DODOFlashloanTransactorSession) DSPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
DSPFlashLoanCall is a paid mutator transaction binding the contract method 0xd5b99797.
Solidity: function DSPFlashLoanCall(address sender, uint256 baseAmount, uint256 quoteAmount, bytes data) returns()
func (*DODOFlashloanTransactorSession) DVMFlashLoanCall ¶
func (_DODOFlashloan *DODOFlashloanTransactorSession) DVMFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
DVMFlashLoanCall is a paid mutator transaction binding the contract method 0xeb2021c3.
Solidity: function DVMFlashLoanCall(address sender, uint256 baseAmount, uint256 quoteAmount, bytes data) returns()
func (*DODOFlashloanTransactorSession) DodoFlashLoan ¶
func (_DODOFlashloan *DODOFlashloanTransactorSession) DodoFlashLoan(flashLoanPool common.Address, loanAmount *big.Int, loanToken common.Address) (*types.Transaction, error)
DodoFlashLoan is a paid mutator transaction binding the contract method 0xed97c938.
Solidity: function dodoFlashLoan(address flashLoanPool, uint256 loanAmount, address loanToken) returns()
type IDODO ¶
type IDODO struct { IDODOCaller // Read-only binding to the contract IDODOTransactor // Write-only binding to the contract IDODOFilterer // Log filterer for contract events }
IDODO is an auto generated Go binding around an Ethereum contract.
type IDODOCaller ¶
type IDODOCaller struct {
// contains filtered or unexported fields
}
IDODOCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIDODOCaller ¶
func NewIDODOCaller(address common.Address, caller bind.ContractCaller) (*IDODOCaller, error)
NewIDODOCaller creates a new read-only instance of IDODO, bound to a specific deployed contract.
func (*IDODOCaller) BASERESERVE ¶
BASERESERVE is a free data retrieval call binding the contract method 0x7d721504.
Solidity: function _BASE_RESERVE_() view returns(uint112)
func (*IDODOCaller) BASETOKEN ¶
BASETOKEN is a free data retrieval call binding the contract method 0x4a248d2a.
Solidity: function _BASE_TOKEN_() view returns(address)
func (*IDODOCaller) QUOTERESERVE ¶
QUOTERESERVE is a free data retrieval call binding the contract method 0xbbf5ce78.
Solidity: function _QUOTE_RESERVE_() view returns(uint112)
func (*IDODOCaller) QUOTETOKEN ¶
QUOTETOKEN is a free data retrieval call binding the contract method 0xd4b97046.
Solidity: function _QUOTE_TOKEN_() view returns(address)
type IDODOCallerRaw ¶
type IDODOCallerRaw struct {
Contract *IDODOCaller // Generic read-only contract binding to access the raw methods on
}
IDODOCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IDODOCallerRaw) Call ¶
func (_IDODO *IDODOCallerRaw) 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 IDODOCallerSession ¶
type IDODOCallerSession struct { Contract *IDODOCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IDODOCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IDODOCallerSession) BASERESERVE ¶
func (_IDODO *IDODOCallerSession) BASERESERVE() (*big.Int, error)
BASERESERVE is a free data retrieval call binding the contract method 0x7d721504.
Solidity: function _BASE_RESERVE_() view returns(uint112)
func (*IDODOCallerSession) BASETOKEN ¶
func (_IDODO *IDODOCallerSession) BASETOKEN() (common.Address, error)
BASETOKEN is a free data retrieval call binding the contract method 0x4a248d2a.
Solidity: function _BASE_TOKEN_() view returns(address)
func (*IDODOCallerSession) QUOTERESERVE ¶
func (_IDODO *IDODOCallerSession) QUOTERESERVE() (*big.Int, error)
QUOTERESERVE is a free data retrieval call binding the contract method 0xbbf5ce78.
Solidity: function _QUOTE_RESERVE_() view returns(uint112)
func (*IDODOCallerSession) QUOTETOKEN ¶
func (_IDODO *IDODOCallerSession) QUOTETOKEN() (common.Address, error)
QUOTETOKEN is a free data retrieval call binding the contract method 0xd4b97046.
Solidity: function _QUOTE_TOKEN_() view returns(address)
type IDODOFilterer ¶
type IDODOFilterer struct {
// contains filtered or unexported fields
}
IDODOFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIDODOFilterer ¶
func NewIDODOFilterer(address common.Address, filterer bind.ContractFilterer) (*IDODOFilterer, error)
NewIDODOFilterer creates a new log filterer instance of IDODO, bound to a specific deployed contract.
type IDODORaw ¶
type IDODORaw struct {
Contract *IDODO // Generic contract binding to access the raw methods on
}
IDODORaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IDODORaw) Call ¶
func (_IDODO *IDODORaw) 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 (*IDODORaw) Transact ¶
func (_IDODO *IDODORaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IDODORaw) Transfer ¶
func (_IDODO *IDODORaw) 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 IDODOSession ¶
type IDODOSession struct { Contract *IDODO // 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 }
IDODOSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IDODOSession) BASERESERVE ¶
func (_IDODO *IDODOSession) BASERESERVE() (*big.Int, error)
BASERESERVE is a free data retrieval call binding the contract method 0x7d721504.
Solidity: function _BASE_RESERVE_() view returns(uint112)
func (*IDODOSession) BASETOKEN ¶
func (_IDODO *IDODOSession) BASETOKEN() (common.Address, error)
BASETOKEN is a free data retrieval call binding the contract method 0x4a248d2a.
Solidity: function _BASE_TOKEN_() view returns(address)
func (*IDODOSession) FlashLoan ¶
func (_IDODO *IDODOSession) FlashLoan(baseAmount *big.Int, quoteAmount *big.Int, assetTo common.Address, data []byte) (*types.Transaction, error)
FlashLoan is a paid mutator transaction binding the contract method 0xd0a494e4.
Solidity: function flashLoan(uint256 baseAmount, uint256 quoteAmount, address assetTo, bytes data) returns()
func (*IDODOSession) QUOTERESERVE ¶
func (_IDODO *IDODOSession) QUOTERESERVE() (*big.Int, error)
QUOTERESERVE is a free data retrieval call binding the contract method 0xbbf5ce78.
Solidity: function _QUOTE_RESERVE_() view returns(uint112)
func (*IDODOSession) QUOTETOKEN ¶
func (_IDODO *IDODOSession) QUOTETOKEN() (common.Address, error)
QUOTETOKEN is a free data retrieval call binding the contract method 0xd4b97046.
Solidity: function _QUOTE_TOKEN_() view returns(address)
type IDODOTransactor ¶
type IDODOTransactor struct {
// contains filtered or unexported fields
}
IDODOTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIDODOTransactor ¶
func NewIDODOTransactor(address common.Address, transactor bind.ContractTransactor) (*IDODOTransactor, error)
NewIDODOTransactor creates a new write-only instance of IDODO, bound to a specific deployed contract.
func (*IDODOTransactor) FlashLoan ¶
func (_IDODO *IDODOTransactor) FlashLoan(opts *bind.TransactOpts, baseAmount *big.Int, quoteAmount *big.Int, assetTo common.Address, data []byte) (*types.Transaction, error)
FlashLoan is a paid mutator transaction binding the contract method 0xd0a494e4.
Solidity: function flashLoan(uint256 baseAmount, uint256 quoteAmount, address assetTo, bytes data) returns()
type IDODOTransactorRaw ¶
type IDODOTransactorRaw struct {
Contract *IDODOTransactor // Generic write-only contract binding to access the raw methods on
}
IDODOTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IDODOTransactorRaw) Transact ¶
func (_IDODO *IDODOTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IDODOTransactorRaw) Transfer ¶
func (_IDODO *IDODOTransactorRaw) 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 IDODOTransactorSession ¶
type IDODOTransactorSession struct { Contract *IDODOTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IDODOTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IDODOTransactorSession) FlashLoan ¶
func (_IDODO *IDODOTransactorSession) FlashLoan(baseAmount *big.Int, quoteAmount *big.Int, assetTo common.Address, data []byte) (*types.Transaction, error)
FlashLoan is a paid mutator transaction binding the contract method 0xd0a494e4.
Solidity: function flashLoan(uint256 baseAmount, uint256 quoteAmount, address assetTo, bytes data) 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.