IUniswapV2Migrator

package
v0.0.0-...-f5b3080 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IUniswapV2MigratorABI = IUniswapV2MigratorMetaData.ABI

IUniswapV2MigratorABI is the input ABI used to generate the binding from. Deprecated: Use IUniswapV2MigratorMetaData.ABI instead.

View Source
var IUniswapV2MigratorMetaData = &bind.MetaData{
	ABI: "[{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"migrate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IUniswapV2MigratorMetaData contains all meta data concerning the IUniswapV2Migrator contract.

Functions

This section is empty.

Types

type IUniswapV2Migrator

type IUniswapV2Migrator struct {
	IUniswapV2MigratorCaller     // Read-only binding to the contract
	IUniswapV2MigratorTransactor // Write-only binding to the contract
	IUniswapV2MigratorFilterer   // Log filterer for contract events
}

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

func NewIUniswapV2Migrator

func NewIUniswapV2Migrator(address common.Address, backend bind.ContractBackend) (*IUniswapV2Migrator, error)

NewIUniswapV2Migrator creates a new instance of IUniswapV2Migrator, bound to a specific deployed contract.

type IUniswapV2MigratorCaller

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

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

func NewIUniswapV2MigratorCaller

func NewIUniswapV2MigratorCaller(address common.Address, caller bind.ContractCaller) (*IUniswapV2MigratorCaller, error)

NewIUniswapV2MigratorCaller creates a new read-only instance of IUniswapV2Migrator, bound to a specific deployed contract.

type IUniswapV2MigratorCallerRaw

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

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

func (*IUniswapV2MigratorCallerRaw) Call

func (_IUniswapV2Migrator *IUniswapV2MigratorCallerRaw) 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 IUniswapV2MigratorCallerSession

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

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

type IUniswapV2MigratorFilterer

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

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

func NewIUniswapV2MigratorFilterer

func NewIUniswapV2MigratorFilterer(address common.Address, filterer bind.ContractFilterer) (*IUniswapV2MigratorFilterer, error)

NewIUniswapV2MigratorFilterer creates a new log filterer instance of IUniswapV2Migrator, bound to a specific deployed contract.

type IUniswapV2MigratorRaw

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

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

func (*IUniswapV2MigratorRaw) Call

func (_IUniswapV2Migrator *IUniswapV2MigratorRaw) 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 (*IUniswapV2MigratorRaw) Transact

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

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

func (*IUniswapV2MigratorRaw) Transfer

func (_IUniswapV2Migrator *IUniswapV2MigratorRaw) 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 IUniswapV2MigratorSession

type IUniswapV2MigratorSession struct {
	Contract     *IUniswapV2Migrator // 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
}

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

func (*IUniswapV2MigratorSession) Migrate

func (_IUniswapV2Migrator *IUniswapV2MigratorSession) Migrate(token common.Address, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0xb7df1d25.

Solidity: function migrate(address token, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns()

type IUniswapV2MigratorTransactor

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

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

func NewIUniswapV2MigratorTransactor

func NewIUniswapV2MigratorTransactor(address common.Address, transactor bind.ContractTransactor) (*IUniswapV2MigratorTransactor, error)

NewIUniswapV2MigratorTransactor creates a new write-only instance of IUniswapV2Migrator, bound to a specific deployed contract.

func (*IUniswapV2MigratorTransactor) Migrate

func (_IUniswapV2Migrator *IUniswapV2MigratorTransactor) Migrate(opts *bind.TransactOpts, token common.Address, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0xb7df1d25.

Solidity: function migrate(address token, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns()

type IUniswapV2MigratorTransactorRaw

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

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

func (*IUniswapV2MigratorTransactorRaw) Transact

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

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

func (*IUniswapV2MigratorTransactorRaw) Transfer

func (_IUniswapV2Migrator *IUniswapV2MigratorTransactorRaw) 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 IUniswapV2MigratorTransactorSession

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

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

func (*IUniswapV2MigratorTransactorSession) Migrate

func (_IUniswapV2Migrator *IUniswapV2MigratorTransactorSession) Migrate(token common.Address, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0xb7df1d25.

Solidity: function migrate(address token, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns()

Jump to

Keyboard shortcuts

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