honeinch

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: 0

Documentation

Index

Constants

View Source
const HoneinchABI = "" /* 1998-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Honeinch

type Honeinch struct {
	HoneinchCaller     // Read-only binding to the contract
	HoneinchTransactor // Write-only binding to the contract
	HoneinchFilterer   // Log filterer for contract events
}

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

func NewHoneinch

func NewHoneinch(address common.Address, backend bind.ContractBackend) (*Honeinch, error)

NewHoneinch creates a new instance of Honeinch, bound to a specific deployed contract.

type HoneinchCaller

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

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

func NewHoneinchCaller

func NewHoneinchCaller(address common.Address, caller bind.ContractCaller) (*HoneinchCaller, error)

NewHoneinchCaller creates a new read-only instance of Honeinch, bound to a specific deployed contract.

func (*HoneinchCaller) ETHADDRESS

func (_Honeinch *HoneinchCaller) ETHADDRESS(opts *bind.CallOpts) (common.Address, error)

ETHADDRESS is a free data retrieval call binding the contract method 0xa734f06e.

Solidity: function ETH_ADDRESS() view returns(address)

func (*HoneinchCaller) ONEINCHPROXY

func (_Honeinch *HoneinchCaller) ONEINCHPROXY(opts *bind.CallOpts) (common.Address, error)

ONEINCHPROXY is a free data retrieval call binding the contract method 0x4add32fb.

Solidity: function ONEINCH_PROXY() view returns(address)

func (*HoneinchCaller) REFERRER

func (_Honeinch *HoneinchCaller) REFERRER(opts *bind.CallOpts) (common.Address, error)

REFERRER is a free data retrieval call binding the contract method 0xc0560374.

Solidity: function REFERRER() view returns(address)

func (*HoneinchCaller) TOKENSPENDER

func (_Honeinch *HoneinchCaller) TOKENSPENDER(opts *bind.CallOpts) (common.Address, error)

TOKENSPENDER is a free data retrieval call binding the contract method 0x1e485f11.

Solidity: function TOKEN_SPENDER() view returns(address)

type HoneinchCallerRaw

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

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

func (*HoneinchCallerRaw) Call

func (_Honeinch *HoneinchCallerRaw) 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 HoneinchCallerSession

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

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

func (*HoneinchCallerSession) ETHADDRESS

func (_Honeinch *HoneinchCallerSession) ETHADDRESS() (common.Address, error)

ETHADDRESS is a free data retrieval call binding the contract method 0xa734f06e.

Solidity: function ETH_ADDRESS() view returns(address)

func (*HoneinchCallerSession) ONEINCHPROXY

func (_Honeinch *HoneinchCallerSession) ONEINCHPROXY() (common.Address, error)

ONEINCHPROXY is a free data retrieval call binding the contract method 0x4add32fb.

Solidity: function ONEINCH_PROXY() view returns(address)

func (*HoneinchCallerSession) REFERRER

func (_Honeinch *HoneinchCallerSession) REFERRER() (common.Address, error)

REFERRER is a free data retrieval call binding the contract method 0xc0560374.

Solidity: function REFERRER() view returns(address)

func (*HoneinchCallerSession) TOKENSPENDER

func (_Honeinch *HoneinchCallerSession) TOKENSPENDER() (common.Address, error)

TOKENSPENDER is a free data retrieval call binding the contract method 0x1e485f11.

Solidity: function TOKEN_SPENDER() view returns(address)

type HoneinchFilterer

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

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

func NewHoneinchFilterer

func NewHoneinchFilterer(address common.Address, filterer bind.ContractFilterer) (*HoneinchFilterer, error)

NewHoneinchFilterer creates a new log filterer instance of Honeinch, bound to a specific deployed contract.

type HoneinchRaw

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

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

func (*HoneinchRaw) Call

func (_Honeinch *HoneinchRaw) 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 (*HoneinchRaw) Transact

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

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

func (*HoneinchRaw) Transfer

func (_Honeinch *HoneinchRaw) 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 HoneinchSession

type HoneinchSession struct {
	Contract     *Honeinch         // 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
}

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

func (*HoneinchSession) ETHADDRESS

func (_Honeinch *HoneinchSession) ETHADDRESS() (common.Address, error)

ETHADDRESS is a free data retrieval call binding the contract method 0xa734f06e.

Solidity: function ETH_ADDRESS() view returns(address)

func (*HoneinchSession) ONEINCHPROXY

func (_Honeinch *HoneinchSession) ONEINCHPROXY() (common.Address, error)

ONEINCHPROXY is a free data retrieval call binding the contract method 0x4add32fb.

Solidity: function ONEINCH_PROXY() view returns(address)

func (*HoneinchSession) PostProcess

func (_Honeinch *HoneinchSession) PostProcess() (*types.Transaction, error)

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

Solidity: function postProcess() payable returns()

func (*HoneinchSession) REFERRER

func (_Honeinch *HoneinchSession) REFERRER() (common.Address, error)

REFERRER is a free data retrieval call binding the contract method 0xc0560374.

Solidity: function REFERRER() view returns(address)

func (*HoneinchSession) Swap

func (_Honeinch *HoneinchSession) Swap(fromToken common.Address, toToken common.Address, fromTokenAmount *big.Int, minReturnAmount *big.Int, guaranteedAmount *big.Int, referrer common.Address, callAddresses []common.Address, callDataConcat []byte, starts []*big.Int, gasLimitsAndValues []*big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xf88309d7.

Solidity: function swap(address fromToken, address toToken, uint256 fromTokenAmount, uint256 minReturnAmount, uint256 guaranteedAmount, address referrer, address[] callAddresses, bytes callDataConcat, uint256[] starts, uint256[] gasLimitsAndValues) payable returns(uint256 returnAmount)

func (*HoneinchSession) TOKENSPENDER

func (_Honeinch *HoneinchSession) TOKENSPENDER() (common.Address, error)

TOKENSPENDER is a free data retrieval call binding the contract method 0x1e485f11.

Solidity: function TOKEN_SPENDER() view returns(address)

type HoneinchTransactor

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

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

func NewHoneinchTransactor

func NewHoneinchTransactor(address common.Address, transactor bind.ContractTransactor) (*HoneinchTransactor, error)

NewHoneinchTransactor creates a new write-only instance of Honeinch, bound to a specific deployed contract.

func (*HoneinchTransactor) PostProcess

func (_Honeinch *HoneinchTransactor) PostProcess(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function postProcess() payable returns()

func (*HoneinchTransactor) Swap

func (_Honeinch *HoneinchTransactor) Swap(opts *bind.TransactOpts, fromToken common.Address, toToken common.Address, fromTokenAmount *big.Int, minReturnAmount *big.Int, guaranteedAmount *big.Int, referrer common.Address, callAddresses []common.Address, callDataConcat []byte, starts []*big.Int, gasLimitsAndValues []*big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xf88309d7.

Solidity: function swap(address fromToken, address toToken, uint256 fromTokenAmount, uint256 minReturnAmount, uint256 guaranteedAmount, address referrer, address[] callAddresses, bytes callDataConcat, uint256[] starts, uint256[] gasLimitsAndValues) payable returns(uint256 returnAmount)

type HoneinchTransactorRaw

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

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

func (*HoneinchTransactorRaw) Transact

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

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

func (*HoneinchTransactorRaw) Transfer

func (_Honeinch *HoneinchTransactorRaw) 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 HoneinchTransactorSession

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

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

func (*HoneinchTransactorSession) PostProcess

func (_Honeinch *HoneinchTransactorSession) PostProcess() (*types.Transaction, error)

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

Solidity: function postProcess() payable returns()

func (*HoneinchTransactorSession) Swap

func (_Honeinch *HoneinchTransactorSession) Swap(fromToken common.Address, toToken common.Address, fromTokenAmount *big.Int, minReturnAmount *big.Int, guaranteedAmount *big.Int, referrer common.Address, callAddresses []common.Address, callDataConcat []byte, starts []*big.Int, gasLimitsAndValues []*big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xf88309d7.

Solidity: function swap(address fromToken, address toToken, uint256 fromTokenAmount, uint256 minReturnAmount, uint256 guaranteedAmount, address referrer, address[] callAddresses, bytes callDataConcat, uint256[] starts, uint256[] gasLimitsAndValues) payable returns(uint256 returnAmount)

Jump to

Keyboard shortcuts

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