hyearn

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 HyearnABI = "" /* 1293-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Hyearn

type Hyearn struct {
	HyearnCaller     // Read-only binding to the contract
	HyearnTransactor // Write-only binding to the contract
	HyearnFilterer   // Log filterer for contract events
}

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

func NewHyearn

func NewHyearn(address common.Address, backend bind.ContractBackend) (*Hyearn, error)

NewHyearn creates a new instance of Hyearn, bound to a specific deployed contract.

type HyearnCaller

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

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

func NewHyearnCaller

func NewHyearnCaller(address common.Address, caller bind.ContractCaller) (*HyearnCaller, error)

NewHyearnCaller creates a new read-only instance of Hyearn, bound to a specific deployed contract.

type HyearnCallerRaw

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

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

func (*HyearnCallerRaw) Call

func (_Hyearn *HyearnCallerRaw) 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 HyearnCallerSession

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

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

type HyearnFilterer

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

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

func NewHyearnFilterer

func NewHyearnFilterer(address common.Address, filterer bind.ContractFilterer) (*HyearnFilterer, error)

NewHyearnFilterer creates a new log filterer instance of Hyearn, bound to a specific deployed contract.

type HyearnRaw

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

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

func (*HyearnRaw) Call

func (_Hyearn *HyearnRaw) 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 (*HyearnRaw) Transact

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

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

func (*HyearnRaw) Transfer

func (_Hyearn *HyearnRaw) 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 HyearnSession

type HyearnSession struct {
	Contract     *Hyearn           // 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
}

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

func (*HyearnSession) Deposit

func (_Hyearn *HyearnSession) Deposit(vault common.Address, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address vault, uint256 _amount) payable returns()

func (*HyearnSession) DepositETH

func (_Hyearn *HyearnSession) DepositETH(value *big.Int, vault common.Address) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x56150edf.

Solidity: function depositETH(uint256 value, address vault) payable returns()

func (*HyearnSession) PostProcess

func (_Hyearn *HyearnSession) PostProcess() (*types.Transaction, error)

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

Solidity: function postProcess() payable returns()

func (*HyearnSession) Withdraw

func (_Hyearn *HyearnSession) Withdraw(vault common.Address, _shares *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address vault, uint256 _shares) payable returns()

func (*HyearnSession) WithdrawETH

func (_Hyearn *HyearnSession) WithdrawETH(vault common.Address, _shares *big.Int) (*types.Transaction, error)

WithdrawETH is a paid mutator transaction binding the contract method 0x4782f779.

Solidity: function withdrawETH(address vault, uint256 _shares) payable returns()

type HyearnTransactor

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

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

func NewHyearnTransactor

func NewHyearnTransactor(address common.Address, transactor bind.ContractTransactor) (*HyearnTransactor, error)

NewHyearnTransactor creates a new write-only instance of Hyearn, bound to a specific deployed contract.

func (*HyearnTransactor) Deposit

func (_Hyearn *HyearnTransactor) Deposit(opts *bind.TransactOpts, vault common.Address, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address vault, uint256 _amount) payable returns()

func (*HyearnTransactor) DepositETH

func (_Hyearn *HyearnTransactor) DepositETH(opts *bind.TransactOpts, value *big.Int, vault common.Address) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x56150edf.

Solidity: function depositETH(uint256 value, address vault) payable returns()

func (*HyearnTransactor) PostProcess

func (_Hyearn *HyearnTransactor) PostProcess(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function postProcess() payable returns()

func (*HyearnTransactor) Withdraw

func (_Hyearn *HyearnTransactor) Withdraw(opts *bind.TransactOpts, vault common.Address, _shares *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address vault, uint256 _shares) payable returns()

func (*HyearnTransactor) WithdrawETH

func (_Hyearn *HyearnTransactor) WithdrawETH(opts *bind.TransactOpts, vault common.Address, _shares *big.Int) (*types.Transaction, error)

WithdrawETH is a paid mutator transaction binding the contract method 0x4782f779.

Solidity: function withdrawETH(address vault, uint256 _shares) payable returns()

type HyearnTransactorRaw

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

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

func (*HyearnTransactorRaw) Transact

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

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

func (*HyearnTransactorRaw) Transfer

func (_Hyearn *HyearnTransactorRaw) 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 HyearnTransactorSession

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

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

func (*HyearnTransactorSession) Deposit

func (_Hyearn *HyearnTransactorSession) Deposit(vault common.Address, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address vault, uint256 _amount) payable returns()

func (*HyearnTransactorSession) DepositETH

func (_Hyearn *HyearnTransactorSession) DepositETH(value *big.Int, vault common.Address) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x56150edf.

Solidity: function depositETH(uint256 value, address vault) payable returns()

func (*HyearnTransactorSession) PostProcess

func (_Hyearn *HyearnTransactorSession) PostProcess() (*types.Transaction, error)

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

Solidity: function postProcess() payable returns()

func (*HyearnTransactorSession) Withdraw

func (_Hyearn *HyearnTransactorSession) Withdraw(vault common.Address, _shares *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address vault, uint256 _shares) payable returns()

func (*HyearnTransactorSession) WithdrawETH

func (_Hyearn *HyearnTransactorSession) WithdrawETH(vault common.Address, _shares *big.Int) (*types.Transaction, error)

WithdrawETH is a paid mutator transaction binding the contract method 0x4782f779.

Solidity: function withdrawETH(address vault, uint256 _shares) payable returns()

Jump to

Keyboard shortcuts

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