univ2_swapper

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Univ2SwapperABI = Univ2SwapperMetaData.ABI

Univ2SwapperABI is the input ABI used to generate the binding from. Deprecated: Use Univ2SwapperMetaData.ABI instead.

View Source
var Univ2SwapperMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"t1_\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"t2_\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"uniV2Router_\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"BIG_NUMBER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"swap\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"t1\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"t2\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"uniV2Router\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"}]",
}

Univ2SwapperMetaData contains all meta data concerning the Univ2Swapper contract.

Functions

This section is empty.

Types

type Univ2Swapper

type Univ2Swapper struct {
	Univ2SwapperCaller     // Read-only binding to the contract
	Univ2SwapperTransactor // Write-only binding to the contract
	Univ2SwapperFilterer   // Log filterer for contract events
}

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

func NewUniv2Swapper

func NewUniv2Swapper(address common.Address, backend bind.ContractBackend) (*Univ2Swapper, error)

NewUniv2Swapper creates a new instance of Univ2Swapper, bound to a specific deployed contract.

type Univ2SwapperCaller

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

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

func NewUniv2SwapperCaller

func NewUniv2SwapperCaller(address common.Address, caller bind.ContractCaller) (*Univ2SwapperCaller, error)

NewUniv2SwapperCaller creates a new read-only instance of Univ2Swapper, bound to a specific deployed contract.

func (*Univ2SwapperCaller) BIGNUMBER

func (_Univ2Swapper *Univ2SwapperCaller) BIGNUMBER(opts *bind.CallOpts) (*big.Int, error)

BIGNUMBER is a free data retrieval call binding the contract method 0x2f4fda30.

Solidity: function BIG_NUMBER() view returns(uint256)

func (*Univ2SwapperCaller) T1

func (_Univ2Swapper *Univ2SwapperCaller) T1(opts *bind.CallOpts) (common.Address, error)

T1 is a free data retrieval call binding the contract method 0xfb5343f3.

Solidity: function t1() view returns(address)

func (*Univ2SwapperCaller) T2

func (_Univ2Swapper *Univ2SwapperCaller) T2(opts *bind.CallOpts) (common.Address, error)

T2 is a free data retrieval call binding the contract method 0xbaf2f868.

Solidity: function t2() view returns(address)

func (*Univ2SwapperCaller) UniV2Router

func (_Univ2Swapper *Univ2SwapperCaller) UniV2Router(opts *bind.CallOpts) (common.Address, error)

UniV2Router is a free data retrieval call binding the contract method 0x958c2e52.

Solidity: function uniV2Router() view returns(address)

type Univ2SwapperCallerRaw

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

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

func (*Univ2SwapperCallerRaw) Call

func (_Univ2Swapper *Univ2SwapperCallerRaw) 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 Univ2SwapperCallerSession

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

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

func (*Univ2SwapperCallerSession) BIGNUMBER

func (_Univ2Swapper *Univ2SwapperCallerSession) BIGNUMBER() (*big.Int, error)

BIGNUMBER is a free data retrieval call binding the contract method 0x2f4fda30.

Solidity: function BIG_NUMBER() view returns(uint256)

func (*Univ2SwapperCallerSession) T1

func (_Univ2Swapper *Univ2SwapperCallerSession) T1() (common.Address, error)

T1 is a free data retrieval call binding the contract method 0xfb5343f3.

Solidity: function t1() view returns(address)

func (*Univ2SwapperCallerSession) T2

func (_Univ2Swapper *Univ2SwapperCallerSession) T2() (common.Address, error)

T2 is a free data retrieval call binding the contract method 0xbaf2f868.

Solidity: function t2() view returns(address)

func (*Univ2SwapperCallerSession) UniV2Router

func (_Univ2Swapper *Univ2SwapperCallerSession) UniV2Router() (common.Address, error)

UniV2Router is a free data retrieval call binding the contract method 0x958c2e52.

Solidity: function uniV2Router() view returns(address)

type Univ2SwapperFilterer

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

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

func NewUniv2SwapperFilterer

func NewUniv2SwapperFilterer(address common.Address, filterer bind.ContractFilterer) (*Univ2SwapperFilterer, error)

NewUniv2SwapperFilterer creates a new log filterer instance of Univ2Swapper, bound to a specific deployed contract.

type Univ2SwapperRaw

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

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

func (*Univ2SwapperRaw) Call

func (_Univ2Swapper *Univ2SwapperRaw) 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 (*Univ2SwapperRaw) Transact

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

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

func (*Univ2SwapperRaw) Transfer

func (_Univ2Swapper *Univ2SwapperRaw) 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 Univ2SwapperSession

type Univ2SwapperSession struct {
	Contract     *Univ2Swapper     // 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
}

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

func (*Univ2SwapperSession) BIGNUMBER

func (_Univ2Swapper *Univ2SwapperSession) BIGNUMBER() (*big.Int, error)

BIGNUMBER is a free data retrieval call binding the contract method 0x2f4fda30.

Solidity: function BIG_NUMBER() view returns(uint256)

func (*Univ2SwapperSession) Swap

func (_Univ2Swapper *Univ2SwapperSession) Swap() (*types.Transaction, error)

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

Solidity: function swap() returns()

func (*Univ2SwapperSession) T1

func (_Univ2Swapper *Univ2SwapperSession) T1() (common.Address, error)

T1 is a free data retrieval call binding the contract method 0xfb5343f3.

Solidity: function t1() view returns(address)

func (*Univ2SwapperSession) T2

func (_Univ2Swapper *Univ2SwapperSession) T2() (common.Address, error)

T2 is a free data retrieval call binding the contract method 0xbaf2f868.

Solidity: function t2() view returns(address)

func (*Univ2SwapperSession) UniV2Router

func (_Univ2Swapper *Univ2SwapperSession) UniV2Router() (common.Address, error)

UniV2Router is a free data retrieval call binding the contract method 0x958c2e52.

Solidity: function uniV2Router() view returns(address)

type Univ2SwapperTransactor

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

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

func NewUniv2SwapperTransactor

func NewUniv2SwapperTransactor(address common.Address, transactor bind.ContractTransactor) (*Univ2SwapperTransactor, error)

NewUniv2SwapperTransactor creates a new write-only instance of Univ2Swapper, bound to a specific deployed contract.

func (*Univ2SwapperTransactor) Swap

func (_Univ2Swapper *Univ2SwapperTransactor) Swap(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function swap() returns()

type Univ2SwapperTransactorRaw

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

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

func (*Univ2SwapperTransactorRaw) Transact

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

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

func (*Univ2SwapperTransactorRaw) Transfer

func (_Univ2Swapper *Univ2SwapperTransactorRaw) 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 Univ2SwapperTransactorSession

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

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

func (*Univ2SwapperTransactorSession) Swap

func (_Univ2Swapper *Univ2SwapperTransactorSession) Swap() (*types.Transaction, error)

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

Solidity: function swap() returns()

Jump to

Keyboard shortcuts

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