oneinchv3

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Oneinchv3ABI = "" /* 5392-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregationRouterV3SwapDescription

type AggregationRouterV3SwapDescription struct {
	SrcToken        common.Address
	DstToken        common.Address
	SrcReceiver     common.Address
	DstReceiver     common.Address
	Amount          *big.Int
	MinReturnAmount *big.Int
	Flags           *big.Int
	Permit          []byte
}

AggregationRouterV3SwapDescription is an auto generated low-level Go binding around an user-defined struct.

type Oneinchv3

type Oneinchv3 struct {
	Oneinchv3Caller     // Read-only binding to the contract
	Oneinchv3Transactor // Write-only binding to the contract
	Oneinchv3Filterer   // Log filterer for contract events
}

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

func NewOneinchv3

func NewOneinchv3(address common.Address, backend bind.ContractBackend) (*Oneinchv3, error)

NewOneinchv3 creates a new instance of Oneinchv3, bound to a specific deployed contract.

type Oneinchv3Caller

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

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

func NewOneinchv3Caller

func NewOneinchv3Caller(address common.Address, caller bind.ContractCaller) (*Oneinchv3Caller, error)

NewOneinchv3Caller creates a new read-only instance of Oneinchv3, bound to a specific deployed contract.

func (*Oneinchv3Caller) Owner

func (_Oneinchv3 *Oneinchv3Caller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type Oneinchv3CallerRaw

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

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

func (*Oneinchv3CallerRaw) Call

func (_Oneinchv3 *Oneinchv3CallerRaw) 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 Oneinchv3CallerSession

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

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

func (*Oneinchv3CallerSession) Owner

func (_Oneinchv3 *Oneinchv3CallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type Oneinchv3Error

type Oneinchv3Error struct {
	Reason string
	Raw    types.Log // Blockchain specific contextual infos
}

Oneinchv3Error represents a Error event raised by the Oneinchv3 contract.

type Oneinchv3ErrorIterator

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

Oneinchv3ErrorIterator is returned from FilterError and is used to iterate over the raw logs and unpacked data for Error events raised by the Oneinchv3 contract.

func (*Oneinchv3ErrorIterator) Close

func (it *Oneinchv3ErrorIterator) Close() error

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

func (*Oneinchv3ErrorIterator) Error

func (it *Oneinchv3ErrorIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Oneinchv3ErrorIterator) Next

func (it *Oneinchv3ErrorIterator) 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 Oneinchv3Filterer

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

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

func NewOneinchv3Filterer

func NewOneinchv3Filterer(address common.Address, filterer bind.ContractFilterer) (*Oneinchv3Filterer, error)

NewOneinchv3Filterer creates a new log filterer instance of Oneinchv3, bound to a specific deployed contract.

func (*Oneinchv3Filterer) FilterError

func (_Oneinchv3 *Oneinchv3Filterer) FilterError(opts *bind.FilterOpts) (*Oneinchv3ErrorIterator, error)

FilterError is a free log retrieval operation binding the contract event 0x08c379a0afcc32b1a39302f7cb8073359698411ab5fd6e3edb2c02c0b5fba8aa.

Solidity: event Error(string reason)

func (*Oneinchv3Filterer) FilterOwnershipTransferred

func (_Oneinchv3 *Oneinchv3Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*Oneinchv3OwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*Oneinchv3Filterer) FilterSwapped

func (_Oneinchv3 *Oneinchv3Filterer) FilterSwapped(opts *bind.FilterOpts) (*Oneinchv3SwappedIterator, error)

FilterSwapped is a free log retrieval operation binding the contract event 0xd6d4f5681c246c9f42c203e287975af1601f8df8035a9251f79aab5c8f09e2f8.

Solidity: event Swapped(address sender, address srcToken, address dstToken, address dstReceiver, uint256 spentAmount, uint256 returnAmount)

func (*Oneinchv3Filterer) ParseError

func (_Oneinchv3 *Oneinchv3Filterer) ParseError(log types.Log) (*Oneinchv3Error, error)

ParseError is a log parse operation binding the contract event 0x08c379a0afcc32b1a39302f7cb8073359698411ab5fd6e3edb2c02c0b5fba8aa.

Solidity: event Error(string reason)

func (*Oneinchv3Filterer) ParseOwnershipTransferred

func (_Oneinchv3 *Oneinchv3Filterer) ParseOwnershipTransferred(log types.Log) (*Oneinchv3OwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*Oneinchv3Filterer) ParseSwapped

func (_Oneinchv3 *Oneinchv3Filterer) ParseSwapped(log types.Log) (*Oneinchv3Swapped, error)

ParseSwapped is a log parse operation binding the contract event 0xd6d4f5681c246c9f42c203e287975af1601f8df8035a9251f79aab5c8f09e2f8.

Solidity: event Swapped(address sender, address srcToken, address dstToken, address dstReceiver, uint256 spentAmount, uint256 returnAmount)

func (*Oneinchv3Filterer) WatchError

func (_Oneinchv3 *Oneinchv3Filterer) WatchError(opts *bind.WatchOpts, sink chan<- *Oneinchv3Error) (event.Subscription, error)

WatchError is a free log subscription operation binding the contract event 0x08c379a0afcc32b1a39302f7cb8073359698411ab5fd6e3edb2c02c0b5fba8aa.

Solidity: event Error(string reason)

func (*Oneinchv3Filterer) WatchOwnershipTransferred

func (_Oneinchv3 *Oneinchv3Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *Oneinchv3OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*Oneinchv3Filterer) WatchSwapped

func (_Oneinchv3 *Oneinchv3Filterer) WatchSwapped(opts *bind.WatchOpts, sink chan<- *Oneinchv3Swapped) (event.Subscription, error)

WatchSwapped is a free log subscription operation binding the contract event 0xd6d4f5681c246c9f42c203e287975af1601f8df8035a9251f79aab5c8f09e2f8.

Solidity: event Swapped(address sender, address srcToken, address dstToken, address dstReceiver, uint256 spentAmount, uint256 returnAmount)

type Oneinchv3OwnershipTransferred

type Oneinchv3OwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

Oneinchv3OwnershipTransferred represents a OwnershipTransferred event raised by the Oneinchv3 contract.

type Oneinchv3OwnershipTransferredIterator

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

Oneinchv3OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Oneinchv3 contract.

func (*Oneinchv3OwnershipTransferredIterator) Close

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

func (*Oneinchv3OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Oneinchv3OwnershipTransferredIterator) Next

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 Oneinchv3Raw

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

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

func (*Oneinchv3Raw) Call

func (_Oneinchv3 *Oneinchv3Raw) 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 (*Oneinchv3Raw) Transact

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

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

func (*Oneinchv3Raw) Transfer

func (_Oneinchv3 *Oneinchv3Raw) 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 Oneinchv3Session

type Oneinchv3Session struct {
	Contract     *Oneinchv3        // 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
}

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

func (*Oneinchv3Session) Destroy

func (_Oneinchv3 *Oneinchv3Session) Destroy() (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x83197ef0.

Solidity: function destroy() returns()

func (*Oneinchv3Session) DiscountedSwap

func (_Oneinchv3 *Oneinchv3Session) DiscountedSwap(caller common.Address, desc AggregationRouterV3SwapDescription, data []byte) (*types.Transaction, error)

DiscountedSwap is a paid mutator transaction binding the contract method 0x6c4a483e.

Solidity: function discountedSwap(address caller, (address,address,address,address,uint256,uint256,uint256,bytes) desc, bytes data) payable returns(uint256 returnAmount, uint256 gasLeft, uint256 chiSpent)

func (*Oneinchv3Session) Owner

func (_Oneinchv3 *Oneinchv3Session) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*Oneinchv3Session) Receive

func (_Oneinchv3 *Oneinchv3Session) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*Oneinchv3Session) RenounceOwnership

func (_Oneinchv3 *Oneinchv3Session) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Oneinchv3Session) RescueFunds

func (_Oneinchv3 *Oneinchv3Session) RescueFunds(token common.Address, amount *big.Int) (*types.Transaction, error)

RescueFunds is a paid mutator transaction binding the contract method 0x78e3214f.

Solidity: function rescueFunds(address token, uint256 amount) returns()

func (*Oneinchv3Session) Swap

func (_Oneinchv3 *Oneinchv3Session) Swap(caller common.Address, desc AggregationRouterV3SwapDescription, data []byte) (*types.Transaction, error)

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

Solidity: function swap(address caller, (address,address,address,address,uint256,uint256,uint256,bytes) desc, bytes data) payable returns(uint256 returnAmount, uint256 gasLeft)

func (*Oneinchv3Session) TransferOwnership

func (_Oneinchv3 *Oneinchv3Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*Oneinchv3Session) Unoswap

func (_Oneinchv3 *Oneinchv3Session) Unoswap(srcToken common.Address, amount *big.Int, minReturn *big.Int, arg3 [][32]byte) (*types.Transaction, error)

Unoswap is a paid mutator transaction binding the contract method 0x2e95b6c8.

Solidity: function unoswap(address srcToken, uint256 amount, uint256 minReturn, bytes32[] ) payable returns(uint256 returnAmount)

func (*Oneinchv3Session) UnoswapWithPermit

func (_Oneinchv3 *Oneinchv3Session) UnoswapWithPermit(srcToken common.Address, amount *big.Int, minReturn *big.Int, pools [][32]byte, permit []byte) (*types.Transaction, error)

UnoswapWithPermit is a paid mutator transaction binding the contract method 0xa1251d75.

Solidity: function unoswapWithPermit(address srcToken, uint256 amount, uint256 minReturn, bytes32[] pools, bytes permit) payable returns(uint256 returnAmount)

type Oneinchv3Swapped

type Oneinchv3Swapped struct {
	Sender       common.Address
	SrcToken     common.Address
	DstToken     common.Address
	DstReceiver  common.Address
	SpentAmount  *big.Int
	ReturnAmount *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

Oneinchv3Swapped represents a Swapped event raised by the Oneinchv3 contract.

type Oneinchv3SwappedIterator

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

Oneinchv3SwappedIterator is returned from FilterSwapped and is used to iterate over the raw logs and unpacked data for Swapped events raised by the Oneinchv3 contract.

func (*Oneinchv3SwappedIterator) Close

func (it *Oneinchv3SwappedIterator) Close() error

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

func (*Oneinchv3SwappedIterator) Error

func (it *Oneinchv3SwappedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Oneinchv3SwappedIterator) Next

func (it *Oneinchv3SwappedIterator) 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 Oneinchv3Transactor

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

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

func NewOneinchv3Transactor

func NewOneinchv3Transactor(address common.Address, transactor bind.ContractTransactor) (*Oneinchv3Transactor, error)

NewOneinchv3Transactor creates a new write-only instance of Oneinchv3, bound to a specific deployed contract.

func (*Oneinchv3Transactor) Destroy

func (_Oneinchv3 *Oneinchv3Transactor) Destroy(opts *bind.TransactOpts) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x83197ef0.

Solidity: function destroy() returns()

func (*Oneinchv3Transactor) DiscountedSwap

func (_Oneinchv3 *Oneinchv3Transactor) DiscountedSwap(opts *bind.TransactOpts, caller common.Address, desc AggregationRouterV3SwapDescription, data []byte) (*types.Transaction, error)

DiscountedSwap is a paid mutator transaction binding the contract method 0x6c4a483e.

Solidity: function discountedSwap(address caller, (address,address,address,address,uint256,uint256,uint256,bytes) desc, bytes data) payable returns(uint256 returnAmount, uint256 gasLeft, uint256 chiSpent)

func (*Oneinchv3Transactor) Receive

func (_Oneinchv3 *Oneinchv3Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*Oneinchv3Transactor) RenounceOwnership

func (_Oneinchv3 *Oneinchv3Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Oneinchv3Transactor) RescueFunds

func (_Oneinchv3 *Oneinchv3Transactor) RescueFunds(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)

RescueFunds is a paid mutator transaction binding the contract method 0x78e3214f.

Solidity: function rescueFunds(address token, uint256 amount) returns()

func (*Oneinchv3Transactor) Swap

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

Solidity: function swap(address caller, (address,address,address,address,uint256,uint256,uint256,bytes) desc, bytes data) payable returns(uint256 returnAmount, uint256 gasLeft)

func (*Oneinchv3Transactor) TransferOwnership

func (_Oneinchv3 *Oneinchv3Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*Oneinchv3Transactor) Unoswap

func (_Oneinchv3 *Oneinchv3Transactor) Unoswap(opts *bind.TransactOpts, srcToken common.Address, amount *big.Int, minReturn *big.Int, arg3 [][32]byte) (*types.Transaction, error)

Unoswap is a paid mutator transaction binding the contract method 0x2e95b6c8.

Solidity: function unoswap(address srcToken, uint256 amount, uint256 minReturn, bytes32[] ) payable returns(uint256 returnAmount)

func (*Oneinchv3Transactor) UnoswapWithPermit

func (_Oneinchv3 *Oneinchv3Transactor) UnoswapWithPermit(opts *bind.TransactOpts, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools [][32]byte, permit []byte) (*types.Transaction, error)

UnoswapWithPermit is a paid mutator transaction binding the contract method 0xa1251d75.

Solidity: function unoswapWithPermit(address srcToken, uint256 amount, uint256 minReturn, bytes32[] pools, bytes permit) payable returns(uint256 returnAmount)

type Oneinchv3TransactorRaw

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

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

func (*Oneinchv3TransactorRaw) Transact

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

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

func (*Oneinchv3TransactorRaw) Transfer

func (_Oneinchv3 *Oneinchv3TransactorRaw) 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 Oneinchv3TransactorSession

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

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

func (*Oneinchv3TransactorSession) Destroy

func (_Oneinchv3 *Oneinchv3TransactorSession) Destroy() (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x83197ef0.

Solidity: function destroy() returns()

func (*Oneinchv3TransactorSession) DiscountedSwap

func (_Oneinchv3 *Oneinchv3TransactorSession) DiscountedSwap(caller common.Address, desc AggregationRouterV3SwapDescription, data []byte) (*types.Transaction, error)

DiscountedSwap is a paid mutator transaction binding the contract method 0x6c4a483e.

Solidity: function discountedSwap(address caller, (address,address,address,address,uint256,uint256,uint256,bytes) desc, bytes data) payable returns(uint256 returnAmount, uint256 gasLeft, uint256 chiSpent)

func (*Oneinchv3TransactorSession) Receive

func (_Oneinchv3 *Oneinchv3TransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*Oneinchv3TransactorSession) RenounceOwnership

func (_Oneinchv3 *Oneinchv3TransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Oneinchv3TransactorSession) RescueFunds

func (_Oneinchv3 *Oneinchv3TransactorSession) RescueFunds(token common.Address, amount *big.Int) (*types.Transaction, error)

RescueFunds is a paid mutator transaction binding the contract method 0x78e3214f.

Solidity: function rescueFunds(address token, uint256 amount) returns()

func (*Oneinchv3TransactorSession) Swap

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

Solidity: function swap(address caller, (address,address,address,address,uint256,uint256,uint256,bytes) desc, bytes data) payable returns(uint256 returnAmount, uint256 gasLeft)

func (*Oneinchv3TransactorSession) TransferOwnership

func (_Oneinchv3 *Oneinchv3TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*Oneinchv3TransactorSession) Unoswap

func (_Oneinchv3 *Oneinchv3TransactorSession) Unoswap(srcToken common.Address, amount *big.Int, minReturn *big.Int, arg3 [][32]byte) (*types.Transaction, error)

Unoswap is a paid mutator transaction binding the contract method 0x2e95b6c8.

Solidity: function unoswap(address srcToken, uint256 amount, uint256 minReturn, bytes32[] ) payable returns(uint256 returnAmount)

func (*Oneinchv3TransactorSession) UnoswapWithPermit

func (_Oneinchv3 *Oneinchv3TransactorSession) UnoswapWithPermit(srcToken common.Address, amount *big.Int, minReturn *big.Int, pools [][32]byte, permit []byte) (*types.Transaction, error)

UnoswapWithPermit is a paid mutator transaction binding the contract method 0xa1251d75.

Solidity: function unoswapWithPermit(address srcToken, uint256 amount, uint256 minReturn, bytes32[] pools, bytes permit) payable returns(uint256 returnAmount)

Jump to

Keyboard shortcuts

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