Documentation ¶
Index ¶
- Constants
- type Haave
- type HaaveCaller
- type HaaveCallerRaw
- type HaaveCallerSession
- type HaaveFilterer
- type HaaveRaw
- func (_Haave *HaaveRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Haave *HaaveRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Haave *HaaveRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HaaveSession
- func (_Haave *HaaveSession) Deposit(_reserve common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Haave *HaaveSession) ExecuteOperation(_reserve common.Address, _amount *big.Int, _fee *big.Int, _params []byte) (*types.Transaction, error)
- func (_Haave *HaaveSession) FlashLoan(_reserve common.Address, _amount *big.Int, _params []byte) (*types.Transaction, error)
- func (_Haave *HaaveSession) Redeem(_aToken common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Haave *HaaveSession) Tokens(arg0 *big.Int) (common.Address, error)
- type HaaveTransactor
- func (_Haave *HaaveTransactor) Deposit(opts *bind.TransactOpts, _reserve common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Haave *HaaveTransactor) ExecuteOperation(opts *bind.TransactOpts, _reserve common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_Haave *HaaveTransactor) FlashLoan(opts *bind.TransactOpts, _reserve common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_Haave *HaaveTransactor) Redeem(opts *bind.TransactOpts, _aToken common.Address, _amount *big.Int) (*types.Transaction, error)
- type HaaveTransactorRaw
- type HaaveTransactorSession
- func (_Haave *HaaveTransactorSession) Deposit(_reserve common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Haave *HaaveTransactorSession) ExecuteOperation(_reserve common.Address, _amount *big.Int, _fee *big.Int, _params []byte) (*types.Transaction, error)
- func (_Haave *HaaveTransactorSession) FlashLoan(_reserve common.Address, _amount *big.Int, _params []byte) (*types.Transaction, error)
- func (_Haave *HaaveTransactorSession) Redeem(_aToken common.Address, _amount *big.Int) (*types.Transaction, error)
Constants ¶
const HaaveABI = "" /* 1638-byte string literal not displayed */
HaaveABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Haave ¶
type Haave struct { HaaveCaller // Read-only binding to the contract HaaveTransactor // Write-only binding to the contract HaaveFilterer // Log filterer for contract events }
Haave is an auto generated Go binding around an Ethereum contract.
type HaaveCaller ¶
type HaaveCaller struct {
// contains filtered or unexported fields
}
HaaveCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHaaveCaller ¶
func NewHaaveCaller(address common.Address, caller bind.ContractCaller) (*HaaveCaller, error)
NewHaaveCaller creates a new read-only instance of Haave, bound to a specific deployed contract.
type HaaveCallerRaw ¶
type HaaveCallerRaw struct {
Contract *HaaveCaller // Generic read-only contract binding to access the raw methods on
}
HaaveCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HaaveCallerRaw) Call ¶
func (_Haave *HaaveCallerRaw) 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 HaaveCallerSession ¶
type HaaveCallerSession struct { Contract *HaaveCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HaaveCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type HaaveFilterer ¶
type HaaveFilterer struct {
// contains filtered or unexported fields
}
HaaveFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHaaveFilterer ¶
func NewHaaveFilterer(address common.Address, filterer bind.ContractFilterer) (*HaaveFilterer, error)
NewHaaveFilterer creates a new log filterer instance of Haave, bound to a specific deployed contract.
type HaaveRaw ¶
type HaaveRaw struct {
Contract *Haave // Generic contract binding to access the raw methods on
}
HaaveRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HaaveRaw) Call ¶
func (_Haave *HaaveRaw) 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 (*HaaveRaw) Transact ¶
func (_Haave *HaaveRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HaaveRaw) Transfer ¶
func (_Haave *HaaveRaw) 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 HaaveSession ¶
type HaaveSession struct { Contract *Haave // 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 }
HaaveSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HaaveSession) Deposit ¶
func (_Haave *HaaveSession) Deposit(_reserve common.Address, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address _reserve, uint256 _amount) payable returns()
func (*HaaveSession) ExecuteOperation ¶
func (_Haave *HaaveSession) ExecuteOperation(_reserve common.Address, _amount *big.Int, _fee *big.Int, _params []byte) (*types.Transaction, error)
ExecuteOperation is a paid mutator transaction binding the contract method 0xee872558.
Solidity: function executeOperation(address _reserve, uint256 _amount, uint256 _fee, bytes _params) payable returns()
func (*HaaveSession) FlashLoan ¶
func (_Haave *HaaveSession) FlashLoan(_reserve common.Address, _amount *big.Int, _params []byte) (*types.Transaction, error)
FlashLoan is a paid mutator transaction binding the contract method 0xe0232b42.
Solidity: function flashLoan(address _reserve, uint256 _amount, bytes _params) payable returns()
func (*HaaveSession) Redeem ¶
func (_Haave *HaaveSession) Redeem(_aToken common.Address, _amount *big.Int) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0x1e9a6950.
Solidity: function redeem(address _aToken, uint256 _amount) payable returns()
type HaaveTransactor ¶
type HaaveTransactor struct {
// contains filtered or unexported fields
}
HaaveTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHaaveTransactor ¶
func NewHaaveTransactor(address common.Address, transactor bind.ContractTransactor) (*HaaveTransactor, error)
NewHaaveTransactor creates a new write-only instance of Haave, bound to a specific deployed contract.
func (*HaaveTransactor) Deposit ¶
func (_Haave *HaaveTransactor) Deposit(opts *bind.TransactOpts, _reserve common.Address, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address _reserve, uint256 _amount) payable returns()
func (*HaaveTransactor) ExecuteOperation ¶
func (_Haave *HaaveTransactor) ExecuteOperation(opts *bind.TransactOpts, _reserve common.Address, _amount *big.Int, _fee *big.Int, _params []byte) (*types.Transaction, error)
ExecuteOperation is a paid mutator transaction binding the contract method 0xee872558.
Solidity: function executeOperation(address _reserve, uint256 _amount, uint256 _fee, bytes _params) payable returns()
func (*HaaveTransactor) FlashLoan ¶
func (_Haave *HaaveTransactor) FlashLoan(opts *bind.TransactOpts, _reserve common.Address, _amount *big.Int, _params []byte) (*types.Transaction, error)
FlashLoan is a paid mutator transaction binding the contract method 0xe0232b42.
Solidity: function flashLoan(address _reserve, uint256 _amount, bytes _params) payable returns()
func (*HaaveTransactor) Redeem ¶
func (_Haave *HaaveTransactor) Redeem(opts *bind.TransactOpts, _aToken common.Address, _amount *big.Int) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0x1e9a6950.
Solidity: function redeem(address _aToken, uint256 _amount) payable returns()
type HaaveTransactorRaw ¶
type HaaveTransactorRaw struct {
Contract *HaaveTransactor // Generic write-only contract binding to access the raw methods on
}
HaaveTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HaaveTransactorRaw) Transact ¶
func (_Haave *HaaveTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HaaveTransactorRaw) Transfer ¶
func (_Haave *HaaveTransactorRaw) 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 HaaveTransactorSession ¶
type HaaveTransactorSession struct { Contract *HaaveTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HaaveTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HaaveTransactorSession) Deposit ¶
func (_Haave *HaaveTransactorSession) Deposit(_reserve common.Address, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address _reserve, uint256 _amount) payable returns()
func (*HaaveTransactorSession) ExecuteOperation ¶
func (_Haave *HaaveTransactorSession) ExecuteOperation(_reserve common.Address, _amount *big.Int, _fee *big.Int, _params []byte) (*types.Transaction, error)
ExecuteOperation is a paid mutator transaction binding the contract method 0xee872558.
Solidity: function executeOperation(address _reserve, uint256 _amount, uint256 _fee, bytes _params) payable returns()
func (*HaaveTransactorSession) FlashLoan ¶
func (_Haave *HaaveTransactorSession) FlashLoan(_reserve common.Address, _amount *big.Int, _params []byte) (*types.Transaction, error)
FlashLoan is a paid mutator transaction binding the contract method 0xe0232b42.
Solidity: function flashLoan(address _reserve, uint256 _amount, bytes _params) payable returns()
func (*HaaveTransactorSession) Redeem ¶
func (_Haave *HaaveTransactorSession) Redeem(_aToken common.Address, _amount *big.Int) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0x1e9a6950.
Solidity: function redeem(address _aToken, uint256 _amount) payable returns()