oneinch

package
v0.5.30 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AddressExchange2           = common.HexToAddress("0x11111254369792b2Ca5d084aB5eEA397cA8fa48B")
	AddressAggregationRouterV2 = common.HexToAddress("0x111111125434b319222CdBf8C261674aDB56F3ae")
	AddressAggregationRouterV3 = common.HexToAddress("0x11111112542D85B3EF69AE05771c2dCCff4fAa26")
	AddressAggregationRouterV4 = common.HexToAddress("0x1111111254fb6c44bAC0beD2854e76F90643097d")
	AddressAggregationRouterV5 = common.HexToAddress("0x1111111254EEB25477B68fb85Ed929f73A960582")
	AddressAggregationRouterV6 = common.HexToAddress("0x111111125421cA6dc452d289314280a0f8842A65")
	AddressEther               = common.HexToAddress("0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE")

	MethodIDAggregationRouterV4ClipperSwap               = contract.MethodID("clipperSwap(address,address,uint256,uint256)")
	MethodIDAggregationRouterV4ClipperSwapTo             = contract.MethodID("clipperSwapTo(address,address,address,uint256,uint256)")
	MethodIDAggregationRouterV4ClipperSwapToWithPermit   = contract.MethodID("clipperSwapToWithPermit(address,address,address,uint256,uint256,bytes)")
	MethodIDAggregationRouterV4FillOrderRFQ              = contract.MethodID("fillOrderRFQ((uint256,address,address,address,address,uint256,uint256),bytes,uint256,uint256)")
	MethodIDAggregationRouterV4FillOrderRFQTo            = contract.MethodID("fillOrderRFQTo((uint256,address,address,address,address,uint256,uint256),bytes,uint256,uint256,address)")
	MethodIDAggregationRouterV4FillOrderRFQToWithPermit  = contract.MethodID("fillOrderRFQToWithPermit((uint256,address,address,address,address,uint256,uint256),bytes,uint256,uint256,address,bytes)")
	MethodIDAggregationRouterV4Swap                      = contract.MethodID("swap(address,(address,address,address,address,uint256,uint256,uint256,bytes),bytes)")
	MethodIDAggregationRouterV4UniswapV3Swap             = contract.MethodID("uniswapV3Swap(uint256,uint256,uint256[])")
	MethodIDAggregationRouterV4UniswapV3SwapCallback     = contract.MethodID("uniswapV3SwapCallback(int256,int256,bytes)")
	MethodIDAggregationRouterV4UniswapV3SwapTo           = contract.MethodID("uniswapV3SwapTo(address,uint256,uint256,uint256[])")
	MethodIDAggregationRouterV4UniswapV3SwapToWithPermit = contract.MethodID("uniswapV3SwapToWithPermit(address,address,uint256,uint256,uint256[],bytes)")
	MethodIDAggregationRouterV4Unoswap                   = contract.MethodID("unoswap(address,uint256,uint256,bytes32[])")
	MethodIDAggregationRouterV4UnoswapWithPermit         = contract.MethodID("unoswapWithPermit(address,uint256,uint256,bytes32[],bytes)")

	MethodIDAggregationRouterV5ClipperSwap               = contract.MethodID("clipperSwap(address,address,address,uint256,uint256,uint256,bytes32,bytes32)")
	MethodIDAggregationRouterV5ClipperSwapTo             = contract.MethodID("clipperSwapTo(address,address,address,address,uint256,uint256,uint256,bytes32,bytes32)")
	MethodIDAggregationRouterV5ClipperSwapToWithPermit   = contract.MethodID("clipperSwapToWithPermit(address,address,address,address,uint256,uint256,uint256,bytes32,bytes32,bytes)")
	MethodIDAggregationRouterV5FillOrder                 = contract.MethodID("fillOrder((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes),bytes,bytes,uint256,uint256,uint256)")
	MethodIDAggregationRouterV5FillOrderRFQ              = contract.MethodID("fillOrderRFQ((uint256,address,address,address,address,uint256,uint256),bytes,uint256)")
	MethodIDAggregationRouterV5FillOrderRFQCompact       = contract.MethodID("fillOrderRFQCompact((uint256,address,address,address,address,uint256,uint256),bytes32,bytes32,uint256)")
	MethodIDAggregationRouterV5FillOrderRFQTo            = contract.MethodID("fillOrderRFQTo((uint256,address,address,address,address,uint256,uint256),bytes,uint256,address)")
	MethodIDAggregationRouterV5FillOrderRFQToWithPermit  = contract.MethodID("fillOrderRFQToWithPermit((uint256,address,address,address,address,uint256,uint256),bytes,uint256,address,bytes)")
	MethodIDAggregationRouterV5FillOrderTo               = contract.MethodID("fillOrderTo((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes),bytes,bytes,uint256,uint256,uint256,address)")
	MethodIDAggregationRouterV5FillOrderToWithPermit     = contract.MethodID("fillOrderToWithPermit((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes),bytes,bytes,uint256,uint256,uint256,address,bytes)")
	MethodIDAggregationRouterV5Swap                      = contract.MethodID("swap(address,(address,address,address,address,uint256,uint256,uint256),bytes,bytes)")
	MethodIDAggregationRouterV5UniswapV3Swap             = contract.MethodID("uniswapV3Swap(uint256,uint256,uint256[])")
	MethodIDAggregationRouterV5UniswapV3SwapCallback     = contract.MethodID("uniswapV3SwapCallback(int256,int256,bytes)")
	MethodIDAggregationRouterV5UniswapV3SwapTo           = contract.MethodID("uniswapV3SwapTo(address,uint256,uint256,uint256[])")
	MethodIDAggregationRouterV5UniswapV3SwapToWithPermit = contract.MethodID("uniswapV3SwapToWithPermit(address,address,uint256,uint256,uint256[],bytes)")
	MethodIDAggregationRouterV5Unoswap                   = contract.MethodID("unoswap(address,uint256,uint256,uint256[])")
	MethodIDAggregationRouterV5UnoswapTo                 = contract.MethodID("unoswapTo(address,address,uint256,uint256,uint256[])")
	MethodIDAggregationRouterV5UnoswapToWithPermit       = contract.MethodID("unoswapToWithPermit(address,address,uint256,uint256,uint256[],bytes)")

	EventHashExchangeSwapped            = contract.EventHash("Swapped(address,address,address,uint256,uint256,uint256,uint256)")
	EventHashAggregationRouterV2Swapped = contract.EventHash("Swapped(address,address,address,address,uint256,uint256,uint256,uint256,uint256,address)")
	EventHashAggregationRouterV3Swapped = contract.EventHash("Swapped(address,address,address,address,uint256,uint256)")
	EventHashOrderFilled                = contract.EventHash("OrderFilled(bytes32,uint256)")
)
View Source
var AggregationRouterV2ABI = AggregationRouterV2MetaData.ABI

AggregationRouterV2ABI is the input ABI used to generate the binding from. Deprecated: Use AggregationRouterV2MetaData.ABI instead.

View Source
var AggregationRouterV2MetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"Error\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"dstReceiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"spentAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minReturnAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"guaranteedAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"Swapped\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"contractIOneInchCaller\",\"name\":\"caller\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"srcReceiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dstReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"guaranteedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"flags\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"internalType\":\"structOneInchExchange.SwapDescription\",\"name\":\"desc\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"targetWithMandatory\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structIOneInchCaller.CallDescription[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"discountedSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"rescueFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIOneInchCaller\",\"name\":\"caller\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"srcReceiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dstReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"guaranteedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"flags\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"internalType\":\"structOneInchExchange.SwapDescription\",\"name\":\"desc\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"targetWithMandatory\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structIOneInchCaller.CallDescription[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

AggregationRouterV2MetaData contains all meta data concerning the AggregationRouterV2 contract.

View Source
var AggregationRouterV3ABI = AggregationRouterV3MetaData.ABI

AggregationRouterV3ABI is the input ABI used to generate the binding from. Deprecated: Use AggregationRouterV3MetaData.ABI instead.

View Source
var AggregationRouterV3MetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"Error\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"dstReceiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"spentAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"name\":\"Swapped\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"destroy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIAggregationExecutor\",\"name\":\"caller\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"srcReceiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dstReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"flags\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"internalType\":\"structAggregationRouterV3.SwapDescription\",\"name\":\"desc\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"discountedSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLeft\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"chiSpent\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"rescueFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIAggregationExecutor\",\"name\":\"caller\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"srcReceiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dstReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"flags\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"internalType\":\"structAggregationRouterV3.SwapDescription\",\"name\":\"desc\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLeft\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"name\":\"unoswap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"pools\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"unoswapWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

AggregationRouterV3MetaData contains all meta data concerning the AggregationRouterV3 contract.

View Source
var AggregationRouterV4ABI = AggregationRouterV4MetaData.ABI

AggregationRouterV4ABI is the input ABI used to generate the binding from. Deprecated: Use AggregationRouterV4MetaData.ABI instead.

View Source
var AggregationRouterV4MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"weth\",\"type\":\"address\"},{\"internalType\":\"contractIClipperExchangeInterface\",\"name\":\"_clipperExchange\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"}],\"name\":\"OrderFilledRFQ\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LIMIT_ORDER_RFQ_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"orderInfo\",\"type\":\"uint256\"}],\"name\":\"cancelOrderRFQ\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"}],\"name\":\"clipperSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"}],\"name\":\"clipperSwapTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"clipperSwapToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"destroy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"contractIERC20\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"internalType\":\"structLimitOrderProtocolRFQ.OrderRFQ\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"name\":\"fillOrderRFQ\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"contractIERC20\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"internalType\":\"structLimitOrderProtocolRFQ.OrderRFQ\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"fillOrderRFQTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"contractIERC20\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"internalType\":\"structLimitOrderProtocolRFQ.OrderRFQ\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"fillOrderRFQToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"slot\",\"type\":\"uint256\"}],\"name\":\"invalidatorForOrderRFQ\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"rescueFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIAggregationExecutor\",\"name\":\"caller\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"srcReceiver\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"dstReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"flags\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"internalType\":\"structAggregationRouterV4.SwapDescription\",\"name\":\"desc\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"spentAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLeft\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"}],\"name\":\"uniswapV3Swap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"}],\"name\":\"uniswapV3SwapTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"pools\",\"type\":\"bytes32[]\"}],\"name\":\"unoswap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"pools\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"unoswapWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

AggregationRouterV4MetaData contains all meta data concerning the AggregationRouterV4 contract.

View Source
var AggregationRouterV5ABI = AggregationRouterV5MetaData.ABI

AggregationRouterV5ABI is the input ABI used to generate the binding from. Deprecated: Use AggregationRouterV5MetaData.ABI instead.

View Source
var AggregationRouterV5MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIWETH\",\"name\":\"weth\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessDenied\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AdvanceNonceFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyFilled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ArbitraryStaticCallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BadPool\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BadSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ETHTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ETHTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyPools\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EthDepositRejected\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GetAmountCallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectDataLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMsgValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMsgValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidatedOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MakingAmountExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MakingAmountTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyOneAmountShouldBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OrderExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PermitLengthTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PredicateIsNotTrue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PrivateOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RFQBadSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RFQPrivateOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RFQSwapWithZeroAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RFQZeroTargetIsForbidden\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyDetected\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RemainingAmountIsZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReservesCallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReturnAmountIsNotEnough\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SafePermitBadLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SafeTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SafeTransferFromFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"res\",\"type\":\"bytes\"}],\"name\":\"SimulationResults\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SwapAmountTooLarge\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SwapWithZeroAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TakingAmountExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TakingAmountIncreased\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TakingAmountTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferFromMakerToTakerFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferFromTakerToMakerFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnknownOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WrongAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WrongGetter\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroMinReturn\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroReturnAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroTargetIsForbidden\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newNonce\",\"type\":\"uint256\"}],\"name\":\"NonceIncreased\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"remainingRaw\",\"type\":\"uint256\"}],\"name\":\"OrderCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"remaining\",\"type\":\"uint256\"}],\"name\":\"OrderFilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"}],\"name\":\"OrderFilledRFQ\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"amount\",\"type\":\"uint8\"}],\"name\":\"advanceNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"and\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"arbitraryStaticCall\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"interactions\",\"type\":\"bytes\"}],\"internalType\":\"structOrderLib.Order\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"cancelOrder\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"orderRemaining\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"orderInfo\",\"type\":\"uint256\"}],\"name\":\"cancelOrderRFQ\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"orderInfo\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"additionalMask\",\"type\":\"uint256\"}],\"name\":\"cancelOrderRFQ\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"interactions\",\"type\":\"bytes\"}],\"internalType\":\"structOrderLib.Order\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"checkPredicate\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIClipperExchangeInterface\",\"name\":\"clipperExchange\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"inputAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"outputAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"goodUntil\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vs\",\"type\":\"bytes32\"}],\"name\":\"clipperSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIClipperExchangeInterface\",\"name\":\"clipperExchange\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"inputAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"outputAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"goodUntil\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vs\",\"type\":\"bytes32\"}],\"name\":\"clipperSwapTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIClipperExchangeInterface\",\"name\":\"clipperExchange\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"inputAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"outputAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"goodUntil\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vs\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"clipperSwapToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"destroy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"eq\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"interactions\",\"type\":\"bytes\"}],\"internalType\":\"structOrderLib.Order\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"interaction\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"skipPermitAndThresholdAmount\",\"type\":\"uint256\"}],\"name\":\"fillOrder\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"internalType\":\"structOrderRFQLib.OrderRFQ\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"flagsAndAmount\",\"type\":\"uint256\"}],\"name\":\"fillOrderRFQ\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"internalType\":\"structOrderRFQLib.OrderRFQ\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vs\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"flagsAndAmount\",\"type\":\"uint256\"}],\"name\":\"fillOrderRFQCompact\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"filledMakingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"filledTakingAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"internalType\":\"structOrderRFQLib.OrderRFQ\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"flagsAndAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"fillOrderRFQTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"filledMakingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"filledTakingAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"internalType\":\"structOrderRFQLib.OrderRFQ\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"flagsAndAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"fillOrderRFQToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"interactions\",\"type\":\"bytes\"}],\"internalType\":\"structOrderLib.Order\",\"name\":\"order_\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"interaction\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"skipPermitAndThresholdAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"fillOrderTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"actualMakingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualTakingAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"interactions\",\"type\":\"bytes\"}],\"internalType\":\"structOrderLib.Order\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"interaction\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"skipPermitAndThresholdAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"fillOrderToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"gt\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"interactions\",\"type\":\"bytes\"}],\"internalType\":\"structOrderLib.Order\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"hashOrder\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"increaseNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"slot\",\"type\":\"uint256\"}],\"name\":\"invalidatorForOrderRFQ\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"lt\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"makerAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makerNonce\",\"type\":\"uint256\"}],\"name\":\"nonceEquals\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"or\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"remaining\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"remainingRaw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"orderHashes\",\"type\":\"bytes32[]\"}],\"name\":\"remainingsRaw\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"rescueFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"simulate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIAggregationExecutor\",\"name\":\"executor\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"srcReceiver\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"dstReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"flags\",\"type\":\"uint256\"}],\"internalType\":\"structGenericRouter.SwapDescription\",\"name\":\"desc\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"spentAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"timestampBelow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timeNonceAccount\",\"type\":\"uint256\"}],\"name\":\"timestampBelowAndNonceEquals\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"}],\"name\":\"uniswapV3Swap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"}],\"name\":\"uniswapV3SwapTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"}],\"name\":\"unoswap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"}],\"name\":\"unoswapTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"unoswapToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

AggregationRouterV5MetaData contains all meta data concerning the AggregationRouterV5 contract.

View Source
var ExchangeABI = ExchangeMetaData.ABI

ExchangeABI is the input ABI used to generate the binding from. Deprecated: Use ExchangeMetaData.ABI instead.

View Source
var ExchangeMetaData = &bind.MetaData{
	ABI: "[{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"contractIZrxExchange\",\"name\":\"zrx\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zrxTokenProxy\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"makerAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feeRecipientAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"senderAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makerAssetAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerAssetAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"makerFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expirationTimeSeconds\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"makerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"takerAssetData\",\"type\":\"bytes\"}],\"internalType\":\"structIZrxExchange.Order[]\",\"name\":\"orders\",\"type\":\"tuple[]\"}],\"name\":\"getOrdersInfoRespectingBalancesAndAllowances\",\"outputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"orderStatus\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"orderTakerAssetFilledAmount\",\"type\":\"uint256\"}],\"internalType\":\"structIZrxExchange.OrderInfo[]\",\"name\":\"ordersInfo\",\"type\":\"tuple[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"tokenSell\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenBuy\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zrxExchange\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zrxTokenProxy\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"makerAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feeRecipientAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"senderAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makerAssetAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerAssetAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"makerFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expirationTimeSeconds\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"makerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"takerAssetData\",\"type\":\"bytes\"}],\"internalType\":\"structIZrxExchange.Order[]\",\"name\":\"orders\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes[]\",\"name\":\"signatures\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256\",\"name\":\"mul\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"div\",\"type\":\"uint256\"}],\"name\":\"marketSellOrdersProportion\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIWETH\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"withdrawAllToken\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isShutdown\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"infiniteApproveIfNeeded\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"spender\",\"outputs\":[{\"internalType\":\"contractTokenSpender\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"toToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromTokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"guaranteedAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"referrer\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"callAddresses\",\"type\":\"address[]\"},{\"internalType\":\"bytes\",\"name\":\"callDataConcat\",\"type\":\"bytes\"},{\"internalType\":\"uint256[]\",\"name\":\"starts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"gasLimitsAndValues\",\"type\":\"uint256[]\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"shutdown\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zrxExchange\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zrxTokenProxy\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"takerAssetFillAmount\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"makerAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feeRecipientAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"senderAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makerAssetAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerAssetAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"makerFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expirationTimeSeconds\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"makerAssetData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"takerAssetData\",\"type\":\"bytes\"}],\"internalType\":\"structIZrxExchange.Order[]\",\"name\":\"orders\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes[]\",\"name\":\"signatures\",\"type\":\"bytes[]\"}],\"name\":\"marketSellOrders\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"makerAssetFilledAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerAssetFilledAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"makerFeePaid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takerFeePaid\",\"type\":\"uint256\"}],\"internalType\":\"structIZrxExchange.FillResults\",\"name\":\"totalFillResults\",\"type\":\"tuple\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"contractIGST2\",\"name\":\"_gasToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"contractIERC20\",\"name\":\"fromToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"contractIERC20\",\"name\":\"toToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"}],\"name\":\"History\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"fromToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"toToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"referrerFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"Swapped\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Shutdown\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"}]",
}

ExchangeMetaData contains all meta data concerning the Exchange contract.

Functions

This section is empty.

Types

type AggregationRouterV2

type AggregationRouterV2 struct {
	AggregationRouterV2Caller     // Read-only binding to the contract
	AggregationRouterV2Transactor // Write-only binding to the contract
	AggregationRouterV2Filterer   // Log filterer for contract events
}

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

func NewAggregationRouterV2

func NewAggregationRouterV2(address common.Address, backend bind.ContractBackend) (*AggregationRouterV2, error)

NewAggregationRouterV2 creates a new instance of AggregationRouterV2, bound to a specific deployed contract.

type AggregationRouterV2Caller

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

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

func NewAggregationRouterV2Caller

func NewAggregationRouterV2Caller(address common.Address, caller bind.ContractCaller) (*AggregationRouterV2Caller, error)

NewAggregationRouterV2Caller creates a new read-only instance of AggregationRouterV2, bound to a specific deployed contract.

func (*AggregationRouterV2Caller) Owner

func (_AggregationRouterV2 *AggregationRouterV2Caller) 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)

func (*AggregationRouterV2Caller) Paused

func (_AggregationRouterV2 *AggregationRouterV2Caller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

type AggregationRouterV2CallerRaw

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

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

func (*AggregationRouterV2CallerRaw) Call

func (_AggregationRouterV2 *AggregationRouterV2CallerRaw) 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 AggregationRouterV2CallerSession

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

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

func (*AggregationRouterV2CallerSession) Owner

func (_AggregationRouterV2 *AggregationRouterV2CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AggregationRouterV2CallerSession) Paused

func (_AggregationRouterV2 *AggregationRouterV2CallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

type AggregationRouterV2Error

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

AggregationRouterV2Error represents a Error event raised by the AggregationRouterV2 contract.

type AggregationRouterV2ErrorIterator

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

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

func (*AggregationRouterV2ErrorIterator) Close

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

func (*AggregationRouterV2ErrorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV2ErrorIterator) 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 AggregationRouterV2Filterer

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

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

func NewAggregationRouterV2Filterer

func NewAggregationRouterV2Filterer(address common.Address, filterer bind.ContractFilterer) (*AggregationRouterV2Filterer, error)

NewAggregationRouterV2Filterer creates a new log filterer instance of AggregationRouterV2, bound to a specific deployed contract.

func (*AggregationRouterV2Filterer) FilterError

func (_AggregationRouterV2 *AggregationRouterV2Filterer) FilterError(opts *bind.FilterOpts) (*AggregationRouterV2ErrorIterator, error)

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

Solidity: event Error(string reason)

func (*AggregationRouterV2Filterer) FilterOwnershipTransferred

func (_AggregationRouterV2 *AggregationRouterV2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AggregationRouterV2OwnershipTransferredIterator, error)

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

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

func (*AggregationRouterV2Filterer) FilterPaused

func (_AggregationRouterV2 *AggregationRouterV2Filterer) FilterPaused(opts *bind.FilterOpts) (*AggregationRouterV2PausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*AggregationRouterV2Filterer) FilterSwapped

func (_AggregationRouterV2 *AggregationRouterV2Filterer) FilterSwapped(opts *bind.FilterOpts, sender []common.Address, srcToken []common.Address, dstToken []common.Address) (*AggregationRouterV2SwappedIterator, error)

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

Solidity: event Swapped(address indexed sender, address indexed srcToken, address indexed dstToken, address dstReceiver, uint256 amount, uint256 spentAmount, uint256 returnAmount, uint256 minReturnAmount, uint256 guaranteedAmount, address referrer)

func (*AggregationRouterV2Filterer) FilterUnpaused

func (_AggregationRouterV2 *AggregationRouterV2Filterer) FilterUnpaused(opts *bind.FilterOpts) (*AggregationRouterV2UnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*AggregationRouterV2Filterer) ParseError

func (_AggregationRouterV2 *AggregationRouterV2Filterer) ParseError(log types.Log) (*AggregationRouterV2Error, error)

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

Solidity: event Error(string reason)

func (*AggregationRouterV2Filterer) ParseOwnershipTransferred

func (_AggregationRouterV2 *AggregationRouterV2Filterer) ParseOwnershipTransferred(log types.Log) (*AggregationRouterV2OwnershipTransferred, error)

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

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

func (*AggregationRouterV2Filterer) ParsePaused

func (_AggregationRouterV2 *AggregationRouterV2Filterer) ParsePaused(log types.Log) (*AggregationRouterV2Paused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*AggregationRouterV2Filterer) ParseSwapped

func (_AggregationRouterV2 *AggregationRouterV2Filterer) ParseSwapped(log types.Log) (*AggregationRouterV2Swapped, error)

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

Solidity: event Swapped(address indexed sender, address indexed srcToken, address indexed dstToken, address dstReceiver, uint256 amount, uint256 spentAmount, uint256 returnAmount, uint256 minReturnAmount, uint256 guaranteedAmount, address referrer)

func (*AggregationRouterV2Filterer) ParseUnpaused

func (_AggregationRouterV2 *AggregationRouterV2Filterer) ParseUnpaused(log types.Log) (*AggregationRouterV2Unpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*AggregationRouterV2Filterer) WatchError

func (_AggregationRouterV2 *AggregationRouterV2Filterer) WatchError(opts *bind.WatchOpts, sink chan<- *AggregationRouterV2Error) (event.Subscription, error)

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

Solidity: event Error(string reason)

func (*AggregationRouterV2Filterer) WatchOwnershipTransferred

func (_AggregationRouterV2 *AggregationRouterV2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AggregationRouterV2OwnershipTransferred, 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 (*AggregationRouterV2Filterer) WatchPaused

func (_AggregationRouterV2 *AggregationRouterV2Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *AggregationRouterV2Paused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*AggregationRouterV2Filterer) WatchSwapped

func (_AggregationRouterV2 *AggregationRouterV2Filterer) WatchSwapped(opts *bind.WatchOpts, sink chan<- *AggregationRouterV2Swapped, sender []common.Address, srcToken []common.Address, dstToken []common.Address) (event.Subscription, error)

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

Solidity: event Swapped(address indexed sender, address indexed srcToken, address indexed dstToken, address dstReceiver, uint256 amount, uint256 spentAmount, uint256 returnAmount, uint256 minReturnAmount, uint256 guaranteedAmount, address referrer)

func (*AggregationRouterV2Filterer) WatchUnpaused

func (_AggregationRouterV2 *AggregationRouterV2Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *AggregationRouterV2Unpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type AggregationRouterV2OwnershipTransferred

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

AggregationRouterV2OwnershipTransferred represents a OwnershipTransferred event raised by the AggregationRouterV2 contract.

type AggregationRouterV2OwnershipTransferredIterator

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

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

func (*AggregationRouterV2OwnershipTransferredIterator) Close

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

func (*AggregationRouterV2OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV2OwnershipTransferredIterator) 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 AggregationRouterV2Paused

type AggregationRouterV2Paused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

AggregationRouterV2Paused represents a Paused event raised by the AggregationRouterV2 contract.

type AggregationRouterV2PausedIterator

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

AggregationRouterV2PausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the AggregationRouterV2 contract.

func (*AggregationRouterV2PausedIterator) Close

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

func (*AggregationRouterV2PausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV2PausedIterator) 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 AggregationRouterV2Raw

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

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

func (*AggregationRouterV2Raw) Call

func (_AggregationRouterV2 *AggregationRouterV2Raw) 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 (*AggregationRouterV2Raw) Transact

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

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

func (*AggregationRouterV2Raw) Transfer

func (_AggregationRouterV2 *AggregationRouterV2Raw) 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 AggregationRouterV2Session

type AggregationRouterV2Session struct {
	Contract     *AggregationRouterV2 // 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
}

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

func (*AggregationRouterV2Session) DiscountedSwap

func (_AggregationRouterV2 *AggregationRouterV2Session) DiscountedSwap(caller common.Address, desc OneInchExchangeSwapDescription, calls []IOneInchCallerCallDescription) (*types.Transaction, error)

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

Solidity: function discountedSwap(address caller, (address,address,address,address,uint256,uint256,uint256,uint256,address,bytes) desc, (uint256,uint256,uint256,bytes)[] calls) payable returns(uint256 returnAmount)

func (*AggregationRouterV2Session) Owner

func (_AggregationRouterV2 *AggregationRouterV2Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AggregationRouterV2Session) Pause

func (_AggregationRouterV2 *AggregationRouterV2Session) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*AggregationRouterV2Session) Paused

func (_AggregationRouterV2 *AggregationRouterV2Session) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*AggregationRouterV2Session) RenounceOwnership

func (_AggregationRouterV2 *AggregationRouterV2Session) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AggregationRouterV2Session) RescueFunds

func (_AggregationRouterV2 *AggregationRouterV2Session) 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 (*AggregationRouterV2Session) Swap

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

Solidity: function swap(address caller, (address,address,address,address,uint256,uint256,uint256,uint256,address,bytes) desc, (uint256,uint256,uint256,bytes)[] calls) payable returns(uint256 returnAmount)

func (*AggregationRouterV2Session) TransferOwnership

func (_AggregationRouterV2 *AggregationRouterV2Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type AggregationRouterV2Swapped

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

AggregationRouterV2Swapped represents a Swapped event raised by the AggregationRouterV2 contract.

type AggregationRouterV2SwappedIterator

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

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

func (*AggregationRouterV2SwappedIterator) Close

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

func (*AggregationRouterV2SwappedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV2SwappedIterator) 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 AggregationRouterV2Transactor

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

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

func NewAggregationRouterV2Transactor

func NewAggregationRouterV2Transactor(address common.Address, transactor bind.ContractTransactor) (*AggregationRouterV2Transactor, error)

NewAggregationRouterV2Transactor creates a new write-only instance of AggregationRouterV2, bound to a specific deployed contract.

func (*AggregationRouterV2Transactor) DiscountedSwap

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

Solidity: function discountedSwap(address caller, (address,address,address,address,uint256,uint256,uint256,uint256,address,bytes) desc, (uint256,uint256,uint256,bytes)[] calls) payable returns(uint256 returnAmount)

func (*AggregationRouterV2Transactor) Pause

func (_AggregationRouterV2 *AggregationRouterV2Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*AggregationRouterV2Transactor) RenounceOwnership

func (_AggregationRouterV2 *AggregationRouterV2Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AggregationRouterV2Transactor) RescueFunds

func (_AggregationRouterV2 *AggregationRouterV2Transactor) 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 (*AggregationRouterV2Transactor) Swap

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

Solidity: function swap(address caller, (address,address,address,address,uint256,uint256,uint256,uint256,address,bytes) desc, (uint256,uint256,uint256,bytes)[] calls) payable returns(uint256 returnAmount)

func (*AggregationRouterV2Transactor) TransferOwnership

func (_AggregationRouterV2 *AggregationRouterV2Transactor) 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()

type AggregationRouterV2TransactorRaw

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

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

func (*AggregationRouterV2TransactorRaw) Transact

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

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

func (*AggregationRouterV2TransactorRaw) Transfer

func (_AggregationRouterV2 *AggregationRouterV2TransactorRaw) 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 AggregationRouterV2TransactorSession

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

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

func (*AggregationRouterV2TransactorSession) DiscountedSwap

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

Solidity: function discountedSwap(address caller, (address,address,address,address,uint256,uint256,uint256,uint256,address,bytes) desc, (uint256,uint256,uint256,bytes)[] calls) payable returns(uint256 returnAmount)

func (*AggregationRouterV2TransactorSession) Pause

func (_AggregationRouterV2 *AggregationRouterV2TransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*AggregationRouterV2TransactorSession) RenounceOwnership

func (_AggregationRouterV2 *AggregationRouterV2TransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AggregationRouterV2TransactorSession) RescueFunds

func (_AggregationRouterV2 *AggregationRouterV2TransactorSession) 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 (*AggregationRouterV2TransactorSession) Swap

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

Solidity: function swap(address caller, (address,address,address,address,uint256,uint256,uint256,uint256,address,bytes) desc, (uint256,uint256,uint256,bytes)[] calls) payable returns(uint256 returnAmount)

func (*AggregationRouterV2TransactorSession) TransferOwnership

func (_AggregationRouterV2 *AggregationRouterV2TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type AggregationRouterV2Unpaused

type AggregationRouterV2Unpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

AggregationRouterV2Unpaused represents a Unpaused event raised by the AggregationRouterV2 contract.

type AggregationRouterV2UnpausedIterator

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

AggregationRouterV2UnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the AggregationRouterV2 contract.

func (*AggregationRouterV2UnpausedIterator) Close

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

func (*AggregationRouterV2UnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV2UnpausedIterator) 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 AggregationRouterV3

type AggregationRouterV3 struct {
	AggregationRouterV3Caller     // Read-only binding to the contract
	AggregationRouterV3Transactor // Write-only binding to the contract
	AggregationRouterV3Filterer   // Log filterer for contract events
}

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

func NewAggregationRouterV3

func NewAggregationRouterV3(address common.Address, backend bind.ContractBackend) (*AggregationRouterV3, error)

NewAggregationRouterV3 creates a new instance of AggregationRouterV3, bound to a specific deployed contract.

type AggregationRouterV3Caller

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

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

func NewAggregationRouterV3Caller

func NewAggregationRouterV3Caller(address common.Address, caller bind.ContractCaller) (*AggregationRouterV3Caller, error)

NewAggregationRouterV3Caller creates a new read-only instance of AggregationRouterV3, bound to a specific deployed contract.

func (*AggregationRouterV3Caller) Owner

func (_AggregationRouterV3 *AggregationRouterV3Caller) 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 AggregationRouterV3CallerRaw

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

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

func (*AggregationRouterV3CallerRaw) Call

func (_AggregationRouterV3 *AggregationRouterV3CallerRaw) 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 AggregationRouterV3CallerSession

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

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

func (*AggregationRouterV3CallerSession) Owner

func (_AggregationRouterV3 *AggregationRouterV3CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type AggregationRouterV3Error

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

AggregationRouterV3Error represents a Error event raised by the AggregationRouterV3 contract.

type AggregationRouterV3ErrorIterator

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

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

func (*AggregationRouterV3ErrorIterator) Close

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

func (*AggregationRouterV3ErrorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV3ErrorIterator) 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 AggregationRouterV3Filterer

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

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

func NewAggregationRouterV3Filterer

func NewAggregationRouterV3Filterer(address common.Address, filterer bind.ContractFilterer) (*AggregationRouterV3Filterer, error)

NewAggregationRouterV3Filterer creates a new log filterer instance of AggregationRouterV3, bound to a specific deployed contract.

func (*AggregationRouterV3Filterer) FilterError

func (_AggregationRouterV3 *AggregationRouterV3Filterer) FilterError(opts *bind.FilterOpts) (*AggregationRouterV3ErrorIterator, error)

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

Solidity: event Error(string reason)

func (*AggregationRouterV3Filterer) FilterOwnershipTransferred

func (_AggregationRouterV3 *AggregationRouterV3Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AggregationRouterV3OwnershipTransferredIterator, error)

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

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

func (*AggregationRouterV3Filterer) FilterSwapped

func (_AggregationRouterV3 *AggregationRouterV3Filterer) FilterSwapped(opts *bind.FilterOpts) (*AggregationRouterV3SwappedIterator, 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 (*AggregationRouterV3Filterer) ParseError

func (_AggregationRouterV3 *AggregationRouterV3Filterer) ParseError(log types.Log) (*AggregationRouterV3Error, error)

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

Solidity: event Error(string reason)

func (*AggregationRouterV3Filterer) ParseOwnershipTransferred

func (_AggregationRouterV3 *AggregationRouterV3Filterer) ParseOwnershipTransferred(log types.Log) (*AggregationRouterV3OwnershipTransferred, error)

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

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

func (*AggregationRouterV3Filterer) ParseSwapped

func (_AggregationRouterV3 *AggregationRouterV3Filterer) ParseSwapped(log types.Log) (*AggregationRouterV3Swapped, 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 (*AggregationRouterV3Filterer) WatchError

func (_AggregationRouterV3 *AggregationRouterV3Filterer) WatchError(opts *bind.WatchOpts, sink chan<- *AggregationRouterV3Error) (event.Subscription, error)

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

Solidity: event Error(string reason)

func (*AggregationRouterV3Filterer) WatchOwnershipTransferred

func (_AggregationRouterV3 *AggregationRouterV3Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AggregationRouterV3OwnershipTransferred, 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 (*AggregationRouterV3Filterer) WatchSwapped

func (_AggregationRouterV3 *AggregationRouterV3Filterer) WatchSwapped(opts *bind.WatchOpts, sink chan<- *AggregationRouterV3Swapped) (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 AggregationRouterV3OwnershipTransferred

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

AggregationRouterV3OwnershipTransferred represents a OwnershipTransferred event raised by the AggregationRouterV3 contract.

type AggregationRouterV3OwnershipTransferredIterator

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

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

func (*AggregationRouterV3OwnershipTransferredIterator) Close

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

func (*AggregationRouterV3OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV3OwnershipTransferredIterator) 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 AggregationRouterV3Raw

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

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

func (*AggregationRouterV3Raw) Call

func (_AggregationRouterV3 *AggregationRouterV3Raw) 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 (*AggregationRouterV3Raw) Transact

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

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

func (*AggregationRouterV3Raw) Transfer

func (_AggregationRouterV3 *AggregationRouterV3Raw) 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 AggregationRouterV3Session

type AggregationRouterV3Session struct {
	Contract     *AggregationRouterV3 // 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
}

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

func (*AggregationRouterV3Session) Destroy

func (_AggregationRouterV3 *AggregationRouterV3Session) Destroy() (*types.Transaction, error)

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

Solidity: function destroy() returns()

func (*AggregationRouterV3Session) DiscountedSwap

func (_AggregationRouterV3 *AggregationRouterV3Session) 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 (*AggregationRouterV3Session) Owner

func (_AggregationRouterV3 *AggregationRouterV3Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AggregationRouterV3Session) Receive

func (_AggregationRouterV3 *AggregationRouterV3Session) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*AggregationRouterV3Session) RenounceOwnership

func (_AggregationRouterV3 *AggregationRouterV3Session) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AggregationRouterV3Session) RescueFunds

func (_AggregationRouterV3 *AggregationRouterV3Session) 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 (*AggregationRouterV3Session) Swap

func (_AggregationRouterV3 *AggregationRouterV3Session) 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 (*AggregationRouterV3Session) TransferOwnership

func (_AggregationRouterV3 *AggregationRouterV3Session) 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 (*AggregationRouterV3Session) Unoswap

func (_AggregationRouterV3 *AggregationRouterV3Session) 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 (*AggregationRouterV3Session) UnoswapWithPermit

func (_AggregationRouterV3 *AggregationRouterV3Session) 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 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 AggregationRouterV3Swapped

type AggregationRouterV3Swapped 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
}

AggregationRouterV3Swapped represents a Swapped event raised by the AggregationRouterV3 contract.

type AggregationRouterV3SwappedIterator

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

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

func (*AggregationRouterV3SwappedIterator) Close

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

func (*AggregationRouterV3SwappedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV3SwappedIterator) 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 AggregationRouterV3Transactor

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

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

func NewAggregationRouterV3Transactor

func NewAggregationRouterV3Transactor(address common.Address, transactor bind.ContractTransactor) (*AggregationRouterV3Transactor, error)

NewAggregationRouterV3Transactor creates a new write-only instance of AggregationRouterV3, bound to a specific deployed contract.

func (*AggregationRouterV3Transactor) Destroy

func (_AggregationRouterV3 *AggregationRouterV3Transactor) Destroy(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function destroy() returns()

func (*AggregationRouterV3Transactor) DiscountedSwap

func (_AggregationRouterV3 *AggregationRouterV3Transactor) 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 (*AggregationRouterV3Transactor) Receive

func (_AggregationRouterV3 *AggregationRouterV3Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*AggregationRouterV3Transactor) RenounceOwnership

func (_AggregationRouterV3 *AggregationRouterV3Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AggregationRouterV3Transactor) RescueFunds

func (_AggregationRouterV3 *AggregationRouterV3Transactor) 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 (*AggregationRouterV3Transactor) Swap

func (_AggregationRouterV3 *AggregationRouterV3Transactor) Swap(opts *bind.TransactOpts, 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 (*AggregationRouterV3Transactor) TransferOwnership

func (_AggregationRouterV3 *AggregationRouterV3Transactor) 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 (*AggregationRouterV3Transactor) Unoswap

func (_AggregationRouterV3 *AggregationRouterV3Transactor) 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 (*AggregationRouterV3Transactor) UnoswapWithPermit

func (_AggregationRouterV3 *AggregationRouterV3Transactor) 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 AggregationRouterV3TransactorRaw

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

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

func (*AggregationRouterV3TransactorRaw) Transact

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

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

func (*AggregationRouterV3TransactorRaw) Transfer

func (_AggregationRouterV3 *AggregationRouterV3TransactorRaw) 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 AggregationRouterV3TransactorSession

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

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

func (*AggregationRouterV3TransactorSession) Destroy

func (_AggregationRouterV3 *AggregationRouterV3TransactorSession) Destroy() (*types.Transaction, error)

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

Solidity: function destroy() returns()

func (*AggregationRouterV3TransactorSession) DiscountedSwap

func (_AggregationRouterV3 *AggregationRouterV3TransactorSession) 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 (*AggregationRouterV3TransactorSession) Receive

func (_AggregationRouterV3 *AggregationRouterV3TransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*AggregationRouterV3TransactorSession) RenounceOwnership

func (_AggregationRouterV3 *AggregationRouterV3TransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AggregationRouterV3TransactorSession) RescueFunds

func (_AggregationRouterV3 *AggregationRouterV3TransactorSession) 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 (*AggregationRouterV3TransactorSession) 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 (*AggregationRouterV3TransactorSession) TransferOwnership

func (_AggregationRouterV3 *AggregationRouterV3TransactorSession) 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 (*AggregationRouterV3TransactorSession) Unoswap

func (_AggregationRouterV3 *AggregationRouterV3TransactorSession) 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 (*AggregationRouterV3TransactorSession) UnoswapWithPermit

func (_AggregationRouterV3 *AggregationRouterV3TransactorSession) 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 AggregationRouterV4

type AggregationRouterV4 struct {
	AggregationRouterV4Caller     // Read-only binding to the contract
	AggregationRouterV4Transactor // Write-only binding to the contract
	AggregationRouterV4Filterer   // Log filterer for contract events
}

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

func NewAggregationRouterV4

func NewAggregationRouterV4(address common.Address, backend bind.ContractBackend) (*AggregationRouterV4, error)

NewAggregationRouterV4 creates a new instance of AggregationRouterV4, bound to a specific deployed contract.

type AggregationRouterV4Caller

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

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

func NewAggregationRouterV4Caller

func NewAggregationRouterV4Caller(address common.Address, caller bind.ContractCaller) (*AggregationRouterV4Caller, error)

NewAggregationRouterV4Caller creates a new read-only instance of AggregationRouterV4, bound to a specific deployed contract.

func (*AggregationRouterV4Caller) DOMAINSEPARATOR

func (_AggregationRouterV4 *AggregationRouterV4Caller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*AggregationRouterV4Caller) InvalidatorForOrderRFQ

func (_AggregationRouterV4 *AggregationRouterV4Caller) InvalidatorForOrderRFQ(opts *bind.CallOpts, maker common.Address, slot *big.Int) (*big.Int, error)

InvalidatorForOrderRFQ is a free data retrieval call binding the contract method 0x56f16124.

Solidity: function invalidatorForOrderRFQ(address maker, uint256 slot) view returns(uint256)

func (*AggregationRouterV4Caller) LIMITORDERRFQTYPEHASH

func (_AggregationRouterV4 *AggregationRouterV4Caller) LIMITORDERRFQTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

LIMITORDERRFQTYPEHASH is a free data retrieval call binding the contract method 0x06bf53d0.

Solidity: function LIMIT_ORDER_RFQ_TYPEHASH() view returns(bytes32)

func (*AggregationRouterV4Caller) Owner

func (_AggregationRouterV4 *AggregationRouterV4Caller) 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 AggregationRouterV4CallerRaw

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

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

func (*AggregationRouterV4CallerRaw) Call

func (_AggregationRouterV4 *AggregationRouterV4CallerRaw) 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 AggregationRouterV4CallerSession

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

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

func (*AggregationRouterV4CallerSession) DOMAINSEPARATOR

func (_AggregationRouterV4 *AggregationRouterV4CallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*AggregationRouterV4CallerSession) InvalidatorForOrderRFQ

func (_AggregationRouterV4 *AggregationRouterV4CallerSession) InvalidatorForOrderRFQ(maker common.Address, slot *big.Int) (*big.Int, error)

InvalidatorForOrderRFQ is a free data retrieval call binding the contract method 0x56f16124.

Solidity: function invalidatorForOrderRFQ(address maker, uint256 slot) view returns(uint256)

func (*AggregationRouterV4CallerSession) LIMITORDERRFQTYPEHASH

func (_AggregationRouterV4 *AggregationRouterV4CallerSession) LIMITORDERRFQTYPEHASH() ([32]byte, error)

LIMITORDERRFQTYPEHASH is a free data retrieval call binding the contract method 0x06bf53d0.

Solidity: function LIMIT_ORDER_RFQ_TYPEHASH() view returns(bytes32)

func (*AggregationRouterV4CallerSession) Owner

func (_AggregationRouterV4 *AggregationRouterV4CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type AggregationRouterV4ClipperSwapToInput

type AggregationRouterV4ClipperSwapToInput struct {
	Recipient common.Address
	SrcToken  common.Address
	DstToken  common.Address
	Amount    *big.Int
	MinReturn *big.Int
}

type AggregationRouterV4ClipperSwapToWithPermitInput

type AggregationRouterV4ClipperSwapToWithPermitInput struct {
	AggregationRouterV4ClipperSwapToInput

	Permit *big.Int
}

type AggregationRouterV4FillOrderRFQToInput

type AggregationRouterV4FillOrderRFQToInput struct {
	Order        OrderRFQLibOrderRFQ
	Signature    []byte
	MakingAmount *big.Int
	TakingAmount *big.Int
	Target       common.Address
}

type AggregationRouterV4FillOrderRFQToWithPermitInput

type AggregationRouterV4FillOrderRFQToWithPermitInput struct {
	AggregationRouterV4FillOrderRFQToInput

	Permit []byte
}

type AggregationRouterV4Filterer

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

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

func NewAggregationRouterV4Filterer

func NewAggregationRouterV4Filterer(address common.Address, filterer bind.ContractFilterer) (*AggregationRouterV4Filterer, error)

NewAggregationRouterV4Filterer creates a new log filterer instance of AggregationRouterV4, bound to a specific deployed contract.

func (*AggregationRouterV4Filterer) FilterOrderFilledRFQ

func (_AggregationRouterV4 *AggregationRouterV4Filterer) FilterOrderFilledRFQ(opts *bind.FilterOpts) (*AggregationRouterV4OrderFilledRFQIterator, error)

FilterOrderFilledRFQ is a free log retrieval operation binding the contract event 0xc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127.

Solidity: event OrderFilledRFQ(bytes32 orderHash, uint256 makingAmount)

func (*AggregationRouterV4Filterer) FilterOwnershipTransferred

func (_AggregationRouterV4 *AggregationRouterV4Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AggregationRouterV4OwnershipTransferredIterator, error)

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

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

func (*AggregationRouterV4Filterer) ParseOrderFilledRFQ

func (_AggregationRouterV4 *AggregationRouterV4Filterer) ParseOrderFilledRFQ(log types.Log) (*AggregationRouterV4OrderFilledRFQ, error)

ParseOrderFilledRFQ is a log parse operation binding the contract event 0xc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127.

Solidity: event OrderFilledRFQ(bytes32 orderHash, uint256 makingAmount)

func (*AggregationRouterV4Filterer) ParseOwnershipTransferred

func (_AggregationRouterV4 *AggregationRouterV4Filterer) ParseOwnershipTransferred(log types.Log) (*AggregationRouterV4OwnershipTransferred, error)

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

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

func (*AggregationRouterV4Filterer) WatchOrderFilledRFQ

func (_AggregationRouterV4 *AggregationRouterV4Filterer) WatchOrderFilledRFQ(opts *bind.WatchOpts, sink chan<- *AggregationRouterV4OrderFilledRFQ) (event.Subscription, error)

WatchOrderFilledRFQ is a free log subscription operation binding the contract event 0xc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127.

Solidity: event OrderFilledRFQ(bytes32 orderHash, uint256 makingAmount)

func (*AggregationRouterV4Filterer) WatchOwnershipTransferred

func (_AggregationRouterV4 *AggregationRouterV4Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AggregationRouterV4OwnershipTransferred, 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)

type AggregationRouterV4OrderFilledRFQ

type AggregationRouterV4OrderFilledRFQ struct {
	OrderHash    [32]byte
	MakingAmount *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

AggregationRouterV4OrderFilledRFQ represents a OrderFilledRFQ event raised by the AggregationRouterV4 contract.

type AggregationRouterV4OrderFilledRFQIterator

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

AggregationRouterV4OrderFilledRFQIterator is returned from FilterOrderFilledRFQ and is used to iterate over the raw logs and unpacked data for OrderFilledRFQ events raised by the AggregationRouterV4 contract.

func (*AggregationRouterV4OrderFilledRFQIterator) Close

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

func (*AggregationRouterV4OrderFilledRFQIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV4OrderFilledRFQIterator) 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 AggregationRouterV4OwnershipTransferred

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

AggregationRouterV4OwnershipTransferred represents a OwnershipTransferred event raised by the AggregationRouterV4 contract.

type AggregationRouterV4OwnershipTransferredIterator

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

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

func (*AggregationRouterV4OwnershipTransferredIterator) Close

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

func (*AggregationRouterV4OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV4OwnershipTransferredIterator) 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 AggregationRouterV4Raw

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

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

func (*AggregationRouterV4Raw) Call

func (_AggregationRouterV4 *AggregationRouterV4Raw) 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 (*AggregationRouterV4Raw) Transact

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

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

func (*AggregationRouterV4Raw) Transfer

func (_AggregationRouterV4 *AggregationRouterV4Raw) 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 AggregationRouterV4Session

type AggregationRouterV4Session struct {
	Contract     *AggregationRouterV4 // 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
}

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

func (*AggregationRouterV4Session) CancelOrderRFQ

func (_AggregationRouterV4 *AggregationRouterV4Session) CancelOrderRFQ(orderInfo *big.Int) (*types.Transaction, error)

CancelOrderRFQ is a paid mutator transaction binding the contract method 0x825caba1.

Solidity: function cancelOrderRFQ(uint256 orderInfo) returns()

func (*AggregationRouterV4Session) ClipperSwap

func (_AggregationRouterV4 *AggregationRouterV4Session) ClipperSwap(srcToken common.Address, dstToken common.Address, amount *big.Int, minReturn *big.Int) (*types.Transaction, error)

ClipperSwap is a paid mutator transaction binding the contract method 0xb0431182.

Solidity: function clipperSwap(address srcToken, address dstToken, uint256 amount, uint256 minReturn) payable returns(uint256 returnAmount)

func (*AggregationRouterV4Session) ClipperSwapTo

func (_AggregationRouterV4 *AggregationRouterV4Session) ClipperSwapTo(recipient common.Address, srcToken common.Address, dstToken common.Address, amount *big.Int, minReturn *big.Int) (*types.Transaction, error)

ClipperSwapTo is a paid mutator transaction binding the contract method 0x9994dd15.

Solidity: function clipperSwapTo(address recipient, address srcToken, address dstToken, uint256 amount, uint256 minReturn) payable returns(uint256 returnAmount)

func (*AggregationRouterV4Session) ClipperSwapToWithPermit

func (_AggregationRouterV4 *AggregationRouterV4Session) ClipperSwapToWithPermit(recipient common.Address, srcToken common.Address, dstToken common.Address, amount *big.Int, minReturn *big.Int, permit []byte) (*types.Transaction, error)

ClipperSwapToWithPermit is a paid mutator transaction binding the contract method 0xd6a92a5d.

Solidity: function clipperSwapToWithPermit(address recipient, address srcToken, address dstToken, uint256 amount, uint256 minReturn, bytes permit) returns(uint256 returnAmount)

func (*AggregationRouterV4Session) DOMAINSEPARATOR

func (_AggregationRouterV4 *AggregationRouterV4Session) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*AggregationRouterV4Session) Destroy

func (_AggregationRouterV4 *AggregationRouterV4Session) Destroy() (*types.Transaction, error)

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

Solidity: function destroy() returns()

func (*AggregationRouterV4Session) FillOrderRFQ

func (_AggregationRouterV4 *AggregationRouterV4Session) FillOrderRFQ(order LimitOrderProtocolRFQOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int) (*types.Transaction, error)

FillOrderRFQ is a paid mutator transaction binding the contract method 0xd0a3b665.

Solidity: function fillOrderRFQ((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount) payable returns(uint256, uint256)

func (*AggregationRouterV4Session) FillOrderRFQTo

func (_AggregationRouterV4 *AggregationRouterV4Session) FillOrderRFQTo(order LimitOrderProtocolRFQOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderRFQTo is a paid mutator transaction binding the contract method 0xbaba5855.

Solidity: function fillOrderRFQTo((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount, address target) payable returns(uint256, uint256)

func (*AggregationRouterV4Session) FillOrderRFQToWithPermit

func (_AggregationRouterV4 *AggregationRouterV4Session) FillOrderRFQToWithPermit(order LimitOrderProtocolRFQOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderRFQToWithPermit is a paid mutator transaction binding the contract method 0x4cc4a27b.

Solidity: function fillOrderRFQToWithPermit((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount, address target, bytes permit) returns(uint256, uint256)

func (*AggregationRouterV4Session) InvalidatorForOrderRFQ

func (_AggregationRouterV4 *AggregationRouterV4Session) InvalidatorForOrderRFQ(maker common.Address, slot *big.Int) (*big.Int, error)

InvalidatorForOrderRFQ is a free data retrieval call binding the contract method 0x56f16124.

Solidity: function invalidatorForOrderRFQ(address maker, uint256 slot) view returns(uint256)

func (*AggregationRouterV4Session) LIMITORDERRFQTYPEHASH

func (_AggregationRouterV4 *AggregationRouterV4Session) LIMITORDERRFQTYPEHASH() ([32]byte, error)

LIMITORDERRFQTYPEHASH is a free data retrieval call binding the contract method 0x06bf53d0.

Solidity: function LIMIT_ORDER_RFQ_TYPEHASH() view returns(bytes32)

func (*AggregationRouterV4Session) Owner

func (_AggregationRouterV4 *AggregationRouterV4Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AggregationRouterV4Session) Receive

func (_AggregationRouterV4 *AggregationRouterV4Session) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*AggregationRouterV4Session) RenounceOwnership

func (_AggregationRouterV4 *AggregationRouterV4Session) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AggregationRouterV4Session) RescueFunds

func (_AggregationRouterV4 *AggregationRouterV4Session) 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 (*AggregationRouterV4Session) Swap

func (_AggregationRouterV4 *AggregationRouterV4Session) Swap(caller common.Address, desc AggregationRouterV4SwapDescription, 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 spentAmount, uint256 gasLeft)

func (*AggregationRouterV4Session) TransferOwnership

func (_AggregationRouterV4 *AggregationRouterV4Session) 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 (*AggregationRouterV4Session) UniswapV3Swap

func (_AggregationRouterV4 *AggregationRouterV4Session) UniswapV3Swap(amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UniswapV3Swap is a paid mutator transaction binding the contract method 0xe449022e.

Solidity: function uniswapV3Swap(uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV4Session) UniswapV3SwapCallback

func (_AggregationRouterV4 *AggregationRouterV4Session) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, arg2 []byte) (*types.Transaction, error)

UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.

Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes ) returns()

func (*AggregationRouterV4Session) UniswapV3SwapTo

func (_AggregationRouterV4 *AggregationRouterV4Session) UniswapV3SwapTo(recipient common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UniswapV3SwapTo is a paid mutator transaction binding the contract method 0xbc80f1a8.

Solidity: function uniswapV3SwapTo(address recipient, uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV4Session) UniswapV3SwapToWithPermit

func (_AggregationRouterV4 *AggregationRouterV4Session) UniswapV3SwapToWithPermit(recipient common.Address, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int, permit []byte) (*types.Transaction, error)

UniswapV3SwapToWithPermit is a paid mutator transaction binding the contract method 0x2521b930.

Solidity: function uniswapV3SwapToWithPermit(address recipient, address srcToken, uint256 amount, uint256 minReturn, uint256[] pools, bytes permit) returns(uint256 returnAmount)

func (*AggregationRouterV4Session) Unoswap

func (_AggregationRouterV4 *AggregationRouterV4Session) Unoswap(srcToken common.Address, amount *big.Int, minReturn *big.Int, pools [][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[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV4Session) UnoswapWithPermit

func (_AggregationRouterV4 *AggregationRouterV4Session) 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) returns(uint256 returnAmount)

type AggregationRouterV4SwapDescription

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

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

type AggregationRouterV4SwapInput

type AggregationRouterV4SwapInput struct {
	Caller common.Address
	Desc   AggregationRouterV4SwapDescription
	Data   []byte
}

type AggregationRouterV4Transactor

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

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

func NewAggregationRouterV4Transactor

func NewAggregationRouterV4Transactor(address common.Address, transactor bind.ContractTransactor) (*AggregationRouterV4Transactor, error)

NewAggregationRouterV4Transactor creates a new write-only instance of AggregationRouterV4, bound to a specific deployed contract.

func (*AggregationRouterV4Transactor) CancelOrderRFQ

func (_AggregationRouterV4 *AggregationRouterV4Transactor) CancelOrderRFQ(opts *bind.TransactOpts, orderInfo *big.Int) (*types.Transaction, error)

CancelOrderRFQ is a paid mutator transaction binding the contract method 0x825caba1.

Solidity: function cancelOrderRFQ(uint256 orderInfo) returns()

func (*AggregationRouterV4Transactor) ClipperSwap

func (_AggregationRouterV4 *AggregationRouterV4Transactor) ClipperSwap(opts *bind.TransactOpts, srcToken common.Address, dstToken common.Address, amount *big.Int, minReturn *big.Int) (*types.Transaction, error)

ClipperSwap is a paid mutator transaction binding the contract method 0xb0431182.

Solidity: function clipperSwap(address srcToken, address dstToken, uint256 amount, uint256 minReturn) payable returns(uint256 returnAmount)

func (*AggregationRouterV4Transactor) ClipperSwapTo

func (_AggregationRouterV4 *AggregationRouterV4Transactor) ClipperSwapTo(opts *bind.TransactOpts, recipient common.Address, srcToken common.Address, dstToken common.Address, amount *big.Int, minReturn *big.Int) (*types.Transaction, error)

ClipperSwapTo is a paid mutator transaction binding the contract method 0x9994dd15.

Solidity: function clipperSwapTo(address recipient, address srcToken, address dstToken, uint256 amount, uint256 minReturn) payable returns(uint256 returnAmount)

func (*AggregationRouterV4Transactor) ClipperSwapToWithPermit

func (_AggregationRouterV4 *AggregationRouterV4Transactor) ClipperSwapToWithPermit(opts *bind.TransactOpts, recipient common.Address, srcToken common.Address, dstToken common.Address, amount *big.Int, minReturn *big.Int, permit []byte) (*types.Transaction, error)

ClipperSwapToWithPermit is a paid mutator transaction binding the contract method 0xd6a92a5d.

Solidity: function clipperSwapToWithPermit(address recipient, address srcToken, address dstToken, uint256 amount, uint256 minReturn, bytes permit) returns(uint256 returnAmount)

func (*AggregationRouterV4Transactor) Destroy

func (_AggregationRouterV4 *AggregationRouterV4Transactor) Destroy(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function destroy() returns()

func (*AggregationRouterV4Transactor) FillOrderRFQ

func (_AggregationRouterV4 *AggregationRouterV4Transactor) FillOrderRFQ(opts *bind.TransactOpts, order LimitOrderProtocolRFQOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int) (*types.Transaction, error)

FillOrderRFQ is a paid mutator transaction binding the contract method 0xd0a3b665.

Solidity: function fillOrderRFQ((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount) payable returns(uint256, uint256)

func (*AggregationRouterV4Transactor) FillOrderRFQTo

func (_AggregationRouterV4 *AggregationRouterV4Transactor) FillOrderRFQTo(opts *bind.TransactOpts, order LimitOrderProtocolRFQOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderRFQTo is a paid mutator transaction binding the contract method 0xbaba5855.

Solidity: function fillOrderRFQTo((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount, address target) payable returns(uint256, uint256)

func (*AggregationRouterV4Transactor) FillOrderRFQToWithPermit

func (_AggregationRouterV4 *AggregationRouterV4Transactor) FillOrderRFQToWithPermit(opts *bind.TransactOpts, order LimitOrderProtocolRFQOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderRFQToWithPermit is a paid mutator transaction binding the contract method 0x4cc4a27b.

Solidity: function fillOrderRFQToWithPermit((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount, address target, bytes permit) returns(uint256, uint256)

func (*AggregationRouterV4Transactor) Receive

func (_AggregationRouterV4 *AggregationRouterV4Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*AggregationRouterV4Transactor) RenounceOwnership

func (_AggregationRouterV4 *AggregationRouterV4Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AggregationRouterV4Transactor) RescueFunds

func (_AggregationRouterV4 *AggregationRouterV4Transactor) 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 (*AggregationRouterV4Transactor) Swap

func (_AggregationRouterV4 *AggregationRouterV4Transactor) Swap(opts *bind.TransactOpts, caller common.Address, desc AggregationRouterV4SwapDescription, 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 spentAmount, uint256 gasLeft)

func (*AggregationRouterV4Transactor) TransferOwnership

func (_AggregationRouterV4 *AggregationRouterV4Transactor) 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 (*AggregationRouterV4Transactor) UniswapV3Swap

func (_AggregationRouterV4 *AggregationRouterV4Transactor) UniswapV3Swap(opts *bind.TransactOpts, amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UniswapV3Swap is a paid mutator transaction binding the contract method 0xe449022e.

Solidity: function uniswapV3Swap(uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV4Transactor) UniswapV3SwapCallback

func (_AggregationRouterV4 *AggregationRouterV4Transactor) UniswapV3SwapCallback(opts *bind.TransactOpts, amount0Delta *big.Int, amount1Delta *big.Int, arg2 []byte) (*types.Transaction, error)

UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.

Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes ) returns()

func (*AggregationRouterV4Transactor) UniswapV3SwapTo

func (_AggregationRouterV4 *AggregationRouterV4Transactor) UniswapV3SwapTo(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UniswapV3SwapTo is a paid mutator transaction binding the contract method 0xbc80f1a8.

Solidity: function uniswapV3SwapTo(address recipient, uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV4Transactor) UniswapV3SwapToWithPermit

func (_AggregationRouterV4 *AggregationRouterV4Transactor) UniswapV3SwapToWithPermit(opts *bind.TransactOpts, recipient common.Address, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int, permit []byte) (*types.Transaction, error)

UniswapV3SwapToWithPermit is a paid mutator transaction binding the contract method 0x2521b930.

Solidity: function uniswapV3SwapToWithPermit(address recipient, address srcToken, uint256 amount, uint256 minReturn, uint256[] pools, bytes permit) returns(uint256 returnAmount)

func (*AggregationRouterV4Transactor) Unoswap

func (_AggregationRouterV4 *AggregationRouterV4Transactor) Unoswap(opts *bind.TransactOpts, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools [][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[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV4Transactor) UnoswapWithPermit

func (_AggregationRouterV4 *AggregationRouterV4Transactor) 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) returns(uint256 returnAmount)

type AggregationRouterV4TransactorRaw

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

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

func (*AggregationRouterV4TransactorRaw) Transact

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

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

func (*AggregationRouterV4TransactorRaw) Transfer

func (_AggregationRouterV4 *AggregationRouterV4TransactorRaw) 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 AggregationRouterV4TransactorSession

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

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

func (*AggregationRouterV4TransactorSession) CancelOrderRFQ

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) CancelOrderRFQ(orderInfo *big.Int) (*types.Transaction, error)

CancelOrderRFQ is a paid mutator transaction binding the contract method 0x825caba1.

Solidity: function cancelOrderRFQ(uint256 orderInfo) returns()

func (*AggregationRouterV4TransactorSession) ClipperSwap

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) ClipperSwap(srcToken common.Address, dstToken common.Address, amount *big.Int, minReturn *big.Int) (*types.Transaction, error)

ClipperSwap is a paid mutator transaction binding the contract method 0xb0431182.

Solidity: function clipperSwap(address srcToken, address dstToken, uint256 amount, uint256 minReturn) payable returns(uint256 returnAmount)

func (*AggregationRouterV4TransactorSession) ClipperSwapTo

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) ClipperSwapTo(recipient common.Address, srcToken common.Address, dstToken common.Address, amount *big.Int, minReturn *big.Int) (*types.Transaction, error)

ClipperSwapTo is a paid mutator transaction binding the contract method 0x9994dd15.

Solidity: function clipperSwapTo(address recipient, address srcToken, address dstToken, uint256 amount, uint256 minReturn) payable returns(uint256 returnAmount)

func (*AggregationRouterV4TransactorSession) ClipperSwapToWithPermit

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) ClipperSwapToWithPermit(recipient common.Address, srcToken common.Address, dstToken common.Address, amount *big.Int, minReturn *big.Int, permit []byte) (*types.Transaction, error)

ClipperSwapToWithPermit is a paid mutator transaction binding the contract method 0xd6a92a5d.

Solidity: function clipperSwapToWithPermit(address recipient, address srcToken, address dstToken, uint256 amount, uint256 minReturn, bytes permit) returns(uint256 returnAmount)

func (*AggregationRouterV4TransactorSession) Destroy

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) Destroy() (*types.Transaction, error)

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

Solidity: function destroy() returns()

func (*AggregationRouterV4TransactorSession) FillOrderRFQ

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) FillOrderRFQ(order LimitOrderProtocolRFQOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int) (*types.Transaction, error)

FillOrderRFQ is a paid mutator transaction binding the contract method 0xd0a3b665.

Solidity: function fillOrderRFQ((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount) payable returns(uint256, uint256)

func (*AggregationRouterV4TransactorSession) FillOrderRFQTo

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) FillOrderRFQTo(order LimitOrderProtocolRFQOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderRFQTo is a paid mutator transaction binding the contract method 0xbaba5855.

Solidity: function fillOrderRFQTo((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount, address target) payable returns(uint256, uint256)

func (*AggregationRouterV4TransactorSession) FillOrderRFQToWithPermit

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) FillOrderRFQToWithPermit(order LimitOrderProtocolRFQOrderRFQ, signature []byte, makingAmount *big.Int, takingAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderRFQToWithPermit is a paid mutator transaction binding the contract method 0x4cc4a27b.

Solidity: function fillOrderRFQToWithPermit((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 makingAmount, uint256 takingAmount, address target, bytes permit) returns(uint256, uint256)

func (*AggregationRouterV4TransactorSession) Receive

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*AggregationRouterV4TransactorSession) RenounceOwnership

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AggregationRouterV4TransactorSession) RescueFunds

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) 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 (*AggregationRouterV4TransactorSession) 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 spentAmount, uint256 gasLeft)

func (*AggregationRouterV4TransactorSession) TransferOwnership

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) 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 (*AggregationRouterV4TransactorSession) UniswapV3Swap

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) UniswapV3Swap(amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UniswapV3Swap is a paid mutator transaction binding the contract method 0xe449022e.

Solidity: function uniswapV3Swap(uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV4TransactorSession) UniswapV3SwapCallback

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, arg2 []byte) (*types.Transaction, error)

UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.

Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes ) returns()

func (*AggregationRouterV4TransactorSession) UniswapV3SwapTo

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) UniswapV3SwapTo(recipient common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UniswapV3SwapTo is a paid mutator transaction binding the contract method 0xbc80f1a8.

Solidity: function uniswapV3SwapTo(address recipient, uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV4TransactorSession) UniswapV3SwapToWithPermit

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) UniswapV3SwapToWithPermit(recipient common.Address, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int, permit []byte) (*types.Transaction, error)

UniswapV3SwapToWithPermit is a paid mutator transaction binding the contract method 0x2521b930.

Solidity: function uniswapV3SwapToWithPermit(address recipient, address srcToken, uint256 amount, uint256 minReturn, uint256[] pools, bytes permit) returns(uint256 returnAmount)

func (*AggregationRouterV4TransactorSession) Unoswap

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) Unoswap(srcToken common.Address, amount *big.Int, minReturn *big.Int, pools [][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[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV4TransactorSession) UnoswapWithPermit

func (_AggregationRouterV4 *AggregationRouterV4TransactorSession) 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) returns(uint256 returnAmount)

type AggregationRouterV4UniswapV3SwapToInput

type AggregationRouterV4UniswapV3SwapToInput struct {
	Recipient common.Address
	Amount    *big.Int
	MinReturn *big.Int
	Pools     []*big.Int
}

type AggregationRouterV4UniswapV3SwapToWithPermitInput

type AggregationRouterV4UniswapV3SwapToWithPermitInput struct {
	AggregationRouterV4UniswapV3SwapToInput

	Permit []byte
}

type AggregationRouterV5

type AggregationRouterV5 struct {
	AggregationRouterV5Caller     // Read-only binding to the contract
	AggregationRouterV5Transactor // Write-only binding to the contract
	AggregationRouterV5Filterer   // Log filterer for contract events
}

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

func NewAggregationRouterV5

func NewAggregationRouterV5(address common.Address, backend bind.ContractBackend) (*AggregationRouterV5, error)

NewAggregationRouterV5 creates a new instance of AggregationRouterV5, bound to a specific deployed contract.

type AggregationRouterV5Caller

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

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

func NewAggregationRouterV5Caller

func NewAggregationRouterV5Caller(address common.Address, caller bind.ContractCaller) (*AggregationRouterV5Caller, error)

NewAggregationRouterV5Caller creates a new read-only instance of AggregationRouterV5, bound to a specific deployed contract.

func (*AggregationRouterV5Caller) And

func (_AggregationRouterV5 *AggregationRouterV5Caller) And(opts *bind.CallOpts, offsets *big.Int, data []byte) (bool, error)

And is a free data retrieval call binding the contract method 0xbfa75143.

Solidity: function and(uint256 offsets, bytes data) view returns(bool)

func (*AggregationRouterV5Caller) ArbitraryStaticCall

func (_AggregationRouterV5 *AggregationRouterV5Caller) ArbitraryStaticCall(opts *bind.CallOpts, target common.Address, data []byte) (*big.Int, error)

ArbitraryStaticCall is a free data retrieval call binding the contract method 0xbf15fcd8.

Solidity: function arbitraryStaticCall(address target, bytes data) view returns(uint256)

func (*AggregationRouterV5Caller) CheckPredicate

func (_AggregationRouterV5 *AggregationRouterV5Caller) CheckPredicate(opts *bind.CallOpts, order OrderLibOrder) (bool, error)

CheckPredicate is a free data retrieval call binding the contract method 0x6c838250.

Solidity: function checkPredicate((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order) view returns(bool)

func (*AggregationRouterV5Caller) Eq

func (_AggregationRouterV5 *AggregationRouterV5Caller) Eq(opts *bind.CallOpts, value *big.Int, data []byte) (bool, error)

Eq is a free data retrieval call binding the contract method 0x6fe7b0ba.

Solidity: function eq(uint256 value, bytes data) view returns(bool)

func (*AggregationRouterV5Caller) Gt

func (_AggregationRouterV5 *AggregationRouterV5Caller) Gt(opts *bind.CallOpts, value *big.Int, data []byte) (bool, error)

Gt is a free data retrieval call binding the contract method 0x4f38e2b8.

Solidity: function gt(uint256 value, bytes data) view returns(bool)

func (*AggregationRouterV5Caller) HashOrder

func (_AggregationRouterV5 *AggregationRouterV5Caller) HashOrder(opts *bind.CallOpts, order OrderLibOrder) ([32]byte, error)

HashOrder is a free data retrieval call binding the contract method 0x37e7316f.

Solidity: function hashOrder((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order) view returns(bytes32)

func (*AggregationRouterV5Caller) InvalidatorForOrderRFQ

func (_AggregationRouterV5 *AggregationRouterV5Caller) InvalidatorForOrderRFQ(opts *bind.CallOpts, maker common.Address, slot *big.Int) (*big.Int, error)

InvalidatorForOrderRFQ is a free data retrieval call binding the contract method 0x56f16124.

Solidity: function invalidatorForOrderRFQ(address maker, uint256 slot) view returns(uint256)

func (*AggregationRouterV5Caller) Lt

func (_AggregationRouterV5 *AggregationRouterV5Caller) Lt(opts *bind.CallOpts, value *big.Int, data []byte) (bool, error)

Lt is a free data retrieval call binding the contract method 0xca4ece22.

Solidity: function lt(uint256 value, bytes data) view returns(bool)

func (*AggregationRouterV5Caller) Nonce

func (_AggregationRouterV5 *AggregationRouterV5Caller) Nonce(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0x70ae92d2.

Solidity: function nonce(address ) view returns(uint256)

func (*AggregationRouterV5Caller) NonceEquals

func (_AggregationRouterV5 *AggregationRouterV5Caller) NonceEquals(opts *bind.CallOpts, makerAddress common.Address, makerNonce *big.Int) (bool, error)

NonceEquals is a free data retrieval call binding the contract method 0xcf6fc6e3.

Solidity: function nonceEquals(address makerAddress, uint256 makerNonce) view returns(bool)

func (*AggregationRouterV5Caller) Or

func (_AggregationRouterV5 *AggregationRouterV5Caller) Or(opts *bind.CallOpts, offsets *big.Int, data []byte) (bool, error)

Or is a free data retrieval call binding the contract method 0x74261145.

Solidity: function or(uint256 offsets, bytes data) view returns(bool)

func (*AggregationRouterV5Caller) Owner

func (_AggregationRouterV5 *AggregationRouterV5Caller) 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)

func (*AggregationRouterV5Caller) Remaining

func (_AggregationRouterV5 *AggregationRouterV5Caller) Remaining(opts *bind.CallOpts, orderHash [32]byte) (*big.Int, error)

Remaining is a free data retrieval call binding the contract method 0xbc1ed74c.

Solidity: function remaining(bytes32 orderHash) view returns(uint256)

func (*AggregationRouterV5Caller) RemainingRaw

func (_AggregationRouterV5 *AggregationRouterV5Caller) RemainingRaw(opts *bind.CallOpts, orderHash [32]byte) (*big.Int, error)

RemainingRaw is a free data retrieval call binding the contract method 0x7e54f092.

Solidity: function remainingRaw(bytes32 orderHash) view returns(uint256)

func (*AggregationRouterV5Caller) RemainingsRaw

func (_AggregationRouterV5 *AggregationRouterV5Caller) RemainingsRaw(opts *bind.CallOpts, orderHashes [][32]byte) ([]*big.Int, error)

RemainingsRaw is a free data retrieval call binding the contract method 0x942461bb.

Solidity: function remainingsRaw(bytes32[] orderHashes) view returns(uint256[])

func (*AggregationRouterV5Caller) TimestampBelow

func (_AggregationRouterV5 *AggregationRouterV5Caller) TimestampBelow(opts *bind.CallOpts, time *big.Int) (bool, error)

TimestampBelow is a free data retrieval call binding the contract method 0x63592c2b.

Solidity: function timestampBelow(uint256 time) view returns(bool)

func (*AggregationRouterV5Caller) TimestampBelowAndNonceEquals

func (_AggregationRouterV5 *AggregationRouterV5Caller) TimestampBelowAndNonceEquals(opts *bind.CallOpts, timeNonceAccount *big.Int) (bool, error)

TimestampBelowAndNonceEquals is a free data retrieval call binding the contract method 0x2cc2878d.

Solidity: function timestampBelowAndNonceEquals(uint256 timeNonceAccount) view returns(bool)

type AggregationRouterV5CallerRaw

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

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

func (*AggregationRouterV5CallerRaw) Call

func (_AggregationRouterV5 *AggregationRouterV5CallerRaw) 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 AggregationRouterV5CallerSession

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

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

func (*AggregationRouterV5CallerSession) And

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) And(offsets *big.Int, data []byte) (bool, error)

And is a free data retrieval call binding the contract method 0xbfa75143.

Solidity: function and(uint256 offsets, bytes data) view returns(bool)

func (*AggregationRouterV5CallerSession) ArbitraryStaticCall

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) ArbitraryStaticCall(target common.Address, data []byte) (*big.Int, error)

ArbitraryStaticCall is a free data retrieval call binding the contract method 0xbf15fcd8.

Solidity: function arbitraryStaticCall(address target, bytes data) view returns(uint256)

func (*AggregationRouterV5CallerSession) CheckPredicate

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) CheckPredicate(order OrderLibOrder) (bool, error)

CheckPredicate is a free data retrieval call binding the contract method 0x6c838250.

Solidity: function checkPredicate((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order) view returns(bool)

func (*AggregationRouterV5CallerSession) Eq

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) Eq(value *big.Int, data []byte) (bool, error)

Eq is a free data retrieval call binding the contract method 0x6fe7b0ba.

Solidity: function eq(uint256 value, bytes data) view returns(bool)

func (*AggregationRouterV5CallerSession) Gt

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) Gt(value *big.Int, data []byte) (bool, error)

Gt is a free data retrieval call binding the contract method 0x4f38e2b8.

Solidity: function gt(uint256 value, bytes data) view returns(bool)

func (*AggregationRouterV5CallerSession) HashOrder

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) HashOrder(order OrderLibOrder) ([32]byte, error)

HashOrder is a free data retrieval call binding the contract method 0x37e7316f.

Solidity: function hashOrder((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order) view returns(bytes32)

func (*AggregationRouterV5CallerSession) InvalidatorForOrderRFQ

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) InvalidatorForOrderRFQ(maker common.Address, slot *big.Int) (*big.Int, error)

InvalidatorForOrderRFQ is a free data retrieval call binding the contract method 0x56f16124.

Solidity: function invalidatorForOrderRFQ(address maker, uint256 slot) view returns(uint256)

func (*AggregationRouterV5CallerSession) Lt

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) Lt(value *big.Int, data []byte) (bool, error)

Lt is a free data retrieval call binding the contract method 0xca4ece22.

Solidity: function lt(uint256 value, bytes data) view returns(bool)

func (*AggregationRouterV5CallerSession) Nonce

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) Nonce(arg0 common.Address) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0x70ae92d2.

Solidity: function nonce(address ) view returns(uint256)

func (*AggregationRouterV5CallerSession) NonceEquals

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) NonceEquals(makerAddress common.Address, makerNonce *big.Int) (bool, error)

NonceEquals is a free data retrieval call binding the contract method 0xcf6fc6e3.

Solidity: function nonceEquals(address makerAddress, uint256 makerNonce) view returns(bool)

func (*AggregationRouterV5CallerSession) Or

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) Or(offsets *big.Int, data []byte) (bool, error)

Or is a free data retrieval call binding the contract method 0x74261145.

Solidity: function or(uint256 offsets, bytes data) view returns(bool)

func (*AggregationRouterV5CallerSession) Owner

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AggregationRouterV5CallerSession) Remaining

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) Remaining(orderHash [32]byte) (*big.Int, error)

Remaining is a free data retrieval call binding the contract method 0xbc1ed74c.

Solidity: function remaining(bytes32 orderHash) view returns(uint256)

func (*AggregationRouterV5CallerSession) RemainingRaw

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) RemainingRaw(orderHash [32]byte) (*big.Int, error)

RemainingRaw is a free data retrieval call binding the contract method 0x7e54f092.

Solidity: function remainingRaw(bytes32 orderHash) view returns(uint256)

func (*AggregationRouterV5CallerSession) RemainingsRaw

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) RemainingsRaw(orderHashes [][32]byte) ([]*big.Int, error)

RemainingsRaw is a free data retrieval call binding the contract method 0x942461bb.

Solidity: function remainingsRaw(bytes32[] orderHashes) view returns(uint256[])

func (*AggregationRouterV5CallerSession) TimestampBelow

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) TimestampBelow(time *big.Int) (bool, error)

TimestampBelow is a free data retrieval call binding the contract method 0x63592c2b.

Solidity: function timestampBelow(uint256 time) view returns(bool)

func (*AggregationRouterV5CallerSession) TimestampBelowAndNonceEquals

func (_AggregationRouterV5 *AggregationRouterV5CallerSession) TimestampBelowAndNonceEquals(timeNonceAccount *big.Int) (bool, error)

TimestampBelowAndNonceEquals is a free data retrieval call binding the contract method 0x2cc2878d.

Solidity: function timestampBelowAndNonceEquals(uint256 timeNonceAccount) view returns(bool)

type AggregationRouterV5ClipperSwapToInput

type AggregationRouterV5ClipperSwapToInput struct {
	ClipperExchange common.Address
	Recipient       common.Address
	SrcToken        common.Address
	DstToken        common.Address
	InputAmount     *big.Int
	OutputAmount    *big.Int
	GoodUntil       *big.Int
	R               []byte
	VS              []byte
}

type AggregationRouterV5ClipperSwapToWithPermitInput

type AggregationRouterV5ClipperSwapToWithPermitInput struct {
	AggregationRouterV5ClipperSwapToInput

	Permit []byte
}

type AggregationRouterV5FillOrderRFQToInput

type AggregationRouterV5FillOrderRFQToInput struct {
	OrderRFQLibOrderRFQ
	Signature      []byte
	FlagsAndAmount *big.Int
	Target         common.Address
}

type AggregationRouterV5FillOrderRFQToWithPermitInput

type AggregationRouterV5FillOrderRFQToWithPermitInput struct {
	AggregationRouterV5FillOrderRFQToInput

	Permit []byte
}

type AggregationRouterV5FillOrderToInput

type AggregationRouterV5FillOrderToInput struct {
	OrderLibOrder

	Signature                    []byte
	Interaction                  []byte
	MakingAmount                 *big.Int
	TakingAmount                 *big.Int
	SkipPermitAndThresholdAmount *big.Int
	Target                       common.Address
}

type AggregationRouterV5FillOrderToWithPermitInput

type AggregationRouterV5FillOrderToWithPermitInput struct {
	AggregationRouterV5FillOrderToInput

	Permit []byte
}

type AggregationRouterV5Filterer

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

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

func NewAggregationRouterV5Filterer

func NewAggregationRouterV5Filterer(address common.Address, filterer bind.ContractFilterer) (*AggregationRouterV5Filterer, error)

NewAggregationRouterV5Filterer creates a new log filterer instance of AggregationRouterV5, bound to a specific deployed contract.

func (*AggregationRouterV5Filterer) FilterNonceIncreased

func (_AggregationRouterV5 *AggregationRouterV5Filterer) FilterNonceIncreased(opts *bind.FilterOpts, maker []common.Address) (*AggregationRouterV5NonceIncreasedIterator, error)

FilterNonceIncreased is a free log retrieval operation binding the contract event 0xfc69110dd11eb791755e4abd6b7d281bae236de95736d38a23782814be5e10db.

Solidity: event NonceIncreased(address indexed maker, uint256 newNonce)

func (*AggregationRouterV5Filterer) FilterOrderCanceled

func (_AggregationRouterV5 *AggregationRouterV5Filterer) FilterOrderCanceled(opts *bind.FilterOpts, maker []common.Address) (*AggregationRouterV5OrderCanceledIterator, error)

FilterOrderCanceled is a free log retrieval operation binding the contract event 0xcbfa7d191838ece7ba4783ca3a30afd316619b7f368094b57ee7ffde9a923db1.

Solidity: event OrderCanceled(address indexed maker, bytes32 orderHash, uint256 remainingRaw)

func (*AggregationRouterV5Filterer) FilterOrderFilled

func (_AggregationRouterV5 *AggregationRouterV5Filterer) FilterOrderFilled(opts *bind.FilterOpts, maker []common.Address) (*AggregationRouterV5OrderFilledIterator, error)

FilterOrderFilled is a free log retrieval operation binding the contract event 0xb9ed0243fdf00f0545c63a0af8850c090d86bb46682baec4bf3c496814fe4f02.

Solidity: event OrderFilled(address indexed maker, bytes32 orderHash, uint256 remaining)

func (*AggregationRouterV5Filterer) FilterOrderFilledRFQ

func (_AggregationRouterV5 *AggregationRouterV5Filterer) FilterOrderFilledRFQ(opts *bind.FilterOpts) (*AggregationRouterV5OrderFilledRFQIterator, error)

FilterOrderFilledRFQ is a free log retrieval operation binding the contract event 0xc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127.

Solidity: event OrderFilledRFQ(bytes32 orderHash, uint256 makingAmount)

func (*AggregationRouterV5Filterer) FilterOwnershipTransferred

func (_AggregationRouterV5 *AggregationRouterV5Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AggregationRouterV5OwnershipTransferredIterator, error)

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

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

func (*AggregationRouterV5Filterer) ParseNonceIncreased

func (_AggregationRouterV5 *AggregationRouterV5Filterer) ParseNonceIncreased(log types.Log) (*AggregationRouterV5NonceIncreased, error)

ParseNonceIncreased is a log parse operation binding the contract event 0xfc69110dd11eb791755e4abd6b7d281bae236de95736d38a23782814be5e10db.

Solidity: event NonceIncreased(address indexed maker, uint256 newNonce)

func (*AggregationRouterV5Filterer) ParseOrderCanceled

func (_AggregationRouterV5 *AggregationRouterV5Filterer) ParseOrderCanceled(log types.Log) (*AggregationRouterV5OrderCanceled, error)

ParseOrderCanceled is a log parse operation binding the contract event 0xcbfa7d191838ece7ba4783ca3a30afd316619b7f368094b57ee7ffde9a923db1.

Solidity: event OrderCanceled(address indexed maker, bytes32 orderHash, uint256 remainingRaw)

func (*AggregationRouterV5Filterer) ParseOrderFilled

func (_AggregationRouterV5 *AggregationRouterV5Filterer) ParseOrderFilled(log types.Log) (*AggregationRouterV5OrderFilled, error)

ParseOrderFilled is a log parse operation binding the contract event 0xb9ed0243fdf00f0545c63a0af8850c090d86bb46682baec4bf3c496814fe4f02.

Solidity: event OrderFilled(address indexed maker, bytes32 orderHash, uint256 remaining)

func (*AggregationRouterV5Filterer) ParseOrderFilledRFQ

func (_AggregationRouterV5 *AggregationRouterV5Filterer) ParseOrderFilledRFQ(log types.Log) (*AggregationRouterV5OrderFilledRFQ, error)

ParseOrderFilledRFQ is a log parse operation binding the contract event 0xc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127.

Solidity: event OrderFilledRFQ(bytes32 orderHash, uint256 makingAmount)

func (*AggregationRouterV5Filterer) ParseOwnershipTransferred

func (_AggregationRouterV5 *AggregationRouterV5Filterer) ParseOwnershipTransferred(log types.Log) (*AggregationRouterV5OwnershipTransferred, error)

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

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

func (*AggregationRouterV5Filterer) WatchNonceIncreased

func (_AggregationRouterV5 *AggregationRouterV5Filterer) WatchNonceIncreased(opts *bind.WatchOpts, sink chan<- *AggregationRouterV5NonceIncreased, maker []common.Address) (event.Subscription, error)

WatchNonceIncreased is a free log subscription operation binding the contract event 0xfc69110dd11eb791755e4abd6b7d281bae236de95736d38a23782814be5e10db.

Solidity: event NonceIncreased(address indexed maker, uint256 newNonce)

func (*AggregationRouterV5Filterer) WatchOrderCanceled

func (_AggregationRouterV5 *AggregationRouterV5Filterer) WatchOrderCanceled(opts *bind.WatchOpts, sink chan<- *AggregationRouterV5OrderCanceled, maker []common.Address) (event.Subscription, error)

WatchOrderCanceled is a free log subscription operation binding the contract event 0xcbfa7d191838ece7ba4783ca3a30afd316619b7f368094b57ee7ffde9a923db1.

Solidity: event OrderCanceled(address indexed maker, bytes32 orderHash, uint256 remainingRaw)

func (*AggregationRouterV5Filterer) WatchOrderFilled

func (_AggregationRouterV5 *AggregationRouterV5Filterer) WatchOrderFilled(opts *bind.WatchOpts, sink chan<- *AggregationRouterV5OrderFilled, maker []common.Address) (event.Subscription, error)

WatchOrderFilled is a free log subscription operation binding the contract event 0xb9ed0243fdf00f0545c63a0af8850c090d86bb46682baec4bf3c496814fe4f02.

Solidity: event OrderFilled(address indexed maker, bytes32 orderHash, uint256 remaining)

func (*AggregationRouterV5Filterer) WatchOrderFilledRFQ

func (_AggregationRouterV5 *AggregationRouterV5Filterer) WatchOrderFilledRFQ(opts *bind.WatchOpts, sink chan<- *AggregationRouterV5OrderFilledRFQ) (event.Subscription, error)

WatchOrderFilledRFQ is a free log subscription operation binding the contract event 0xc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127.

Solidity: event OrderFilledRFQ(bytes32 orderHash, uint256 makingAmount)

func (*AggregationRouterV5Filterer) WatchOwnershipTransferred

func (_AggregationRouterV5 *AggregationRouterV5Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AggregationRouterV5OwnershipTransferred, 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)

type AggregationRouterV5NonceIncreased

type AggregationRouterV5NonceIncreased struct {
	Maker    common.Address
	NewNonce *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

AggregationRouterV5NonceIncreased represents a NonceIncreased event raised by the AggregationRouterV5 contract.

type AggregationRouterV5NonceIncreasedIterator

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

AggregationRouterV5NonceIncreasedIterator is returned from FilterNonceIncreased and is used to iterate over the raw logs and unpacked data for NonceIncreased events raised by the AggregationRouterV5 contract.

func (*AggregationRouterV5NonceIncreasedIterator) Close

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

func (*AggregationRouterV5NonceIncreasedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV5NonceIncreasedIterator) 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 AggregationRouterV5OrderCanceled

type AggregationRouterV5OrderCanceled struct {
	Maker        common.Address
	OrderHash    [32]byte
	RemainingRaw *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

AggregationRouterV5OrderCanceled represents a OrderCanceled event raised by the AggregationRouterV5 contract.

type AggregationRouterV5OrderCanceledIterator

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

AggregationRouterV5OrderCanceledIterator is returned from FilterOrderCanceled and is used to iterate over the raw logs and unpacked data for OrderCanceled events raised by the AggregationRouterV5 contract.

func (*AggregationRouterV5OrderCanceledIterator) Close

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

func (*AggregationRouterV5OrderCanceledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV5OrderCanceledIterator) 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 AggregationRouterV5OrderFilled

type AggregationRouterV5OrderFilled struct {
	Maker     common.Address
	OrderHash [32]byte
	Remaining *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

AggregationRouterV5OrderFilled represents a OrderFilled event raised by the AggregationRouterV5 contract.

type AggregationRouterV5OrderFilledIterator

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

AggregationRouterV5OrderFilledIterator is returned from FilterOrderFilled and is used to iterate over the raw logs and unpacked data for OrderFilled events raised by the AggregationRouterV5 contract.

func (*AggregationRouterV5OrderFilledIterator) Close

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

func (*AggregationRouterV5OrderFilledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV5OrderFilledIterator) 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 AggregationRouterV5OrderFilledRFQ

type AggregationRouterV5OrderFilledRFQ struct {
	OrderHash    [32]byte
	MakingAmount *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

AggregationRouterV5OrderFilledRFQ represents a OrderFilledRFQ event raised by the AggregationRouterV5 contract.

type AggregationRouterV5OrderFilledRFQIterator

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

AggregationRouterV5OrderFilledRFQIterator is returned from FilterOrderFilledRFQ and is used to iterate over the raw logs and unpacked data for OrderFilledRFQ events raised by the AggregationRouterV5 contract.

func (*AggregationRouterV5OrderFilledRFQIterator) Close

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

func (*AggregationRouterV5OrderFilledRFQIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV5OrderFilledRFQIterator) 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 AggregationRouterV5OwnershipTransferred

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

AggregationRouterV5OwnershipTransferred represents a OwnershipTransferred event raised by the AggregationRouterV5 contract.

type AggregationRouterV5OwnershipTransferredIterator

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

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

func (*AggregationRouterV5OwnershipTransferredIterator) Close

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

func (*AggregationRouterV5OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AggregationRouterV5OwnershipTransferredIterator) 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 AggregationRouterV5Raw

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

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

func (*AggregationRouterV5Raw) Call

func (_AggregationRouterV5 *AggregationRouterV5Raw) 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 (*AggregationRouterV5Raw) Transact

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

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

func (*AggregationRouterV5Raw) Transfer

func (_AggregationRouterV5 *AggregationRouterV5Raw) 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 AggregationRouterV5Session

type AggregationRouterV5Session struct {
	Contract     *AggregationRouterV5 // 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
}

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

func (*AggregationRouterV5Session) AdvanceNonce

func (_AggregationRouterV5 *AggregationRouterV5Session) AdvanceNonce(amount uint8) (*types.Transaction, error)

AdvanceNonce is a paid mutator transaction binding the contract method 0x72c244a8.

Solidity: function advanceNonce(uint8 amount) returns()

func (*AggregationRouterV5Session) And

func (_AggregationRouterV5 *AggregationRouterV5Session) And(offsets *big.Int, data []byte) (bool, error)

And is a free data retrieval call binding the contract method 0xbfa75143.

Solidity: function and(uint256 offsets, bytes data) view returns(bool)

func (*AggregationRouterV5Session) ArbitraryStaticCall

func (_AggregationRouterV5 *AggregationRouterV5Session) ArbitraryStaticCall(target common.Address, data []byte) (*big.Int, error)

ArbitraryStaticCall is a free data retrieval call binding the contract method 0xbf15fcd8.

Solidity: function arbitraryStaticCall(address target, bytes data) view returns(uint256)

func (*AggregationRouterV5Session) CancelOrder

func (_AggregationRouterV5 *AggregationRouterV5Session) CancelOrder(order OrderLibOrder) (*types.Transaction, error)

CancelOrder is a paid mutator transaction binding the contract method 0x2d9a56f6.

Solidity: function cancelOrder((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order) returns(uint256 orderRemaining, bytes32 orderHash)

func (*AggregationRouterV5Session) CancelOrderRFQ

func (_AggregationRouterV5 *AggregationRouterV5Session) CancelOrderRFQ(orderInfo *big.Int) (*types.Transaction, error)

CancelOrderRFQ is a paid mutator transaction binding the contract method 0x825caba1.

Solidity: function cancelOrderRFQ(uint256 orderInfo) returns()

func (*AggregationRouterV5Session) CancelOrderRFQ0

func (_AggregationRouterV5 *AggregationRouterV5Session) CancelOrderRFQ0(orderInfo *big.Int, additionalMask *big.Int) (*types.Transaction, error)

CancelOrderRFQ0 is a paid mutator transaction binding the contract method 0xbddccd35.

Solidity: function cancelOrderRFQ(uint256 orderInfo, uint256 additionalMask) returns()

func (*AggregationRouterV5Session) CheckPredicate

func (_AggregationRouterV5 *AggregationRouterV5Session) CheckPredicate(order OrderLibOrder) (bool, error)

CheckPredicate is a free data retrieval call binding the contract method 0x6c838250.

Solidity: function checkPredicate((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order) view returns(bool)

func (*AggregationRouterV5Session) ClipperSwap

func (_AggregationRouterV5 *AggregationRouterV5Session) ClipperSwap(clipperExchange common.Address, srcToken common.Address, dstToken common.Address, inputAmount *big.Int, outputAmount *big.Int, goodUntil *big.Int, r [32]byte, vs [32]byte) (*types.Transaction, error)

ClipperSwap is a paid mutator transaction binding the contract method 0x84bd6d29.

Solidity: function clipperSwap(address clipperExchange, address srcToken, address dstToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, bytes32 r, bytes32 vs) payable returns(uint256 returnAmount)

func (*AggregationRouterV5Session) ClipperSwapTo

func (_AggregationRouterV5 *AggregationRouterV5Session) ClipperSwapTo(clipperExchange common.Address, recipient common.Address, srcToken common.Address, dstToken common.Address, inputAmount *big.Int, outputAmount *big.Int, goodUntil *big.Int, r [32]byte, vs [32]byte) (*types.Transaction, error)

ClipperSwapTo is a paid mutator transaction binding the contract method 0x093d4fa5.

Solidity: function clipperSwapTo(address clipperExchange, address recipient, address srcToken, address dstToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, bytes32 r, bytes32 vs) payable returns(uint256 returnAmount)

func (*AggregationRouterV5Session) ClipperSwapToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5Session) ClipperSwapToWithPermit(clipperExchange common.Address, recipient common.Address, srcToken common.Address, dstToken common.Address, inputAmount *big.Int, outputAmount *big.Int, goodUntil *big.Int, r [32]byte, vs [32]byte, permit []byte) (*types.Transaction, error)

ClipperSwapToWithPermit is a paid mutator transaction binding the contract method 0xc805a666.

Solidity: function clipperSwapToWithPermit(address clipperExchange, address recipient, address srcToken, address dstToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, bytes32 r, bytes32 vs, bytes permit) returns(uint256 returnAmount)

func (*AggregationRouterV5Session) Destroy

func (_AggregationRouterV5 *AggregationRouterV5Session) Destroy() (*types.Transaction, error)

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

Solidity: function destroy() returns()

func (*AggregationRouterV5Session) Eq

func (_AggregationRouterV5 *AggregationRouterV5Session) Eq(value *big.Int, data []byte) (bool, error)

Eq is a free data retrieval call binding the contract method 0x6fe7b0ba.

Solidity: function eq(uint256 value, bytes data) view returns(bool)

func (*AggregationRouterV5Session) FillOrder

func (_AggregationRouterV5 *AggregationRouterV5Session) FillOrder(order OrderLibOrder, signature []byte, interaction []byte, makingAmount *big.Int, takingAmount *big.Int, skipPermitAndThresholdAmount *big.Int) (*types.Transaction, error)

FillOrder is a paid mutator transaction binding the contract method 0x62e238bb.

Solidity: function fillOrder((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order, bytes signature, bytes interaction, uint256 makingAmount, uint256 takingAmount, uint256 skipPermitAndThresholdAmount) payable returns(uint256, uint256, bytes32)

func (*AggregationRouterV5Session) FillOrderRFQ

func (_AggregationRouterV5 *AggregationRouterV5Session) FillOrderRFQ(order OrderRFQLibOrderRFQ, signature []byte, flagsAndAmount *big.Int) (*types.Transaction, error)

FillOrderRFQ is a paid mutator transaction binding the contract method 0x3eca9c0a.

Solidity: function fillOrderRFQ((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 flagsAndAmount) payable returns(uint256, uint256, bytes32)

func (*AggregationRouterV5Session) FillOrderRFQCompact

func (_AggregationRouterV5 *AggregationRouterV5Session) FillOrderRFQCompact(order OrderRFQLibOrderRFQ, r [32]byte, vs [32]byte, flagsAndAmount *big.Int) (*types.Transaction, error)

FillOrderRFQCompact is a paid mutator transaction binding the contract method 0x9570eeee.

Solidity: function fillOrderRFQCompact((uint256,address,address,address,address,uint256,uint256) order, bytes32 r, bytes32 vs, uint256 flagsAndAmount) payable returns(uint256 filledMakingAmount, uint256 filledTakingAmount, bytes32 orderHash)

func (*AggregationRouterV5Session) FillOrderRFQTo

func (_AggregationRouterV5 *AggregationRouterV5Session) FillOrderRFQTo(order OrderRFQLibOrderRFQ, signature []byte, flagsAndAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderRFQTo is a paid mutator transaction binding the contract method 0x5a099843.

Solidity: function fillOrderRFQTo((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 flagsAndAmount, address target) payable returns(uint256 filledMakingAmount, uint256 filledTakingAmount, bytes32 orderHash)

func (*AggregationRouterV5Session) FillOrderRFQToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5Session) FillOrderRFQToWithPermit(order OrderRFQLibOrderRFQ, signature []byte, flagsAndAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderRFQToWithPermit is a paid mutator transaction binding the contract method 0x70ccbd31.

Solidity: function fillOrderRFQToWithPermit((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 flagsAndAmount, address target, bytes permit) returns(uint256, uint256, bytes32)

func (*AggregationRouterV5Session) FillOrderTo

func (_AggregationRouterV5 *AggregationRouterV5Session) FillOrderTo(order_ OrderLibOrder, signature []byte, interaction []byte, makingAmount *big.Int, takingAmount *big.Int, skipPermitAndThresholdAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderTo is a paid mutator transaction binding the contract method 0xe5d7bde6.

Solidity: function fillOrderTo((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order_, bytes signature, bytes interaction, uint256 makingAmount, uint256 takingAmount, uint256 skipPermitAndThresholdAmount, address target) payable returns(uint256 actualMakingAmount, uint256 actualTakingAmount, bytes32 orderHash)

func (*AggregationRouterV5Session) FillOrderToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5Session) FillOrderToWithPermit(order OrderLibOrder, signature []byte, interaction []byte, makingAmount *big.Int, takingAmount *big.Int, skipPermitAndThresholdAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderToWithPermit is a paid mutator transaction binding the contract method 0xd365c695.

Solidity: function fillOrderToWithPermit((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order, bytes signature, bytes interaction, uint256 makingAmount, uint256 takingAmount, uint256 skipPermitAndThresholdAmount, address target, bytes permit) returns(uint256, uint256, bytes32)

func (*AggregationRouterV5Session) Gt

func (_AggregationRouterV5 *AggregationRouterV5Session) Gt(value *big.Int, data []byte) (bool, error)

Gt is a free data retrieval call binding the contract method 0x4f38e2b8.

Solidity: function gt(uint256 value, bytes data) view returns(bool)

func (*AggregationRouterV5Session) HashOrder

func (_AggregationRouterV5 *AggregationRouterV5Session) HashOrder(order OrderLibOrder) ([32]byte, error)

HashOrder is a free data retrieval call binding the contract method 0x37e7316f.

Solidity: function hashOrder((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order) view returns(bytes32)

func (*AggregationRouterV5Session) IncreaseNonce

func (_AggregationRouterV5 *AggregationRouterV5Session) IncreaseNonce() (*types.Transaction, error)

IncreaseNonce is a paid mutator transaction binding the contract method 0xc53a0292.

Solidity: function increaseNonce() returns()

func (*AggregationRouterV5Session) InvalidatorForOrderRFQ

func (_AggregationRouterV5 *AggregationRouterV5Session) InvalidatorForOrderRFQ(maker common.Address, slot *big.Int) (*big.Int, error)

InvalidatorForOrderRFQ is a free data retrieval call binding the contract method 0x56f16124.

Solidity: function invalidatorForOrderRFQ(address maker, uint256 slot) view returns(uint256)

func (*AggregationRouterV5Session) Lt

func (_AggregationRouterV5 *AggregationRouterV5Session) Lt(value *big.Int, data []byte) (bool, error)

Lt is a free data retrieval call binding the contract method 0xca4ece22.

Solidity: function lt(uint256 value, bytes data) view returns(bool)

func (*AggregationRouterV5Session) Nonce

func (_AggregationRouterV5 *AggregationRouterV5Session) Nonce(arg0 common.Address) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0x70ae92d2.

Solidity: function nonce(address ) view returns(uint256)

func (*AggregationRouterV5Session) NonceEquals

func (_AggregationRouterV5 *AggregationRouterV5Session) NonceEquals(makerAddress common.Address, makerNonce *big.Int) (bool, error)

NonceEquals is a free data retrieval call binding the contract method 0xcf6fc6e3.

Solidity: function nonceEquals(address makerAddress, uint256 makerNonce) view returns(bool)

func (*AggregationRouterV5Session) Or

func (_AggregationRouterV5 *AggregationRouterV5Session) Or(offsets *big.Int, data []byte) (bool, error)

Or is a free data retrieval call binding the contract method 0x74261145.

Solidity: function or(uint256 offsets, bytes data) view returns(bool)

func (*AggregationRouterV5Session) Owner

func (_AggregationRouterV5 *AggregationRouterV5Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AggregationRouterV5Session) Receive

func (_AggregationRouterV5 *AggregationRouterV5Session) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*AggregationRouterV5Session) Remaining

func (_AggregationRouterV5 *AggregationRouterV5Session) Remaining(orderHash [32]byte) (*big.Int, error)

Remaining is a free data retrieval call binding the contract method 0xbc1ed74c.

Solidity: function remaining(bytes32 orderHash) view returns(uint256)

func (*AggregationRouterV5Session) RemainingRaw

func (_AggregationRouterV5 *AggregationRouterV5Session) RemainingRaw(orderHash [32]byte) (*big.Int, error)

RemainingRaw is a free data retrieval call binding the contract method 0x7e54f092.

Solidity: function remainingRaw(bytes32 orderHash) view returns(uint256)

func (*AggregationRouterV5Session) RemainingsRaw

func (_AggregationRouterV5 *AggregationRouterV5Session) RemainingsRaw(orderHashes [][32]byte) ([]*big.Int, error)

RemainingsRaw is a free data retrieval call binding the contract method 0x942461bb.

Solidity: function remainingsRaw(bytes32[] orderHashes) view returns(uint256[])

func (*AggregationRouterV5Session) RenounceOwnership

func (_AggregationRouterV5 *AggregationRouterV5Session) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AggregationRouterV5Session) RescueFunds

func (_AggregationRouterV5 *AggregationRouterV5Session) 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 (*AggregationRouterV5Session) Simulate

func (_AggregationRouterV5 *AggregationRouterV5Session) Simulate(target common.Address, data []byte) (*types.Transaction, error)

Simulate is a paid mutator transaction binding the contract method 0xbd61951d.

Solidity: function simulate(address target, bytes data) returns()

func (*AggregationRouterV5Session) Swap

func (_AggregationRouterV5 *AggregationRouterV5Session) Swap(executor common.Address, desc GenericRouterSwapDescription, permit []byte, data []byte) (*types.Transaction, error)

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

Solidity: function swap(address executor, (address,address,address,address,uint256,uint256,uint256) desc, bytes permit, bytes data) payable returns(uint256 returnAmount, uint256 spentAmount)

func (*AggregationRouterV5Session) TimestampBelow

func (_AggregationRouterV5 *AggregationRouterV5Session) TimestampBelow(time *big.Int) (bool, error)

TimestampBelow is a free data retrieval call binding the contract method 0x63592c2b.

Solidity: function timestampBelow(uint256 time) view returns(bool)

func (*AggregationRouterV5Session) TimestampBelowAndNonceEquals

func (_AggregationRouterV5 *AggregationRouterV5Session) TimestampBelowAndNonceEquals(timeNonceAccount *big.Int) (bool, error)

TimestampBelowAndNonceEquals is a free data retrieval call binding the contract method 0x2cc2878d.

Solidity: function timestampBelowAndNonceEquals(uint256 timeNonceAccount) view returns(bool)

func (*AggregationRouterV5Session) TransferOwnership

func (_AggregationRouterV5 *AggregationRouterV5Session) 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 (*AggregationRouterV5Session) UniswapV3Swap

func (_AggregationRouterV5 *AggregationRouterV5Session) UniswapV3Swap(amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UniswapV3Swap is a paid mutator transaction binding the contract method 0xe449022e.

Solidity: function uniswapV3Swap(uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV5Session) UniswapV3SwapCallback

func (_AggregationRouterV5 *AggregationRouterV5Session) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, arg2 []byte) (*types.Transaction, error)

UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.

Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes ) returns()

func (*AggregationRouterV5Session) UniswapV3SwapTo

func (_AggregationRouterV5 *AggregationRouterV5Session) UniswapV3SwapTo(recipient common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UniswapV3SwapTo is a paid mutator transaction binding the contract method 0xbc80f1a8.

Solidity: function uniswapV3SwapTo(address recipient, uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV5Session) UniswapV3SwapToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5Session) UniswapV3SwapToWithPermit(recipient common.Address, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int, permit []byte) (*types.Transaction, error)

UniswapV3SwapToWithPermit is a paid mutator transaction binding the contract method 0x2521b930.

Solidity: function uniswapV3SwapToWithPermit(address recipient, address srcToken, uint256 amount, uint256 minReturn, uint256[] pools, bytes permit) returns(uint256 returnAmount)

func (*AggregationRouterV5Session) Unoswap

func (_AggregationRouterV5 *AggregationRouterV5Session) Unoswap(srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

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

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

func (*AggregationRouterV5Session) UnoswapTo

func (_AggregationRouterV5 *AggregationRouterV5Session) UnoswapTo(recipient common.Address, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UnoswapTo is a paid mutator transaction binding the contract method 0xf78dc253.

Solidity: function unoswapTo(address recipient, address srcToken, uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV5Session) UnoswapToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5Session) UnoswapToWithPermit(recipient common.Address, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int, permit []byte) (*types.Transaction, error)

UnoswapToWithPermit is a paid mutator transaction binding the contract method 0x3c15fd91.

Solidity: function unoswapToWithPermit(address recipient, address srcToken, uint256 amount, uint256 minReturn, uint256[] pools, bytes permit) returns(uint256 returnAmount)

type AggregationRouterV5SwapInput

type AggregationRouterV5SwapInput struct {
	Executor common.Address
	Desc     GenericRouterSwapDescription
	Permit   []byte
	Data     []byte
}

type AggregationRouterV5Transactor

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

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

func NewAggregationRouterV5Transactor

func NewAggregationRouterV5Transactor(address common.Address, transactor bind.ContractTransactor) (*AggregationRouterV5Transactor, error)

NewAggregationRouterV5Transactor creates a new write-only instance of AggregationRouterV5, bound to a specific deployed contract.

func (*AggregationRouterV5Transactor) AdvanceNonce

func (_AggregationRouterV5 *AggregationRouterV5Transactor) AdvanceNonce(opts *bind.TransactOpts, amount uint8) (*types.Transaction, error)

AdvanceNonce is a paid mutator transaction binding the contract method 0x72c244a8.

Solidity: function advanceNonce(uint8 amount) returns()

func (*AggregationRouterV5Transactor) CancelOrder

func (_AggregationRouterV5 *AggregationRouterV5Transactor) CancelOrder(opts *bind.TransactOpts, order OrderLibOrder) (*types.Transaction, error)

CancelOrder is a paid mutator transaction binding the contract method 0x2d9a56f6.

Solidity: function cancelOrder((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order) returns(uint256 orderRemaining, bytes32 orderHash)

func (*AggregationRouterV5Transactor) CancelOrderRFQ

func (_AggregationRouterV5 *AggregationRouterV5Transactor) CancelOrderRFQ(opts *bind.TransactOpts, orderInfo *big.Int) (*types.Transaction, error)

CancelOrderRFQ is a paid mutator transaction binding the contract method 0x825caba1.

Solidity: function cancelOrderRFQ(uint256 orderInfo) returns()

func (*AggregationRouterV5Transactor) CancelOrderRFQ0

func (_AggregationRouterV5 *AggregationRouterV5Transactor) CancelOrderRFQ0(opts *bind.TransactOpts, orderInfo *big.Int, additionalMask *big.Int) (*types.Transaction, error)

CancelOrderRFQ0 is a paid mutator transaction binding the contract method 0xbddccd35.

Solidity: function cancelOrderRFQ(uint256 orderInfo, uint256 additionalMask) returns()

func (*AggregationRouterV5Transactor) ClipperSwap

func (_AggregationRouterV5 *AggregationRouterV5Transactor) ClipperSwap(opts *bind.TransactOpts, clipperExchange common.Address, srcToken common.Address, dstToken common.Address, inputAmount *big.Int, outputAmount *big.Int, goodUntil *big.Int, r [32]byte, vs [32]byte) (*types.Transaction, error)

ClipperSwap is a paid mutator transaction binding the contract method 0x84bd6d29.

Solidity: function clipperSwap(address clipperExchange, address srcToken, address dstToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, bytes32 r, bytes32 vs) payable returns(uint256 returnAmount)

func (*AggregationRouterV5Transactor) ClipperSwapTo

func (_AggregationRouterV5 *AggregationRouterV5Transactor) ClipperSwapTo(opts *bind.TransactOpts, clipperExchange common.Address, recipient common.Address, srcToken common.Address, dstToken common.Address, inputAmount *big.Int, outputAmount *big.Int, goodUntil *big.Int, r [32]byte, vs [32]byte) (*types.Transaction, error)

ClipperSwapTo is a paid mutator transaction binding the contract method 0x093d4fa5.

Solidity: function clipperSwapTo(address clipperExchange, address recipient, address srcToken, address dstToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, bytes32 r, bytes32 vs) payable returns(uint256 returnAmount)

func (*AggregationRouterV5Transactor) ClipperSwapToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5Transactor) ClipperSwapToWithPermit(opts *bind.TransactOpts, clipperExchange common.Address, recipient common.Address, srcToken common.Address, dstToken common.Address, inputAmount *big.Int, outputAmount *big.Int, goodUntil *big.Int, r [32]byte, vs [32]byte, permit []byte) (*types.Transaction, error)

ClipperSwapToWithPermit is a paid mutator transaction binding the contract method 0xc805a666.

Solidity: function clipperSwapToWithPermit(address clipperExchange, address recipient, address srcToken, address dstToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, bytes32 r, bytes32 vs, bytes permit) returns(uint256 returnAmount)

func (*AggregationRouterV5Transactor) Destroy

func (_AggregationRouterV5 *AggregationRouterV5Transactor) Destroy(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function destroy() returns()

func (*AggregationRouterV5Transactor) FillOrder

func (_AggregationRouterV5 *AggregationRouterV5Transactor) FillOrder(opts *bind.TransactOpts, order OrderLibOrder, signature []byte, interaction []byte, makingAmount *big.Int, takingAmount *big.Int, skipPermitAndThresholdAmount *big.Int) (*types.Transaction, error)

FillOrder is a paid mutator transaction binding the contract method 0x62e238bb.

Solidity: function fillOrder((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order, bytes signature, bytes interaction, uint256 makingAmount, uint256 takingAmount, uint256 skipPermitAndThresholdAmount) payable returns(uint256, uint256, bytes32)

func (*AggregationRouterV5Transactor) FillOrderRFQ

func (_AggregationRouterV5 *AggregationRouterV5Transactor) FillOrderRFQ(opts *bind.TransactOpts, order OrderRFQLibOrderRFQ, signature []byte, flagsAndAmount *big.Int) (*types.Transaction, error)

FillOrderRFQ is a paid mutator transaction binding the contract method 0x3eca9c0a.

Solidity: function fillOrderRFQ((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 flagsAndAmount) payable returns(uint256, uint256, bytes32)

func (*AggregationRouterV5Transactor) FillOrderRFQCompact

func (_AggregationRouterV5 *AggregationRouterV5Transactor) FillOrderRFQCompact(opts *bind.TransactOpts, order OrderRFQLibOrderRFQ, r [32]byte, vs [32]byte, flagsAndAmount *big.Int) (*types.Transaction, error)

FillOrderRFQCompact is a paid mutator transaction binding the contract method 0x9570eeee.

Solidity: function fillOrderRFQCompact((uint256,address,address,address,address,uint256,uint256) order, bytes32 r, bytes32 vs, uint256 flagsAndAmount) payable returns(uint256 filledMakingAmount, uint256 filledTakingAmount, bytes32 orderHash)

func (*AggregationRouterV5Transactor) FillOrderRFQTo

func (_AggregationRouterV5 *AggregationRouterV5Transactor) FillOrderRFQTo(opts *bind.TransactOpts, order OrderRFQLibOrderRFQ, signature []byte, flagsAndAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderRFQTo is a paid mutator transaction binding the contract method 0x5a099843.

Solidity: function fillOrderRFQTo((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 flagsAndAmount, address target) payable returns(uint256 filledMakingAmount, uint256 filledTakingAmount, bytes32 orderHash)

func (*AggregationRouterV5Transactor) FillOrderRFQToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5Transactor) FillOrderRFQToWithPermit(opts *bind.TransactOpts, order OrderRFQLibOrderRFQ, signature []byte, flagsAndAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderRFQToWithPermit is a paid mutator transaction binding the contract method 0x70ccbd31.

Solidity: function fillOrderRFQToWithPermit((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 flagsAndAmount, address target, bytes permit) returns(uint256, uint256, bytes32)

func (*AggregationRouterV5Transactor) FillOrderTo

func (_AggregationRouterV5 *AggregationRouterV5Transactor) FillOrderTo(opts *bind.TransactOpts, order_ OrderLibOrder, signature []byte, interaction []byte, makingAmount *big.Int, takingAmount *big.Int, skipPermitAndThresholdAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderTo is a paid mutator transaction binding the contract method 0xe5d7bde6.

Solidity: function fillOrderTo((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order_, bytes signature, bytes interaction, uint256 makingAmount, uint256 takingAmount, uint256 skipPermitAndThresholdAmount, address target) payable returns(uint256 actualMakingAmount, uint256 actualTakingAmount, bytes32 orderHash)

func (*AggregationRouterV5Transactor) FillOrderToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5Transactor) FillOrderToWithPermit(opts *bind.TransactOpts, order OrderLibOrder, signature []byte, interaction []byte, makingAmount *big.Int, takingAmount *big.Int, skipPermitAndThresholdAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderToWithPermit is a paid mutator transaction binding the contract method 0xd365c695.

Solidity: function fillOrderToWithPermit((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order, bytes signature, bytes interaction, uint256 makingAmount, uint256 takingAmount, uint256 skipPermitAndThresholdAmount, address target, bytes permit) returns(uint256, uint256, bytes32)

func (*AggregationRouterV5Transactor) IncreaseNonce

func (_AggregationRouterV5 *AggregationRouterV5Transactor) IncreaseNonce(opts *bind.TransactOpts) (*types.Transaction, error)

IncreaseNonce is a paid mutator transaction binding the contract method 0xc53a0292.

Solidity: function increaseNonce() returns()

func (*AggregationRouterV5Transactor) Receive

func (_AggregationRouterV5 *AggregationRouterV5Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*AggregationRouterV5Transactor) RenounceOwnership

func (_AggregationRouterV5 *AggregationRouterV5Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AggregationRouterV5Transactor) RescueFunds

func (_AggregationRouterV5 *AggregationRouterV5Transactor) 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 (*AggregationRouterV5Transactor) Simulate

func (_AggregationRouterV5 *AggregationRouterV5Transactor) Simulate(opts *bind.TransactOpts, target common.Address, data []byte) (*types.Transaction, error)

Simulate is a paid mutator transaction binding the contract method 0xbd61951d.

Solidity: function simulate(address target, bytes data) returns()

func (*AggregationRouterV5Transactor) Swap

func (_AggregationRouterV5 *AggregationRouterV5Transactor) Swap(opts *bind.TransactOpts, executor common.Address, desc GenericRouterSwapDescription, permit []byte, data []byte) (*types.Transaction, error)

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

Solidity: function swap(address executor, (address,address,address,address,uint256,uint256,uint256) desc, bytes permit, bytes data) payable returns(uint256 returnAmount, uint256 spentAmount)

func (*AggregationRouterV5Transactor) TransferOwnership

func (_AggregationRouterV5 *AggregationRouterV5Transactor) 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 (*AggregationRouterV5Transactor) UniswapV3Swap

func (_AggregationRouterV5 *AggregationRouterV5Transactor) UniswapV3Swap(opts *bind.TransactOpts, amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UniswapV3Swap is a paid mutator transaction binding the contract method 0xe449022e.

Solidity: function uniswapV3Swap(uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV5Transactor) UniswapV3SwapCallback

func (_AggregationRouterV5 *AggregationRouterV5Transactor) UniswapV3SwapCallback(opts *bind.TransactOpts, amount0Delta *big.Int, amount1Delta *big.Int, arg2 []byte) (*types.Transaction, error)

UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.

Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes ) returns()

func (*AggregationRouterV5Transactor) UniswapV3SwapTo

func (_AggregationRouterV5 *AggregationRouterV5Transactor) UniswapV3SwapTo(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UniswapV3SwapTo is a paid mutator transaction binding the contract method 0xbc80f1a8.

Solidity: function uniswapV3SwapTo(address recipient, uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV5Transactor) UniswapV3SwapToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5Transactor) UniswapV3SwapToWithPermit(opts *bind.TransactOpts, recipient common.Address, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int, permit []byte) (*types.Transaction, error)

UniswapV3SwapToWithPermit is a paid mutator transaction binding the contract method 0x2521b930.

Solidity: function uniswapV3SwapToWithPermit(address recipient, address srcToken, uint256 amount, uint256 minReturn, uint256[] pools, bytes permit) returns(uint256 returnAmount)

func (*AggregationRouterV5Transactor) Unoswap

func (_AggregationRouterV5 *AggregationRouterV5Transactor) Unoswap(opts *bind.TransactOpts, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

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

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

func (*AggregationRouterV5Transactor) UnoswapTo

func (_AggregationRouterV5 *AggregationRouterV5Transactor) UnoswapTo(opts *bind.TransactOpts, recipient common.Address, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UnoswapTo is a paid mutator transaction binding the contract method 0xf78dc253.

Solidity: function unoswapTo(address recipient, address srcToken, uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV5Transactor) UnoswapToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5Transactor) UnoswapToWithPermit(opts *bind.TransactOpts, recipient common.Address, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int, permit []byte) (*types.Transaction, error)

UnoswapToWithPermit is a paid mutator transaction binding the contract method 0x3c15fd91.

Solidity: function unoswapToWithPermit(address recipient, address srcToken, uint256 amount, uint256 minReturn, uint256[] pools, bytes permit) returns(uint256 returnAmount)

type AggregationRouterV5TransactorRaw

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

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

func (*AggregationRouterV5TransactorRaw) Transact

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

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

func (*AggregationRouterV5TransactorRaw) Transfer

func (_AggregationRouterV5 *AggregationRouterV5TransactorRaw) 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 AggregationRouterV5TransactorSession

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

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

func (*AggregationRouterV5TransactorSession) AdvanceNonce

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) AdvanceNonce(amount uint8) (*types.Transaction, error)

AdvanceNonce is a paid mutator transaction binding the contract method 0x72c244a8.

Solidity: function advanceNonce(uint8 amount) returns()

func (*AggregationRouterV5TransactorSession) CancelOrder

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) CancelOrder(order OrderLibOrder) (*types.Transaction, error)

CancelOrder is a paid mutator transaction binding the contract method 0x2d9a56f6.

Solidity: function cancelOrder((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order) returns(uint256 orderRemaining, bytes32 orderHash)

func (*AggregationRouterV5TransactorSession) CancelOrderRFQ

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) CancelOrderRFQ(orderInfo *big.Int) (*types.Transaction, error)

CancelOrderRFQ is a paid mutator transaction binding the contract method 0x825caba1.

Solidity: function cancelOrderRFQ(uint256 orderInfo) returns()

func (*AggregationRouterV5TransactorSession) CancelOrderRFQ0

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) CancelOrderRFQ0(orderInfo *big.Int, additionalMask *big.Int) (*types.Transaction, error)

CancelOrderRFQ0 is a paid mutator transaction binding the contract method 0xbddccd35.

Solidity: function cancelOrderRFQ(uint256 orderInfo, uint256 additionalMask) returns()

func (*AggregationRouterV5TransactorSession) ClipperSwap

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) ClipperSwap(clipperExchange common.Address, srcToken common.Address, dstToken common.Address, inputAmount *big.Int, outputAmount *big.Int, goodUntil *big.Int, r [32]byte, vs [32]byte) (*types.Transaction, error)

ClipperSwap is a paid mutator transaction binding the contract method 0x84bd6d29.

Solidity: function clipperSwap(address clipperExchange, address srcToken, address dstToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, bytes32 r, bytes32 vs) payable returns(uint256 returnAmount)

func (*AggregationRouterV5TransactorSession) ClipperSwapTo

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) ClipperSwapTo(clipperExchange common.Address, recipient common.Address, srcToken common.Address, dstToken common.Address, inputAmount *big.Int, outputAmount *big.Int, goodUntil *big.Int, r [32]byte, vs [32]byte) (*types.Transaction, error)

ClipperSwapTo is a paid mutator transaction binding the contract method 0x093d4fa5.

Solidity: function clipperSwapTo(address clipperExchange, address recipient, address srcToken, address dstToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, bytes32 r, bytes32 vs) payable returns(uint256 returnAmount)

func (*AggregationRouterV5TransactorSession) ClipperSwapToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) ClipperSwapToWithPermit(clipperExchange common.Address, recipient common.Address, srcToken common.Address, dstToken common.Address, inputAmount *big.Int, outputAmount *big.Int, goodUntil *big.Int, r [32]byte, vs [32]byte, permit []byte) (*types.Transaction, error)

ClipperSwapToWithPermit is a paid mutator transaction binding the contract method 0xc805a666.

Solidity: function clipperSwapToWithPermit(address clipperExchange, address recipient, address srcToken, address dstToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, bytes32 r, bytes32 vs, bytes permit) returns(uint256 returnAmount)

func (*AggregationRouterV5TransactorSession) Destroy

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) Destroy() (*types.Transaction, error)

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

Solidity: function destroy() returns()

func (*AggregationRouterV5TransactorSession) FillOrder

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) FillOrder(order OrderLibOrder, signature []byte, interaction []byte, makingAmount *big.Int, takingAmount *big.Int, skipPermitAndThresholdAmount *big.Int) (*types.Transaction, error)

FillOrder is a paid mutator transaction binding the contract method 0x62e238bb.

Solidity: function fillOrder((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order, bytes signature, bytes interaction, uint256 makingAmount, uint256 takingAmount, uint256 skipPermitAndThresholdAmount) payable returns(uint256, uint256, bytes32)

func (*AggregationRouterV5TransactorSession) FillOrderRFQ

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) FillOrderRFQ(order OrderRFQLibOrderRFQ, signature []byte, flagsAndAmount *big.Int) (*types.Transaction, error)

FillOrderRFQ is a paid mutator transaction binding the contract method 0x3eca9c0a.

Solidity: function fillOrderRFQ((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 flagsAndAmount) payable returns(uint256, uint256, bytes32)

func (*AggregationRouterV5TransactorSession) FillOrderRFQCompact

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) FillOrderRFQCompact(order OrderRFQLibOrderRFQ, r [32]byte, vs [32]byte, flagsAndAmount *big.Int) (*types.Transaction, error)

FillOrderRFQCompact is a paid mutator transaction binding the contract method 0x9570eeee.

Solidity: function fillOrderRFQCompact((uint256,address,address,address,address,uint256,uint256) order, bytes32 r, bytes32 vs, uint256 flagsAndAmount) payable returns(uint256 filledMakingAmount, uint256 filledTakingAmount, bytes32 orderHash)

func (*AggregationRouterV5TransactorSession) FillOrderRFQTo

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) FillOrderRFQTo(order OrderRFQLibOrderRFQ, signature []byte, flagsAndAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderRFQTo is a paid mutator transaction binding the contract method 0x5a099843.

Solidity: function fillOrderRFQTo((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 flagsAndAmount, address target) payable returns(uint256 filledMakingAmount, uint256 filledTakingAmount, bytes32 orderHash)

func (*AggregationRouterV5TransactorSession) FillOrderRFQToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) FillOrderRFQToWithPermit(order OrderRFQLibOrderRFQ, signature []byte, flagsAndAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderRFQToWithPermit is a paid mutator transaction binding the contract method 0x70ccbd31.

Solidity: function fillOrderRFQToWithPermit((uint256,address,address,address,address,uint256,uint256) order, bytes signature, uint256 flagsAndAmount, address target, bytes permit) returns(uint256, uint256, bytes32)

func (*AggregationRouterV5TransactorSession) FillOrderTo

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) FillOrderTo(order_ OrderLibOrder, signature []byte, interaction []byte, makingAmount *big.Int, takingAmount *big.Int, skipPermitAndThresholdAmount *big.Int, target common.Address) (*types.Transaction, error)

FillOrderTo is a paid mutator transaction binding the contract method 0xe5d7bde6.

Solidity: function fillOrderTo((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order_, bytes signature, bytes interaction, uint256 makingAmount, uint256 takingAmount, uint256 skipPermitAndThresholdAmount, address target) payable returns(uint256 actualMakingAmount, uint256 actualTakingAmount, bytes32 orderHash)

func (*AggregationRouterV5TransactorSession) FillOrderToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) FillOrderToWithPermit(order OrderLibOrder, signature []byte, interaction []byte, makingAmount *big.Int, takingAmount *big.Int, skipPermitAndThresholdAmount *big.Int, target common.Address, permit []byte) (*types.Transaction, error)

FillOrderToWithPermit is a paid mutator transaction binding the contract method 0xd365c695.

Solidity: function fillOrderToWithPermit((uint256,address,address,address,address,address,uint256,uint256,uint256,bytes) order, bytes signature, bytes interaction, uint256 makingAmount, uint256 takingAmount, uint256 skipPermitAndThresholdAmount, address target, bytes permit) returns(uint256, uint256, bytes32)

func (*AggregationRouterV5TransactorSession) IncreaseNonce

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) IncreaseNonce() (*types.Transaction, error)

IncreaseNonce is a paid mutator transaction binding the contract method 0xc53a0292.

Solidity: function increaseNonce() returns()

func (*AggregationRouterV5TransactorSession) Receive

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*AggregationRouterV5TransactorSession) RenounceOwnership

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AggregationRouterV5TransactorSession) RescueFunds

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) 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 (*AggregationRouterV5TransactorSession) Simulate

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) Simulate(target common.Address, data []byte) (*types.Transaction, error)

Simulate is a paid mutator transaction binding the contract method 0xbd61951d.

Solidity: function simulate(address target, bytes data) returns()

func (*AggregationRouterV5TransactorSession) Swap

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) Swap(executor common.Address, desc GenericRouterSwapDescription, permit []byte, data []byte) (*types.Transaction, error)

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

Solidity: function swap(address executor, (address,address,address,address,uint256,uint256,uint256) desc, bytes permit, bytes data) payable returns(uint256 returnAmount, uint256 spentAmount)

func (*AggregationRouterV5TransactorSession) TransferOwnership

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) 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 (*AggregationRouterV5TransactorSession) UniswapV3Swap

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) UniswapV3Swap(amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UniswapV3Swap is a paid mutator transaction binding the contract method 0xe449022e.

Solidity: function uniswapV3Swap(uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV5TransactorSession) UniswapV3SwapCallback

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, arg2 []byte) (*types.Transaction, error)

UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.

Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes ) returns()

func (*AggregationRouterV5TransactorSession) UniswapV3SwapTo

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) UniswapV3SwapTo(recipient common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UniswapV3SwapTo is a paid mutator transaction binding the contract method 0xbc80f1a8.

Solidity: function uniswapV3SwapTo(address recipient, uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV5TransactorSession) UniswapV3SwapToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) UniswapV3SwapToWithPermit(recipient common.Address, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int, permit []byte) (*types.Transaction, error)

UniswapV3SwapToWithPermit is a paid mutator transaction binding the contract method 0x2521b930.

Solidity: function uniswapV3SwapToWithPermit(address recipient, address srcToken, uint256 amount, uint256 minReturn, uint256[] pools, bytes permit) returns(uint256 returnAmount)

func (*AggregationRouterV5TransactorSession) Unoswap

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) Unoswap(srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

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

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

func (*AggregationRouterV5TransactorSession) UnoswapTo

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) UnoswapTo(recipient common.Address, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int) (*types.Transaction, error)

UnoswapTo is a paid mutator transaction binding the contract method 0xf78dc253.

Solidity: function unoswapTo(address recipient, address srcToken, uint256 amount, uint256 minReturn, uint256[] pools) payable returns(uint256 returnAmount)

func (*AggregationRouterV5TransactorSession) UnoswapToWithPermit

func (_AggregationRouterV5 *AggregationRouterV5TransactorSession) UnoswapToWithPermit(recipient common.Address, srcToken common.Address, amount *big.Int, minReturn *big.Int, pools []*big.Int, permit []byte) (*types.Transaction, error)

UnoswapToWithPermit is a paid mutator transaction binding the contract method 0x3c15fd91.

Solidity: function unoswapToWithPermit(address recipient, address srcToken, uint256 amount, uint256 minReturn, uint256[] pools, bytes permit) returns(uint256 returnAmount)

type AggregationRouterV5UniswapV3SwapToInput

type AggregationRouterV5UniswapV3SwapToInput struct {
	Recipient common.Address
	Amount    *big.Int
	MinReturn *big.Int
	Pools     []*big.Int
}

type AggregationRouterV5UniswapV3SwapToWithPermitInput

type AggregationRouterV5UniswapV3SwapToWithPermitInput struct {
	AggregationRouterV5UniswapV3SwapToInput

	Permit []byte
}

type AggregationRouterV5UnoswapToInput

type AggregationRouterV5UnoswapToInput struct {
	Recipient common.Address
	SrcToken  common.Address
	Amount    *big.Int
	MinReturn *big.Int
	Pools     []*big.Int
}

type AggregationRouterV5UnoswapToWithPermitInput

type AggregationRouterV5UnoswapToWithPermitInput struct {
	AggregationRouterV5UnoswapToInput

	Permit []byte
}

type Exchange

type Exchange struct {
	ExchangeCaller     // Read-only binding to the contract
	ExchangeTransactor // Write-only binding to the contract
	ExchangeFilterer   // Log filterer for contract events
}

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

func NewExchange

func NewExchange(address common.Address, backend bind.ContractBackend) (*Exchange, error)

NewExchange creates a new instance of Exchange, bound to a specific deployed contract.

type ExchangeCaller

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

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

func NewExchangeCaller

func NewExchangeCaller(address common.Address, caller bind.ContractCaller) (*ExchangeCaller, error)

NewExchangeCaller creates a new read-only instance of Exchange, bound to a specific deployed contract.

func (*ExchangeCaller) GetOrdersInfoRespectingBalancesAndAllowances

func (_Exchange *ExchangeCaller) GetOrdersInfoRespectingBalancesAndAllowances(opts *bind.CallOpts, token common.Address, zrx common.Address, zrxTokenProxy common.Address, orders []IZrxExchangeOrder) ([]IZrxExchangeOrderInfo, error)

GetOrdersInfoRespectingBalancesAndAllowances is a free data retrieval call binding the contract method 0x71a2039a.

Solidity: function getOrdersInfoRespectingBalancesAndAllowances(address token, address zrx, address zrxTokenProxy, (address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] orders) view returns((uint8,bytes32,uint256)[] ordersInfo)

func (*ExchangeCaller) IsOwner

func (_Exchange *ExchangeCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*ExchangeCaller) IsShutdown

func (_Exchange *ExchangeCaller) IsShutdown(opts *bind.CallOpts) (bool, error)

IsShutdown is a free data retrieval call binding the contract method 0xbf86d690.

Solidity: function isShutdown() view returns(bool)

func (*ExchangeCaller) Owner

func (_Exchange *ExchangeCaller) 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)

func (*ExchangeCaller) Spender

func (_Exchange *ExchangeCaller) Spender(opts *bind.CallOpts) (common.Address, error)

Spender is a free data retrieval call binding the contract method 0xe8edc816.

Solidity: function spender() view returns(address)

type ExchangeCallerRaw

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

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

func (*ExchangeCallerRaw) Call

func (_Exchange *ExchangeCallerRaw) 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 ExchangeCallerSession

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

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

func (*ExchangeCallerSession) GetOrdersInfoRespectingBalancesAndAllowances

func (_Exchange *ExchangeCallerSession) GetOrdersInfoRespectingBalancesAndAllowances(token common.Address, zrx common.Address, zrxTokenProxy common.Address, orders []IZrxExchangeOrder) ([]IZrxExchangeOrderInfo, error)

GetOrdersInfoRespectingBalancesAndAllowances is a free data retrieval call binding the contract method 0x71a2039a.

Solidity: function getOrdersInfoRespectingBalancesAndAllowances(address token, address zrx, address zrxTokenProxy, (address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] orders) view returns((uint8,bytes32,uint256)[] ordersInfo)

func (*ExchangeCallerSession) IsOwner

func (_Exchange *ExchangeCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*ExchangeCallerSession) IsShutdown

func (_Exchange *ExchangeCallerSession) IsShutdown() (bool, error)

IsShutdown is a free data retrieval call binding the contract method 0xbf86d690.

Solidity: function isShutdown() view returns(bool)

func (*ExchangeCallerSession) Owner

func (_Exchange *ExchangeCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ExchangeCallerSession) Spender

func (_Exchange *ExchangeCallerSession) Spender() (common.Address, error)

Spender is a free data retrieval call binding the contract method 0xe8edc816.

Solidity: function spender() view returns(address)

type ExchangeFilterer

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

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

func NewExchangeFilterer

func NewExchangeFilterer(address common.Address, filterer bind.ContractFilterer) (*ExchangeFilterer, error)

NewExchangeFilterer creates a new log filterer instance of Exchange, bound to a specific deployed contract.

func (*ExchangeFilterer) FilterHistory

func (_Exchange *ExchangeFilterer) FilterHistory(opts *bind.FilterOpts, sender []common.Address) (*ExchangeHistoryIterator, error)

FilterHistory is a free log retrieval operation binding the contract event 0x894dbf1262199c24e1750298a384c709160f49d163422cc6cee694c73713f1d2.

Solidity: event History(address indexed sender, address fromToken, address toToken, uint256 fromAmount, uint256 toAmount)

func (*ExchangeFilterer) FilterOwnershipTransferred

func (_Exchange *ExchangeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ExchangeOwnershipTransferredIterator, error)

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

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

func (*ExchangeFilterer) FilterShutdown

func (_Exchange *ExchangeFilterer) FilterShutdown(opts *bind.FilterOpts) (*ExchangeShutdownIterator, error)

FilterShutdown is a free log retrieval operation binding the contract event 0x4426aa1fb73e391071491fcfe21a88b5c38a0a0333a1f6e77161470439704cf8.

Solidity: event Shutdown()

func (*ExchangeFilterer) FilterSwapped

func (_Exchange *ExchangeFilterer) FilterSwapped(opts *bind.FilterOpts, fromToken []common.Address, toToken []common.Address, referrer []common.Address) (*ExchangeSwappedIterator, error)

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

Solidity: event Swapped(address indexed fromToken, address indexed toToken, address indexed referrer, uint256 fromAmount, uint256 toAmount, uint256 referrerFee, uint256 fee)

func (*ExchangeFilterer) ParseHistory

func (_Exchange *ExchangeFilterer) ParseHistory(log types.Log) (*ExchangeHistory, error)

ParseHistory is a log parse operation binding the contract event 0x894dbf1262199c24e1750298a384c709160f49d163422cc6cee694c73713f1d2.

Solidity: event History(address indexed sender, address fromToken, address toToken, uint256 fromAmount, uint256 toAmount)

func (*ExchangeFilterer) ParseOwnershipTransferred

func (_Exchange *ExchangeFilterer) ParseOwnershipTransferred(log types.Log) (*ExchangeOwnershipTransferred, error)

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

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

func (*ExchangeFilterer) ParseShutdown

func (_Exchange *ExchangeFilterer) ParseShutdown(log types.Log) (*ExchangeShutdown, error)

ParseShutdown is a log parse operation binding the contract event 0x4426aa1fb73e391071491fcfe21a88b5c38a0a0333a1f6e77161470439704cf8.

Solidity: event Shutdown()

func (*ExchangeFilterer) ParseSwapped

func (_Exchange *ExchangeFilterer) ParseSwapped(log types.Log) (*ExchangeSwapped, error)

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

Solidity: event Swapped(address indexed fromToken, address indexed toToken, address indexed referrer, uint256 fromAmount, uint256 toAmount, uint256 referrerFee, uint256 fee)

func (*ExchangeFilterer) WatchHistory

func (_Exchange *ExchangeFilterer) WatchHistory(opts *bind.WatchOpts, sink chan<- *ExchangeHistory, sender []common.Address) (event.Subscription, error)

WatchHistory is a free log subscription operation binding the contract event 0x894dbf1262199c24e1750298a384c709160f49d163422cc6cee694c73713f1d2.

Solidity: event History(address indexed sender, address fromToken, address toToken, uint256 fromAmount, uint256 toAmount)

func (*ExchangeFilterer) WatchOwnershipTransferred

func (_Exchange *ExchangeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ExchangeOwnershipTransferred, 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 (*ExchangeFilterer) WatchShutdown

func (_Exchange *ExchangeFilterer) WatchShutdown(opts *bind.WatchOpts, sink chan<- *ExchangeShutdown) (event.Subscription, error)

WatchShutdown is a free log subscription operation binding the contract event 0x4426aa1fb73e391071491fcfe21a88b5c38a0a0333a1f6e77161470439704cf8.

Solidity: event Shutdown()

func (*ExchangeFilterer) WatchSwapped

func (_Exchange *ExchangeFilterer) WatchSwapped(opts *bind.WatchOpts, sink chan<- *ExchangeSwapped, fromToken []common.Address, toToken []common.Address, referrer []common.Address) (event.Subscription, error)

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

Solidity: event Swapped(address indexed fromToken, address indexed toToken, address indexed referrer, uint256 fromAmount, uint256 toAmount, uint256 referrerFee, uint256 fee)

type ExchangeHistory

type ExchangeHistory struct {
	Sender     common.Address
	FromToken  common.Address
	ToToken    common.Address
	FromAmount *big.Int
	ToAmount   *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

ExchangeHistory represents a History event raised by the Exchange contract.

type ExchangeHistoryIterator

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

ExchangeHistoryIterator is returned from FilterHistory and is used to iterate over the raw logs and unpacked data for History events raised by the Exchange contract.

func (*ExchangeHistoryIterator) Close

func (it *ExchangeHistoryIterator) Close() error

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

func (*ExchangeHistoryIterator) Error

func (it *ExchangeHistoryIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ExchangeHistoryIterator) Next

func (it *ExchangeHistoryIterator) 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 ExchangeOwnershipTransferred

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

ExchangeOwnershipTransferred represents a OwnershipTransferred event raised by the Exchange contract.

type ExchangeOwnershipTransferredIterator

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

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

func (*ExchangeOwnershipTransferredIterator) Close

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

func (*ExchangeOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ExchangeOwnershipTransferredIterator) 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 ExchangeRaw

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

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

func (*ExchangeRaw) Call

func (_Exchange *ExchangeRaw) 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 (*ExchangeRaw) Transact

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

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

func (*ExchangeRaw) Transfer

func (_Exchange *ExchangeRaw) 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 ExchangeSession

type ExchangeSession struct {
	Contract     *Exchange         // 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
}

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

func (*ExchangeSession) Fallback

func (_Exchange *ExchangeSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ExchangeSession) GetOrdersInfoRespectingBalancesAndAllowances

func (_Exchange *ExchangeSession) GetOrdersInfoRespectingBalancesAndAllowances(token common.Address, zrx common.Address, zrxTokenProxy common.Address, orders []IZrxExchangeOrder) ([]IZrxExchangeOrderInfo, error)

GetOrdersInfoRespectingBalancesAndAllowances is a free data retrieval call binding the contract method 0x71a2039a.

Solidity: function getOrdersInfoRespectingBalancesAndAllowances(address token, address zrx, address zrxTokenProxy, (address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] orders) view returns((uint8,bytes32,uint256)[] ordersInfo)

func (*ExchangeSession) InfiniteApproveIfNeeded

func (_Exchange *ExchangeSession) InfiniteApproveIfNeeded(token common.Address, to common.Address) (*types.Transaction, error)

InfiniteApproveIfNeeded is a paid mutator transaction binding the contract method 0xc9b27359.

Solidity: function infiniteApproveIfNeeded(address token, address to) returns()

func (*ExchangeSession) IsOwner

func (_Exchange *ExchangeSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*ExchangeSession) IsShutdown

func (_Exchange *ExchangeSession) IsShutdown() (bool, error)

IsShutdown is a free data retrieval call binding the contract method 0xbf86d690.

Solidity: function isShutdown() view returns(bool)

func (*ExchangeSession) MarketSellOrders

func (_Exchange *ExchangeSession) MarketSellOrders(makerAsset common.Address, zrxExchange common.Address, zrxTokenProxy common.Address, takerAssetFillAmount *big.Int, orders []IZrxExchangeOrder, signatures [][]byte) (*types.Transaction, error)

MarketSellOrders is a paid mutator transaction binding the contract method 0xfcc06f8e.

Solidity: function marketSellOrders(address makerAsset, address zrxExchange, address zrxTokenProxy, uint256 takerAssetFillAmount, (address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] orders, bytes[] signatures) returns((uint256,uint256,uint256,uint256) totalFillResults)

func (*ExchangeSession) MarketSellOrdersProportion

func (_Exchange *ExchangeSession) MarketSellOrdersProportion(tokenSell common.Address, tokenBuy common.Address, zrxExchange common.Address, zrxTokenProxy common.Address, orders []IZrxExchangeOrder, signatures [][]byte, mul *big.Int, div *big.Int) (*types.Transaction, error)

MarketSellOrdersProportion is a paid mutator transaction binding the contract method 0xa96c400e.

Solidity: function marketSellOrdersProportion(address tokenSell, address tokenBuy, address zrxExchange, address zrxTokenProxy, (address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] orders, bytes[] signatures, uint256 mul, uint256 div) returns()

func (*ExchangeSession) Owner

func (_Exchange *ExchangeSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ExchangeSession) RenounceOwnership

func (_Exchange *ExchangeSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ExchangeSession) Shutdown

func (_Exchange *ExchangeSession) Shutdown() (*types.Transaction, error)

Shutdown is a paid mutator transaction binding the contract method 0xfc0e74d1.

Solidity: function shutdown() returns()

func (*ExchangeSession) Spender

func (_Exchange *ExchangeSession) Spender() (common.Address, error)

Spender is a free data retrieval call binding the contract method 0xe8edc816.

Solidity: function spender() view returns(address)

func (*ExchangeSession) Swap

func (_Exchange *ExchangeSession) 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 (*ExchangeSession) TransferOwnership

func (_Exchange *ExchangeSession) 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 (*ExchangeSession) WithdrawAllToken

func (_Exchange *ExchangeSession) WithdrawAllToken(token common.Address) (*types.Transaction, error)

WithdrawAllToken is a paid mutator transaction binding the contract method 0xae4dd0fc.

Solidity: function withdrawAllToken(address token) returns()

type ExchangeShutdown

type ExchangeShutdown struct {
	Raw types.Log // Blockchain specific contextual infos
}

ExchangeShutdown represents a Shutdown event raised by the Exchange contract.

type ExchangeShutdownIterator

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

ExchangeShutdownIterator is returned from FilterShutdown and is used to iterate over the raw logs and unpacked data for Shutdown events raised by the Exchange contract.

func (*ExchangeShutdownIterator) Close

func (it *ExchangeShutdownIterator) Close() error

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

func (*ExchangeShutdownIterator) Error

func (it *ExchangeShutdownIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ExchangeShutdownIterator) Next

func (it *ExchangeShutdownIterator) 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 ExchangeSwapped

type ExchangeSwapped struct {
	FromToken   common.Address
	ToToken     common.Address
	Referrer    common.Address
	FromAmount  *big.Int
	ToAmount    *big.Int
	ReferrerFee *big.Int
	Fee         *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ExchangeSwapped represents a Swapped event raised by the Exchange contract.

type ExchangeSwappedIterator

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

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

func (*ExchangeSwappedIterator) Close

func (it *ExchangeSwappedIterator) Close() error

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

func (*ExchangeSwappedIterator) Error

func (it *ExchangeSwappedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ExchangeSwappedIterator) Next

func (it *ExchangeSwappedIterator) 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 ExchangeTransactor

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

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

func NewExchangeTransactor

func NewExchangeTransactor(address common.Address, transactor bind.ContractTransactor) (*ExchangeTransactor, error)

NewExchangeTransactor creates a new write-only instance of Exchange, bound to a specific deployed contract.

func (*ExchangeTransactor) Fallback

func (_Exchange *ExchangeTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ExchangeTransactor) InfiniteApproveIfNeeded

func (_Exchange *ExchangeTransactor) InfiniteApproveIfNeeded(opts *bind.TransactOpts, token common.Address, to common.Address) (*types.Transaction, error)

InfiniteApproveIfNeeded is a paid mutator transaction binding the contract method 0xc9b27359.

Solidity: function infiniteApproveIfNeeded(address token, address to) returns()

func (*ExchangeTransactor) MarketSellOrders

func (_Exchange *ExchangeTransactor) MarketSellOrders(opts *bind.TransactOpts, makerAsset common.Address, zrxExchange common.Address, zrxTokenProxy common.Address, takerAssetFillAmount *big.Int, orders []IZrxExchangeOrder, signatures [][]byte) (*types.Transaction, error)

MarketSellOrders is a paid mutator transaction binding the contract method 0xfcc06f8e.

Solidity: function marketSellOrders(address makerAsset, address zrxExchange, address zrxTokenProxy, uint256 takerAssetFillAmount, (address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] orders, bytes[] signatures) returns((uint256,uint256,uint256,uint256) totalFillResults)

func (*ExchangeTransactor) MarketSellOrdersProportion

func (_Exchange *ExchangeTransactor) MarketSellOrdersProportion(opts *bind.TransactOpts, tokenSell common.Address, tokenBuy common.Address, zrxExchange common.Address, zrxTokenProxy common.Address, orders []IZrxExchangeOrder, signatures [][]byte, mul *big.Int, div *big.Int) (*types.Transaction, error)

MarketSellOrdersProportion is a paid mutator transaction binding the contract method 0xa96c400e.

Solidity: function marketSellOrdersProportion(address tokenSell, address tokenBuy, address zrxExchange, address zrxTokenProxy, (address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] orders, bytes[] signatures, uint256 mul, uint256 div) returns()

func (*ExchangeTransactor) RenounceOwnership

func (_Exchange *ExchangeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ExchangeTransactor) Shutdown

func (_Exchange *ExchangeTransactor) Shutdown(opts *bind.TransactOpts) (*types.Transaction, error)

Shutdown is a paid mutator transaction binding the contract method 0xfc0e74d1.

Solidity: function shutdown() returns()

func (*ExchangeTransactor) Swap

func (_Exchange *ExchangeTransactor) 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)

func (*ExchangeTransactor) TransferOwnership

func (_Exchange *ExchangeTransactor) 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 (*ExchangeTransactor) WithdrawAllToken

func (_Exchange *ExchangeTransactor) WithdrawAllToken(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

WithdrawAllToken is a paid mutator transaction binding the contract method 0xae4dd0fc.

Solidity: function withdrawAllToken(address token) returns()

type ExchangeTransactorRaw

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

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

func (*ExchangeTransactorRaw) Transact

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

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

func (*ExchangeTransactorRaw) Transfer

func (_Exchange *ExchangeTransactorRaw) 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 ExchangeTransactorSession

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

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

func (*ExchangeTransactorSession) Fallback

func (_Exchange *ExchangeTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ExchangeTransactorSession) InfiniteApproveIfNeeded

func (_Exchange *ExchangeTransactorSession) InfiniteApproveIfNeeded(token common.Address, to common.Address) (*types.Transaction, error)

InfiniteApproveIfNeeded is a paid mutator transaction binding the contract method 0xc9b27359.

Solidity: function infiniteApproveIfNeeded(address token, address to) returns()

func (*ExchangeTransactorSession) MarketSellOrders

func (_Exchange *ExchangeTransactorSession) MarketSellOrders(makerAsset common.Address, zrxExchange common.Address, zrxTokenProxy common.Address, takerAssetFillAmount *big.Int, orders []IZrxExchangeOrder, signatures [][]byte) (*types.Transaction, error)

MarketSellOrders is a paid mutator transaction binding the contract method 0xfcc06f8e.

Solidity: function marketSellOrders(address makerAsset, address zrxExchange, address zrxTokenProxy, uint256 takerAssetFillAmount, (address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] orders, bytes[] signatures) returns((uint256,uint256,uint256,uint256) totalFillResults)

func (*ExchangeTransactorSession) MarketSellOrdersProportion

func (_Exchange *ExchangeTransactorSession) MarketSellOrdersProportion(tokenSell common.Address, tokenBuy common.Address, zrxExchange common.Address, zrxTokenProxy common.Address, orders []IZrxExchangeOrder, signatures [][]byte, mul *big.Int, div *big.Int) (*types.Transaction, error)

MarketSellOrdersProportion is a paid mutator transaction binding the contract method 0xa96c400e.

Solidity: function marketSellOrdersProportion(address tokenSell, address tokenBuy, address zrxExchange, address zrxTokenProxy, (address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] orders, bytes[] signatures, uint256 mul, uint256 div) returns()

func (*ExchangeTransactorSession) RenounceOwnership

func (_Exchange *ExchangeTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ExchangeTransactorSession) Shutdown

func (_Exchange *ExchangeTransactorSession) Shutdown() (*types.Transaction, error)

Shutdown is a paid mutator transaction binding the contract method 0xfc0e74d1.

Solidity: function shutdown() returns()

func (*ExchangeTransactorSession) Swap

func (_Exchange *ExchangeTransactorSession) 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 (*ExchangeTransactorSession) TransferOwnership

func (_Exchange *ExchangeTransactorSession) 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 (*ExchangeTransactorSession) WithdrawAllToken

func (_Exchange *ExchangeTransactorSession) WithdrawAllToken(token common.Address) (*types.Transaction, error)

WithdrawAllToken is a paid mutator transaction binding the contract method 0xae4dd0fc.

Solidity: function withdrawAllToken(address token) returns()

type GenericRouterSwapDescription

type GenericRouterSwapDescription struct {
	SrcToken        common.Address
	DstToken        common.Address
	SrcReceiver     common.Address
	DstReceiver     common.Address
	Amount          *big.Int
	MinReturnAmount *big.Int
	Flags           *big.Int
}

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

type IOneInchCallerCallDescription

type IOneInchCallerCallDescription struct {
	TargetWithMandatory *big.Int
	GasLimit            *big.Int
	Value               *big.Int
	Data                []byte
}

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

type IZrxExchangeFillResults

type IZrxExchangeFillResults struct {
	MakerAssetFilledAmount *big.Int
	TakerAssetFilledAmount *big.Int
	MakerFeePaid           *big.Int
	TakerFeePaid           *big.Int
}

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

type IZrxExchangeOrder

type IZrxExchangeOrder struct {
	MakerAddress          common.Address
	TakerAddress          common.Address
	FeeRecipientAddress   common.Address
	SenderAddress         common.Address
	MakerAssetAmount      *big.Int
	TakerAssetAmount      *big.Int
	MakerFee              *big.Int
	TakerFee              *big.Int
	ExpirationTimeSeconds *big.Int
	Salt                  *big.Int
	MakerAssetData        []byte
	TakerAssetData        []byte
}

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

type IZrxExchangeOrderInfo

type IZrxExchangeOrderInfo struct {
	OrderStatus                 uint8
	OrderHash                   [32]byte
	OrderTakerAssetFilledAmount *big.Int
}

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

type LimitOrderProtocolRFQOrderRFQ

type LimitOrderProtocolRFQOrderRFQ struct {
	Info          *big.Int
	MakerAsset    common.Address
	TakerAsset    common.Address
	Maker         common.Address
	AllowedSender common.Address
	MakingAmount  *big.Int
	TakingAmount  *big.Int
}

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

type OneInchExchangeSwapDescription

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

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

type OrderLibOrder

type OrderLibOrder struct {
	Salt          *big.Int
	MakerAsset    common.Address
	TakerAsset    common.Address
	Maker         common.Address
	Receiver      common.Address
	AllowedSender common.Address
	MakingAmount  *big.Int
	TakingAmount  *big.Int
	Offsets       *big.Int
	Interactions  []byte
}

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

type OrderRFQLibOrderRFQ

type OrderRFQLibOrderRFQ struct {
	Info          *big.Int
	MakerAsset    common.Address
	TakerAsset    common.Address
	Maker         common.Address
	AllowedSender common.Address
	MakingAmount  *big.Int
	TakingAmount  *big.Int
}

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

Jump to

Keyboard shortcuts

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