uniswapnetwork

package
v1.18.0-RC2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UniswapABI = UniswapMetaData.ABI

UniswapABI is the input ABI used to generate the binding from. Deprecated: Use UniswapMetaData.ABI instead.

View Source
var UniswapMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"msg\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"v\",\"type\":\"uint256\"}],\"name\":\"DebugMsg\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"zcnAmount\",\"type\":\"uint256\"}],\"name\":\"getEstimatedETHforZCN\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"}],\"name\":\"swapETHForZCNExactAmountIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutDesired\",\"type\":\"uint256\"}],\"name\":\"swapETHForZCNExactAmountOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"}],\"name\":\"swapUSDCForZCNExactAmountIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"}],\"name\":\"swapUSDCForZCNExactAmountOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"}],\"name\":\"swapZCNForUSDCExactAmountIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"}],\"name\":\"swapZCNForUSDCExactAmountOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"}],\"name\":\"swapZCNForWETHExactAmountIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"}],\"name\":\"swapZCNForWETHExactAmountOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

UniswapMetaData contains all meta data concerning the Uniswap contract.

Functions

This section is empty.

Types

type Uniswap

type Uniswap struct {
	UniswapCaller     // Read-only binding to the contract
	UniswapTransactor // Write-only binding to the contract
	UniswapFilterer   // Log filterer for contract events
}

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

func NewUniswap

func NewUniswap(address common.Address, backend bind.ContractBackend) (*Uniswap, error)

NewUniswap creates a new instance of Uniswap, bound to a specific deployed contract.

type UniswapCaller

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

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

func NewUniswapCaller

func NewUniswapCaller(address common.Address, caller bind.ContractCaller) (*UniswapCaller, error)

NewUniswapCaller creates a new read-only instance of Uniswap, bound to a specific deployed contract.

func (*UniswapCaller) GetEstimatedETHforZCN

func (_Uniswap *UniswapCaller) GetEstimatedETHforZCN(opts *bind.CallOpts, zcnAmount *big.Int) ([]*big.Int, error)

GetEstimatedETHforZCN is a free data retrieval call binding the contract method 0x1a34ff1c.

Solidity: function getEstimatedETHforZCN(uint256 zcnAmount) view returns(uint256[])

type UniswapCallerRaw

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

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

func (*UniswapCallerRaw) Call

func (_Uniswap *UniswapCallerRaw) 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 UniswapCallerSession

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

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

func (*UniswapCallerSession) GetEstimatedETHforZCN

func (_Uniswap *UniswapCallerSession) GetEstimatedETHforZCN(zcnAmount *big.Int) ([]*big.Int, error)

GetEstimatedETHforZCN is a free data retrieval call binding the contract method 0x1a34ff1c.

Solidity: function getEstimatedETHforZCN(uint256 zcnAmount) view returns(uint256[])

type UniswapDebugMsg

type UniswapDebugMsg struct {
	Msg string
	V   *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

UniswapDebugMsg represents a DebugMsg event raised by the Uniswap contract.

type UniswapDebugMsgIterator

type UniswapDebugMsgIterator struct {
	Event *UniswapDebugMsg // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapDebugMsgIterator is returned from FilterDebugMsg and is used to iterate over the raw logs and unpacked data for DebugMsg events raised by the Uniswap contract.

func (*UniswapDebugMsgIterator) Close

func (it *UniswapDebugMsgIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapDebugMsgIterator) Error

func (it *UniswapDebugMsgIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapDebugMsgIterator) Next

func (it *UniswapDebugMsgIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapFilterer

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

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

func NewUniswapFilterer

func NewUniswapFilterer(address common.Address, filterer bind.ContractFilterer) (*UniswapFilterer, error)

NewUniswapFilterer creates a new log filterer instance of Uniswap, bound to a specific deployed contract.

func (*UniswapFilterer) FilterDebugMsg

func (_Uniswap *UniswapFilterer) FilterDebugMsg(opts *bind.FilterOpts) (*UniswapDebugMsgIterator, error)

FilterDebugMsg is a free log retrieval operation binding the contract event 0xea30ed2bcbf4b7c5487f2c07ef639257ebf04932960dff4496fb914f769a6439.

Solidity: event DebugMsg(string msg, uint256 v)

func (*UniswapFilterer) ParseDebugMsg

func (_Uniswap *UniswapFilterer) ParseDebugMsg(log types.Log) (*UniswapDebugMsg, error)

ParseDebugMsg is a log parse operation binding the contract event 0xea30ed2bcbf4b7c5487f2c07ef639257ebf04932960dff4496fb914f769a6439.

Solidity: event DebugMsg(string msg, uint256 v)

func (*UniswapFilterer) WatchDebugMsg

func (_Uniswap *UniswapFilterer) WatchDebugMsg(opts *bind.WatchOpts, sink chan<- *UniswapDebugMsg) (event.Subscription, error)

WatchDebugMsg is a free log subscription operation binding the contract event 0xea30ed2bcbf4b7c5487f2c07ef639257ebf04932960dff4496fb914f769a6439.

Solidity: event DebugMsg(string msg, uint256 v)

type UniswapRaw

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

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

func (*UniswapRaw) Call

func (_Uniswap *UniswapRaw) 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 (*UniswapRaw) Transact

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

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

func (*UniswapRaw) Transfer

func (_Uniswap *UniswapRaw) 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 UniswapSession

type UniswapSession struct {
	Contract     *Uniswap          // 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
}

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

func (*UniswapSession) GetEstimatedETHforZCN

func (_Uniswap *UniswapSession) GetEstimatedETHforZCN(zcnAmount *big.Int) ([]*big.Int, error)

GetEstimatedETHforZCN is a free data retrieval call binding the contract method 0x1a34ff1c.

Solidity: function getEstimatedETHforZCN(uint256 zcnAmount) view returns(uint256[])

func (*UniswapSession) Receive

func (_Uniswap *UniswapSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*UniswapSession) SwapETHForZCNExactAmountIn

func (_Uniswap *UniswapSession) SwapETHForZCNExactAmountIn(amountOutMin *big.Int) (*types.Transaction, error)

SwapETHForZCNExactAmountIn is a paid mutator transaction binding the contract method 0xb33d99b1.

Solidity: function swapETHForZCNExactAmountIn(uint256 amountOutMin) payable returns(uint256 amountOut)

func (*UniswapSession) SwapETHForZCNExactAmountOut

func (_Uniswap *UniswapSession) SwapETHForZCNExactAmountOut(amountOutDesired *big.Int) (*types.Transaction, error)

SwapETHForZCNExactAmountOut is a paid mutator transaction binding the contract method 0x18ae74a4.

Solidity: function swapETHForZCNExactAmountOut(uint256 amountOutDesired) payable returns(uint256 amountOut)

func (*UniswapSession) SwapUSDCForZCNExactAmountIn

func (_Uniswap *UniswapSession) SwapUSDCForZCNExactAmountIn(amountIn *big.Int, amountOutMin *big.Int) (*types.Transaction, error)

SwapUSDCForZCNExactAmountIn is a paid mutator transaction binding the contract method 0x0976c3c2.

Solidity: function swapUSDCForZCNExactAmountIn(uint256 amountIn, uint256 amountOutMin) returns(uint256 amountOut)

func (*UniswapSession) SwapUSDCForZCNExactAmountOut

func (_Uniswap *UniswapSession) SwapUSDCForZCNExactAmountOut(amountOutDesired *big.Int, amountInMax *big.Int) (*types.Transaction, error)

SwapUSDCForZCNExactAmountOut is a paid mutator transaction binding the contract method 0x97a40b34.

Solidity: function swapUSDCForZCNExactAmountOut(uint256 amountOutDesired, uint256 amountInMax) returns(uint256 amountOut)

func (*UniswapSession) SwapZCNForUSDCExactAmountIn

func (_Uniswap *UniswapSession) SwapZCNForUSDCExactAmountIn(amountIn *big.Int, amountOutMin *big.Int) (*types.Transaction, error)

SwapZCNForUSDCExactAmountIn is a paid mutator transaction binding the contract method 0xe60b51b6.

Solidity: function swapZCNForUSDCExactAmountIn(uint256 amountIn, uint256 amountOutMin) returns(uint256 amountOut)

func (*UniswapSession) SwapZCNForUSDCExactAmountOut

func (_Uniswap *UniswapSession) SwapZCNForUSDCExactAmountOut(amountOutDesired *big.Int, amountInMax *big.Int) (*types.Transaction, error)

SwapZCNForUSDCExactAmountOut is a paid mutator transaction binding the contract method 0x4becb631.

Solidity: function swapZCNForUSDCExactAmountOut(uint256 amountOutDesired, uint256 amountInMax) returns(uint256 amountOut)

func (*UniswapSession) SwapZCNForWETHExactAmountIn

func (_Uniswap *UniswapSession) SwapZCNForWETHExactAmountIn(amountIn *big.Int, amountOutMin *big.Int) (*types.Transaction, error)

SwapZCNForWETHExactAmountIn is a paid mutator transaction binding the contract method 0x50a6cd6f.

Solidity: function swapZCNForWETHExactAmountIn(uint256 amountIn, uint256 amountOutMin) returns(uint256 amountOut)

func (*UniswapSession) SwapZCNForWETHExactAmountOut

func (_Uniswap *UniswapSession) SwapZCNForWETHExactAmountOut(amountOutDesired *big.Int, amountInMax *big.Int) (*types.Transaction, error)

SwapZCNForWETHExactAmountOut is a paid mutator transaction binding the contract method 0xaae07c3e.

Solidity: function swapZCNForWETHExactAmountOut(uint256 amountOutDesired, uint256 amountInMax) returns(uint256 amountOut)

type UniswapTransactor

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

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

func NewUniswapTransactor

func NewUniswapTransactor(address common.Address, transactor bind.ContractTransactor) (*UniswapTransactor, error)

NewUniswapTransactor creates a new write-only instance of Uniswap, bound to a specific deployed contract.

func (*UniswapTransactor) Receive

func (_Uniswap *UniswapTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*UniswapTransactor) SwapETHForZCNExactAmountIn

func (_Uniswap *UniswapTransactor) SwapETHForZCNExactAmountIn(opts *bind.TransactOpts, amountOutMin *big.Int) (*types.Transaction, error)

SwapETHForZCNExactAmountIn is a paid mutator transaction binding the contract method 0xb33d99b1.

Solidity: function swapETHForZCNExactAmountIn(uint256 amountOutMin) payable returns(uint256 amountOut)

func (*UniswapTransactor) SwapETHForZCNExactAmountOut

func (_Uniswap *UniswapTransactor) SwapETHForZCNExactAmountOut(opts *bind.TransactOpts, amountOutDesired *big.Int) (*types.Transaction, error)

SwapETHForZCNExactAmountOut is a paid mutator transaction binding the contract method 0x18ae74a4.

Solidity: function swapETHForZCNExactAmountOut(uint256 amountOutDesired) payable returns(uint256 amountOut)

func (*UniswapTransactor) SwapUSDCForZCNExactAmountIn

func (_Uniswap *UniswapTransactor) SwapUSDCForZCNExactAmountIn(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int) (*types.Transaction, error)

SwapUSDCForZCNExactAmountIn is a paid mutator transaction binding the contract method 0x0976c3c2.

Solidity: function swapUSDCForZCNExactAmountIn(uint256 amountIn, uint256 amountOutMin) returns(uint256 amountOut)

func (*UniswapTransactor) SwapUSDCForZCNExactAmountOut

func (_Uniswap *UniswapTransactor) SwapUSDCForZCNExactAmountOut(opts *bind.TransactOpts, amountOutDesired *big.Int, amountInMax *big.Int) (*types.Transaction, error)

SwapUSDCForZCNExactAmountOut is a paid mutator transaction binding the contract method 0x97a40b34.

Solidity: function swapUSDCForZCNExactAmountOut(uint256 amountOutDesired, uint256 amountInMax) returns(uint256 amountOut)

func (*UniswapTransactor) SwapZCNForUSDCExactAmountIn

func (_Uniswap *UniswapTransactor) SwapZCNForUSDCExactAmountIn(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int) (*types.Transaction, error)

SwapZCNForUSDCExactAmountIn is a paid mutator transaction binding the contract method 0xe60b51b6.

Solidity: function swapZCNForUSDCExactAmountIn(uint256 amountIn, uint256 amountOutMin) returns(uint256 amountOut)

func (*UniswapTransactor) SwapZCNForUSDCExactAmountOut

func (_Uniswap *UniswapTransactor) SwapZCNForUSDCExactAmountOut(opts *bind.TransactOpts, amountOutDesired *big.Int, amountInMax *big.Int) (*types.Transaction, error)

SwapZCNForUSDCExactAmountOut is a paid mutator transaction binding the contract method 0x4becb631.

Solidity: function swapZCNForUSDCExactAmountOut(uint256 amountOutDesired, uint256 amountInMax) returns(uint256 amountOut)

func (*UniswapTransactor) SwapZCNForWETHExactAmountIn

func (_Uniswap *UniswapTransactor) SwapZCNForWETHExactAmountIn(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int) (*types.Transaction, error)

SwapZCNForWETHExactAmountIn is a paid mutator transaction binding the contract method 0x50a6cd6f.

Solidity: function swapZCNForWETHExactAmountIn(uint256 amountIn, uint256 amountOutMin) returns(uint256 amountOut)

func (*UniswapTransactor) SwapZCNForWETHExactAmountOut

func (_Uniswap *UniswapTransactor) SwapZCNForWETHExactAmountOut(opts *bind.TransactOpts, amountOutDesired *big.Int, amountInMax *big.Int) (*types.Transaction, error)

SwapZCNForWETHExactAmountOut is a paid mutator transaction binding the contract method 0xaae07c3e.

Solidity: function swapZCNForWETHExactAmountOut(uint256 amountOutDesired, uint256 amountInMax) returns(uint256 amountOut)

type UniswapTransactorRaw

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

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

func (*UniswapTransactorRaw) Transact

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

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

func (*UniswapTransactorRaw) Transfer

func (_Uniswap *UniswapTransactorRaw) 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 UniswapTransactorSession

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

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

func (*UniswapTransactorSession) Receive

func (_Uniswap *UniswapTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*UniswapTransactorSession) SwapETHForZCNExactAmountIn

func (_Uniswap *UniswapTransactorSession) SwapETHForZCNExactAmountIn(amountOutMin *big.Int) (*types.Transaction, error)

SwapETHForZCNExactAmountIn is a paid mutator transaction binding the contract method 0xb33d99b1.

Solidity: function swapETHForZCNExactAmountIn(uint256 amountOutMin) payable returns(uint256 amountOut)

func (*UniswapTransactorSession) SwapETHForZCNExactAmountOut

func (_Uniswap *UniswapTransactorSession) SwapETHForZCNExactAmountOut(amountOutDesired *big.Int) (*types.Transaction, error)

SwapETHForZCNExactAmountOut is a paid mutator transaction binding the contract method 0x18ae74a4.

Solidity: function swapETHForZCNExactAmountOut(uint256 amountOutDesired) payable returns(uint256 amountOut)

func (*UniswapTransactorSession) SwapUSDCForZCNExactAmountIn

func (_Uniswap *UniswapTransactorSession) SwapUSDCForZCNExactAmountIn(amountIn *big.Int, amountOutMin *big.Int) (*types.Transaction, error)

SwapUSDCForZCNExactAmountIn is a paid mutator transaction binding the contract method 0x0976c3c2.

Solidity: function swapUSDCForZCNExactAmountIn(uint256 amountIn, uint256 amountOutMin) returns(uint256 amountOut)

func (*UniswapTransactorSession) SwapUSDCForZCNExactAmountOut

func (_Uniswap *UniswapTransactorSession) SwapUSDCForZCNExactAmountOut(amountOutDesired *big.Int, amountInMax *big.Int) (*types.Transaction, error)

SwapUSDCForZCNExactAmountOut is a paid mutator transaction binding the contract method 0x97a40b34.

Solidity: function swapUSDCForZCNExactAmountOut(uint256 amountOutDesired, uint256 amountInMax) returns(uint256 amountOut)

func (*UniswapTransactorSession) SwapZCNForUSDCExactAmountIn

func (_Uniswap *UniswapTransactorSession) SwapZCNForUSDCExactAmountIn(amountIn *big.Int, amountOutMin *big.Int) (*types.Transaction, error)

SwapZCNForUSDCExactAmountIn is a paid mutator transaction binding the contract method 0xe60b51b6.

Solidity: function swapZCNForUSDCExactAmountIn(uint256 amountIn, uint256 amountOutMin) returns(uint256 amountOut)

func (*UniswapTransactorSession) SwapZCNForUSDCExactAmountOut

func (_Uniswap *UniswapTransactorSession) SwapZCNForUSDCExactAmountOut(amountOutDesired *big.Int, amountInMax *big.Int) (*types.Transaction, error)

SwapZCNForUSDCExactAmountOut is a paid mutator transaction binding the contract method 0x4becb631.

Solidity: function swapZCNForUSDCExactAmountOut(uint256 amountOutDesired, uint256 amountInMax) returns(uint256 amountOut)

func (*UniswapTransactorSession) SwapZCNForWETHExactAmountIn

func (_Uniswap *UniswapTransactorSession) SwapZCNForWETHExactAmountIn(amountIn *big.Int, amountOutMin *big.Int) (*types.Transaction, error)

SwapZCNForWETHExactAmountIn is a paid mutator transaction binding the contract method 0x50a6cd6f.

Solidity: function swapZCNForWETHExactAmountIn(uint256 amountIn, uint256 amountOutMin) returns(uint256 amountOut)

func (*UniswapTransactorSession) SwapZCNForWETHExactAmountOut

func (_Uniswap *UniswapTransactorSession) SwapZCNForWETHExactAmountOut(amountOutDesired *big.Int, amountInMax *big.Int) (*types.Transaction, error)

SwapZCNForWETHExactAmountOut is a paid mutator transaction binding the contract method 0xaae07c3e.

Solidity: function swapZCNForWETHExactAmountOut(uint256 amountOutDesired, uint256 amountInMax) returns(uint256 amountOut)

Jump to

Keyboard shortcuts

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