Documentation ¶
Index ¶
- Constants
- Variables
- type Address
- type AddressCaller
- type AddressCallerRaw
- type AddressCallerSession
- type AddressFilterer
- type AddressRaw
- func (_Address *AddressRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Address *AddressRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Address *AddressRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AddressSession
- type AddressTransactor
- type AddressTransactorRaw
- type AddressTransactorSession
- type Context
- type ContextCaller
- type ContextCallerRaw
- type ContextCallerSession
- type ContextFilterer
- type ContextRaw
- func (_Context *ContextRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) 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 DodoBase
- type DodoBaseCaller
- type DodoBaseCallerRaw
- type DodoBaseCallerSession
- type DodoBaseFilterer
- type DodoBaseRaw
- func (_DodoBase *DodoBaseRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_DodoBase *DodoBaseRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_DodoBase *DodoBaseRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DodoBaseSession
- func (_DodoBase *DodoBaseSession) DPPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_DodoBase *DodoBaseSession) DSPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_DodoBase *DodoBaseSession) DVMFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- type DodoBaseTransactor
- func (_DodoBase *DodoBaseTransactor) DPPFlashLoanCall(opts *bind.TransactOpts, sender common.Address, baseAmount *big.Int, ...) (*types.Transaction, error)
- func (_DodoBase *DodoBaseTransactor) DSPFlashLoanCall(opts *bind.TransactOpts, sender common.Address, baseAmount *big.Int, ...) (*types.Transaction, error)
- func (_DodoBase *DodoBaseTransactor) DVMFlashLoanCall(opts *bind.TransactOpts, sender common.Address, baseAmount *big.Int, ...) (*types.Transaction, error)
- type DodoBaseTransactorRaw
- type DodoBaseTransactorSession
- func (_DodoBase *DodoBaseTransactorSession) DPPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_DodoBase *DodoBaseTransactorSession) DSPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_DodoBase *DodoBaseTransactorSession) DVMFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- type Flashloan
- type FlashloanCaller
- type FlashloanCallerRaw
- type FlashloanCallerSession
- type FlashloanFilterer
- func (_Flashloan *FlashloanFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*FlashloanOwnershipTransferredIterator, error)
- func (_Flashloan *FlashloanFilterer) FilterSentProfit(opts *bind.FilterOpts) (*FlashloanSentProfitIterator, error)
- func (_Flashloan *FlashloanFilterer) FilterSwapFinished(opts *bind.FilterOpts) (*FlashloanSwapFinishedIterator, error)
- func (_Flashloan *FlashloanFilterer) FilterWithdrawal(opts *bind.FilterOpts, sender []common.Address) (*FlashloanWithdrawalIterator, error)
- func (_Flashloan *FlashloanFilterer) ParseOwnershipTransferred(log types.Log) (*FlashloanOwnershipTransferred, error)
- func (_Flashloan *FlashloanFilterer) ParseSentProfit(log types.Log) (*FlashloanSentProfit, error)
- func (_Flashloan *FlashloanFilterer) ParseSwapFinished(log types.Log) (*FlashloanSwapFinished, error)
- func (_Flashloan *FlashloanFilterer) ParseWithdrawal(log types.Log) (*FlashloanWithdrawal, error)
- func (_Flashloan *FlashloanFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FlashloanOwnershipTransferred, ...) (event.Subscription, error)
- func (_Flashloan *FlashloanFilterer) WatchSentProfit(opts *bind.WatchOpts, sink chan<- *FlashloanSentProfit) (event.Subscription, error)
- func (_Flashloan *FlashloanFilterer) WatchSwapFinished(opts *bind.WatchOpts, sink chan<- *FlashloanSwapFinished) (event.Subscription, error)
- func (_Flashloan *FlashloanFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *FlashloanWithdrawal, ...) (event.Subscription, error)
- type FlashloanOwnershipTransferred
- type FlashloanOwnershipTransferredIterator
- type FlashloanRaw
- func (_Flashloan *FlashloanRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Flashloan *FlashloanRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Flashloan *FlashloanRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FlashloanSentProfit
- type FlashloanSentProfitIterator
- type FlashloanSession
- func (_Flashloan *FlashloanSession) DPPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_Flashloan *FlashloanSession) DSPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_Flashloan *FlashloanSession) DVMFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_Flashloan *FlashloanSession) DodoFlashLoan(params IFlashloanFlashParams) (*types.Transaction, error)
- func (_Flashloan *FlashloanSession) Owner() (common.Address, error)
- func (_Flashloan *FlashloanSession) RenounceOwnership() (*types.Transaction, error)
- func (_Flashloan *FlashloanSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Flashloan *FlashloanSession) WithdrawToken(token common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type FlashloanSwapFinished
- type FlashloanSwapFinishedIterator
- type FlashloanTransactor
- func (_Flashloan *FlashloanTransactor) DPPFlashLoanCall(opts *bind.TransactOpts, sender common.Address, baseAmount *big.Int, ...) (*types.Transaction, error)
- func (_Flashloan *FlashloanTransactor) DSPFlashLoanCall(opts *bind.TransactOpts, sender common.Address, baseAmount *big.Int, ...) (*types.Transaction, error)
- func (_Flashloan *FlashloanTransactor) DVMFlashLoanCall(opts *bind.TransactOpts, sender common.Address, baseAmount *big.Int, ...) (*types.Transaction, error)
- func (_Flashloan *FlashloanTransactor) DodoFlashLoan(opts *bind.TransactOpts, params IFlashloanFlashParams) (*types.Transaction, error)
- func (_Flashloan *FlashloanTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Flashloan *FlashloanTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Flashloan *FlashloanTransactor) WithdrawToken(opts *bind.TransactOpts, token common.Address, _to common.Address, ...) (*types.Transaction, error)
- type FlashloanTransactorRaw
- type FlashloanTransactorSession
- func (_Flashloan *FlashloanTransactorSession) DPPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_Flashloan *FlashloanTransactorSession) DSPFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_Flashloan *FlashloanTransactorSession) DVMFlashLoanCall(sender common.Address, baseAmount *big.Int, quoteAmount *big.Int, data []byte) (*types.Transaction, error)
- func (_Flashloan *FlashloanTransactorSession) DodoFlashLoan(params IFlashloanFlashParams) (*types.Transaction, error)
- func (_Flashloan *FlashloanTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Flashloan *FlashloanTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Flashloan *FlashloanTransactorSession) WithdrawToken(token common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type FlashloanValidation
- type FlashloanValidationCaller
- type FlashloanValidationCallerRaw
- type FlashloanValidationCallerSession
- type FlashloanValidationFilterer
- type FlashloanValidationRaw
- func (_FlashloanValidation *FlashloanValidationRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_FlashloanValidation *FlashloanValidationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_FlashloanValidation *FlashloanValidationRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FlashloanValidationSession
- type FlashloanValidationTransactor
- type FlashloanValidationTransactorRaw
- type FlashloanValidationTransactorSession
- type FlashloanWithdrawal
- type FlashloanWithdrawalIterator
- 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 IDODOProxy
- type IDODOProxyCaller
- type IDODOProxyCallerRaw
- type IDODOProxyCallerSession
- type IDODOProxyFilterer
- type IDODOProxyRaw
- func (_IDODOProxy *IDODOProxyRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IDODOProxy *IDODOProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IDODOProxy *IDODOProxyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IDODOProxySession
- func (_IDODOProxy *IDODOProxySession) DodoSwapV1(fromToken common.Address, toToken common.Address, fromTokenAmount *big.Int, ...) (*types.Transaction, error)
- func (_IDODOProxy *IDODOProxySession) DodoSwapV2TokenToToken(fromToken common.Address, toToken common.Address, fromTokenAmount *big.Int, ...) (*types.Transaction, error)
- type IDODOProxyTransactor
- func (_IDODOProxy *IDODOProxyTransactor) DodoSwapV1(opts *bind.TransactOpts, fromToken common.Address, toToken common.Address, ...) (*types.Transaction, error)
- func (_IDODOProxy *IDODOProxyTransactor) DodoSwapV2TokenToToken(opts *bind.TransactOpts, fromToken common.Address, toToken common.Address, ...) (*types.Transaction, error)
- type IDODOProxyTransactorRaw
- type IDODOProxyTransactorSession
- func (_IDODOProxy *IDODOProxyTransactorSession) DodoSwapV1(fromToken common.Address, toToken common.Address, fromTokenAmount *big.Int, ...) (*types.Transaction, error)
- func (_IDODOProxy *IDODOProxyTransactorSession) DodoSwapV2TokenToToken(fromToken common.Address, toToken common.Address, fromTokenAmount *big.Int, ...) (*types.Transaction, error)
- 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
- type IFlashloan
- type IFlashloanCaller
- type IFlashloanCallerRaw
- type IFlashloanCallerSession
- type IFlashloanFilterer
- type IFlashloanFlashParams
- type IFlashloanHop
- type IFlashloanRaw
- func (_IFlashloan *IFlashloanRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IFlashloan *IFlashloanRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IFlashloan *IFlashloanRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IFlashloanRoute
- type IFlashloanSession
- type IFlashloanTransactor
- type IFlashloanTransactorRaw
- type IFlashloanTransactorSession
- type ISwapRouter
- type ISwapRouterCaller
- type ISwapRouterCallerRaw
- type ISwapRouterCallerSession
- type ISwapRouterExactInputParams
- type ISwapRouterExactInputSingleParams
- type ISwapRouterExactOutputParams
- type ISwapRouterExactOutputSingleParams
- type ISwapRouterFilterer
- type ISwapRouterRaw
- func (_ISwapRouter *ISwapRouterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ISwapRouter *ISwapRouterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ISwapRouter *ISwapRouterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ISwapRouterSession
- func (_ISwapRouter *ISwapRouterSession) ExactInput(params ISwapRouterExactInputParams) (*types.Transaction, error)
- func (_ISwapRouter *ISwapRouterSession) ExactInputSingle(params ISwapRouterExactInputSingleParams) (*types.Transaction, error)
- func (_ISwapRouter *ISwapRouterSession) ExactOutput(params ISwapRouterExactOutputParams) (*types.Transaction, error)
- func (_ISwapRouter *ISwapRouterSession) ExactOutputSingle(params ISwapRouterExactOutputSingleParams) (*types.Transaction, error)
- func (_ISwapRouter *ISwapRouterSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, data []byte) (*types.Transaction, error)
- type ISwapRouterTransactor
- func (_ISwapRouter *ISwapRouterTransactor) ExactInput(opts *bind.TransactOpts, params ISwapRouterExactInputParams) (*types.Transaction, error)
- func (_ISwapRouter *ISwapRouterTransactor) ExactInputSingle(opts *bind.TransactOpts, params ISwapRouterExactInputSingleParams) (*types.Transaction, error)
- func (_ISwapRouter *ISwapRouterTransactor) ExactOutput(opts *bind.TransactOpts, params ISwapRouterExactOutputParams) (*types.Transaction, error)
- func (_ISwapRouter *ISwapRouterTransactor) ExactOutputSingle(opts *bind.TransactOpts, params ISwapRouterExactOutputSingleParams) (*types.Transaction, error)
- func (_ISwapRouter *ISwapRouterTransactor) UniswapV3SwapCallback(opts *bind.TransactOpts, amount0Delta *big.Int, amount1Delta *big.Int, ...) (*types.Transaction, error)
- type ISwapRouterTransactorRaw
- type ISwapRouterTransactorSession
- func (_ISwapRouter *ISwapRouterTransactorSession) ExactInput(params ISwapRouterExactInputParams) (*types.Transaction, error)
- func (_ISwapRouter *ISwapRouterTransactorSession) ExactInputSingle(params ISwapRouterExactInputSingleParams) (*types.Transaction, error)
- func (_ISwapRouter *ISwapRouterTransactorSession) ExactOutput(params ISwapRouterExactOutputParams) (*types.Transaction, error)
- func (_ISwapRouter *ISwapRouterTransactorSession) ExactOutputSingle(params ISwapRouterExactOutputSingleParams) (*types.Transaction, error)
- func (_ISwapRouter *ISwapRouterTransactorSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, data []byte) (*types.Transaction, error)
- type IUniswapV2Router
- type IUniswapV2RouterCaller
- type IUniswapV2RouterCallerRaw
- type IUniswapV2RouterCallerSession
- type IUniswapV2RouterFilterer
- type IUniswapV2RouterRaw
- func (_IUniswapV2Router *IUniswapV2RouterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IUniswapV2Router *IUniswapV2RouterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IUniswapV2Router *IUniswapV2RouterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IUniswapV2RouterSession
- type IUniswapV2RouterTransactor
- type IUniswapV2RouterTransactorRaw
- type IUniswapV2RouterTransactorSession
- type IUniswapV3SwapCallback
- type IUniswapV3SwapCallbackCaller
- type IUniswapV3SwapCallbackCallerRaw
- type IUniswapV3SwapCallbackCallerSession
- type IUniswapV3SwapCallbackFilterer
- type IUniswapV3SwapCallbackRaw
- func (_IUniswapV3SwapCallback *IUniswapV3SwapCallbackRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IUniswapV3SwapCallback *IUniswapV3SwapCallbackRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IUniswapV3SwapCallback *IUniswapV3SwapCallbackRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IUniswapV3SwapCallbackSession
- type IUniswapV3SwapCallbackTransactor
- type IUniswapV3SwapCallbackTransactorRaw
- type IUniswapV3SwapCallbackTransactorSession
- type Ownable
- type OwnableCaller
- type OwnableCallerRaw
- type OwnableCallerSession
- type OwnableFilterer
- func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OwnableOwnershipTransferredIterator, error)
- func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)
- func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, ...) (event.Subscription, error)
- type OwnableOwnershipTransferred
- type OwnableOwnershipTransferredIterator
- type OwnableRaw
- func (_Ownable *OwnableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ownable *OwnableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OwnableSession
- type OwnableTransactor
- type OwnableTransactorRaw
- type OwnableTransactorSession
- type Part
- type PartCaller
- type PartCallerRaw
- type PartCallerSession
- type PartFilterer
- type PartRaw
- func (_Part *PartRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Part *PartRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Part *PartRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PartSession
- type PartTransactor
- type PartTransactorRaw
- type PartTransactorSession
- type ReentrancyGuard
- type ReentrancyGuardCaller
- type ReentrancyGuardCallerRaw
- type ReentrancyGuardCallerSession
- type ReentrancyGuardFilterer
- type ReentrancyGuardRaw
- func (_ReentrancyGuard *ReentrancyGuardRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ReentrancyGuard *ReentrancyGuardRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ReentrancyGuard *ReentrancyGuardRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ReentrancyGuardSession
- type ReentrancyGuardTransactor
- type ReentrancyGuardTransactorRaw
- type ReentrancyGuardTransactorSession
- type RouteUtils
- type RouteUtilsCaller
- type RouteUtilsCallerRaw
- type RouteUtilsCallerSession
- type RouteUtilsFilterer
- type RouteUtilsRaw
- func (_RouteUtils *RouteUtilsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_RouteUtils *RouteUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_RouteUtils *RouteUtilsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RouteUtilsSession
- type RouteUtilsTransactor
- type RouteUtilsTransactorRaw
- type RouteUtilsTransactorSession
- type SafeERC20
- type SafeERC20Caller
- type SafeERC20CallerRaw
- type SafeERC20CallerSession
- type SafeERC20Filterer
- type SafeERC20Raw
- func (_SafeERC20 *SafeERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SafeERC20 *SafeERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeERC20 *SafeERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeERC20Session
- type SafeERC20Transactor
- type SafeERC20TransactorRaw
- type SafeERC20TransactorSession
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) 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
- type Withdraw
- type WithdrawCaller
- type WithdrawCallerRaw
- type WithdrawCallerSession
- type WithdrawFilterer
- func (_Withdraw *WithdrawFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*WithdrawOwnershipTransferredIterator, error)
- func (_Withdraw *WithdrawFilterer) FilterWithdrawal(opts *bind.FilterOpts, sender []common.Address) (*WithdrawWithdrawalIterator, error)
- func (_Withdraw *WithdrawFilterer) ParseOwnershipTransferred(log types.Log) (*WithdrawOwnershipTransferred, error)
- func (_Withdraw *WithdrawFilterer) ParseWithdrawal(log types.Log) (*WithdrawWithdrawal, error)
- func (_Withdraw *WithdrawFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WithdrawOwnershipTransferred, ...) (event.Subscription, error)
- func (_Withdraw *WithdrawFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *WithdrawWithdrawal, sender []common.Address) (event.Subscription, error)
- type WithdrawOwnershipTransferred
- type WithdrawOwnershipTransferredIterator
- type WithdrawRaw
- func (_Withdraw *WithdrawRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Withdraw *WithdrawRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Withdraw *WithdrawRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type WithdrawSession
- func (_Withdraw *WithdrawSession) Owner() (common.Address, error)
- func (_Withdraw *WithdrawSession) RenounceOwnership() (*types.Transaction, error)
- func (_Withdraw *WithdrawSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Withdraw *WithdrawSession) WithdrawToken(token common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type WithdrawTransactor
- func (_Withdraw *WithdrawTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Withdraw *WithdrawTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Withdraw *WithdrawTransactor) WithdrawToken(opts *bind.TransactOpts, token common.Address, _to common.Address, ...) (*types.Transaction, error)
- type WithdrawTransactorRaw
- type WithdrawTransactorSession
- func (_Withdraw *WithdrawTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Withdraw *WithdrawTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Withdraw *WithdrawTransactorSession) WithdrawToken(token common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type WithdrawWithdrawal
- type WithdrawWithdrawalIterator
Constants ¶
const AddressABI = "[]"
AddressABI is the input ABI used to generate the binding from.
const ContextABI = "[]"
ContextABI is the input ABI used to generate the binding from.
const DodoBaseABI = "" /* 1225-byte string literal not displayed */
DodoBaseABI is the input ABI used to generate the binding from.
const FlashloanABI = "" /* 3950-byte string literal not displayed */
FlashloanABI is the input ABI used to generate the binding from.
const FlashloanValidationABI = "[]"
FlashloanValidationABI 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 IDODOProxyABI = "" /* 1595-byte string literal not displayed */
IDODOProxyABI 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 IFlashloanABI = "[]"
IFlashloanABI is the input ABI used to generate the binding from.
const ISwapRouterABI = "" /* 3497-byte string literal not displayed */
ISwapRouterABI is the input ABI used to generate the binding from.
const IUniswapV2RouterABI = "" /* 570-byte string literal not displayed */
IUniswapV2RouterABI is the input ABI used to generate the binding from.
const IUniswapV3SwapCallbackABI = "" /* 341-byte string literal not displayed */
IUniswapV3SwapCallbackABI is the input ABI used to generate the binding from.
const OwnableABI = "" /* 753-byte string literal not displayed */
OwnableABI is the input ABI used to generate the binding from.
const PartABI = "[]"
PartABI is the input ABI used to generate the binding from.
const ReentrancyGuardABI = "[]"
ReentrancyGuardABI is the input ABI used to generate the binding from.
const RouteUtilsABI = "[]"
RouteUtilsABI is the input ABI used to generate the binding from.
const SafeERC20ABI = "[]"
SafeERC20ABI is the input ABI used to generate the binding from.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const WithdrawABI = "" /* 1343-byte string literal not displayed */
WithdrawABI is the input ABI used to generate the binding from.
Variables ¶
var AddressBin = "" /* 284-byte string literal not displayed */
AddressBin is the compiled bytecode used for deploying new contracts.
var DodoBaseBin = "" /* 644-byte string literal not displayed */
DodoBaseBin is the compiled bytecode used for deploying new contracts.
var DodoBaseFuncSigs = map[string]string{
"7ed1f1dd": "DPPFlashLoanCall(address,uint256,uint256,bytes)",
"d5b99797": "DSPFlashLoanCall(address,uint256,uint256,bytes)",
"eb2021c3": "DVMFlashLoanCall(address,uint256,uint256,bytes)",
}
DodoBaseFuncSigs maps the 4-byte function signature to its string representation.
var FlashloanBin = "" /* 17658-byte string literal not displayed */
FlashloanBin is the compiled bytecode used for deploying new contracts.
var FlashloanFuncSigs = map[string]string{
"7ed1f1dd": "DPPFlashLoanCall(address,uint256,uint256,bytes)",
"d5b99797": "DSPFlashLoanCall(address,uint256,uint256,bytes)",
"eb2021c3": "DVMFlashLoanCall(address,uint256,uint256,bytes)",
"0cdabeba": "dodoFlashLoan((address,uint256,((uint8,bytes,address[])[],uint16)[]))",
"8da5cb5b": "owner()",
"715018a6": "renounceOwnership()",
"f2fde38b": "transferOwnership(address)",
"01e33667": "withdrawToken(address,address,uint256)",
}
FlashloanFuncSigs 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 IDODOProxyFuncSigs = map[string]string{
"0dd4ebd9": "dodoSwapV1(address,address,uint256,uint256,address[],uint256,bool,uint256)",
"f87dc1b7": "dodoSwapV2TokenToToken(address,address,uint256,uint256,address[],uint256,bool,uint256)",
}
IDODOProxyFuncSigs 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.
var ISwapRouterFuncSigs = map[string]string{
"c04b8d59": "exactInput((bytes,address,uint256,uint256,uint256))",
"414bf389": "exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))",
"f28c0498": "exactOutput((bytes,address,uint256,uint256,uint256))",
"db3e2198": "exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))",
"fa461e33": "uniswapV3SwapCallback(int256,int256,bytes)",
}
ISwapRouterFuncSigs maps the 4-byte function signature to its string representation.
var IUniswapV2RouterFuncSigs = map[string]string{
"38ed1739": "swapExactTokensForTokens(uint256,uint256,address[],address,uint256)",
}
IUniswapV2RouterFuncSigs maps the 4-byte function signature to its string representation.
var IUniswapV3SwapCallbackFuncSigs = map[string]string{
"fa461e33": "uniswapV3SwapCallback(int256,int256,bytes)",
}
IUniswapV3SwapCallbackFuncSigs maps the 4-byte function signature to its string representation.
var OwnableFuncSigs = map[string]string{
"8da5cb5b": "owner()",
"715018a6": "renounceOwnership()",
"f2fde38b": "transferOwnership(address)",
}
OwnableFuncSigs maps the 4-byte function signature to its string representation.
var PartBin = "" /* 284-byte string literal not displayed */
PartBin is the compiled bytecode used for deploying new contracts.
var RouteUtilsBin = "" /* 284-byte string literal not displayed */
RouteUtilsBin is the compiled bytecode used for deploying new contracts.
var SafeERC20Bin = "" /* 284-byte string literal not displayed */
SafeERC20Bin is the compiled bytecode used for deploying new contracts.
var SafeMathBin = "" /* 284-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
var WithdrawBin = "" /* 4140-byte string literal not displayed */
WithdrawBin is the compiled bytecode used for deploying new contracts.
var WithdrawFuncSigs = map[string]string{
"8da5cb5b": "owner()",
"715018a6": "renounceOwnership()",
"f2fde38b": "transferOwnership(address)",
"01e33667": "withdrawToken(address,address,uint256)",
}
WithdrawFuncSigs maps the 4-byte function signature to its string representation.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { AddressCaller // Read-only binding to the contract AddressTransactor // Write-only binding to the contract AddressFilterer // Log filterer for contract events }
Address is an auto generated Go binding around an Ethereum contract.
func DeployAddress ¶
func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Address, error)
DeployAddress deploys a new Ethereum contract, binding an instance of Address to it.
func NewAddress ¶
NewAddress creates a new instance of Address, bound to a specific deployed contract.
type AddressCaller ¶
type AddressCaller struct {
// contains filtered or unexported fields
}
AddressCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAddressCaller ¶
func NewAddressCaller(address common.Address, caller bind.ContractCaller) (*AddressCaller, error)
NewAddressCaller creates a new read-only instance of Address, bound to a specific deployed contract.
type AddressCallerRaw ¶
type AddressCallerRaw struct {
Contract *AddressCaller // Generic read-only contract binding to access the raw methods on
}
AddressCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AddressCallerRaw) Call ¶
func (_Address *AddressCallerRaw) 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 AddressCallerSession ¶
type AddressCallerSession struct { Contract *AddressCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AddressCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type AddressFilterer ¶
type AddressFilterer struct {
// contains filtered or unexported fields
}
AddressFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAddressFilterer ¶
func NewAddressFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressFilterer, error)
NewAddressFilterer creates a new log filterer instance of Address, bound to a specific deployed contract.
type AddressRaw ¶
type AddressRaw struct {
Contract *Address // Generic contract binding to access the raw methods on
}
AddressRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AddressRaw) Call ¶
func (_Address *AddressRaw) 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 (*AddressRaw) Transact ¶
func (_Address *AddressRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressRaw) Transfer ¶
func (_Address *AddressRaw) 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 AddressSession ¶
type AddressSession struct { Contract *Address // 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 }
AddressSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type AddressTransactor ¶
type AddressTransactor struct {
// contains filtered or unexported fields
}
AddressTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAddressTransactor ¶
func NewAddressTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressTransactor, error)
NewAddressTransactor creates a new write-only instance of Address, bound to a specific deployed contract.
type AddressTransactorRaw ¶
type AddressTransactorRaw struct {
Contract *AddressTransactor // Generic write-only contract binding to access the raw methods on
}
AddressTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AddressTransactorRaw) Transact ¶
func (_Address *AddressTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressTransactorRaw) Transfer ¶
func (_Address *AddressTransactorRaw) 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 AddressTransactorSession ¶
type AddressTransactorSession struct { Contract *AddressTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AddressTransactorSession 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 DodoBase ¶
type DodoBase struct { DodoBaseCaller // Read-only binding to the contract DodoBaseTransactor // Write-only binding to the contract DodoBaseFilterer // Log filterer for contract events }
DodoBase is an auto generated Go binding around an Ethereum contract.
func DeployDodoBase ¶
func DeployDodoBase(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *DodoBase, error)
DeployDodoBase deploys a new Ethereum contract, binding an instance of DodoBase to it.
func NewDodoBase ¶
NewDodoBase creates a new instance of DodoBase, bound to a specific deployed contract.
type DodoBaseCaller ¶
type DodoBaseCaller struct {
// contains filtered or unexported fields
}
DodoBaseCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDodoBaseCaller ¶
func NewDodoBaseCaller(address common.Address, caller bind.ContractCaller) (*DodoBaseCaller, error)
NewDodoBaseCaller creates a new read-only instance of DodoBase, bound to a specific deployed contract.
type DodoBaseCallerRaw ¶
type DodoBaseCallerRaw struct {
Contract *DodoBaseCaller // Generic read-only contract binding to access the raw methods on
}
DodoBaseCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DodoBaseCallerRaw) Call ¶
func (_DodoBase *DodoBaseCallerRaw) 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 DodoBaseCallerSession ¶
type DodoBaseCallerSession struct { Contract *DodoBaseCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DodoBaseCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type DodoBaseFilterer ¶
type DodoBaseFilterer struct {
// contains filtered or unexported fields
}
DodoBaseFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDodoBaseFilterer ¶
func NewDodoBaseFilterer(address common.Address, filterer bind.ContractFilterer) (*DodoBaseFilterer, error)
NewDodoBaseFilterer creates a new log filterer instance of DodoBase, bound to a specific deployed contract.
type DodoBaseRaw ¶
type DodoBaseRaw struct {
Contract *DodoBase // Generic contract binding to access the raw methods on
}
DodoBaseRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DodoBaseRaw) Call ¶
func (_DodoBase *DodoBaseRaw) 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 (*DodoBaseRaw) Transact ¶
func (_DodoBase *DodoBaseRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DodoBaseRaw) Transfer ¶
func (_DodoBase *DodoBaseRaw) 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 DodoBaseSession ¶
type DodoBaseSession struct { Contract *DodoBase // 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 }
DodoBaseSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DodoBaseSession) DPPFlashLoanCall ¶
func (_DodoBase *DodoBaseSession) 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 (*DodoBaseSession) DSPFlashLoanCall ¶
func (_DodoBase *DodoBaseSession) 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 (*DodoBaseSession) DVMFlashLoanCall ¶
func (_DodoBase *DodoBaseSession) 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()
type DodoBaseTransactor ¶
type DodoBaseTransactor struct {
// contains filtered or unexported fields
}
DodoBaseTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDodoBaseTransactor ¶
func NewDodoBaseTransactor(address common.Address, transactor bind.ContractTransactor) (*DodoBaseTransactor, error)
NewDodoBaseTransactor creates a new write-only instance of DodoBase, bound to a specific deployed contract.
func (*DodoBaseTransactor) DPPFlashLoanCall ¶
func (_DodoBase *DodoBaseTransactor) 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 (*DodoBaseTransactor) DSPFlashLoanCall ¶
func (_DodoBase *DodoBaseTransactor) 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 (*DodoBaseTransactor) DVMFlashLoanCall ¶
func (_DodoBase *DodoBaseTransactor) 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()
type DodoBaseTransactorRaw ¶
type DodoBaseTransactorRaw struct {
Contract *DodoBaseTransactor // Generic write-only contract binding to access the raw methods on
}
DodoBaseTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DodoBaseTransactorRaw) Transact ¶
func (_DodoBase *DodoBaseTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DodoBaseTransactorRaw) Transfer ¶
func (_DodoBase *DodoBaseTransactorRaw) 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 DodoBaseTransactorSession ¶
type DodoBaseTransactorSession struct { Contract *DodoBaseTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DodoBaseTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DodoBaseTransactorSession) DPPFlashLoanCall ¶
func (_DodoBase *DodoBaseTransactorSession) 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 (*DodoBaseTransactorSession) DSPFlashLoanCall ¶
func (_DodoBase *DodoBaseTransactorSession) 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 (*DodoBaseTransactorSession) DVMFlashLoanCall ¶
func (_DodoBase *DodoBaseTransactorSession) 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()
type Flashloan ¶
type Flashloan struct { FlashloanCaller // Read-only binding to the contract FlashloanTransactor // Write-only binding to the contract FlashloanFilterer // Log filterer for contract events }
Flashloan is an auto generated Go binding around an Ethereum contract.
func DeployFlashloan ¶
func DeployFlashloan(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Flashloan, error)
DeployFlashloan deploys a new Ethereum contract, binding an instance of Flashloan to it.
func NewFlashloan ¶
NewFlashloan creates a new instance of Flashloan, bound to a specific deployed contract.
type FlashloanCaller ¶
type FlashloanCaller struct {
// contains filtered or unexported fields
}
FlashloanCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFlashloanCaller ¶
func NewFlashloanCaller(address common.Address, caller bind.ContractCaller) (*FlashloanCaller, error)
NewFlashloanCaller creates a new read-only instance of Flashloan, bound to a specific deployed contract.
type FlashloanCallerRaw ¶
type FlashloanCallerRaw struct {
Contract *FlashloanCaller // Generic read-only contract binding to access the raw methods on
}
FlashloanCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FlashloanCallerRaw) Call ¶
func (_Flashloan *FlashloanCallerRaw) 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 FlashloanCallerSession ¶
type FlashloanCallerSession struct { Contract *FlashloanCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FlashloanCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type FlashloanFilterer ¶
type FlashloanFilterer struct {
// contains filtered or unexported fields
}
FlashloanFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFlashloanFilterer ¶
func NewFlashloanFilterer(address common.Address, filterer bind.ContractFilterer) (*FlashloanFilterer, error)
NewFlashloanFilterer creates a new log filterer instance of Flashloan, bound to a specific deployed contract.
func (*FlashloanFilterer) FilterOwnershipTransferred ¶
func (_Flashloan *FlashloanFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*FlashloanOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*FlashloanFilterer) FilterSentProfit ¶
func (_Flashloan *FlashloanFilterer) FilterSentProfit(opts *bind.FilterOpts) (*FlashloanSentProfitIterator, error)
FilterSentProfit is a free log retrieval operation binding the contract event 0x2b312ac7b7c9b2fc53c9398d48ed2df4c1d192a03cc090b47087b2936ba0a61f.
Solidity: event SentProfit(address recipient, uint256 profit)
func (*FlashloanFilterer) FilterSwapFinished ¶
func (_Flashloan *FlashloanFilterer) FilterSwapFinished(opts *bind.FilterOpts) (*FlashloanSwapFinishedIterator, error)
FilterSwapFinished is a free log retrieval operation binding the contract event 0xfdc1bd83776f7aa310fcf2b1915ae1c6c16a4cfb48ebcea2bf15febd084c03de.
Solidity: event SwapFinished(address token, uint256 amount)
func (*FlashloanFilterer) FilterWithdrawal ¶
func (_Flashloan *FlashloanFilterer) FilterWithdrawal(opts *bind.FilterOpts, sender []common.Address) (*FlashloanWithdrawalIterator, error)
FilterWithdrawal is a free log retrieval operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed sender, uint256 amount)
func (*FlashloanFilterer) ParseOwnershipTransferred ¶
func (_Flashloan *FlashloanFilterer) ParseOwnershipTransferred(log types.Log) (*FlashloanOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*FlashloanFilterer) ParseSentProfit ¶
func (_Flashloan *FlashloanFilterer) ParseSentProfit(log types.Log) (*FlashloanSentProfit, error)
ParseSentProfit is a log parse operation binding the contract event 0x2b312ac7b7c9b2fc53c9398d48ed2df4c1d192a03cc090b47087b2936ba0a61f.
Solidity: event SentProfit(address recipient, uint256 profit)
func (*FlashloanFilterer) ParseSwapFinished ¶
func (_Flashloan *FlashloanFilterer) ParseSwapFinished(log types.Log) (*FlashloanSwapFinished, error)
ParseSwapFinished is a log parse operation binding the contract event 0xfdc1bd83776f7aa310fcf2b1915ae1c6c16a4cfb48ebcea2bf15febd084c03de.
Solidity: event SwapFinished(address token, uint256 amount)
func (*FlashloanFilterer) ParseWithdrawal ¶
func (_Flashloan *FlashloanFilterer) ParseWithdrawal(log types.Log) (*FlashloanWithdrawal, error)
ParseWithdrawal is a log parse operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed sender, uint256 amount)
func (*FlashloanFilterer) WatchOwnershipTransferred ¶
func (_Flashloan *FlashloanFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FlashloanOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*FlashloanFilterer) WatchSentProfit ¶
func (_Flashloan *FlashloanFilterer) WatchSentProfit(opts *bind.WatchOpts, sink chan<- *FlashloanSentProfit) (event.Subscription, error)
WatchSentProfit is a free log subscription operation binding the contract event 0x2b312ac7b7c9b2fc53c9398d48ed2df4c1d192a03cc090b47087b2936ba0a61f.
Solidity: event SentProfit(address recipient, uint256 profit)
func (*FlashloanFilterer) WatchSwapFinished ¶
func (_Flashloan *FlashloanFilterer) WatchSwapFinished(opts *bind.WatchOpts, sink chan<- *FlashloanSwapFinished) (event.Subscription, error)
WatchSwapFinished is a free log subscription operation binding the contract event 0xfdc1bd83776f7aa310fcf2b1915ae1c6c16a4cfb48ebcea2bf15febd084c03de.
Solidity: event SwapFinished(address token, uint256 amount)
func (*FlashloanFilterer) WatchWithdrawal ¶
func (_Flashloan *FlashloanFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *FlashloanWithdrawal, sender []common.Address) (event.Subscription, error)
WatchWithdrawal is a free log subscription operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed sender, uint256 amount)
type FlashloanOwnershipTransferred ¶
type FlashloanOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
FlashloanOwnershipTransferred represents a OwnershipTransferred event raised by the Flashloan contract.
type FlashloanOwnershipTransferredIterator ¶
type FlashloanOwnershipTransferredIterator struct { Event *FlashloanOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlashloanOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Flashloan contract.
func (*FlashloanOwnershipTransferredIterator) Close ¶
func (it *FlashloanOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlashloanOwnershipTransferredIterator) Error ¶
func (it *FlashloanOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlashloanOwnershipTransferredIterator) Next ¶
func (it *FlashloanOwnershipTransferredIterator) 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 FlashloanRaw ¶
type FlashloanRaw struct {
Contract *Flashloan // Generic contract binding to access the raw methods on
}
FlashloanRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FlashloanRaw) Call ¶
func (_Flashloan *FlashloanRaw) 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 (*FlashloanRaw) Transact ¶
func (_Flashloan *FlashloanRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FlashloanRaw) Transfer ¶
func (_Flashloan *FlashloanRaw) 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 FlashloanSentProfit ¶
type FlashloanSentProfit struct { Recipient common.Address Profit *big.Int Raw types.Log // Blockchain specific contextual infos }
FlashloanSentProfit represents a SentProfit event raised by the Flashloan contract.
type FlashloanSentProfitIterator ¶
type FlashloanSentProfitIterator struct { Event *FlashloanSentProfit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlashloanSentProfitIterator is returned from FilterSentProfit and is used to iterate over the raw logs and unpacked data for SentProfit events raised by the Flashloan contract.
func (*FlashloanSentProfitIterator) Close ¶
func (it *FlashloanSentProfitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlashloanSentProfitIterator) Error ¶
func (it *FlashloanSentProfitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlashloanSentProfitIterator) Next ¶
func (it *FlashloanSentProfitIterator) 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 FlashloanSession ¶
type FlashloanSession struct { Contract *Flashloan // 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 }
FlashloanSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FlashloanSession) DPPFlashLoanCall ¶
func (_Flashloan *FlashloanSession) 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 (*FlashloanSession) DSPFlashLoanCall ¶
func (_Flashloan *FlashloanSession) 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 (*FlashloanSession) DVMFlashLoanCall ¶
func (_Flashloan *FlashloanSession) 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 (*FlashloanSession) DodoFlashLoan ¶
func (_Flashloan *FlashloanSession) DodoFlashLoan(params IFlashloanFlashParams) (*types.Transaction, error)
DodoFlashLoan is a paid mutator transaction binding the contract method 0x0cdabeba.
Solidity: function dodoFlashLoan((address,uint256,((uint8,bytes,address[])[],uint16)[]) params) returns()
func (*FlashloanSession) Owner ¶
func (_Flashloan *FlashloanSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*FlashloanSession) RenounceOwnership ¶
func (_Flashloan *FlashloanSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*FlashloanSession) TransferOwnership ¶
func (_Flashloan *FlashloanSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*FlashloanSession) WithdrawToken ¶
func (_Flashloan *FlashloanSession) WithdrawToken(token common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.
Solidity: function withdrawToken(address token, address _to, uint256 _value) returns()
type FlashloanSwapFinished ¶
type FlashloanSwapFinished struct { Token common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
FlashloanSwapFinished represents a SwapFinished event raised by the Flashloan contract.
type FlashloanSwapFinishedIterator ¶
type FlashloanSwapFinishedIterator struct { Event *FlashloanSwapFinished // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlashloanSwapFinishedIterator is returned from FilterSwapFinished and is used to iterate over the raw logs and unpacked data for SwapFinished events raised by the Flashloan contract.
func (*FlashloanSwapFinishedIterator) Close ¶
func (it *FlashloanSwapFinishedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlashloanSwapFinishedIterator) Error ¶
func (it *FlashloanSwapFinishedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlashloanSwapFinishedIterator) Next ¶
func (it *FlashloanSwapFinishedIterator) 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 FlashloanTransactor ¶
type FlashloanTransactor struct {
// contains filtered or unexported fields
}
FlashloanTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFlashloanTransactor ¶
func NewFlashloanTransactor(address common.Address, transactor bind.ContractTransactor) (*FlashloanTransactor, error)
NewFlashloanTransactor creates a new write-only instance of Flashloan, bound to a specific deployed contract.
func (*FlashloanTransactor) DPPFlashLoanCall ¶
func (_Flashloan *FlashloanTransactor) 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 (*FlashloanTransactor) DSPFlashLoanCall ¶
func (_Flashloan *FlashloanTransactor) 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 (*FlashloanTransactor) DVMFlashLoanCall ¶
func (_Flashloan *FlashloanTransactor) 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 (*FlashloanTransactor) DodoFlashLoan ¶
func (_Flashloan *FlashloanTransactor) DodoFlashLoan(opts *bind.TransactOpts, params IFlashloanFlashParams) (*types.Transaction, error)
DodoFlashLoan is a paid mutator transaction binding the contract method 0x0cdabeba.
Solidity: function dodoFlashLoan((address,uint256,((uint8,bytes,address[])[],uint16)[]) params) returns()
func (*FlashloanTransactor) RenounceOwnership ¶
func (_Flashloan *FlashloanTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*FlashloanTransactor) TransferOwnership ¶
func (_Flashloan *FlashloanTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*FlashloanTransactor) WithdrawToken ¶
func (_Flashloan *FlashloanTransactor) WithdrawToken(opts *bind.TransactOpts, token common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.
Solidity: function withdrawToken(address token, address _to, uint256 _value) returns()
type FlashloanTransactorRaw ¶
type FlashloanTransactorRaw struct {
Contract *FlashloanTransactor // Generic write-only contract binding to access the raw methods on
}
FlashloanTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FlashloanTransactorRaw) Transact ¶
func (_Flashloan *FlashloanTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FlashloanTransactorRaw) Transfer ¶
func (_Flashloan *FlashloanTransactorRaw) 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 FlashloanTransactorSession ¶
type FlashloanTransactorSession struct { Contract *FlashloanTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FlashloanTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FlashloanTransactorSession) DPPFlashLoanCall ¶
func (_Flashloan *FlashloanTransactorSession) 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 (*FlashloanTransactorSession) DSPFlashLoanCall ¶
func (_Flashloan *FlashloanTransactorSession) 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 (*FlashloanTransactorSession) DVMFlashLoanCall ¶
func (_Flashloan *FlashloanTransactorSession) 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 (*FlashloanTransactorSession) DodoFlashLoan ¶
func (_Flashloan *FlashloanTransactorSession) DodoFlashLoan(params IFlashloanFlashParams) (*types.Transaction, error)
DodoFlashLoan is a paid mutator transaction binding the contract method 0x0cdabeba.
Solidity: function dodoFlashLoan((address,uint256,((uint8,bytes,address[])[],uint16)[]) params) returns()
func (*FlashloanTransactorSession) RenounceOwnership ¶
func (_Flashloan *FlashloanTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*FlashloanTransactorSession) TransferOwnership ¶
func (_Flashloan *FlashloanTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*FlashloanTransactorSession) WithdrawToken ¶
func (_Flashloan *FlashloanTransactorSession) WithdrawToken(token common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.
Solidity: function withdrawToken(address token, address _to, uint256 _value) returns()
type FlashloanValidation ¶
type FlashloanValidation struct { FlashloanValidationCaller // Read-only binding to the contract FlashloanValidationTransactor // Write-only binding to the contract FlashloanValidationFilterer // Log filterer for contract events }
FlashloanValidation is an auto generated Go binding around an Ethereum contract.
func NewFlashloanValidation ¶
func NewFlashloanValidation(address common.Address, backend bind.ContractBackend) (*FlashloanValidation, error)
NewFlashloanValidation creates a new instance of FlashloanValidation, bound to a specific deployed contract.
type FlashloanValidationCaller ¶
type FlashloanValidationCaller struct {
// contains filtered or unexported fields
}
FlashloanValidationCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFlashloanValidationCaller ¶
func NewFlashloanValidationCaller(address common.Address, caller bind.ContractCaller) (*FlashloanValidationCaller, error)
NewFlashloanValidationCaller creates a new read-only instance of FlashloanValidation, bound to a specific deployed contract.
type FlashloanValidationCallerRaw ¶
type FlashloanValidationCallerRaw struct {
Contract *FlashloanValidationCaller // Generic read-only contract binding to access the raw methods on
}
FlashloanValidationCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FlashloanValidationCallerRaw) Call ¶
func (_FlashloanValidation *FlashloanValidationCallerRaw) 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 FlashloanValidationCallerSession ¶
type FlashloanValidationCallerSession struct { Contract *FlashloanValidationCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FlashloanValidationCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type FlashloanValidationFilterer ¶
type FlashloanValidationFilterer struct {
// contains filtered or unexported fields
}
FlashloanValidationFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFlashloanValidationFilterer ¶
func NewFlashloanValidationFilterer(address common.Address, filterer bind.ContractFilterer) (*FlashloanValidationFilterer, error)
NewFlashloanValidationFilterer creates a new log filterer instance of FlashloanValidation, bound to a specific deployed contract.
type FlashloanValidationRaw ¶
type FlashloanValidationRaw struct {
Contract *FlashloanValidation // Generic contract binding to access the raw methods on
}
FlashloanValidationRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FlashloanValidationRaw) Call ¶
func (_FlashloanValidation *FlashloanValidationRaw) 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 (*FlashloanValidationRaw) Transact ¶
func (_FlashloanValidation *FlashloanValidationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FlashloanValidationRaw) Transfer ¶
func (_FlashloanValidation *FlashloanValidationRaw) 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 FlashloanValidationSession ¶
type FlashloanValidationSession struct { Contract *FlashloanValidation // 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 }
FlashloanValidationSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type FlashloanValidationTransactor ¶
type FlashloanValidationTransactor struct {
// contains filtered or unexported fields
}
FlashloanValidationTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFlashloanValidationTransactor ¶
func NewFlashloanValidationTransactor(address common.Address, transactor bind.ContractTransactor) (*FlashloanValidationTransactor, error)
NewFlashloanValidationTransactor creates a new write-only instance of FlashloanValidation, bound to a specific deployed contract.
type FlashloanValidationTransactorRaw ¶
type FlashloanValidationTransactorRaw struct {
Contract *FlashloanValidationTransactor // Generic write-only contract binding to access the raw methods on
}
FlashloanValidationTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FlashloanValidationTransactorRaw) Transact ¶
func (_FlashloanValidation *FlashloanValidationTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FlashloanValidationTransactorRaw) Transfer ¶
func (_FlashloanValidation *FlashloanValidationTransactorRaw) 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 FlashloanValidationTransactorSession ¶
type FlashloanValidationTransactorSession struct { Contract *FlashloanValidationTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FlashloanValidationTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type FlashloanWithdrawal ¶
type FlashloanWithdrawal struct { Sender common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
FlashloanWithdrawal represents a Withdrawal event raised by the Flashloan contract.
type FlashloanWithdrawalIterator ¶
type FlashloanWithdrawalIterator struct { Event *FlashloanWithdrawal // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlashloanWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the Flashloan contract.
func (*FlashloanWithdrawalIterator) Close ¶
func (it *FlashloanWithdrawalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlashloanWithdrawalIterator) Error ¶
func (it *FlashloanWithdrawalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlashloanWithdrawalIterator) Next ¶
func (it *FlashloanWithdrawalIterator) 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 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 IDODOProxy ¶
type IDODOProxy struct { IDODOProxyCaller // Read-only binding to the contract IDODOProxyTransactor // Write-only binding to the contract IDODOProxyFilterer // Log filterer for contract events }
IDODOProxy is an auto generated Go binding around an Ethereum contract.
func NewIDODOProxy ¶
func NewIDODOProxy(address common.Address, backend bind.ContractBackend) (*IDODOProxy, error)
NewIDODOProxy creates a new instance of IDODOProxy, bound to a specific deployed contract.
type IDODOProxyCaller ¶
type IDODOProxyCaller struct {
// contains filtered or unexported fields
}
IDODOProxyCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIDODOProxyCaller ¶
func NewIDODOProxyCaller(address common.Address, caller bind.ContractCaller) (*IDODOProxyCaller, error)
NewIDODOProxyCaller creates a new read-only instance of IDODOProxy, bound to a specific deployed contract.
type IDODOProxyCallerRaw ¶
type IDODOProxyCallerRaw struct {
Contract *IDODOProxyCaller // Generic read-only contract binding to access the raw methods on
}
IDODOProxyCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IDODOProxyCallerRaw) Call ¶
func (_IDODOProxy *IDODOProxyCallerRaw) 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 IDODOProxyCallerSession ¶
type IDODOProxyCallerSession struct { Contract *IDODOProxyCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IDODOProxyCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IDODOProxyFilterer ¶
type IDODOProxyFilterer struct {
// contains filtered or unexported fields
}
IDODOProxyFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIDODOProxyFilterer ¶
func NewIDODOProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*IDODOProxyFilterer, error)
NewIDODOProxyFilterer creates a new log filterer instance of IDODOProxy, bound to a specific deployed contract.
type IDODOProxyRaw ¶
type IDODOProxyRaw struct {
Contract *IDODOProxy // Generic contract binding to access the raw methods on
}
IDODOProxyRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IDODOProxyRaw) Call ¶
func (_IDODOProxy *IDODOProxyRaw) 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 (*IDODOProxyRaw) Transact ¶
func (_IDODOProxy *IDODOProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IDODOProxyRaw) Transfer ¶
func (_IDODOProxy *IDODOProxyRaw) 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 IDODOProxySession ¶
type IDODOProxySession struct { Contract *IDODOProxy // 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 }
IDODOProxySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IDODOProxySession) DodoSwapV1 ¶
func (_IDODOProxy *IDODOProxySession) DodoSwapV1(fromToken common.Address, toToken common.Address, fromTokenAmount *big.Int, minReturnAmount *big.Int, dodoPairs []common.Address, directions *big.Int, arg6 bool, deadLine *big.Int) (*types.Transaction, error)
DodoSwapV1 is a paid mutator transaction binding the contract method 0x0dd4ebd9.
Solidity: function dodoSwapV1(address fromToken, address toToken, uint256 fromTokenAmount, uint256 minReturnAmount, address[] dodoPairs, uint256 directions, bool , uint256 deadLine) payable returns(uint256 returnAmount)
func (*IDODOProxySession) DodoSwapV2TokenToToken ¶
func (_IDODOProxy *IDODOProxySession) DodoSwapV2TokenToToken(fromToken common.Address, toToken common.Address, fromTokenAmount *big.Int, minReturnAmount *big.Int, dodoPairs []common.Address, directions *big.Int, isIncentive bool, deadLine *big.Int) (*types.Transaction, error)
DodoSwapV2TokenToToken is a paid mutator transaction binding the contract method 0xf87dc1b7.
Solidity: function dodoSwapV2TokenToToken(address fromToken, address toToken, uint256 fromTokenAmount, uint256 minReturnAmount, address[] dodoPairs, uint256 directions, bool isIncentive, uint256 deadLine) returns(uint256 returnAmount)
type IDODOProxyTransactor ¶
type IDODOProxyTransactor struct {
// contains filtered or unexported fields
}
IDODOProxyTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIDODOProxyTransactor ¶
func NewIDODOProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*IDODOProxyTransactor, error)
NewIDODOProxyTransactor creates a new write-only instance of IDODOProxy, bound to a specific deployed contract.
func (*IDODOProxyTransactor) DodoSwapV1 ¶
func (_IDODOProxy *IDODOProxyTransactor) DodoSwapV1(opts *bind.TransactOpts, fromToken common.Address, toToken common.Address, fromTokenAmount *big.Int, minReturnAmount *big.Int, dodoPairs []common.Address, directions *big.Int, arg6 bool, deadLine *big.Int) (*types.Transaction, error)
DodoSwapV1 is a paid mutator transaction binding the contract method 0x0dd4ebd9.
Solidity: function dodoSwapV1(address fromToken, address toToken, uint256 fromTokenAmount, uint256 minReturnAmount, address[] dodoPairs, uint256 directions, bool , uint256 deadLine) payable returns(uint256 returnAmount)
func (*IDODOProxyTransactor) DodoSwapV2TokenToToken ¶
func (_IDODOProxy *IDODOProxyTransactor) DodoSwapV2TokenToToken(opts *bind.TransactOpts, fromToken common.Address, toToken common.Address, fromTokenAmount *big.Int, minReturnAmount *big.Int, dodoPairs []common.Address, directions *big.Int, isIncentive bool, deadLine *big.Int) (*types.Transaction, error)
DodoSwapV2TokenToToken is a paid mutator transaction binding the contract method 0xf87dc1b7.
Solidity: function dodoSwapV2TokenToToken(address fromToken, address toToken, uint256 fromTokenAmount, uint256 minReturnAmount, address[] dodoPairs, uint256 directions, bool isIncentive, uint256 deadLine) returns(uint256 returnAmount)
type IDODOProxyTransactorRaw ¶
type IDODOProxyTransactorRaw struct {
Contract *IDODOProxyTransactor // Generic write-only contract binding to access the raw methods on
}
IDODOProxyTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IDODOProxyTransactorRaw) Transact ¶
func (_IDODOProxy *IDODOProxyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IDODOProxyTransactorRaw) Transfer ¶
func (_IDODOProxy *IDODOProxyTransactorRaw) 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 IDODOProxyTransactorSession ¶
type IDODOProxyTransactorSession struct { Contract *IDODOProxyTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IDODOProxyTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IDODOProxyTransactorSession) DodoSwapV1 ¶
func (_IDODOProxy *IDODOProxyTransactorSession) DodoSwapV1(fromToken common.Address, toToken common.Address, fromTokenAmount *big.Int, minReturnAmount *big.Int, dodoPairs []common.Address, directions *big.Int, arg6 bool, deadLine *big.Int) (*types.Transaction, error)
DodoSwapV1 is a paid mutator transaction binding the contract method 0x0dd4ebd9.
Solidity: function dodoSwapV1(address fromToken, address toToken, uint256 fromTokenAmount, uint256 minReturnAmount, address[] dodoPairs, uint256 directions, bool , uint256 deadLine) payable returns(uint256 returnAmount)
func (*IDODOProxyTransactorSession) DodoSwapV2TokenToToken ¶
func (_IDODOProxy *IDODOProxyTransactorSession) DodoSwapV2TokenToToken(fromToken common.Address, toToken common.Address, fromTokenAmount *big.Int, minReturnAmount *big.Int, dodoPairs []common.Address, directions *big.Int, isIncentive bool, deadLine *big.Int) (*types.Transaction, error)
DodoSwapV2TokenToToken is a paid mutator transaction binding the contract method 0xf87dc1b7.
Solidity: function dodoSwapV2TokenToToken(address fromToken, address toToken, uint256 fromTokenAmount, uint256 minReturnAmount, address[] dodoPairs, uint256 directions, bool isIncentive, uint256 deadLine) returns(uint256 returnAmount)
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.
type IFlashloan ¶
type IFlashloan struct { IFlashloanCaller // Read-only binding to the contract IFlashloanTransactor // Write-only binding to the contract IFlashloanFilterer // Log filterer for contract events }
IFlashloan is an auto generated Go binding around an Ethereum contract.
func NewIFlashloan ¶
func NewIFlashloan(address common.Address, backend bind.ContractBackend) (*IFlashloan, error)
NewIFlashloan creates a new instance of IFlashloan, bound to a specific deployed contract.
type IFlashloanCaller ¶
type IFlashloanCaller struct {
// contains filtered or unexported fields
}
IFlashloanCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIFlashloanCaller ¶
func NewIFlashloanCaller(address common.Address, caller bind.ContractCaller) (*IFlashloanCaller, error)
NewIFlashloanCaller creates a new read-only instance of IFlashloan, bound to a specific deployed contract.
type IFlashloanCallerRaw ¶
type IFlashloanCallerRaw struct {
Contract *IFlashloanCaller // Generic read-only contract binding to access the raw methods on
}
IFlashloanCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IFlashloanCallerRaw) Call ¶
func (_IFlashloan *IFlashloanCallerRaw) 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 IFlashloanCallerSession ¶
type IFlashloanCallerSession struct { Contract *IFlashloanCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IFlashloanCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IFlashloanFilterer ¶
type IFlashloanFilterer struct {
// contains filtered or unexported fields
}
IFlashloanFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIFlashloanFilterer ¶
func NewIFlashloanFilterer(address common.Address, filterer bind.ContractFilterer) (*IFlashloanFilterer, error)
NewIFlashloanFilterer creates a new log filterer instance of IFlashloan, bound to a specific deployed contract.
type IFlashloanFlashParams ¶
type IFlashloanFlashParams struct { FlashLoanPool common.Address LoanAmount *big.Int Routes []IFlashloanRoute }
IFlashloanFlashParams is an auto generated low-level Go binding around an user-defined struct.
type IFlashloanHop ¶
IFlashloanHop is an auto generated low-level Go binding around an user-defined struct.
type IFlashloanRaw ¶
type IFlashloanRaw struct {
Contract *IFlashloan // Generic contract binding to access the raw methods on
}
IFlashloanRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IFlashloanRaw) Call ¶
func (_IFlashloan *IFlashloanRaw) 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 (*IFlashloanRaw) Transact ¶
func (_IFlashloan *IFlashloanRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IFlashloanRaw) Transfer ¶
func (_IFlashloan *IFlashloanRaw) 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 IFlashloanRoute ¶
type IFlashloanRoute struct { Hops []IFlashloanHop Part uint16 }
IFlashloanRoute is an auto generated low-level Go binding around an user-defined struct.
type IFlashloanSession ¶
type IFlashloanSession struct { Contract *IFlashloan // 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 }
IFlashloanSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type IFlashloanTransactor ¶
type IFlashloanTransactor struct {
// contains filtered or unexported fields
}
IFlashloanTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIFlashloanTransactor ¶
func NewIFlashloanTransactor(address common.Address, transactor bind.ContractTransactor) (*IFlashloanTransactor, error)
NewIFlashloanTransactor creates a new write-only instance of IFlashloan, bound to a specific deployed contract.
type IFlashloanTransactorRaw ¶
type IFlashloanTransactorRaw struct {
Contract *IFlashloanTransactor // Generic write-only contract binding to access the raw methods on
}
IFlashloanTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IFlashloanTransactorRaw) Transact ¶
func (_IFlashloan *IFlashloanTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IFlashloanTransactorRaw) Transfer ¶
func (_IFlashloan *IFlashloanTransactorRaw) 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 IFlashloanTransactorSession ¶
type IFlashloanTransactorSession struct { Contract *IFlashloanTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IFlashloanTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ISwapRouter ¶
type ISwapRouter struct { ISwapRouterCaller // Read-only binding to the contract ISwapRouterTransactor // Write-only binding to the contract ISwapRouterFilterer // Log filterer for contract events }
ISwapRouter is an auto generated Go binding around an Ethereum contract.
func NewISwapRouter ¶
func NewISwapRouter(address common.Address, backend bind.ContractBackend) (*ISwapRouter, error)
NewISwapRouter creates a new instance of ISwapRouter, bound to a specific deployed contract.
type ISwapRouterCaller ¶
type ISwapRouterCaller struct {
// contains filtered or unexported fields
}
ISwapRouterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewISwapRouterCaller ¶
func NewISwapRouterCaller(address common.Address, caller bind.ContractCaller) (*ISwapRouterCaller, error)
NewISwapRouterCaller creates a new read-only instance of ISwapRouter, bound to a specific deployed contract.
type ISwapRouterCallerRaw ¶
type ISwapRouterCallerRaw struct {
Contract *ISwapRouterCaller // Generic read-only contract binding to access the raw methods on
}
ISwapRouterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ISwapRouterCallerRaw) Call ¶
func (_ISwapRouter *ISwapRouterCallerRaw) 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 ISwapRouterCallerSession ¶
type ISwapRouterCallerSession struct { Contract *ISwapRouterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ISwapRouterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ISwapRouterExactInputParams ¶
type ISwapRouterExactInputParams struct { Path []byte Recipient common.Address Deadline *big.Int AmountIn *big.Int AmountOutMinimum *big.Int }
ISwapRouterExactInputParams is an auto generated low-level Go binding around an user-defined struct.
type ISwapRouterExactInputSingleParams ¶
type ISwapRouterExactInputSingleParams struct { TokenIn common.Address TokenOut common.Address Fee *big.Int Recipient common.Address Deadline *big.Int AmountIn *big.Int AmountOutMinimum *big.Int SqrtPriceLimitX96 *big.Int }
ISwapRouterExactInputSingleParams is an auto generated low-level Go binding around an user-defined struct.
type ISwapRouterExactOutputParams ¶
type ISwapRouterExactOutputParams struct { Path []byte Recipient common.Address Deadline *big.Int AmountOut *big.Int AmountInMaximum *big.Int }
ISwapRouterExactOutputParams is an auto generated low-level Go binding around an user-defined struct.
type ISwapRouterExactOutputSingleParams ¶
type ISwapRouterExactOutputSingleParams struct { TokenIn common.Address TokenOut common.Address Fee *big.Int Recipient common.Address Deadline *big.Int AmountOut *big.Int AmountInMaximum *big.Int SqrtPriceLimitX96 *big.Int }
ISwapRouterExactOutputSingleParams is an auto generated low-level Go binding around an user-defined struct.
type ISwapRouterFilterer ¶
type ISwapRouterFilterer struct {
// contains filtered or unexported fields
}
ISwapRouterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewISwapRouterFilterer ¶
func NewISwapRouterFilterer(address common.Address, filterer bind.ContractFilterer) (*ISwapRouterFilterer, error)
NewISwapRouterFilterer creates a new log filterer instance of ISwapRouter, bound to a specific deployed contract.
type ISwapRouterRaw ¶
type ISwapRouterRaw struct {
Contract *ISwapRouter // Generic contract binding to access the raw methods on
}
ISwapRouterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ISwapRouterRaw) Call ¶
func (_ISwapRouter *ISwapRouterRaw) 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 (*ISwapRouterRaw) Transact ¶
func (_ISwapRouter *ISwapRouterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ISwapRouterRaw) Transfer ¶
func (_ISwapRouter *ISwapRouterRaw) 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 ISwapRouterSession ¶
type ISwapRouterSession struct { Contract *ISwapRouter // 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 }
ISwapRouterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ISwapRouterSession) ExactInput ¶
func (_ISwapRouter *ISwapRouterSession) ExactInput(params ISwapRouterExactInputParams) (*types.Transaction, error)
ExactInput is a paid mutator transaction binding the contract method 0xc04b8d59.
Solidity: function exactInput((bytes,address,uint256,uint256,uint256) params) payable returns(uint256 amountOut)
func (*ISwapRouterSession) ExactInputSingle ¶
func (_ISwapRouter *ISwapRouterSession) ExactInputSingle(params ISwapRouterExactInputSingleParams) (*types.Transaction, error)
ExactInputSingle is a paid mutator transaction binding the contract method 0x414bf389.
Solidity: function exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160) params) payable returns(uint256 amountOut)
func (*ISwapRouterSession) ExactOutput ¶
func (_ISwapRouter *ISwapRouterSession) ExactOutput(params ISwapRouterExactOutputParams) (*types.Transaction, error)
ExactOutput is a paid mutator transaction binding the contract method 0xf28c0498.
Solidity: function exactOutput((bytes,address,uint256,uint256,uint256) params) payable returns(uint256 amountIn)
func (*ISwapRouterSession) ExactOutputSingle ¶
func (_ISwapRouter *ISwapRouterSession) ExactOutputSingle(params ISwapRouterExactOutputSingleParams) (*types.Transaction, error)
ExactOutputSingle is a paid mutator transaction binding the contract method 0xdb3e2198.
Solidity: function exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160) params) payable returns(uint256 amountIn)
func (*ISwapRouterSession) UniswapV3SwapCallback ¶
func (_ISwapRouter *ISwapRouterSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, data []byte) (*types.Transaction, error)
UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.
Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes data) returns()
type ISwapRouterTransactor ¶
type ISwapRouterTransactor struct {
// contains filtered or unexported fields
}
ISwapRouterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewISwapRouterTransactor ¶
func NewISwapRouterTransactor(address common.Address, transactor bind.ContractTransactor) (*ISwapRouterTransactor, error)
NewISwapRouterTransactor creates a new write-only instance of ISwapRouter, bound to a specific deployed contract.
func (*ISwapRouterTransactor) ExactInput ¶
func (_ISwapRouter *ISwapRouterTransactor) ExactInput(opts *bind.TransactOpts, params ISwapRouterExactInputParams) (*types.Transaction, error)
ExactInput is a paid mutator transaction binding the contract method 0xc04b8d59.
Solidity: function exactInput((bytes,address,uint256,uint256,uint256) params) payable returns(uint256 amountOut)
func (*ISwapRouterTransactor) ExactInputSingle ¶
func (_ISwapRouter *ISwapRouterTransactor) ExactInputSingle(opts *bind.TransactOpts, params ISwapRouterExactInputSingleParams) (*types.Transaction, error)
ExactInputSingle is a paid mutator transaction binding the contract method 0x414bf389.
Solidity: function exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160) params) payable returns(uint256 amountOut)
func (*ISwapRouterTransactor) ExactOutput ¶
func (_ISwapRouter *ISwapRouterTransactor) ExactOutput(opts *bind.TransactOpts, params ISwapRouterExactOutputParams) (*types.Transaction, error)
ExactOutput is a paid mutator transaction binding the contract method 0xf28c0498.
Solidity: function exactOutput((bytes,address,uint256,uint256,uint256) params) payable returns(uint256 amountIn)
func (*ISwapRouterTransactor) ExactOutputSingle ¶
func (_ISwapRouter *ISwapRouterTransactor) ExactOutputSingle(opts *bind.TransactOpts, params ISwapRouterExactOutputSingleParams) (*types.Transaction, error)
ExactOutputSingle is a paid mutator transaction binding the contract method 0xdb3e2198.
Solidity: function exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160) params) payable returns(uint256 amountIn)
func (*ISwapRouterTransactor) UniswapV3SwapCallback ¶
func (_ISwapRouter *ISwapRouterTransactor) UniswapV3SwapCallback(opts *bind.TransactOpts, amount0Delta *big.Int, amount1Delta *big.Int, data []byte) (*types.Transaction, error)
UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.
Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes data) returns()
type ISwapRouterTransactorRaw ¶
type ISwapRouterTransactorRaw struct {
Contract *ISwapRouterTransactor // Generic write-only contract binding to access the raw methods on
}
ISwapRouterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ISwapRouterTransactorRaw) Transact ¶
func (_ISwapRouter *ISwapRouterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ISwapRouterTransactorRaw) Transfer ¶
func (_ISwapRouter *ISwapRouterTransactorRaw) 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 ISwapRouterTransactorSession ¶
type ISwapRouterTransactorSession struct { Contract *ISwapRouterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ISwapRouterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ISwapRouterTransactorSession) ExactInput ¶
func (_ISwapRouter *ISwapRouterTransactorSession) ExactInput(params ISwapRouterExactInputParams) (*types.Transaction, error)
ExactInput is a paid mutator transaction binding the contract method 0xc04b8d59.
Solidity: function exactInput((bytes,address,uint256,uint256,uint256) params) payable returns(uint256 amountOut)
func (*ISwapRouterTransactorSession) ExactInputSingle ¶
func (_ISwapRouter *ISwapRouterTransactorSession) ExactInputSingle(params ISwapRouterExactInputSingleParams) (*types.Transaction, error)
ExactInputSingle is a paid mutator transaction binding the contract method 0x414bf389.
Solidity: function exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160) params) payable returns(uint256 amountOut)
func (*ISwapRouterTransactorSession) ExactOutput ¶
func (_ISwapRouter *ISwapRouterTransactorSession) ExactOutput(params ISwapRouterExactOutputParams) (*types.Transaction, error)
ExactOutput is a paid mutator transaction binding the contract method 0xf28c0498.
Solidity: function exactOutput((bytes,address,uint256,uint256,uint256) params) payable returns(uint256 amountIn)
func (*ISwapRouterTransactorSession) ExactOutputSingle ¶
func (_ISwapRouter *ISwapRouterTransactorSession) ExactOutputSingle(params ISwapRouterExactOutputSingleParams) (*types.Transaction, error)
ExactOutputSingle is a paid mutator transaction binding the contract method 0xdb3e2198.
Solidity: function exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160) params) payable returns(uint256 amountIn)
func (*ISwapRouterTransactorSession) UniswapV3SwapCallback ¶
func (_ISwapRouter *ISwapRouterTransactorSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, data []byte) (*types.Transaction, error)
UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.
Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes data) returns()
type IUniswapV2Router ¶
type IUniswapV2Router struct { IUniswapV2RouterCaller // Read-only binding to the contract IUniswapV2RouterTransactor // Write-only binding to the contract IUniswapV2RouterFilterer // Log filterer for contract events }
IUniswapV2Router is an auto generated Go binding around an Ethereum contract.
func NewIUniswapV2Router ¶
func NewIUniswapV2Router(address common.Address, backend bind.ContractBackend) (*IUniswapV2Router, error)
NewIUniswapV2Router creates a new instance of IUniswapV2Router, bound to a specific deployed contract.
type IUniswapV2RouterCaller ¶
type IUniswapV2RouterCaller struct {
// contains filtered or unexported fields
}
IUniswapV2RouterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIUniswapV2RouterCaller ¶
func NewIUniswapV2RouterCaller(address common.Address, caller bind.ContractCaller) (*IUniswapV2RouterCaller, error)
NewIUniswapV2RouterCaller creates a new read-only instance of IUniswapV2Router, bound to a specific deployed contract.
type IUniswapV2RouterCallerRaw ¶
type IUniswapV2RouterCallerRaw struct {
Contract *IUniswapV2RouterCaller // Generic read-only contract binding to access the raw methods on
}
IUniswapV2RouterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IUniswapV2RouterCallerRaw) Call ¶
func (_IUniswapV2Router *IUniswapV2RouterCallerRaw) 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 IUniswapV2RouterCallerSession ¶
type IUniswapV2RouterCallerSession struct { Contract *IUniswapV2RouterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IUniswapV2RouterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IUniswapV2RouterFilterer ¶
type IUniswapV2RouterFilterer struct {
// contains filtered or unexported fields
}
IUniswapV2RouterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIUniswapV2RouterFilterer ¶
func NewIUniswapV2RouterFilterer(address common.Address, filterer bind.ContractFilterer) (*IUniswapV2RouterFilterer, error)
NewIUniswapV2RouterFilterer creates a new log filterer instance of IUniswapV2Router, bound to a specific deployed contract.
type IUniswapV2RouterRaw ¶
type IUniswapV2RouterRaw struct {
Contract *IUniswapV2Router // Generic contract binding to access the raw methods on
}
IUniswapV2RouterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IUniswapV2RouterRaw) Call ¶
func (_IUniswapV2Router *IUniswapV2RouterRaw) 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 (*IUniswapV2RouterRaw) Transact ¶
func (_IUniswapV2Router *IUniswapV2RouterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IUniswapV2RouterRaw) Transfer ¶
func (_IUniswapV2Router *IUniswapV2RouterRaw) 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 IUniswapV2RouterSession ¶
type IUniswapV2RouterSession struct { Contract *IUniswapV2Router // 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 }
IUniswapV2RouterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IUniswapV2RouterSession) SwapExactTokensForTokens ¶
func (_IUniswapV2Router *IUniswapV2RouterSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.
Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
type IUniswapV2RouterTransactor ¶
type IUniswapV2RouterTransactor struct {
// contains filtered or unexported fields
}
IUniswapV2RouterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIUniswapV2RouterTransactor ¶
func NewIUniswapV2RouterTransactor(address common.Address, transactor bind.ContractTransactor) (*IUniswapV2RouterTransactor, error)
NewIUniswapV2RouterTransactor creates a new write-only instance of IUniswapV2Router, bound to a specific deployed contract.
func (*IUniswapV2RouterTransactor) SwapExactTokensForTokens ¶
func (_IUniswapV2Router *IUniswapV2RouterTransactor) SwapExactTokensForTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.
Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
type IUniswapV2RouterTransactorRaw ¶
type IUniswapV2RouterTransactorRaw struct {
Contract *IUniswapV2RouterTransactor // Generic write-only contract binding to access the raw methods on
}
IUniswapV2RouterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IUniswapV2RouterTransactorRaw) Transact ¶
func (_IUniswapV2Router *IUniswapV2RouterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IUniswapV2RouterTransactorRaw) Transfer ¶
func (_IUniswapV2Router *IUniswapV2RouterTransactorRaw) 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 IUniswapV2RouterTransactorSession ¶
type IUniswapV2RouterTransactorSession struct { Contract *IUniswapV2RouterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IUniswapV2RouterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IUniswapV2RouterTransactorSession) SwapExactTokensForTokens ¶
func (_IUniswapV2Router *IUniswapV2RouterTransactorSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.
Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
type IUniswapV3SwapCallback ¶
type IUniswapV3SwapCallback struct { IUniswapV3SwapCallbackCaller // Read-only binding to the contract IUniswapV3SwapCallbackTransactor // Write-only binding to the contract IUniswapV3SwapCallbackFilterer // Log filterer for contract events }
IUniswapV3SwapCallback is an auto generated Go binding around an Ethereum contract.
func NewIUniswapV3SwapCallback ¶
func NewIUniswapV3SwapCallback(address common.Address, backend bind.ContractBackend) (*IUniswapV3SwapCallback, error)
NewIUniswapV3SwapCallback creates a new instance of IUniswapV3SwapCallback, bound to a specific deployed contract.
type IUniswapV3SwapCallbackCaller ¶
type IUniswapV3SwapCallbackCaller struct {
// contains filtered or unexported fields
}
IUniswapV3SwapCallbackCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIUniswapV3SwapCallbackCaller ¶
func NewIUniswapV3SwapCallbackCaller(address common.Address, caller bind.ContractCaller) (*IUniswapV3SwapCallbackCaller, error)
NewIUniswapV3SwapCallbackCaller creates a new read-only instance of IUniswapV3SwapCallback, bound to a specific deployed contract.
type IUniswapV3SwapCallbackCallerRaw ¶
type IUniswapV3SwapCallbackCallerRaw struct {
Contract *IUniswapV3SwapCallbackCaller // Generic read-only contract binding to access the raw methods on
}
IUniswapV3SwapCallbackCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IUniswapV3SwapCallbackCallerRaw) Call ¶
func (_IUniswapV3SwapCallback *IUniswapV3SwapCallbackCallerRaw) 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 IUniswapV3SwapCallbackCallerSession ¶
type IUniswapV3SwapCallbackCallerSession struct { Contract *IUniswapV3SwapCallbackCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IUniswapV3SwapCallbackCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IUniswapV3SwapCallbackFilterer ¶
type IUniswapV3SwapCallbackFilterer struct {
// contains filtered or unexported fields
}
IUniswapV3SwapCallbackFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIUniswapV3SwapCallbackFilterer ¶
func NewIUniswapV3SwapCallbackFilterer(address common.Address, filterer bind.ContractFilterer) (*IUniswapV3SwapCallbackFilterer, error)
NewIUniswapV3SwapCallbackFilterer creates a new log filterer instance of IUniswapV3SwapCallback, bound to a specific deployed contract.
type IUniswapV3SwapCallbackRaw ¶
type IUniswapV3SwapCallbackRaw struct {
Contract *IUniswapV3SwapCallback // Generic contract binding to access the raw methods on
}
IUniswapV3SwapCallbackRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IUniswapV3SwapCallbackRaw) Call ¶
func (_IUniswapV3SwapCallback *IUniswapV3SwapCallbackRaw) 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 (*IUniswapV3SwapCallbackRaw) Transact ¶
func (_IUniswapV3SwapCallback *IUniswapV3SwapCallbackRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IUniswapV3SwapCallbackRaw) Transfer ¶
func (_IUniswapV3SwapCallback *IUniswapV3SwapCallbackRaw) 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 IUniswapV3SwapCallbackSession ¶
type IUniswapV3SwapCallbackSession struct { Contract *IUniswapV3SwapCallback // 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 }
IUniswapV3SwapCallbackSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IUniswapV3SwapCallbackSession) UniswapV3SwapCallback ¶
func (_IUniswapV3SwapCallback *IUniswapV3SwapCallbackSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, data []byte) (*types.Transaction, error)
UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.
Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes data) returns()
type IUniswapV3SwapCallbackTransactor ¶
type IUniswapV3SwapCallbackTransactor struct {
// contains filtered or unexported fields
}
IUniswapV3SwapCallbackTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIUniswapV3SwapCallbackTransactor ¶
func NewIUniswapV3SwapCallbackTransactor(address common.Address, transactor bind.ContractTransactor) (*IUniswapV3SwapCallbackTransactor, error)
NewIUniswapV3SwapCallbackTransactor creates a new write-only instance of IUniswapV3SwapCallback, bound to a specific deployed contract.
func (*IUniswapV3SwapCallbackTransactor) UniswapV3SwapCallback ¶
func (_IUniswapV3SwapCallback *IUniswapV3SwapCallbackTransactor) UniswapV3SwapCallback(opts *bind.TransactOpts, amount0Delta *big.Int, amount1Delta *big.Int, data []byte) (*types.Transaction, error)
UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.
Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes data) returns()
type IUniswapV3SwapCallbackTransactorRaw ¶
type IUniswapV3SwapCallbackTransactorRaw struct {
Contract *IUniswapV3SwapCallbackTransactor // Generic write-only contract binding to access the raw methods on
}
IUniswapV3SwapCallbackTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IUniswapV3SwapCallbackTransactorRaw) Transact ¶
func (_IUniswapV3SwapCallback *IUniswapV3SwapCallbackTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IUniswapV3SwapCallbackTransactorRaw) Transfer ¶
func (_IUniswapV3SwapCallback *IUniswapV3SwapCallbackTransactorRaw) 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 IUniswapV3SwapCallbackTransactorSession ¶
type IUniswapV3SwapCallbackTransactorSession struct { Contract *IUniswapV3SwapCallbackTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IUniswapV3SwapCallbackTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IUniswapV3SwapCallbackTransactorSession) UniswapV3SwapCallback ¶
func (_IUniswapV3SwapCallback *IUniswapV3SwapCallbackTransactorSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, data []byte) (*types.Transaction, error)
UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.
Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes data) returns()
type Ownable ¶
type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events }
Ownable is an auto generated Go binding around an Ethereum contract.
func NewOwnable ¶
NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.
type OwnableCaller ¶
type OwnableCaller struct {
// contains filtered or unexported fields
}
OwnableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOwnableCaller ¶
func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)
NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.
type OwnableCallerRaw ¶
type OwnableCallerRaw struct {
Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on
}
OwnableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OwnableCallerRaw) Call ¶
func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession ¶
type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OwnableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type OwnableFilterer ¶
type OwnableFilterer struct {
// contains filtered or unexported fields
}
OwnableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOwnableFilterer ¶
func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)
NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.
func (*OwnableFilterer) FilterOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableFilterer) ParseOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableFilterer) WatchOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type OwnableOwnershipTransferred ¶
type OwnableOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.
type OwnableOwnershipTransferredIterator ¶
type OwnableOwnershipTransferredIterator struct { Event *OwnableOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.
func (*OwnableOwnershipTransferredIterator) Close ¶
func (it *OwnableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnableOwnershipTransferredIterator) Error ¶
func (it *OwnableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnableOwnershipTransferredIterator) Next ¶
func (it *OwnableOwnershipTransferredIterator) 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 OwnableRaw ¶
type OwnableRaw struct {
Contract *Ownable // Generic contract binding to access the raw methods on
}
OwnableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OwnableRaw) Call ¶
func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact ¶
func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableRaw) Transfer ¶
func (_Ownable *OwnableRaw) 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 OwnableSession ¶
type OwnableSession struct { Contract *Ownable // 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 }
OwnableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OwnableSession) Owner ¶
func (_Ownable *OwnableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OwnableSession) RenounceOwnership ¶
func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableSession) TransferOwnership ¶
func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OwnableTransactor ¶
type OwnableTransactor struct {
// contains filtered or unexported fields
}
OwnableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOwnableTransactor ¶
func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)
NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.
func (*OwnableTransactor) RenounceOwnership ¶
func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableTransactor) TransferOwnership ¶
func (_Ownable *OwnableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OwnableTransactorRaw ¶
type OwnableTransactorRaw struct {
Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on
}
OwnableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OwnableTransactorRaw) Transact ¶
func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableTransactorRaw) Transfer ¶
func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession ¶
type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OwnableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OwnableTransactorSession) RenounceOwnership ¶
func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableTransactorSession) TransferOwnership ¶
func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type Part ¶
type Part struct { PartCaller // Read-only binding to the contract PartTransactor // Write-only binding to the contract PartFilterer // Log filterer for contract events }
Part is an auto generated Go binding around an Ethereum contract.
func DeployPart ¶
func DeployPart(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Part, error)
DeployPart deploys a new Ethereum contract, binding an instance of Part to it.
type PartCaller ¶
type PartCaller struct {
// contains filtered or unexported fields
}
PartCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPartCaller ¶
func NewPartCaller(address common.Address, caller bind.ContractCaller) (*PartCaller, error)
NewPartCaller creates a new read-only instance of Part, bound to a specific deployed contract.
type PartCallerRaw ¶
type PartCallerRaw struct {
Contract *PartCaller // Generic read-only contract binding to access the raw methods on
}
PartCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PartCallerRaw) Call ¶
func (_Part *PartCallerRaw) 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 PartCallerSession ¶
type PartCallerSession struct { Contract *PartCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PartCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type PartFilterer ¶
type PartFilterer struct {
// contains filtered or unexported fields
}
PartFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPartFilterer ¶
func NewPartFilterer(address common.Address, filterer bind.ContractFilterer) (*PartFilterer, error)
NewPartFilterer creates a new log filterer instance of Part, bound to a specific deployed contract.
type PartRaw ¶
type PartRaw struct {
Contract *Part // Generic contract binding to access the raw methods on
}
PartRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PartRaw) Call ¶
func (_Part *PartRaw) 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 (*PartRaw) Transact ¶
func (_Part *PartRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PartRaw) Transfer ¶
func (_Part *PartRaw) 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 PartSession ¶
type PartSession struct { Contract *Part // 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 }
PartSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type PartTransactor ¶
type PartTransactor struct {
// contains filtered or unexported fields
}
PartTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPartTransactor ¶
func NewPartTransactor(address common.Address, transactor bind.ContractTransactor) (*PartTransactor, error)
NewPartTransactor creates a new write-only instance of Part, bound to a specific deployed contract.
type PartTransactorRaw ¶
type PartTransactorRaw struct {
Contract *PartTransactor // Generic write-only contract binding to access the raw methods on
}
PartTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PartTransactorRaw) Transact ¶
func (_Part *PartTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PartTransactorRaw) Transfer ¶
func (_Part *PartTransactorRaw) 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 PartTransactorSession ¶
type PartTransactorSession struct { Contract *PartTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PartTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ReentrancyGuard ¶
type ReentrancyGuard struct { ReentrancyGuardCaller // Read-only binding to the contract ReentrancyGuardTransactor // Write-only binding to the contract ReentrancyGuardFilterer // Log filterer for contract events }
ReentrancyGuard is an auto generated Go binding around an Ethereum contract.
func NewReentrancyGuard ¶
func NewReentrancyGuard(address common.Address, backend bind.ContractBackend) (*ReentrancyGuard, error)
NewReentrancyGuard creates a new instance of ReentrancyGuard, bound to a specific deployed contract.
type ReentrancyGuardCaller ¶
type ReentrancyGuardCaller struct {
// contains filtered or unexported fields
}
ReentrancyGuardCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewReentrancyGuardCaller ¶
func NewReentrancyGuardCaller(address common.Address, caller bind.ContractCaller) (*ReentrancyGuardCaller, error)
NewReentrancyGuardCaller creates a new read-only instance of ReentrancyGuard, bound to a specific deployed contract.
type ReentrancyGuardCallerRaw ¶
type ReentrancyGuardCallerRaw struct {
Contract *ReentrancyGuardCaller // Generic read-only contract binding to access the raw methods on
}
ReentrancyGuardCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ReentrancyGuardCallerRaw) Call ¶
func (_ReentrancyGuard *ReentrancyGuardCallerRaw) 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 ReentrancyGuardCallerSession ¶
type ReentrancyGuardCallerSession struct { Contract *ReentrancyGuardCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ReentrancyGuardCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ReentrancyGuardFilterer ¶
type ReentrancyGuardFilterer struct {
// contains filtered or unexported fields
}
ReentrancyGuardFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewReentrancyGuardFilterer ¶
func NewReentrancyGuardFilterer(address common.Address, filterer bind.ContractFilterer) (*ReentrancyGuardFilterer, error)
NewReentrancyGuardFilterer creates a new log filterer instance of ReentrancyGuard, bound to a specific deployed contract.
type ReentrancyGuardRaw ¶
type ReentrancyGuardRaw struct {
Contract *ReentrancyGuard // Generic contract binding to access the raw methods on
}
ReentrancyGuardRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ReentrancyGuardRaw) Call ¶
func (_ReentrancyGuard *ReentrancyGuardRaw) 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 (*ReentrancyGuardRaw) Transact ¶
func (_ReentrancyGuard *ReentrancyGuardRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ReentrancyGuardRaw) Transfer ¶
func (_ReentrancyGuard *ReentrancyGuardRaw) 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 ReentrancyGuardSession ¶
type ReentrancyGuardSession struct { Contract *ReentrancyGuard // 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 }
ReentrancyGuardSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ReentrancyGuardTransactor ¶
type ReentrancyGuardTransactor struct {
// contains filtered or unexported fields
}
ReentrancyGuardTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewReentrancyGuardTransactor ¶
func NewReentrancyGuardTransactor(address common.Address, transactor bind.ContractTransactor) (*ReentrancyGuardTransactor, error)
NewReentrancyGuardTransactor creates a new write-only instance of ReentrancyGuard, bound to a specific deployed contract.
type ReentrancyGuardTransactorRaw ¶
type ReentrancyGuardTransactorRaw struct {
Contract *ReentrancyGuardTransactor // Generic write-only contract binding to access the raw methods on
}
ReentrancyGuardTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ReentrancyGuardTransactorRaw) Transact ¶
func (_ReentrancyGuard *ReentrancyGuardTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ReentrancyGuardTransactorRaw) Transfer ¶
func (_ReentrancyGuard *ReentrancyGuardTransactorRaw) 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 ReentrancyGuardTransactorSession ¶
type ReentrancyGuardTransactorSession struct { Contract *ReentrancyGuardTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ReentrancyGuardTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type RouteUtils ¶
type RouteUtils struct { RouteUtilsCaller // Read-only binding to the contract RouteUtilsTransactor // Write-only binding to the contract RouteUtilsFilterer // Log filterer for contract events }
RouteUtils is an auto generated Go binding around an Ethereum contract.
func DeployRouteUtils ¶
func DeployRouteUtils(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *RouteUtils, error)
DeployRouteUtils deploys a new Ethereum contract, binding an instance of RouteUtils to it.
func NewRouteUtils ¶
func NewRouteUtils(address common.Address, backend bind.ContractBackend) (*RouteUtils, error)
NewRouteUtils creates a new instance of RouteUtils, bound to a specific deployed contract.
type RouteUtilsCaller ¶
type RouteUtilsCaller struct {
// contains filtered or unexported fields
}
RouteUtilsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRouteUtilsCaller ¶
func NewRouteUtilsCaller(address common.Address, caller bind.ContractCaller) (*RouteUtilsCaller, error)
NewRouteUtilsCaller creates a new read-only instance of RouteUtils, bound to a specific deployed contract.
type RouteUtilsCallerRaw ¶
type RouteUtilsCallerRaw struct {
Contract *RouteUtilsCaller // Generic read-only contract binding to access the raw methods on
}
RouteUtilsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*RouteUtilsCallerRaw) Call ¶
func (_RouteUtils *RouteUtilsCallerRaw) 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 RouteUtilsCallerSession ¶
type RouteUtilsCallerSession struct { Contract *RouteUtilsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RouteUtilsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type RouteUtilsFilterer ¶
type RouteUtilsFilterer struct {
// contains filtered or unexported fields
}
RouteUtilsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRouteUtilsFilterer ¶
func NewRouteUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*RouteUtilsFilterer, error)
NewRouteUtilsFilterer creates a new log filterer instance of RouteUtils, bound to a specific deployed contract.
type RouteUtilsRaw ¶
type RouteUtilsRaw struct {
Contract *RouteUtils // Generic contract binding to access the raw methods on
}
RouteUtilsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RouteUtilsRaw) Call ¶
func (_RouteUtils *RouteUtilsRaw) 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 (*RouteUtilsRaw) Transact ¶
func (_RouteUtils *RouteUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RouteUtilsRaw) Transfer ¶
func (_RouteUtils *RouteUtilsRaw) 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 RouteUtilsSession ¶
type RouteUtilsSession struct { Contract *RouteUtils // 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 }
RouteUtilsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type RouteUtilsTransactor ¶
type RouteUtilsTransactor struct {
// contains filtered or unexported fields
}
RouteUtilsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRouteUtilsTransactor ¶
func NewRouteUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*RouteUtilsTransactor, error)
NewRouteUtilsTransactor creates a new write-only instance of RouteUtils, bound to a specific deployed contract.
type RouteUtilsTransactorRaw ¶
type RouteUtilsTransactorRaw struct {
Contract *RouteUtilsTransactor // Generic write-only contract binding to access the raw methods on
}
RouteUtilsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RouteUtilsTransactorRaw) Transact ¶
func (_RouteUtils *RouteUtilsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RouteUtilsTransactorRaw) Transfer ¶
func (_RouteUtils *RouteUtilsTransactorRaw) 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 RouteUtilsTransactorSession ¶
type RouteUtilsTransactorSession struct { Contract *RouteUtilsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RouteUtilsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type SafeERC20 ¶
type SafeERC20 struct { SafeERC20Caller // Read-only binding to the contract SafeERC20Transactor // Write-only binding to the contract SafeERC20Filterer // Log filterer for contract events }
SafeERC20 is an auto generated Go binding around an Ethereum contract.
func DeploySafeERC20 ¶
func DeploySafeERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeERC20, error)
DeploySafeERC20 deploys a new Ethereum contract, binding an instance of SafeERC20 to it.
func NewSafeERC20 ¶
NewSafeERC20 creates a new instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20Caller ¶
type SafeERC20Caller struct {
// contains filtered or unexported fields
}
SafeERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeERC20Caller ¶
func NewSafeERC20Caller(address common.Address, caller bind.ContractCaller) (*SafeERC20Caller, error)
NewSafeERC20Caller creates a new read-only instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20CallerRaw ¶
type SafeERC20CallerRaw struct {
Contract *SafeERC20Caller // Generic read-only contract binding to access the raw methods on
}
SafeERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeERC20CallerRaw) Call ¶
func (_SafeERC20 *SafeERC20CallerRaw) 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 SafeERC20CallerSession ¶
type SafeERC20CallerSession struct { Contract *SafeERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeERC20Filterer ¶
type SafeERC20Filterer struct {
// contains filtered or unexported fields
}
SafeERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeERC20Filterer ¶
func NewSafeERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*SafeERC20Filterer, error)
NewSafeERC20Filterer creates a new log filterer instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20Raw ¶
type SafeERC20Raw struct {
Contract *SafeERC20 // Generic contract binding to access the raw methods on
}
SafeERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeERC20Raw) Call ¶
func (_SafeERC20 *SafeERC20Raw) 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 (*SafeERC20Raw) Transact ¶
func (_SafeERC20 *SafeERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeERC20Raw) Transfer ¶
func (_SafeERC20 *SafeERC20Raw) 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 SafeERC20Session ¶
type SafeERC20Session struct { Contract *SafeERC20 // 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 }
SafeERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeERC20Transactor ¶
type SafeERC20Transactor struct {
// contains filtered or unexported fields
}
SafeERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeERC20Transactor ¶
func NewSafeERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*SafeERC20Transactor, error)
NewSafeERC20Transactor creates a new write-only instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20TransactorRaw ¶
type SafeERC20TransactorRaw struct {
Contract *SafeERC20Transactor // Generic write-only contract binding to access the raw methods on
}
SafeERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeERC20TransactorRaw) Transact ¶
func (_SafeERC20 *SafeERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeERC20TransactorRaw) Transfer ¶
func (_SafeERC20 *SafeERC20TransactorRaw) 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 SafeERC20TransactorSession ¶
type SafeERC20TransactorSession struct { Contract *SafeERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeERC20TransactorSession 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.
type Withdraw ¶
type Withdraw struct { WithdrawCaller // Read-only binding to the contract WithdrawTransactor // Write-only binding to the contract WithdrawFilterer // Log filterer for contract events }
Withdraw is an auto generated Go binding around an Ethereum contract.
func DeployWithdraw ¶
func DeployWithdraw(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Withdraw, error)
DeployWithdraw deploys a new Ethereum contract, binding an instance of Withdraw to it.
func NewWithdraw ¶
NewWithdraw creates a new instance of Withdraw, bound to a specific deployed contract.
type WithdrawCaller ¶
type WithdrawCaller struct {
// contains filtered or unexported fields
}
WithdrawCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewWithdrawCaller ¶
func NewWithdrawCaller(address common.Address, caller bind.ContractCaller) (*WithdrawCaller, error)
NewWithdrawCaller creates a new read-only instance of Withdraw, bound to a specific deployed contract.
type WithdrawCallerRaw ¶
type WithdrawCallerRaw struct {
Contract *WithdrawCaller // Generic read-only contract binding to access the raw methods on
}
WithdrawCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*WithdrawCallerRaw) Call ¶
func (_Withdraw *WithdrawCallerRaw) 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 WithdrawCallerSession ¶
type WithdrawCallerSession struct { Contract *WithdrawCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
WithdrawCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type WithdrawFilterer ¶
type WithdrawFilterer struct {
// contains filtered or unexported fields
}
WithdrawFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewWithdrawFilterer ¶
func NewWithdrawFilterer(address common.Address, filterer bind.ContractFilterer) (*WithdrawFilterer, error)
NewWithdrawFilterer creates a new log filterer instance of Withdraw, bound to a specific deployed contract.
func (*WithdrawFilterer) FilterOwnershipTransferred ¶
func (_Withdraw *WithdrawFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WithdrawOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*WithdrawFilterer) FilterWithdrawal ¶
func (_Withdraw *WithdrawFilterer) FilterWithdrawal(opts *bind.FilterOpts, sender []common.Address) (*WithdrawWithdrawalIterator, error)
FilterWithdrawal is a free log retrieval operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed sender, uint256 amount)
func (*WithdrawFilterer) ParseOwnershipTransferred ¶
func (_Withdraw *WithdrawFilterer) ParseOwnershipTransferred(log types.Log) (*WithdrawOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*WithdrawFilterer) ParseWithdrawal ¶
func (_Withdraw *WithdrawFilterer) ParseWithdrawal(log types.Log) (*WithdrawWithdrawal, error)
ParseWithdrawal is a log parse operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed sender, uint256 amount)
func (*WithdrawFilterer) WatchOwnershipTransferred ¶
func (_Withdraw *WithdrawFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WithdrawOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*WithdrawFilterer) WatchWithdrawal ¶
func (_Withdraw *WithdrawFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *WithdrawWithdrawal, sender []common.Address) (event.Subscription, error)
WatchWithdrawal is a free log subscription operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed sender, uint256 amount)
type WithdrawOwnershipTransferred ¶
type WithdrawOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
WithdrawOwnershipTransferred represents a OwnershipTransferred event raised by the Withdraw contract.
type WithdrawOwnershipTransferredIterator ¶
type WithdrawOwnershipTransferredIterator struct { Event *WithdrawOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WithdrawOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Withdraw contract.
func (*WithdrawOwnershipTransferredIterator) Close ¶
func (it *WithdrawOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WithdrawOwnershipTransferredIterator) Error ¶
func (it *WithdrawOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WithdrawOwnershipTransferredIterator) Next ¶
func (it *WithdrawOwnershipTransferredIterator) 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 WithdrawRaw ¶
type WithdrawRaw struct {
Contract *Withdraw // Generic contract binding to access the raw methods on
}
WithdrawRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*WithdrawRaw) Call ¶
func (_Withdraw *WithdrawRaw) 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 (*WithdrawRaw) Transact ¶
func (_Withdraw *WithdrawRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WithdrawRaw) Transfer ¶
func (_Withdraw *WithdrawRaw) 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 WithdrawSession ¶
type WithdrawSession struct { Contract *Withdraw // 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 }
WithdrawSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*WithdrawSession) Owner ¶
func (_Withdraw *WithdrawSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*WithdrawSession) RenounceOwnership ¶
func (_Withdraw *WithdrawSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WithdrawSession) TransferOwnership ¶
func (_Withdraw *WithdrawSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*WithdrawSession) WithdrawToken ¶
func (_Withdraw *WithdrawSession) WithdrawToken(token common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.
Solidity: function withdrawToken(address token, address _to, uint256 _value) returns()
type WithdrawTransactor ¶
type WithdrawTransactor struct {
// contains filtered or unexported fields
}
WithdrawTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewWithdrawTransactor ¶
func NewWithdrawTransactor(address common.Address, transactor bind.ContractTransactor) (*WithdrawTransactor, error)
NewWithdrawTransactor creates a new write-only instance of Withdraw, bound to a specific deployed contract.
func (*WithdrawTransactor) RenounceOwnership ¶
func (_Withdraw *WithdrawTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WithdrawTransactor) TransferOwnership ¶
func (_Withdraw *WithdrawTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*WithdrawTransactor) WithdrawToken ¶
func (_Withdraw *WithdrawTransactor) WithdrawToken(opts *bind.TransactOpts, token common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.
Solidity: function withdrawToken(address token, address _to, uint256 _value) returns()
type WithdrawTransactorRaw ¶
type WithdrawTransactorRaw struct {
Contract *WithdrawTransactor // Generic write-only contract binding to access the raw methods on
}
WithdrawTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*WithdrawTransactorRaw) Transact ¶
func (_Withdraw *WithdrawTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WithdrawTransactorRaw) Transfer ¶
func (_Withdraw *WithdrawTransactorRaw) 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 WithdrawTransactorSession ¶
type WithdrawTransactorSession struct { Contract *WithdrawTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WithdrawTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*WithdrawTransactorSession) RenounceOwnership ¶
func (_Withdraw *WithdrawTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WithdrawTransactorSession) TransferOwnership ¶
func (_Withdraw *WithdrawTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*WithdrawTransactorSession) WithdrawToken ¶
func (_Withdraw *WithdrawTransactorSession) WithdrawToken(token common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.
Solidity: function withdrawToken(address token, address _to, uint256 _value) returns()
type WithdrawWithdrawal ¶
type WithdrawWithdrawal struct { Sender common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
WithdrawWithdrawal represents a Withdrawal event raised by the Withdraw contract.
type WithdrawWithdrawalIterator ¶
type WithdrawWithdrawalIterator struct { Event *WithdrawWithdrawal // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WithdrawWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the Withdraw contract.
func (*WithdrawWithdrawalIterator) Close ¶
func (it *WithdrawWithdrawalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WithdrawWithdrawalIterator) Error ¶
func (it *WithdrawWithdrawalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WithdrawWithdrawalIterator) Next ¶
func (it *WithdrawWithdrawalIterator) 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.