Versions in this module Expand all Collapse all v0 v0.0.1 Dec 3, 2021 Changes in this version + const SwapperABI + type Swapper struct + func NewSwapper(address common.Address, backend bind.ContractBackend) (*Swapper, error) + type SwapperCaller struct + func NewSwapperCaller(address common.Address, caller bind.ContractCaller) (*SwapperCaller, error) + type SwapperCallerRaw struct + Contract *SwapperCaller + func (_Swapper *SwapperCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type SwapperCallerSession struct + CallOpts bind.CallOpts + Contract *SwapperCaller + type SwapperFilterer struct + func NewSwapperFilterer(address common.Address, filterer bind.ContractFilterer) (*SwapperFilterer, error) + type SwapperRaw struct + Contract *Swapper + func (_Swapper *SwapperRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_Swapper *SwapperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Swapper *SwapperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type SwapperSession struct + CallOpts bind.CallOpts + Contract *Swapper + TransactOpts bind.TransactOpts + func (_Swapper *SwapperSession) Fallback(calldata []byte) (*types.Transaction, error) + func (_Swapper *SwapperSession) PostProcess() (*types.Transaction, error) + func (_Swapper *SwapperSession) StartSwap(_tokenBorrow common.Address, _amount *big.Int, _tokenPay common.Address, ...) (*types.Transaction, error) + func (_Swapper *SwapperSession) UniswapV2Call(_sender common.Address, _amount0 *big.Int, _amount1 *big.Int, _data []byte) (*types.Transaction, error) + type SwapperTransactor struct + func NewSwapperTransactor(address common.Address, transactor bind.ContractTransactor) (*SwapperTransactor, error) + func (_Swapper *SwapperTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error) + func (_Swapper *SwapperTransactor) PostProcess(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Swapper *SwapperTransactor) StartSwap(opts *bind.TransactOpts, _tokenBorrow common.Address, _amount *big.Int, ...) (*types.Transaction, error) + func (_Swapper *SwapperTransactor) UniswapV2Call(opts *bind.TransactOpts, _sender common.Address, _amount0 *big.Int, ...) (*types.Transaction, error) + type SwapperTransactorRaw struct + Contract *SwapperTransactor + func (_Swapper *SwapperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Swapper *SwapperTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type SwapperTransactorSession struct + Contract *SwapperTransactor + TransactOpts bind.TransactOpts + func (_Swapper *SwapperTransactorSession) Fallback(calldata []byte) (*types.Transaction, error) + func (_Swapper *SwapperTransactorSession) PostProcess() (*types.Transaction, error) + func (_Swapper *SwapperTransactorSession) StartSwap(_tokenBorrow common.Address, _amount *big.Int, _tokenPay common.Address, ...) (*types.Transaction, error) + func (_Swapper *SwapperTransactorSession) UniswapV2Call(_sender common.Address, _amount0 *big.Int, _amount1 *big.Int, _data []byte) (*types.Transaction, error)