hctoken

package
v0.0.0-...-829fea1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const HctokenABI = "" /* 1397-byte string literal not displayed */

HctokenABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hctoken

type Hctoken struct {
	HctokenCaller     // Read-only binding to the contract
	HctokenTransactor // Write-only binding to the contract
	HctokenFilterer   // Log filterer for contract events
}

Hctoken is an auto generated Go binding around an Ethereum contract.

func NewHctoken

func NewHctoken(address common.Address, backend bind.ContractBackend) (*Hctoken, error)

NewHctoken creates a new instance of Hctoken, bound to a specific deployed contract.

type HctokenCaller

type HctokenCaller struct {
	// contains filtered or unexported fields
}

HctokenCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewHctokenCaller

func NewHctokenCaller(address common.Address, caller bind.ContractCaller) (*HctokenCaller, error)

NewHctokenCaller creates a new read-only instance of Hctoken, bound to a specific deployed contract.

type HctokenCallerRaw

type HctokenCallerRaw struct {
	Contract *HctokenCaller // Generic read-only contract binding to access the raw methods on
}

HctokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*HctokenCallerRaw) Call

func (_Hctoken *HctokenCallerRaw) 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 HctokenCallerSession

type HctokenCallerSession struct {
	Contract *HctokenCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

HctokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type HctokenFilterer

type HctokenFilterer struct {
	// contains filtered or unexported fields
}

HctokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewHctokenFilterer

func NewHctokenFilterer(address common.Address, filterer bind.ContractFilterer) (*HctokenFilterer, error)

NewHctokenFilterer creates a new log filterer instance of Hctoken, bound to a specific deployed contract.

type HctokenRaw

type HctokenRaw struct {
	Contract *Hctoken // Generic contract binding to access the raw methods on
}

HctokenRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*HctokenRaw) Call

func (_Hctoken *HctokenRaw) 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 (*HctokenRaw) Transact

func (_Hctoken *HctokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*HctokenRaw) Transfer

func (_Hctoken *HctokenRaw) 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 HctokenSession

type HctokenSession struct {
	Contract     *Hctoken          // 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
}

HctokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*HctokenSession) Mint

func (_Hctoken *HctokenSession) Mint(cToken common.Address, mintAmount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address cToken, uint256 mintAmount) payable returns()

func (*HctokenSession) PostProcess

func (_Hctoken *HctokenSession) PostProcess() (*types.Transaction, error)

PostProcess is a paid mutator transaction binding the contract method 0xc2722916.

Solidity: function postProcess() payable returns()

func (*HctokenSession) Redeem

func (_Hctoken *HctokenSession) Redeem(cToken common.Address, redeemTokens *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x1e9a6950.

Solidity: function redeem(address cToken, uint256 redeemTokens) payable returns()

func (*HctokenSession) RedeemUnderlying

func (_Hctoken *HctokenSession) RedeemUnderlying(cToken common.Address, redeemAmount *big.Int) (*types.Transaction, error)

RedeemUnderlying is a paid mutator transaction binding the contract method 0x96294178.

Solidity: function redeemUnderlying(address cToken, uint256 redeemAmount) payable returns()

func (*HctokenSession) RepayBorrowBehalf

func (_Hctoken *HctokenSession) RepayBorrowBehalf(cToken common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowBehalf is a paid mutator transaction binding the contract method 0x59086a5e.

Solidity: function repayBorrowBehalf(address cToken, address borrower, uint256 repayAmount) payable returns()

type HctokenTransactor

type HctokenTransactor struct {
	// contains filtered or unexported fields
}

HctokenTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewHctokenTransactor

func NewHctokenTransactor(address common.Address, transactor bind.ContractTransactor) (*HctokenTransactor, error)

NewHctokenTransactor creates a new write-only instance of Hctoken, bound to a specific deployed contract.

func (*HctokenTransactor) Mint

func (_Hctoken *HctokenTransactor) Mint(opts *bind.TransactOpts, cToken common.Address, mintAmount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address cToken, uint256 mintAmount) payable returns()

func (*HctokenTransactor) PostProcess

func (_Hctoken *HctokenTransactor) PostProcess(opts *bind.TransactOpts) (*types.Transaction, error)

PostProcess is a paid mutator transaction binding the contract method 0xc2722916.

Solidity: function postProcess() payable returns()

func (*HctokenTransactor) Redeem

func (_Hctoken *HctokenTransactor) Redeem(opts *bind.TransactOpts, cToken common.Address, redeemTokens *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x1e9a6950.

Solidity: function redeem(address cToken, uint256 redeemTokens) payable returns()

func (*HctokenTransactor) RedeemUnderlying

func (_Hctoken *HctokenTransactor) RedeemUnderlying(opts *bind.TransactOpts, cToken common.Address, redeemAmount *big.Int) (*types.Transaction, error)

RedeemUnderlying is a paid mutator transaction binding the contract method 0x96294178.

Solidity: function redeemUnderlying(address cToken, uint256 redeemAmount) payable returns()

func (*HctokenTransactor) RepayBorrowBehalf

func (_Hctoken *HctokenTransactor) RepayBorrowBehalf(opts *bind.TransactOpts, cToken common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowBehalf is a paid mutator transaction binding the contract method 0x59086a5e.

Solidity: function repayBorrowBehalf(address cToken, address borrower, uint256 repayAmount) payable returns()

type HctokenTransactorRaw

type HctokenTransactorRaw struct {
	Contract *HctokenTransactor // Generic write-only contract binding to access the raw methods on
}

HctokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*HctokenTransactorRaw) Transact

func (_Hctoken *HctokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*HctokenTransactorRaw) Transfer

func (_Hctoken *HctokenTransactorRaw) 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 HctokenTransactorSession

type HctokenTransactorSession struct {
	Contract     *HctokenTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

HctokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*HctokenTransactorSession) Mint

func (_Hctoken *HctokenTransactorSession) Mint(cToken common.Address, mintAmount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address cToken, uint256 mintAmount) payable returns()

func (*HctokenTransactorSession) PostProcess

func (_Hctoken *HctokenTransactorSession) PostProcess() (*types.Transaction, error)

PostProcess is a paid mutator transaction binding the contract method 0xc2722916.

Solidity: function postProcess() payable returns()

func (*HctokenTransactorSession) Redeem

func (_Hctoken *HctokenTransactorSession) Redeem(cToken common.Address, redeemTokens *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x1e9a6950.

Solidity: function redeem(address cToken, uint256 redeemTokens) payable returns()

func (*HctokenTransactorSession) RedeemUnderlying

func (_Hctoken *HctokenTransactorSession) RedeemUnderlying(cToken common.Address, redeemAmount *big.Int) (*types.Transaction, error)

RedeemUnderlying is a paid mutator transaction binding the contract method 0x96294178.

Solidity: function redeemUnderlying(address cToken, uint256 redeemAmount) payable returns()

func (*HctokenTransactorSession) RepayBorrowBehalf

func (_Hctoken *HctokenTransactorSession) RepayBorrowBehalf(cToken common.Address, borrower common.Address, repayAmount *big.Int) (*types.Transaction, error)

RepayBorrowBehalf is a paid mutator transaction binding the contract method 0x59086a5e.

Solidity: function repayBorrowBehalf(address cToken, address borrower, uint256 repayAmount) payable returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL