contract

package
v1.0.66 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UnifactoryABI = UnifactoryMetaData.ABI

UnifactoryABI is the input ABI used to generate the binding from. Deprecated: Use UnifactoryMetaData.ABI instead.

View Source
var UnifactoryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"FeeAmountEnabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"PoolCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"createPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"enableFeeAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"name\":\"feeAmountTickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"name\":\"getPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"parameters\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

UnifactoryMetaData contains all meta data concerning the Unifactory contract.

View Source
var UnipoolABI = UnipoolMetaData.ABI

UnipoolABI is the input ABI used to generate the binding from. Deprecated: Use UnipoolMetaData.ABI instead.

View Source
var UnipoolMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"name\":\"Collect\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"name\":\"CollectProtocol\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"paid0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"paid1\",\"type\":\"uint256\"}],\"name\":\"Flash\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"observationCardinalityNextOld\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"observationCardinalityNextNew\",\"type\":\"uint16\"}],\"name\":\"IncreaseObservationCardinalityNext\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Initialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol0Old\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol1Old\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol0New\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol1New\",\"type\":\"uint8\"}],\"name\":\"SetFeeProtocol\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount0Requested\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1Requested\",\"type\":\"uint128\"}],\"name\":\"collect\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"amount0Requested\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1Requested\",\"type\":\"uint128\"}],\"name\":\"collectProtocol\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeGrowthGlobal0X128\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeGrowthGlobal1X128\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"flash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"observationCardinalityNext\",\"type\":\"uint16\"}],\"name\":\"increaseObservationCardinalityNext\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidity\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxLiquidityPerTick\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"observations\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"blockTimestamp\",\"type\":\"uint32\"},{\"internalType\":\"int56\",\"name\":\"tickCumulative\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityCumulativeX128\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"initialized\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32[]\",\"name\":\"secondsAgos\",\"type\":\"uint32[]\"}],\"name\":\"observe\",\"outputs\":[{\"internalType\":\"int56[]\",\"name\":\"tickCumulatives\",\"type\":\"int56[]\"},{\"internalType\":\"uint160[]\",\"name\":\"secondsPerLiquidityCumulativeX128s\",\"type\":\"uint160[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"positions\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthInside0LastX128\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthInside1LastX128\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"tokensOwed0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"tokensOwed1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFees\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"token0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"token1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"feeProtocol0\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"feeProtocol1\",\"type\":\"uint8\"}],\"name\":\"setFeeProtocol\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slot0\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"internalType\":\"uint16\",\"name\":\"observationIndex\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"observationCardinality\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"observationCardinalityNext\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"feeProtocol\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"unlocked\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"}],\"name\":\"snapshotCumulativesInside\",\"outputs\":[{\"internalType\":\"int56\",\"name\":\"tickCumulativeInside\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityInsideX128\",\"type\":\"uint160\"},{\"internalType\":\"uint32\",\"name\":\"secondsInside\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroForOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountSpecified\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int16\",\"name\":\"\",\"type\":\"int16\"}],\"name\":\"tickBitmap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"name\":\"ticks\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidityGross\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"liquidityNet\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthOutside0X128\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthOutside1X128\",\"type\":\"uint256\"},{\"internalType\":\"int56\",\"name\":\"tickCumulativeOutside\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityOutsideX128\",\"type\":\"uint160\"},{\"internalType\":\"uint32\",\"name\":\"secondsOutside\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"initialized\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

UnipoolMetaData contains all meta data concerning the Unipool contract.

View Source
var UnirouterABI = UnirouterMetaData.ABI

UnirouterABI is the input ABI used to generate the binding from. Deprecated: Use UnirouterMetaData.ABI instead.

View Source
var UnirouterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_WETH9\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"WETH9\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"}],\"internalType\":\"structISwapRouter.ExactInputParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactInput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"structISwapRouter.ExactInputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactInputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"}],\"internalType\":\"structISwapRouter.ExactOutputParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactOutput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"structISwapRouter.ExactOutputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactOutputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"refundETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"selfPermit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"selfPermitAllowed\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"selfPermitAllowedIfNecessary\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"selfPermitIfNecessary\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountMinimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"sweepToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountMinimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"feeBips\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"}],\"name\":\"sweepTokenWithFee\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountMinimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"unwrapWETH9\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountMinimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"feeBips\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"}],\"name\":\"unwrapWETH9WithFee\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

UnirouterMetaData contains all meta data concerning the Unirouter contract.

View Source
var UsdtABI = UsdtMetaData.ABI

UsdtABI is the input ABI used to generate the binding from. Deprecated: Use UsdtMetaData.ABI instead.

View Source
var UsdtMetaData = &bind.MetaData{
	ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_upgradedAddress\",\"type\":\"address\"}],\"name\":\"deprecate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"deprecated\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_evilUser\",\"type\":\"address\"}],\"name\":\"addBlackList\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"upgradedAddress\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"balances\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"maximumFee\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"_totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_maker\",\"type\":\"address\"}],\"name\":\"getBlackListStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowed\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"who\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_initialSupply\",\"type\":\"uint256\"},{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_decimals\",\"type\":\"uint256\"}],\"name\":\"TetherToken\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newBasisPoints\",\"type\":\"uint256\"},{\"name\":\"newMaxFee\",\"type\":\"uint256\"}],\"name\":\"setParams\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"issue\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"redeem\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"basisPointsRate\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"isBlackListed\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_clearedUser\",\"type\":\"address\"}],\"name\":\"removeBlackList\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"MAX_UINT\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_blackListedUser\",\"type\":\"address\"}],\"name\":\"destroyBlackFunds\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Issue\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Redeem\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"Deprecate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"feeBasisPoints\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"maxFee\",\"type\":\"uint256\"}],\"name\":\"Params\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_blackListedUser\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_balance\",\"type\":\"uint256\"}],\"name\":\"DestroyedBlackFunds\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"AddedBlackList\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"RemovedBlackList\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Pause\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Unpause\",\"type\":\"event\"}]",
}

UsdtMetaData contains all meta data concerning the Usdt contract.

View Source
var Weth9ABI = Weth9MetaData.ABI

Weth9ABI is the input ABI used to generate the binding from. Deprecated: Use Weth9MetaData.ABI instead.

View Source
var Weth9MetaData = &bind.MetaData{
	ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"guy\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"src\",\"type\":\"address\"},{\"name\":\"dst\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"dst\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"src\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"guy\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"src\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"dst\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"dst\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"src\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Withdrawal\",\"type\":\"event\"}]",
}

Weth9MetaData contains all meta data concerning the Weth9 contract.

Functions

This section is empty.

Types

type ISwapRouterExactInputParams added in v1.0.59

type ISwapRouterExactInputParams struct {
	Path             []byte
	Recipient        common.Address
	Deadline         *big.Int
	AmountIn         *big.Int
	AmountOutMinimum *big.Int
}

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

type ISwapRouterExactInputSingleParams added in v1.0.59

type ISwapRouterExactInputSingleParams struct {
	TokenIn           common.Address
	TokenOut          common.Address
	Fee               *big.Int
	Recipient         common.Address
	Deadline          *big.Int
	AmountIn          *big.Int
	AmountOutMinimum  *big.Int
	SqrtPriceLimitX96 *big.Int
}

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

type ISwapRouterExactOutputParams added in v1.0.59

type ISwapRouterExactOutputParams struct {
	Path            []byte
	Recipient       common.Address
	Deadline        *big.Int
	AmountOut       *big.Int
	AmountInMaximum *big.Int
}

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

type ISwapRouterExactOutputSingleParams added in v1.0.59

type ISwapRouterExactOutputSingleParams struct {
	TokenIn           common.Address
	TokenOut          common.Address
	Fee               *big.Int
	Recipient         common.Address
	Deadline          *big.Int
	AmountOut         *big.Int
	AmountInMaximum   *big.Int
	SqrtPriceLimitX96 *big.Int
}

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

type Unifactory added in v1.0.59

type Unifactory struct {
	UnifactoryCaller     // Read-only binding to the contract
	UnifactoryTransactor // Write-only binding to the contract
	UnifactoryFilterer   // Log filterer for contract events
}

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

func NewUnifactory added in v1.0.59

func NewUnifactory(address common.Address, backend bind.ContractBackend) (*Unifactory, error)

NewUnifactory creates a new instance of Unifactory, bound to a specific deployed contract.

type UnifactoryCaller added in v1.0.59

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

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

func NewUnifactoryCaller added in v1.0.59

func NewUnifactoryCaller(address common.Address, caller bind.ContractCaller) (*UnifactoryCaller, error)

NewUnifactoryCaller creates a new read-only instance of Unifactory, bound to a specific deployed contract.

func (*UnifactoryCaller) FeeAmountTickSpacing added in v1.0.59

func (_Unifactory *UnifactoryCaller) FeeAmountTickSpacing(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.

Solidity: function feeAmountTickSpacing(uint24 ) view returns(int24)

func (*UnifactoryCaller) GetPool added in v1.0.59

func (_Unifactory *UnifactoryCaller) GetPool(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)

GetPool is a free data retrieval call binding the contract method 0x1698ee82.

Solidity: function getPool(address , address , uint24 ) view returns(address)

func (*UnifactoryCaller) Owner added in v1.0.59

func (_Unifactory *UnifactoryCaller) 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 (*UnifactoryCaller) Parameters added in v1.0.59

func (_Unifactory *UnifactoryCaller) Parameters(opts *bind.CallOpts) (struct {
	Factory     common.Address
	Token0      common.Address
	Token1      common.Address
	Fee         *big.Int
	TickSpacing *big.Int
}, error)

Parameters is a free data retrieval call binding the contract method 0x89035730.

Solidity: function parameters() view returns(address factory, address token0, address token1, uint24 fee, int24 tickSpacing)

type UnifactoryCallerRaw added in v1.0.59

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

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

func (*UnifactoryCallerRaw) Call added in v1.0.59

func (_Unifactory *UnifactoryCallerRaw) 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 UnifactoryCallerSession added in v1.0.59

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

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

func (*UnifactoryCallerSession) FeeAmountTickSpacing added in v1.0.59

func (_Unifactory *UnifactoryCallerSession) FeeAmountTickSpacing(arg0 *big.Int) (*big.Int, error)

FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.

Solidity: function feeAmountTickSpacing(uint24 ) view returns(int24)

func (*UnifactoryCallerSession) GetPool added in v1.0.59

func (_Unifactory *UnifactoryCallerSession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)

GetPool is a free data retrieval call binding the contract method 0x1698ee82.

Solidity: function getPool(address , address , uint24 ) view returns(address)

func (*UnifactoryCallerSession) Owner added in v1.0.59

func (_Unifactory *UnifactoryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*UnifactoryCallerSession) Parameters added in v1.0.59

func (_Unifactory *UnifactoryCallerSession) Parameters() (struct {
	Factory     common.Address
	Token0      common.Address
	Token1      common.Address
	Fee         *big.Int
	TickSpacing *big.Int
}, error)

Parameters is a free data retrieval call binding the contract method 0x89035730.

Solidity: function parameters() view returns(address factory, address token0, address token1, uint24 fee, int24 tickSpacing)

type UnifactoryFeeAmountEnabled added in v1.0.59

type UnifactoryFeeAmountEnabled struct {
	Fee         *big.Int
	TickSpacing *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

UnifactoryFeeAmountEnabled represents a FeeAmountEnabled event raised by the Unifactory contract.

type UnifactoryFeeAmountEnabledIterator added in v1.0.59

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

UnifactoryFeeAmountEnabledIterator is returned from FilterFeeAmountEnabled and is used to iterate over the raw logs and unpacked data for FeeAmountEnabled events raised by the Unifactory contract.

func (*UnifactoryFeeAmountEnabledIterator) Close added in v1.0.59

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

func (*UnifactoryFeeAmountEnabledIterator) Error added in v1.0.59

Error returns any retrieval or parsing error occurred during filtering.

func (*UnifactoryFeeAmountEnabledIterator) Next added in v1.0.59

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 UnifactoryFilterer added in v1.0.59

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

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

func NewUnifactoryFilterer added in v1.0.59

func NewUnifactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*UnifactoryFilterer, error)

NewUnifactoryFilterer creates a new log filterer instance of Unifactory, bound to a specific deployed contract.

func (*UnifactoryFilterer) FilterFeeAmountEnabled added in v1.0.59

func (_Unifactory *UnifactoryFilterer) FilterFeeAmountEnabled(opts *bind.FilterOpts, fee []*big.Int, tickSpacing []*big.Int) (*UnifactoryFeeAmountEnabledIterator, error)

FilterFeeAmountEnabled is a free log retrieval operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.

Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)

func (*UnifactoryFilterer) FilterOwnerChanged added in v1.0.59

func (_Unifactory *UnifactoryFilterer) FilterOwnerChanged(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*UnifactoryOwnerChangedIterator, error)

FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)

func (*UnifactoryFilterer) FilterPoolCreated added in v1.0.59

func (_Unifactory *UnifactoryFilterer) FilterPoolCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address, fee []*big.Int) (*UnifactoryPoolCreatedIterator, error)

FilterPoolCreated is a free log retrieval operation binding the contract event 0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118.

Solidity: event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool)

func (*UnifactoryFilterer) ParseFeeAmountEnabled added in v1.0.59

func (_Unifactory *UnifactoryFilterer) ParseFeeAmountEnabled(log types.Log) (*UnifactoryFeeAmountEnabled, error)

ParseFeeAmountEnabled is a log parse operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.

Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)

func (*UnifactoryFilterer) ParseOwnerChanged added in v1.0.59

func (_Unifactory *UnifactoryFilterer) ParseOwnerChanged(log types.Log) (*UnifactoryOwnerChanged, error)

ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)

func (*UnifactoryFilterer) ParsePoolCreated added in v1.0.59

func (_Unifactory *UnifactoryFilterer) ParsePoolCreated(log types.Log) (*UnifactoryPoolCreated, error)

ParsePoolCreated is a log parse operation binding the contract event 0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118.

Solidity: event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool)

func (*UnifactoryFilterer) WatchFeeAmountEnabled added in v1.0.59

func (_Unifactory *UnifactoryFilterer) WatchFeeAmountEnabled(opts *bind.WatchOpts, sink chan<- *UnifactoryFeeAmountEnabled, fee []*big.Int, tickSpacing []*big.Int) (event.Subscription, error)

WatchFeeAmountEnabled is a free log subscription operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.

Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)

func (*UnifactoryFilterer) WatchOwnerChanged added in v1.0.59

func (_Unifactory *UnifactoryFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *UnifactoryOwnerChanged, oldOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnerChanged is a free log subscription operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)

func (*UnifactoryFilterer) WatchPoolCreated added in v1.0.59

func (_Unifactory *UnifactoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *UnifactoryPoolCreated, token0 []common.Address, token1 []common.Address, fee []*big.Int) (event.Subscription, error)

WatchPoolCreated is a free log subscription operation binding the contract event 0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118.

Solidity: event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool)

type UnifactoryOwnerChanged added in v1.0.59

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

UnifactoryOwnerChanged represents a OwnerChanged event raised by the Unifactory contract.

type UnifactoryOwnerChangedIterator added in v1.0.59

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

UnifactoryOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the Unifactory contract.

func (*UnifactoryOwnerChangedIterator) Close added in v1.0.59

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

func (*UnifactoryOwnerChangedIterator) Error added in v1.0.59

Error returns any retrieval or parsing error occurred during filtering.

func (*UnifactoryOwnerChangedIterator) Next added in v1.0.59

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 UnifactoryPoolCreated added in v1.0.59

type UnifactoryPoolCreated struct {
	Token0      common.Address
	Token1      common.Address
	Fee         *big.Int
	TickSpacing *big.Int
	Pool        common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

UnifactoryPoolCreated represents a PoolCreated event raised by the Unifactory contract.

type UnifactoryPoolCreatedIterator added in v1.0.59

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

UnifactoryPoolCreatedIterator is returned from FilterPoolCreated and is used to iterate over the raw logs and unpacked data for PoolCreated events raised by the Unifactory contract.

func (*UnifactoryPoolCreatedIterator) Close added in v1.0.59

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

func (*UnifactoryPoolCreatedIterator) Error added in v1.0.59

Error returns any retrieval or parsing error occurred during filtering.

func (*UnifactoryPoolCreatedIterator) Next added in v1.0.59

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 UnifactoryRaw added in v1.0.59

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

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

func (*UnifactoryRaw) Call added in v1.0.59

func (_Unifactory *UnifactoryRaw) 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 (*UnifactoryRaw) Transact added in v1.0.59

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

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

func (*UnifactoryRaw) Transfer added in v1.0.59

func (_Unifactory *UnifactoryRaw) 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 UnifactorySession added in v1.0.59

type UnifactorySession struct {
	Contract     *Unifactory       // 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
}

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

func (*UnifactorySession) CreatePool added in v1.0.59

func (_Unifactory *UnifactorySession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)

CreatePool is a paid mutator transaction binding the contract method 0xa1671295.

Solidity: function createPool(address tokenA, address tokenB, uint24 fee) returns(address pool)

func (*UnifactorySession) EnableFeeAmount added in v1.0.59

func (_Unifactory *UnifactorySession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)

EnableFeeAmount is a paid mutator transaction binding the contract method 0x8a7c195f.

Solidity: function enableFeeAmount(uint24 fee, int24 tickSpacing) returns()

func (*UnifactorySession) FeeAmountTickSpacing added in v1.0.59

func (_Unifactory *UnifactorySession) FeeAmountTickSpacing(arg0 *big.Int) (*big.Int, error)

FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.

Solidity: function feeAmountTickSpacing(uint24 ) view returns(int24)

func (*UnifactorySession) GetPool added in v1.0.59

func (_Unifactory *UnifactorySession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)

GetPool is a free data retrieval call binding the contract method 0x1698ee82.

Solidity: function getPool(address , address , uint24 ) view returns(address)

func (*UnifactorySession) Owner added in v1.0.59

func (_Unifactory *UnifactorySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*UnifactorySession) Parameters added in v1.0.59

func (_Unifactory *UnifactorySession) Parameters() (struct {
	Factory     common.Address
	Token0      common.Address
	Token1      common.Address
	Fee         *big.Int
	TickSpacing *big.Int
}, error)

Parameters is a free data retrieval call binding the contract method 0x89035730.

Solidity: function parameters() view returns(address factory, address token0, address token1, uint24 fee, int24 tickSpacing)

func (*UnifactorySession) SetOwner added in v1.0.59

func (_Unifactory *UnifactorySession) SetOwner(_owner common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address _owner) returns()

type UnifactoryTransactor added in v1.0.59

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

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

func NewUnifactoryTransactor added in v1.0.59

func NewUnifactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*UnifactoryTransactor, error)

NewUnifactoryTransactor creates a new write-only instance of Unifactory, bound to a specific deployed contract.

func (*UnifactoryTransactor) CreatePool added in v1.0.59

func (_Unifactory *UnifactoryTransactor) CreatePool(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)

CreatePool is a paid mutator transaction binding the contract method 0xa1671295.

Solidity: function createPool(address tokenA, address tokenB, uint24 fee) returns(address pool)

func (*UnifactoryTransactor) EnableFeeAmount added in v1.0.59

func (_Unifactory *UnifactoryTransactor) EnableFeeAmount(opts *bind.TransactOpts, fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)

EnableFeeAmount is a paid mutator transaction binding the contract method 0x8a7c195f.

Solidity: function enableFeeAmount(uint24 fee, int24 tickSpacing) returns()

func (*UnifactoryTransactor) SetOwner added in v1.0.59

func (_Unifactory *UnifactoryTransactor) SetOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address _owner) returns()

type UnifactoryTransactorRaw added in v1.0.59

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

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

func (*UnifactoryTransactorRaw) Transact added in v1.0.59

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

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

func (*UnifactoryTransactorRaw) Transfer added in v1.0.59

func (_Unifactory *UnifactoryTransactorRaw) 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 UnifactoryTransactorSession added in v1.0.59

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

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

func (*UnifactoryTransactorSession) CreatePool added in v1.0.59

func (_Unifactory *UnifactoryTransactorSession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)

CreatePool is a paid mutator transaction binding the contract method 0xa1671295.

Solidity: function createPool(address tokenA, address tokenB, uint24 fee) returns(address pool)

func (*UnifactoryTransactorSession) EnableFeeAmount added in v1.0.59

func (_Unifactory *UnifactoryTransactorSession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)

EnableFeeAmount is a paid mutator transaction binding the contract method 0x8a7c195f.

Solidity: function enableFeeAmount(uint24 fee, int24 tickSpacing) returns()

func (*UnifactoryTransactorSession) SetOwner added in v1.0.59

func (_Unifactory *UnifactoryTransactorSession) SetOwner(_owner common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address _owner) returns()

type Unipool added in v1.0.66

type Unipool struct {
	UnipoolCaller     // Read-only binding to the contract
	UnipoolTransactor // Write-only binding to the contract
	UnipoolFilterer   // Log filterer for contract events
}

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

func NewUnipool added in v1.0.66

func NewUnipool(address common.Address, backend bind.ContractBackend) (*Unipool, error)

NewUnipool creates a new instance of Unipool, bound to a specific deployed contract.

type UnipoolBurn added in v1.0.66

type UnipoolBurn struct {
	Owner     common.Address
	TickLower *big.Int
	TickUpper *big.Int
	Amount    *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

UnipoolBurn represents a Burn event raised by the Unipool contract.

type UnipoolBurnIterator added in v1.0.66

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

UnipoolBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the Unipool contract.

func (*UnipoolBurnIterator) Close added in v1.0.66

func (it *UnipoolBurnIterator) Close() error

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

func (*UnipoolBurnIterator) Error added in v1.0.66

func (it *UnipoolBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UnipoolBurnIterator) Next added in v1.0.66

func (it *UnipoolBurnIterator) 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 UnipoolCaller added in v1.0.66

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

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

func NewUnipoolCaller added in v1.0.66

func NewUnipoolCaller(address common.Address, caller bind.ContractCaller) (*UnipoolCaller, error)

NewUnipoolCaller creates a new read-only instance of Unipool, bound to a specific deployed contract.

func (*UnipoolCaller) Factory added in v1.0.66

func (_Unipool *UnipoolCaller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UnipoolCaller) Fee added in v1.0.66

func (_Unipool *UnipoolCaller) Fee(opts *bind.CallOpts) (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint24)

func (*UnipoolCaller) FeeGrowthGlobal0X128 added in v1.0.66

func (_Unipool *UnipoolCaller) FeeGrowthGlobal0X128(opts *bind.CallOpts) (*big.Int, error)

FeeGrowthGlobal0X128 is a free data retrieval call binding the contract method 0xf3058399.

Solidity: function feeGrowthGlobal0X128() view returns(uint256)

func (*UnipoolCaller) FeeGrowthGlobal1X128 added in v1.0.66

func (_Unipool *UnipoolCaller) FeeGrowthGlobal1X128(opts *bind.CallOpts) (*big.Int, error)

FeeGrowthGlobal1X128 is a free data retrieval call binding the contract method 0x46141319.

Solidity: function feeGrowthGlobal1X128() view returns(uint256)

func (*UnipoolCaller) Liquidity added in v1.0.66

func (_Unipool *UnipoolCaller) Liquidity(opts *bind.CallOpts) (*big.Int, error)

Liquidity is a free data retrieval call binding the contract method 0x1a686502.

Solidity: function liquidity() view returns(uint128)

func (*UnipoolCaller) MaxLiquidityPerTick added in v1.0.66

func (_Unipool *UnipoolCaller) MaxLiquidityPerTick(opts *bind.CallOpts) (*big.Int, error)

MaxLiquidityPerTick is a free data retrieval call binding the contract method 0x70cf754a.

Solidity: function maxLiquidityPerTick() view returns(uint128)

func (*UnipoolCaller) Observations added in v1.0.66

func (_Unipool *UnipoolCaller) Observations(opts *bind.CallOpts, arg0 *big.Int) (struct {
	BlockTimestamp                    uint32
	TickCumulative                    *big.Int
	SecondsPerLiquidityCumulativeX128 *big.Int
	Initialized                       bool
}, error)

Observations is a free data retrieval call binding the contract method 0x252c09d7.

Solidity: function observations(uint256 ) view returns(uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized)

func (*UnipoolCaller) Observe added in v1.0.66

func (_Unipool *UnipoolCaller) Observe(opts *bind.CallOpts, secondsAgos []uint32) (struct {
	TickCumulatives                    []*big.Int
	SecondsPerLiquidityCumulativeX128s []*big.Int
}, error)

Observe is a free data retrieval call binding the contract method 0x883bdbfd.

Solidity: function observe(uint32[] secondsAgos) view returns(int56[] tickCumulatives, uint160[] secondsPerLiquidityCumulativeX128s)

func (*UnipoolCaller) Positions added in v1.0.66

func (_Unipool *UnipoolCaller) Positions(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Liquidity                *big.Int
	FeeGrowthInside0LastX128 *big.Int
	FeeGrowthInside1LastX128 *big.Int
	TokensOwed0              *big.Int
	TokensOwed1              *big.Int
}, error)

Positions is a free data retrieval call binding the contract method 0x514ea4bf.

Solidity: function positions(bytes32 ) view returns(uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)

func (*UnipoolCaller) ProtocolFees added in v1.0.66

func (_Unipool *UnipoolCaller) ProtocolFees(opts *bind.CallOpts) (struct {
	Token0 *big.Int
	Token1 *big.Int
}, error)

ProtocolFees is a free data retrieval call binding the contract method 0x1ad8b03b.

Solidity: function protocolFees() view returns(uint128 token0, uint128 token1)

func (*UnipoolCaller) Slot0 added in v1.0.66

func (_Unipool *UnipoolCaller) Slot0(opts *bind.CallOpts) (struct {
	SqrtPriceX96               *big.Int
	Tick                       *big.Int
	ObservationIndex           uint16
	ObservationCardinality     uint16
	ObservationCardinalityNext uint16
	FeeProtocol                uint8
	Unlocked                   bool
}, error)

Slot0 is a free data retrieval call binding the contract method 0x3850c7bd.

Solidity: function slot0() view returns(uint160 sqrtPriceX96, int24 tick, uint16 observationIndex, uint16 observationCardinality, uint16 observationCardinalityNext, uint8 feeProtocol, bool unlocked)

func (*UnipoolCaller) SnapshotCumulativesInside added in v1.0.66

func (_Unipool *UnipoolCaller) SnapshotCumulativesInside(opts *bind.CallOpts, tickLower *big.Int, tickUpper *big.Int) (struct {
	TickCumulativeInside          *big.Int
	SecondsPerLiquidityInsideX128 *big.Int
	SecondsInside                 uint32
}, error)

SnapshotCumulativesInside is a free data retrieval call binding the contract method 0xa38807f2.

Solidity: function snapshotCumulativesInside(int24 tickLower, int24 tickUpper) view returns(int56 tickCumulativeInside, uint160 secondsPerLiquidityInsideX128, uint32 secondsInside)

func (*UnipoolCaller) TickBitmap added in v1.0.66

func (_Unipool *UnipoolCaller) TickBitmap(opts *bind.CallOpts, arg0 int16) (*big.Int, error)

TickBitmap is a free data retrieval call binding the contract method 0x5339c296.

Solidity: function tickBitmap(int16 ) view returns(uint256)

func (*UnipoolCaller) TickSpacing added in v1.0.66

func (_Unipool *UnipoolCaller) TickSpacing(opts *bind.CallOpts) (*big.Int, error)

TickSpacing is a free data retrieval call binding the contract method 0xd0c93a7c.

Solidity: function tickSpacing() view returns(int24)

func (*UnipoolCaller) Ticks added in v1.0.66

func (_Unipool *UnipoolCaller) Ticks(opts *bind.CallOpts, arg0 *big.Int) (struct {
	LiquidityGross                 *big.Int
	LiquidityNet                   *big.Int
	FeeGrowthOutside0X128          *big.Int
	FeeGrowthOutside1X128          *big.Int
	TickCumulativeOutside          *big.Int
	SecondsPerLiquidityOutsideX128 *big.Int
	SecondsOutside                 uint32
	Initialized                    bool
}, error)

Ticks is a free data retrieval call binding the contract method 0xf30dba93.

Solidity: function ticks(int24 ) view returns(uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized)

func (*UnipoolCaller) Token0 added in v1.0.66

func (_Unipool *UnipoolCaller) Token0(opts *bind.CallOpts) (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*UnipoolCaller) Token1 added in v1.0.66

func (_Unipool *UnipoolCaller) Token1(opts *bind.CallOpts) (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

type UnipoolCallerRaw added in v1.0.66

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

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

func (*UnipoolCallerRaw) Call added in v1.0.66

func (_Unipool *UnipoolCallerRaw) 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 UnipoolCallerSession added in v1.0.66

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

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

func (*UnipoolCallerSession) Factory added in v1.0.66

func (_Unipool *UnipoolCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UnipoolCallerSession) Fee added in v1.0.66

func (_Unipool *UnipoolCallerSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint24)

func (*UnipoolCallerSession) FeeGrowthGlobal0X128 added in v1.0.66

func (_Unipool *UnipoolCallerSession) FeeGrowthGlobal0X128() (*big.Int, error)

FeeGrowthGlobal0X128 is a free data retrieval call binding the contract method 0xf3058399.

Solidity: function feeGrowthGlobal0X128() view returns(uint256)

func (*UnipoolCallerSession) FeeGrowthGlobal1X128 added in v1.0.66

func (_Unipool *UnipoolCallerSession) FeeGrowthGlobal1X128() (*big.Int, error)

FeeGrowthGlobal1X128 is a free data retrieval call binding the contract method 0x46141319.

Solidity: function feeGrowthGlobal1X128() view returns(uint256)

func (*UnipoolCallerSession) Liquidity added in v1.0.66

func (_Unipool *UnipoolCallerSession) Liquidity() (*big.Int, error)

Liquidity is a free data retrieval call binding the contract method 0x1a686502.

Solidity: function liquidity() view returns(uint128)

func (*UnipoolCallerSession) MaxLiquidityPerTick added in v1.0.66

func (_Unipool *UnipoolCallerSession) MaxLiquidityPerTick() (*big.Int, error)

MaxLiquidityPerTick is a free data retrieval call binding the contract method 0x70cf754a.

Solidity: function maxLiquidityPerTick() view returns(uint128)

func (*UnipoolCallerSession) Observations added in v1.0.66

func (_Unipool *UnipoolCallerSession) Observations(arg0 *big.Int) (struct {
	BlockTimestamp                    uint32
	TickCumulative                    *big.Int
	SecondsPerLiquidityCumulativeX128 *big.Int
	Initialized                       bool
}, error)

Observations is a free data retrieval call binding the contract method 0x252c09d7.

Solidity: function observations(uint256 ) view returns(uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized)

func (*UnipoolCallerSession) Observe added in v1.0.66

func (_Unipool *UnipoolCallerSession) Observe(secondsAgos []uint32) (struct {
	TickCumulatives                    []*big.Int
	SecondsPerLiquidityCumulativeX128s []*big.Int
}, error)

Observe is a free data retrieval call binding the contract method 0x883bdbfd.

Solidity: function observe(uint32[] secondsAgos) view returns(int56[] tickCumulatives, uint160[] secondsPerLiquidityCumulativeX128s)

func (*UnipoolCallerSession) Positions added in v1.0.66

func (_Unipool *UnipoolCallerSession) Positions(arg0 [32]byte) (struct {
	Liquidity                *big.Int
	FeeGrowthInside0LastX128 *big.Int
	FeeGrowthInside1LastX128 *big.Int
	TokensOwed0              *big.Int
	TokensOwed1              *big.Int
}, error)

Positions is a free data retrieval call binding the contract method 0x514ea4bf.

Solidity: function positions(bytes32 ) view returns(uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)

func (*UnipoolCallerSession) ProtocolFees added in v1.0.66

func (_Unipool *UnipoolCallerSession) ProtocolFees() (struct {
	Token0 *big.Int
	Token1 *big.Int
}, error)

ProtocolFees is a free data retrieval call binding the contract method 0x1ad8b03b.

Solidity: function protocolFees() view returns(uint128 token0, uint128 token1)

func (*UnipoolCallerSession) Slot0 added in v1.0.66

func (_Unipool *UnipoolCallerSession) Slot0() (struct {
	SqrtPriceX96               *big.Int
	Tick                       *big.Int
	ObservationIndex           uint16
	ObservationCardinality     uint16
	ObservationCardinalityNext uint16
	FeeProtocol                uint8
	Unlocked                   bool
}, error)

Slot0 is a free data retrieval call binding the contract method 0x3850c7bd.

Solidity: function slot0() view returns(uint160 sqrtPriceX96, int24 tick, uint16 observationIndex, uint16 observationCardinality, uint16 observationCardinalityNext, uint8 feeProtocol, bool unlocked)

func (*UnipoolCallerSession) SnapshotCumulativesInside added in v1.0.66

func (_Unipool *UnipoolCallerSession) SnapshotCumulativesInside(tickLower *big.Int, tickUpper *big.Int) (struct {
	TickCumulativeInside          *big.Int
	SecondsPerLiquidityInsideX128 *big.Int
	SecondsInside                 uint32
}, error)

SnapshotCumulativesInside is a free data retrieval call binding the contract method 0xa38807f2.

Solidity: function snapshotCumulativesInside(int24 tickLower, int24 tickUpper) view returns(int56 tickCumulativeInside, uint160 secondsPerLiquidityInsideX128, uint32 secondsInside)

func (*UnipoolCallerSession) TickBitmap added in v1.0.66

func (_Unipool *UnipoolCallerSession) TickBitmap(arg0 int16) (*big.Int, error)

TickBitmap is a free data retrieval call binding the contract method 0x5339c296.

Solidity: function tickBitmap(int16 ) view returns(uint256)

func (*UnipoolCallerSession) TickSpacing added in v1.0.66

func (_Unipool *UnipoolCallerSession) TickSpacing() (*big.Int, error)

TickSpacing is a free data retrieval call binding the contract method 0xd0c93a7c.

Solidity: function tickSpacing() view returns(int24)

func (*UnipoolCallerSession) Ticks added in v1.0.66

func (_Unipool *UnipoolCallerSession) Ticks(arg0 *big.Int) (struct {
	LiquidityGross                 *big.Int
	LiquidityNet                   *big.Int
	FeeGrowthOutside0X128          *big.Int
	FeeGrowthOutside1X128          *big.Int
	TickCumulativeOutside          *big.Int
	SecondsPerLiquidityOutsideX128 *big.Int
	SecondsOutside                 uint32
	Initialized                    bool
}, error)

Ticks is a free data retrieval call binding the contract method 0xf30dba93.

Solidity: function ticks(int24 ) view returns(uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized)

func (*UnipoolCallerSession) Token0 added in v1.0.66

func (_Unipool *UnipoolCallerSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*UnipoolCallerSession) Token1 added in v1.0.66

func (_Unipool *UnipoolCallerSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

type UnipoolCollect added in v1.0.66

type UnipoolCollect struct {
	Owner     common.Address
	Recipient common.Address
	TickLower *big.Int
	TickUpper *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

UnipoolCollect represents a Collect event raised by the Unipool contract.

type UnipoolCollectIterator added in v1.0.66

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

UnipoolCollectIterator is returned from FilterCollect and is used to iterate over the raw logs and unpacked data for Collect events raised by the Unipool contract.

func (*UnipoolCollectIterator) Close added in v1.0.66

func (it *UnipoolCollectIterator) Close() error

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

func (*UnipoolCollectIterator) Error added in v1.0.66

func (it *UnipoolCollectIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UnipoolCollectIterator) Next added in v1.0.66

func (it *UnipoolCollectIterator) 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 UnipoolCollectProtocol added in v1.0.66

type UnipoolCollectProtocol struct {
	Sender    common.Address
	Recipient common.Address
	Amount0   *big.Int
	Amount1   *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

UnipoolCollectProtocol represents a CollectProtocol event raised by the Unipool contract.

type UnipoolCollectProtocolIterator added in v1.0.66

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

UnipoolCollectProtocolIterator is returned from FilterCollectProtocol and is used to iterate over the raw logs and unpacked data for CollectProtocol events raised by the Unipool contract.

func (*UnipoolCollectProtocolIterator) Close added in v1.0.66

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

func (*UnipoolCollectProtocolIterator) Error added in v1.0.66

Error returns any retrieval or parsing error occurred during filtering.

func (*UnipoolCollectProtocolIterator) Next added in v1.0.66

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 UnipoolFilterer added in v1.0.66

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

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

func NewUnipoolFilterer added in v1.0.66

func NewUnipoolFilterer(address common.Address, filterer bind.ContractFilterer) (*UnipoolFilterer, error)

NewUnipoolFilterer creates a new log filterer instance of Unipool, bound to a specific deployed contract.

func (*UnipoolFilterer) FilterBurn added in v1.0.66

func (_Unipool *UnipoolFilterer) FilterBurn(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (*UnipoolBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0x0c396cd989a39f4459b5fa1aed6a9a8dcdbc45908acfd67e028cd568da98982c.

Solidity: event Burn(address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)

func (*UnipoolFilterer) FilterCollect added in v1.0.66

func (_Unipool *UnipoolFilterer) FilterCollect(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (*UnipoolCollectIterator, error)

FilterCollect is a free log retrieval operation binding the contract event 0x70935338e69775456a85ddef226c395fb668b63fa0115f5f20610b388e6ca9c0.

Solidity: event Collect(address indexed owner, address recipient, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount0, uint128 amount1)

func (*UnipoolFilterer) FilterCollectProtocol added in v1.0.66

func (_Unipool *UnipoolFilterer) FilterCollectProtocol(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*UnipoolCollectProtocolIterator, error)

FilterCollectProtocol is a free log retrieval operation binding the contract event 0x596b573906218d3411850b26a6b437d6c4522fdb43d2d2386263f86d50b8b151.

Solidity: event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1)

func (*UnipoolFilterer) FilterFlash added in v1.0.66

func (_Unipool *UnipoolFilterer) FilterFlash(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*UnipoolFlashIterator, error)

FilterFlash is a free log retrieval operation binding the contract event 0xbdbdb71d7860376ba52b25a5028beea23581364a40522f6bcfb86bb1f2dca633.

Solidity: event Flash(address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1)

func (*UnipoolFilterer) FilterIncreaseObservationCardinalityNext added in v1.0.66

func (_Unipool *UnipoolFilterer) FilterIncreaseObservationCardinalityNext(opts *bind.FilterOpts) (*UnipoolIncreaseObservationCardinalityNextIterator, error)

FilterIncreaseObservationCardinalityNext is a free log retrieval operation binding the contract event 0xac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a.

Solidity: event IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)

func (*UnipoolFilterer) FilterInitialize added in v1.0.66

func (_Unipool *UnipoolFilterer) FilterInitialize(opts *bind.FilterOpts) (*UnipoolInitializeIterator, error)

FilterInitialize is a free log retrieval operation binding the contract event 0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95.

Solidity: event Initialize(uint160 sqrtPriceX96, int24 tick)

func (*UnipoolFilterer) FilterMint added in v1.0.66

func (_Unipool *UnipoolFilterer) FilterMint(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (*UnipoolMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde.

Solidity: event Mint(address sender, address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)

func (*UnipoolFilterer) FilterSetFeeProtocol added in v1.0.66

func (_Unipool *UnipoolFilterer) FilterSetFeeProtocol(opts *bind.FilterOpts) (*UnipoolSetFeeProtocolIterator, error)

FilterSetFeeProtocol is a free log retrieval operation binding the contract event 0x973d8d92bb299f4af6ce49b52a8adb85ae46b9f214c4c4fc06ac77401237b133.

Solidity: event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)

func (*UnipoolFilterer) FilterSwap added in v1.0.66

func (_Unipool *UnipoolFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*UnipoolSwapIterator, error)

FilterSwap is a free log retrieval operation binding the contract event 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67.

Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick)

func (*UnipoolFilterer) ParseBurn added in v1.0.66

func (_Unipool *UnipoolFilterer) ParseBurn(log types.Log) (*UnipoolBurn, error)

ParseBurn is a log parse operation binding the contract event 0x0c396cd989a39f4459b5fa1aed6a9a8dcdbc45908acfd67e028cd568da98982c.

Solidity: event Burn(address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)

func (*UnipoolFilterer) ParseCollect added in v1.0.66

func (_Unipool *UnipoolFilterer) ParseCollect(log types.Log) (*UnipoolCollect, error)

ParseCollect is a log parse operation binding the contract event 0x70935338e69775456a85ddef226c395fb668b63fa0115f5f20610b388e6ca9c0.

Solidity: event Collect(address indexed owner, address recipient, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount0, uint128 amount1)

func (*UnipoolFilterer) ParseCollectProtocol added in v1.0.66

func (_Unipool *UnipoolFilterer) ParseCollectProtocol(log types.Log) (*UnipoolCollectProtocol, error)

ParseCollectProtocol is a log parse operation binding the contract event 0x596b573906218d3411850b26a6b437d6c4522fdb43d2d2386263f86d50b8b151.

Solidity: event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1)

func (*UnipoolFilterer) ParseFlash added in v1.0.66

func (_Unipool *UnipoolFilterer) ParseFlash(log types.Log) (*UnipoolFlash, error)

ParseFlash is a log parse operation binding the contract event 0xbdbdb71d7860376ba52b25a5028beea23581364a40522f6bcfb86bb1f2dca633.

Solidity: event Flash(address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1)

func (*UnipoolFilterer) ParseIncreaseObservationCardinalityNext added in v1.0.66

func (_Unipool *UnipoolFilterer) ParseIncreaseObservationCardinalityNext(log types.Log) (*UnipoolIncreaseObservationCardinalityNext, error)

ParseIncreaseObservationCardinalityNext is a log parse operation binding the contract event 0xac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a.

Solidity: event IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)

func (*UnipoolFilterer) ParseInitialize added in v1.0.66

func (_Unipool *UnipoolFilterer) ParseInitialize(log types.Log) (*UnipoolInitialize, error)

ParseInitialize is a log parse operation binding the contract event 0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95.

Solidity: event Initialize(uint160 sqrtPriceX96, int24 tick)

func (*UnipoolFilterer) ParseMint added in v1.0.66

func (_Unipool *UnipoolFilterer) ParseMint(log types.Log) (*UnipoolMint, error)

ParseMint is a log parse operation binding the contract event 0x7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde.

Solidity: event Mint(address sender, address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)

func (*UnipoolFilterer) ParseSetFeeProtocol added in v1.0.66

func (_Unipool *UnipoolFilterer) ParseSetFeeProtocol(log types.Log) (*UnipoolSetFeeProtocol, error)

ParseSetFeeProtocol is a log parse operation binding the contract event 0x973d8d92bb299f4af6ce49b52a8adb85ae46b9f214c4c4fc06ac77401237b133.

Solidity: event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)

func (*UnipoolFilterer) ParseSwap added in v1.0.66

func (_Unipool *UnipoolFilterer) ParseSwap(log types.Log) (*UnipoolSwap, error)

ParseSwap is a log parse operation binding the contract event 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67.

Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick)

func (*UnipoolFilterer) WatchBurn added in v1.0.66

func (_Unipool *UnipoolFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *UnipoolBurn, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0x0c396cd989a39f4459b5fa1aed6a9a8dcdbc45908acfd67e028cd568da98982c.

Solidity: event Burn(address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)

func (*UnipoolFilterer) WatchCollect added in v1.0.66

func (_Unipool *UnipoolFilterer) WatchCollect(opts *bind.WatchOpts, sink chan<- *UnipoolCollect, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (event.Subscription, error)

WatchCollect is a free log subscription operation binding the contract event 0x70935338e69775456a85ddef226c395fb668b63fa0115f5f20610b388e6ca9c0.

Solidity: event Collect(address indexed owner, address recipient, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount0, uint128 amount1)

func (*UnipoolFilterer) WatchCollectProtocol added in v1.0.66

func (_Unipool *UnipoolFilterer) WatchCollectProtocol(opts *bind.WatchOpts, sink chan<- *UnipoolCollectProtocol, sender []common.Address, recipient []common.Address) (event.Subscription, error)

WatchCollectProtocol is a free log subscription operation binding the contract event 0x596b573906218d3411850b26a6b437d6c4522fdb43d2d2386263f86d50b8b151.

Solidity: event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1)

func (*UnipoolFilterer) WatchFlash added in v1.0.66

func (_Unipool *UnipoolFilterer) WatchFlash(opts *bind.WatchOpts, sink chan<- *UnipoolFlash, sender []common.Address, recipient []common.Address) (event.Subscription, error)

WatchFlash is a free log subscription operation binding the contract event 0xbdbdb71d7860376ba52b25a5028beea23581364a40522f6bcfb86bb1f2dca633.

Solidity: event Flash(address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1)

func (*UnipoolFilterer) WatchIncreaseObservationCardinalityNext added in v1.0.66

func (_Unipool *UnipoolFilterer) WatchIncreaseObservationCardinalityNext(opts *bind.WatchOpts, sink chan<- *UnipoolIncreaseObservationCardinalityNext) (event.Subscription, error)

WatchIncreaseObservationCardinalityNext is a free log subscription operation binding the contract event 0xac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a.

Solidity: event IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)

func (*UnipoolFilterer) WatchInitialize added in v1.0.66

func (_Unipool *UnipoolFilterer) WatchInitialize(opts *bind.WatchOpts, sink chan<- *UnipoolInitialize) (event.Subscription, error)

WatchInitialize is a free log subscription operation binding the contract event 0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95.

Solidity: event Initialize(uint160 sqrtPriceX96, int24 tick)

func (*UnipoolFilterer) WatchMint added in v1.0.66

func (_Unipool *UnipoolFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *UnipoolMint, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde.

Solidity: event Mint(address sender, address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)

func (*UnipoolFilterer) WatchSetFeeProtocol added in v1.0.66

func (_Unipool *UnipoolFilterer) WatchSetFeeProtocol(opts *bind.WatchOpts, sink chan<- *UnipoolSetFeeProtocol) (event.Subscription, error)

WatchSetFeeProtocol is a free log subscription operation binding the contract event 0x973d8d92bb299f4af6ce49b52a8adb85ae46b9f214c4c4fc06ac77401237b133.

Solidity: event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)

func (*UnipoolFilterer) WatchSwap added in v1.0.66

func (_Unipool *UnipoolFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *UnipoolSwap, sender []common.Address, recipient []common.Address) (event.Subscription, error)

WatchSwap is a free log subscription operation binding the contract event 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67.

Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick)

type UnipoolFlash added in v1.0.66

type UnipoolFlash struct {
	Sender    common.Address
	Recipient common.Address
	Amount0   *big.Int
	Amount1   *big.Int
	Paid0     *big.Int
	Paid1     *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

UnipoolFlash represents a Flash event raised by the Unipool contract.

type UnipoolFlashIterator added in v1.0.66

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

UnipoolFlashIterator is returned from FilterFlash and is used to iterate over the raw logs and unpacked data for Flash events raised by the Unipool contract.

func (*UnipoolFlashIterator) Close added in v1.0.66

func (it *UnipoolFlashIterator) Close() error

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

func (*UnipoolFlashIterator) Error added in v1.0.66

func (it *UnipoolFlashIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UnipoolFlashIterator) Next added in v1.0.66

func (it *UnipoolFlashIterator) 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 UnipoolIncreaseObservationCardinalityNext added in v1.0.66

type UnipoolIncreaseObservationCardinalityNext struct {
	ObservationCardinalityNextOld uint16
	ObservationCardinalityNextNew uint16
	Raw                           types.Log // Blockchain specific contextual infos
}

UnipoolIncreaseObservationCardinalityNext represents a IncreaseObservationCardinalityNext event raised by the Unipool contract.

type UnipoolIncreaseObservationCardinalityNextIterator added in v1.0.66

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

UnipoolIncreaseObservationCardinalityNextIterator is returned from FilterIncreaseObservationCardinalityNext and is used to iterate over the raw logs and unpacked data for IncreaseObservationCardinalityNext events raised by the Unipool contract.

func (*UnipoolIncreaseObservationCardinalityNextIterator) Close added in v1.0.66

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

func (*UnipoolIncreaseObservationCardinalityNextIterator) Error added in v1.0.66

Error returns any retrieval or parsing error occurred during filtering.

func (*UnipoolIncreaseObservationCardinalityNextIterator) Next added in v1.0.66

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 UnipoolInitialize added in v1.0.66

type UnipoolInitialize struct {
	SqrtPriceX96 *big.Int
	Tick         *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

UnipoolInitialize represents a Initialize event raised by the Unipool contract.

type UnipoolInitializeIterator added in v1.0.66

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

UnipoolInitializeIterator is returned from FilterInitialize and is used to iterate over the raw logs and unpacked data for Initialize events raised by the Unipool contract.

func (*UnipoolInitializeIterator) Close added in v1.0.66

func (it *UnipoolInitializeIterator) Close() error

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

func (*UnipoolInitializeIterator) Error added in v1.0.66

func (it *UnipoolInitializeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UnipoolInitializeIterator) Next added in v1.0.66

func (it *UnipoolInitializeIterator) 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 UnipoolMint added in v1.0.66

type UnipoolMint struct {
	Sender    common.Address
	Owner     common.Address
	TickLower *big.Int
	TickUpper *big.Int
	Amount    *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

UnipoolMint represents a Mint event raised by the Unipool contract.

type UnipoolMintIterator added in v1.0.66

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

UnipoolMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the Unipool contract.

func (*UnipoolMintIterator) Close added in v1.0.66

func (it *UnipoolMintIterator) Close() error

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

func (*UnipoolMintIterator) Error added in v1.0.66

func (it *UnipoolMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UnipoolMintIterator) Next added in v1.0.66

func (it *UnipoolMintIterator) 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 UnipoolRaw added in v1.0.66

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

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

func (*UnipoolRaw) Call added in v1.0.66

func (_Unipool *UnipoolRaw) 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 (*UnipoolRaw) Transact added in v1.0.66

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

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

func (*UnipoolRaw) Transfer added in v1.0.66

func (_Unipool *UnipoolRaw) 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 UnipoolSession added in v1.0.66

type UnipoolSession struct {
	Contract     *Unipool          // 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
}

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

func (*UnipoolSession) Burn added in v1.0.66

func (_Unipool *UnipoolSession) Burn(tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xa34123a7.

Solidity: function burn(int24 tickLower, int24 tickUpper, uint128 amount) returns(uint256 amount0, uint256 amount1)

func (*UnipoolSession) Collect added in v1.0.66

func (_Unipool *UnipoolSession) Collect(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)

Collect is a paid mutator transaction binding the contract method 0x4f1eb3d8.

Solidity: function collect(address recipient, int24 tickLower, int24 tickUpper, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)

func (*UnipoolSession) CollectProtocol added in v1.0.66

func (_Unipool *UnipoolSession) CollectProtocol(recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)

CollectProtocol is a paid mutator transaction binding the contract method 0x85b66729.

Solidity: function collectProtocol(address recipient, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)

func (*UnipoolSession) Factory added in v1.0.66

func (_Unipool *UnipoolSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UnipoolSession) Fee added in v1.0.66

func (_Unipool *UnipoolSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint24)

func (*UnipoolSession) FeeGrowthGlobal0X128 added in v1.0.66

func (_Unipool *UnipoolSession) FeeGrowthGlobal0X128() (*big.Int, error)

FeeGrowthGlobal0X128 is a free data retrieval call binding the contract method 0xf3058399.

Solidity: function feeGrowthGlobal0X128() view returns(uint256)

func (*UnipoolSession) FeeGrowthGlobal1X128 added in v1.0.66

func (_Unipool *UnipoolSession) FeeGrowthGlobal1X128() (*big.Int, error)

FeeGrowthGlobal1X128 is a free data retrieval call binding the contract method 0x46141319.

Solidity: function feeGrowthGlobal1X128() view returns(uint256)

func (*UnipoolSession) Flash added in v1.0.66

func (_Unipool *UnipoolSession) Flash(recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

Flash is a paid mutator transaction binding the contract method 0x490e6cbc.

Solidity: function flash(address recipient, uint256 amount0, uint256 amount1, bytes data) returns()

func (*UnipoolSession) IncreaseObservationCardinalityNext added in v1.0.66

func (_Unipool *UnipoolSession) IncreaseObservationCardinalityNext(observationCardinalityNext uint16) (*types.Transaction, error)

IncreaseObservationCardinalityNext is a paid mutator transaction binding the contract method 0x32148f67.

Solidity: function increaseObservationCardinalityNext(uint16 observationCardinalityNext) returns()

func (*UnipoolSession) Initialize added in v1.0.66

func (_Unipool *UnipoolSession) Initialize(sqrtPriceX96 *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xf637731d.

Solidity: function initialize(uint160 sqrtPriceX96) returns()

func (*UnipoolSession) Liquidity added in v1.0.66

func (_Unipool *UnipoolSession) Liquidity() (*big.Int, error)

Liquidity is a free data retrieval call binding the contract method 0x1a686502.

Solidity: function liquidity() view returns(uint128)

func (*UnipoolSession) MaxLiquidityPerTick added in v1.0.66

func (_Unipool *UnipoolSession) MaxLiquidityPerTick() (*big.Int, error)

MaxLiquidityPerTick is a free data retrieval call binding the contract method 0x70cf754a.

Solidity: function maxLiquidityPerTick() view returns(uint128)

func (*UnipoolSession) Mint added in v1.0.66

func (_Unipool *UnipoolSession) Mint(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x3c8a7d8d.

Solidity: function mint(address recipient, int24 tickLower, int24 tickUpper, uint128 amount, bytes data) returns(uint256 amount0, uint256 amount1)

func (*UnipoolSession) Observations added in v1.0.66

func (_Unipool *UnipoolSession) Observations(arg0 *big.Int) (struct {
	BlockTimestamp                    uint32
	TickCumulative                    *big.Int
	SecondsPerLiquidityCumulativeX128 *big.Int
	Initialized                       bool
}, error)

Observations is a free data retrieval call binding the contract method 0x252c09d7.

Solidity: function observations(uint256 ) view returns(uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized)

func (*UnipoolSession) Observe added in v1.0.66

func (_Unipool *UnipoolSession) Observe(secondsAgos []uint32) (struct {
	TickCumulatives                    []*big.Int
	SecondsPerLiquidityCumulativeX128s []*big.Int
}, error)

Observe is a free data retrieval call binding the contract method 0x883bdbfd.

Solidity: function observe(uint32[] secondsAgos) view returns(int56[] tickCumulatives, uint160[] secondsPerLiquidityCumulativeX128s)

func (*UnipoolSession) Positions added in v1.0.66

func (_Unipool *UnipoolSession) Positions(arg0 [32]byte) (struct {
	Liquidity                *big.Int
	FeeGrowthInside0LastX128 *big.Int
	FeeGrowthInside1LastX128 *big.Int
	TokensOwed0              *big.Int
	TokensOwed1              *big.Int
}, error)

Positions is a free data retrieval call binding the contract method 0x514ea4bf.

Solidity: function positions(bytes32 ) view returns(uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)

func (*UnipoolSession) ProtocolFees added in v1.0.66

func (_Unipool *UnipoolSession) ProtocolFees() (struct {
	Token0 *big.Int
	Token1 *big.Int
}, error)

ProtocolFees is a free data retrieval call binding the contract method 0x1ad8b03b.

Solidity: function protocolFees() view returns(uint128 token0, uint128 token1)

func (*UnipoolSession) SetFeeProtocol added in v1.0.66

func (_Unipool *UnipoolSession) SetFeeProtocol(feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)

SetFeeProtocol is a paid mutator transaction binding the contract method 0x8206a4d1.

Solidity: function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) returns()

func (*UnipoolSession) Slot0 added in v1.0.66

func (_Unipool *UnipoolSession) Slot0() (struct {
	SqrtPriceX96               *big.Int
	Tick                       *big.Int
	ObservationIndex           uint16
	ObservationCardinality     uint16
	ObservationCardinalityNext uint16
	FeeProtocol                uint8
	Unlocked                   bool
}, error)

Slot0 is a free data retrieval call binding the contract method 0x3850c7bd.

Solidity: function slot0() view returns(uint160 sqrtPriceX96, int24 tick, uint16 observationIndex, uint16 observationCardinality, uint16 observationCardinalityNext, uint8 feeProtocol, bool unlocked)

func (*UnipoolSession) SnapshotCumulativesInside added in v1.0.66

func (_Unipool *UnipoolSession) SnapshotCumulativesInside(tickLower *big.Int, tickUpper *big.Int) (struct {
	TickCumulativeInside          *big.Int
	SecondsPerLiquidityInsideX128 *big.Int
	SecondsInside                 uint32
}, error)

SnapshotCumulativesInside is a free data retrieval call binding the contract method 0xa38807f2.

Solidity: function snapshotCumulativesInside(int24 tickLower, int24 tickUpper) view returns(int56 tickCumulativeInside, uint160 secondsPerLiquidityInsideX128, uint32 secondsInside)

func (*UnipoolSession) Swap added in v1.0.66

func (_Unipool *UnipoolSession) Swap(recipient common.Address, zeroForOne bool, amountSpecified *big.Int, sqrtPriceLimitX96 *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function swap(address recipient, bool zeroForOne, int256 amountSpecified, uint160 sqrtPriceLimitX96, bytes data) returns(int256 amount0, int256 amount1)

func (*UnipoolSession) TickBitmap added in v1.0.66

func (_Unipool *UnipoolSession) TickBitmap(arg0 int16) (*big.Int, error)

TickBitmap is a free data retrieval call binding the contract method 0x5339c296.

Solidity: function tickBitmap(int16 ) view returns(uint256)

func (*UnipoolSession) TickSpacing added in v1.0.66

func (_Unipool *UnipoolSession) TickSpacing() (*big.Int, error)

TickSpacing is a free data retrieval call binding the contract method 0xd0c93a7c.

Solidity: function tickSpacing() view returns(int24)

func (*UnipoolSession) Ticks added in v1.0.66

func (_Unipool *UnipoolSession) Ticks(arg0 *big.Int) (struct {
	LiquidityGross                 *big.Int
	LiquidityNet                   *big.Int
	FeeGrowthOutside0X128          *big.Int
	FeeGrowthOutside1X128          *big.Int
	TickCumulativeOutside          *big.Int
	SecondsPerLiquidityOutsideX128 *big.Int
	SecondsOutside                 uint32
	Initialized                    bool
}, error)

Ticks is a free data retrieval call binding the contract method 0xf30dba93.

Solidity: function ticks(int24 ) view returns(uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized)

func (*UnipoolSession) Token0 added in v1.0.66

func (_Unipool *UnipoolSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*UnipoolSession) Token1 added in v1.0.66

func (_Unipool *UnipoolSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

type UnipoolSetFeeProtocol added in v1.0.66

type UnipoolSetFeeProtocol struct {
	FeeProtocol0Old uint8
	FeeProtocol1Old uint8
	FeeProtocol0New uint8
	FeeProtocol1New uint8
	Raw             types.Log // Blockchain specific contextual infos
}

UnipoolSetFeeProtocol represents a SetFeeProtocol event raised by the Unipool contract.

type UnipoolSetFeeProtocolIterator added in v1.0.66

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

UnipoolSetFeeProtocolIterator is returned from FilterSetFeeProtocol and is used to iterate over the raw logs and unpacked data for SetFeeProtocol events raised by the Unipool contract.

func (*UnipoolSetFeeProtocolIterator) Close added in v1.0.66

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

func (*UnipoolSetFeeProtocolIterator) Error added in v1.0.66

Error returns any retrieval or parsing error occurred during filtering.

func (*UnipoolSetFeeProtocolIterator) Next added in v1.0.66

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 UnipoolSwap added in v1.0.66

type UnipoolSwap struct {
	Sender       common.Address
	Recipient    common.Address
	Amount0      *big.Int
	Amount1      *big.Int
	SqrtPriceX96 *big.Int
	Liquidity    *big.Int
	Tick         *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

UnipoolSwap represents a Swap event raised by the Unipool contract.

type UnipoolSwapIterator added in v1.0.66

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

UnipoolSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the Unipool contract.

func (*UnipoolSwapIterator) Close added in v1.0.66

func (it *UnipoolSwapIterator) Close() error

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

func (*UnipoolSwapIterator) Error added in v1.0.66

func (it *UnipoolSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UnipoolSwapIterator) Next added in v1.0.66

func (it *UnipoolSwapIterator) 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 UnipoolTransactor added in v1.0.66

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

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

func NewUnipoolTransactor added in v1.0.66

func NewUnipoolTransactor(address common.Address, transactor bind.ContractTransactor) (*UnipoolTransactor, error)

NewUnipoolTransactor creates a new write-only instance of Unipool, bound to a specific deployed contract.

func (*UnipoolTransactor) Burn added in v1.0.66

func (_Unipool *UnipoolTransactor) Burn(opts *bind.TransactOpts, tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xa34123a7.

Solidity: function burn(int24 tickLower, int24 tickUpper, uint128 amount) returns(uint256 amount0, uint256 amount1)

func (*UnipoolTransactor) Collect added in v1.0.66

func (_Unipool *UnipoolTransactor) Collect(opts *bind.TransactOpts, recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)

Collect is a paid mutator transaction binding the contract method 0x4f1eb3d8.

Solidity: function collect(address recipient, int24 tickLower, int24 tickUpper, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)

func (*UnipoolTransactor) CollectProtocol added in v1.0.66

func (_Unipool *UnipoolTransactor) CollectProtocol(opts *bind.TransactOpts, recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)

CollectProtocol is a paid mutator transaction binding the contract method 0x85b66729.

Solidity: function collectProtocol(address recipient, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)

func (*UnipoolTransactor) Flash added in v1.0.66

func (_Unipool *UnipoolTransactor) Flash(opts *bind.TransactOpts, recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

Flash is a paid mutator transaction binding the contract method 0x490e6cbc.

Solidity: function flash(address recipient, uint256 amount0, uint256 amount1, bytes data) returns()

func (*UnipoolTransactor) IncreaseObservationCardinalityNext added in v1.0.66

func (_Unipool *UnipoolTransactor) IncreaseObservationCardinalityNext(opts *bind.TransactOpts, observationCardinalityNext uint16) (*types.Transaction, error)

IncreaseObservationCardinalityNext is a paid mutator transaction binding the contract method 0x32148f67.

Solidity: function increaseObservationCardinalityNext(uint16 observationCardinalityNext) returns()

func (*UnipoolTransactor) Initialize added in v1.0.66

func (_Unipool *UnipoolTransactor) Initialize(opts *bind.TransactOpts, sqrtPriceX96 *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xf637731d.

Solidity: function initialize(uint160 sqrtPriceX96) returns()

func (*UnipoolTransactor) Mint added in v1.0.66

func (_Unipool *UnipoolTransactor) Mint(opts *bind.TransactOpts, recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x3c8a7d8d.

Solidity: function mint(address recipient, int24 tickLower, int24 tickUpper, uint128 amount, bytes data) returns(uint256 amount0, uint256 amount1)

func (*UnipoolTransactor) SetFeeProtocol added in v1.0.66

func (_Unipool *UnipoolTransactor) SetFeeProtocol(opts *bind.TransactOpts, feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)

SetFeeProtocol is a paid mutator transaction binding the contract method 0x8206a4d1.

Solidity: function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) returns()

func (*UnipoolTransactor) Swap added in v1.0.66

func (_Unipool *UnipoolTransactor) Swap(opts *bind.TransactOpts, recipient common.Address, zeroForOne bool, amountSpecified *big.Int, sqrtPriceLimitX96 *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function swap(address recipient, bool zeroForOne, int256 amountSpecified, uint160 sqrtPriceLimitX96, bytes data) returns(int256 amount0, int256 amount1)

type UnipoolTransactorRaw added in v1.0.66

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

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

func (*UnipoolTransactorRaw) Transact added in v1.0.66

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

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

func (*UnipoolTransactorRaw) Transfer added in v1.0.66

func (_Unipool *UnipoolTransactorRaw) 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 UnipoolTransactorSession added in v1.0.66

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

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

func (*UnipoolTransactorSession) Burn added in v1.0.66

func (_Unipool *UnipoolTransactorSession) Burn(tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xa34123a7.

Solidity: function burn(int24 tickLower, int24 tickUpper, uint128 amount) returns(uint256 amount0, uint256 amount1)

func (*UnipoolTransactorSession) Collect added in v1.0.66

func (_Unipool *UnipoolTransactorSession) Collect(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)

Collect is a paid mutator transaction binding the contract method 0x4f1eb3d8.

Solidity: function collect(address recipient, int24 tickLower, int24 tickUpper, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)

func (*UnipoolTransactorSession) CollectProtocol added in v1.0.66

func (_Unipool *UnipoolTransactorSession) CollectProtocol(recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)

CollectProtocol is a paid mutator transaction binding the contract method 0x85b66729.

Solidity: function collectProtocol(address recipient, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)

func (*UnipoolTransactorSession) Flash added in v1.0.66

func (_Unipool *UnipoolTransactorSession) Flash(recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

Flash is a paid mutator transaction binding the contract method 0x490e6cbc.

Solidity: function flash(address recipient, uint256 amount0, uint256 amount1, bytes data) returns()

func (*UnipoolTransactorSession) IncreaseObservationCardinalityNext added in v1.0.66

func (_Unipool *UnipoolTransactorSession) IncreaseObservationCardinalityNext(observationCardinalityNext uint16) (*types.Transaction, error)

IncreaseObservationCardinalityNext is a paid mutator transaction binding the contract method 0x32148f67.

Solidity: function increaseObservationCardinalityNext(uint16 observationCardinalityNext) returns()

func (*UnipoolTransactorSession) Initialize added in v1.0.66

func (_Unipool *UnipoolTransactorSession) Initialize(sqrtPriceX96 *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xf637731d.

Solidity: function initialize(uint160 sqrtPriceX96) returns()

func (*UnipoolTransactorSession) Mint added in v1.0.66

func (_Unipool *UnipoolTransactorSession) Mint(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x3c8a7d8d.

Solidity: function mint(address recipient, int24 tickLower, int24 tickUpper, uint128 amount, bytes data) returns(uint256 amount0, uint256 amount1)

func (*UnipoolTransactorSession) SetFeeProtocol added in v1.0.66

func (_Unipool *UnipoolTransactorSession) SetFeeProtocol(feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)

SetFeeProtocol is a paid mutator transaction binding the contract method 0x8206a4d1.

Solidity: function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) returns()

func (*UnipoolTransactorSession) Swap added in v1.0.66

func (_Unipool *UnipoolTransactorSession) Swap(recipient common.Address, zeroForOne bool, amountSpecified *big.Int, sqrtPriceLimitX96 *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function swap(address recipient, bool zeroForOne, int256 amountSpecified, uint160 sqrtPriceLimitX96, bytes data) returns(int256 amount0, int256 amount1)

type Unirouter added in v1.0.59

type Unirouter struct {
	UnirouterCaller     // Read-only binding to the contract
	UnirouterTransactor // Write-only binding to the contract
	UnirouterFilterer   // Log filterer for contract events
}

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

func NewUnirouter added in v1.0.59

func NewUnirouter(address common.Address, backend bind.ContractBackend) (*Unirouter, error)

NewUnirouter creates a new instance of Unirouter, bound to a specific deployed contract.

type UnirouterCaller added in v1.0.59

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

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

func NewUnirouterCaller added in v1.0.59

func NewUnirouterCaller(address common.Address, caller bind.ContractCaller) (*UnirouterCaller, error)

NewUnirouterCaller creates a new read-only instance of Unirouter, bound to a specific deployed contract.

func (*UnirouterCaller) Factory added in v1.0.59

func (_Unirouter *UnirouterCaller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UnirouterCaller) WETH9 added in v1.0.59

func (_Unirouter *UnirouterCaller) WETH9(opts *bind.CallOpts) (common.Address, error)

WETH9 is a free data retrieval call binding the contract method 0x4aa4a4fc.

Solidity: function WETH9() view returns(address)

type UnirouterCallerRaw added in v1.0.59

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

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

func (*UnirouterCallerRaw) Call added in v1.0.59

func (_Unirouter *UnirouterCallerRaw) 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 UnirouterCallerSession added in v1.0.59

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

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

func (*UnirouterCallerSession) Factory added in v1.0.59

func (_Unirouter *UnirouterCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UnirouterCallerSession) WETH9 added in v1.0.59

func (_Unirouter *UnirouterCallerSession) WETH9() (common.Address, error)

WETH9 is a free data retrieval call binding the contract method 0x4aa4a4fc.

Solidity: function WETH9() view returns(address)

type UnirouterFilterer added in v1.0.59

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

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

func NewUnirouterFilterer added in v1.0.59

func NewUnirouterFilterer(address common.Address, filterer bind.ContractFilterer) (*UnirouterFilterer, error)

NewUnirouterFilterer creates a new log filterer instance of Unirouter, bound to a specific deployed contract.

type UnirouterRaw added in v1.0.59

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

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

func (*UnirouterRaw) Call added in v1.0.59

func (_Unirouter *UnirouterRaw) 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 (*UnirouterRaw) Transact added in v1.0.59

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

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

func (*UnirouterRaw) Transfer added in v1.0.59

func (_Unirouter *UnirouterRaw) 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 UnirouterSession added in v1.0.59

type UnirouterSession struct {
	Contract     *Unirouter        // 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
}

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

func (*UnirouterSession) ExactInput added in v1.0.59

func (_Unirouter *UnirouterSession) ExactInput(params ISwapRouterExactInputParams) (*types.Transaction, error)

ExactInput is a paid mutator transaction binding the contract method 0xc04b8d59.

Solidity: function exactInput((bytes,address,uint256,uint256,uint256) params) payable returns(uint256 amountOut)

func (*UnirouterSession) ExactInputSingle added in v1.0.59

func (_Unirouter *UnirouterSession) ExactInputSingle(params ISwapRouterExactInputSingleParams) (*types.Transaction, error)

ExactInputSingle is a paid mutator transaction binding the contract method 0x414bf389.

Solidity: function exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160) params) payable returns(uint256 amountOut)

func (*UnirouterSession) ExactOutput added in v1.0.59

func (_Unirouter *UnirouterSession) ExactOutput(params ISwapRouterExactOutputParams) (*types.Transaction, error)

ExactOutput is a paid mutator transaction binding the contract method 0xf28c0498.

Solidity: function exactOutput((bytes,address,uint256,uint256,uint256) params) payable returns(uint256 amountIn)

func (*UnirouterSession) ExactOutputSingle added in v1.0.59

func (_Unirouter *UnirouterSession) ExactOutputSingle(params ISwapRouterExactOutputSingleParams) (*types.Transaction, error)

ExactOutputSingle is a paid mutator transaction binding the contract method 0xdb3e2198.

Solidity: function exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160) params) payable returns(uint256 amountIn)

func (*UnirouterSession) Factory added in v1.0.59

func (_Unirouter *UnirouterSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UnirouterSession) Multicall added in v1.0.59

func (_Unirouter *UnirouterSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) payable returns(bytes[] results)

func (*UnirouterSession) Receive added in v1.0.59

func (_Unirouter *UnirouterSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*UnirouterSession) RefundETH added in v1.0.59

func (_Unirouter *UnirouterSession) RefundETH() (*types.Transaction, error)

RefundETH is a paid mutator transaction binding the contract method 0x12210e8a.

Solidity: function refundETH() payable returns()

func (*UnirouterSession) SelfPermit added in v1.0.59

func (_Unirouter *UnirouterSession) SelfPermit(token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

SelfPermit is a paid mutator transaction binding the contract method 0xf3995c67.

Solidity: function selfPermit(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()

func (*UnirouterSession) SelfPermitAllowed added in v1.0.59

func (_Unirouter *UnirouterSession) SelfPermitAllowed(token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

SelfPermitAllowed is a paid mutator transaction binding the contract method 0x4659a494.

Solidity: function selfPermitAllowed(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable returns()

func (*UnirouterSession) SelfPermitAllowedIfNecessary added in v1.0.59

func (_Unirouter *UnirouterSession) SelfPermitAllowedIfNecessary(token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

SelfPermitAllowedIfNecessary is a paid mutator transaction binding the contract method 0xa4a78f0c.

Solidity: function selfPermitAllowedIfNecessary(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable returns()

func (*UnirouterSession) SelfPermitIfNecessary added in v1.0.59

func (_Unirouter *UnirouterSession) SelfPermitIfNecessary(token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

SelfPermitIfNecessary is a paid mutator transaction binding the contract method 0xc2e3140a.

Solidity: function selfPermitIfNecessary(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()

func (*UnirouterSession) SweepToken added in v1.0.59

func (_Unirouter *UnirouterSession) SweepToken(token common.Address, amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)

SweepToken is a paid mutator transaction binding the contract method 0xdf2ab5bb.

Solidity: function sweepToken(address token, uint256 amountMinimum, address recipient) payable returns()

func (*UnirouterSession) SweepTokenWithFee added in v1.0.59

func (_Unirouter *UnirouterSession) SweepTokenWithFee(token common.Address, amountMinimum *big.Int, recipient common.Address, feeBips *big.Int, feeRecipient common.Address) (*types.Transaction, error)

SweepTokenWithFee is a paid mutator transaction binding the contract method 0xe0e189a0.

Solidity: function sweepTokenWithFee(address token, uint256 amountMinimum, address recipient, uint256 feeBips, address feeRecipient) payable returns()

func (*UnirouterSession) UniswapV3SwapCallback added in v1.0.59

func (_Unirouter *UnirouterSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, _data []byte) (*types.Transaction, error)

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

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

func (*UnirouterSession) UnwrapWETH9 added in v1.0.59

func (_Unirouter *UnirouterSession) UnwrapWETH9(amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)

UnwrapWETH9 is a paid mutator transaction binding the contract method 0x49404b7c.

Solidity: function unwrapWETH9(uint256 amountMinimum, address recipient) payable returns()

func (*UnirouterSession) UnwrapWETH9WithFee added in v1.0.59

func (_Unirouter *UnirouterSession) UnwrapWETH9WithFee(amountMinimum *big.Int, recipient common.Address, feeBips *big.Int, feeRecipient common.Address) (*types.Transaction, error)

UnwrapWETH9WithFee is a paid mutator transaction binding the contract method 0x9b2c0a37.

Solidity: function unwrapWETH9WithFee(uint256 amountMinimum, address recipient, uint256 feeBips, address feeRecipient) payable returns()

func (*UnirouterSession) WETH9 added in v1.0.59

func (_Unirouter *UnirouterSession) WETH9() (common.Address, error)

WETH9 is a free data retrieval call binding the contract method 0x4aa4a4fc.

Solidity: function WETH9() view returns(address)

type UnirouterTransactor added in v1.0.59

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

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

func NewUnirouterTransactor added in v1.0.59

func NewUnirouterTransactor(address common.Address, transactor bind.ContractTransactor) (*UnirouterTransactor, error)

NewUnirouterTransactor creates a new write-only instance of Unirouter, bound to a specific deployed contract.

func (*UnirouterTransactor) ExactInput added in v1.0.59

func (_Unirouter *UnirouterTransactor) ExactInput(opts *bind.TransactOpts, params ISwapRouterExactInputParams) (*types.Transaction, error)

ExactInput is a paid mutator transaction binding the contract method 0xc04b8d59.

Solidity: function exactInput((bytes,address,uint256,uint256,uint256) params) payable returns(uint256 amountOut)

func (*UnirouterTransactor) ExactInputSingle added in v1.0.59

func (_Unirouter *UnirouterTransactor) ExactInputSingle(opts *bind.TransactOpts, params ISwapRouterExactInputSingleParams) (*types.Transaction, error)

ExactInputSingle is a paid mutator transaction binding the contract method 0x414bf389.

Solidity: function exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160) params) payable returns(uint256 amountOut)

func (*UnirouterTransactor) ExactOutput added in v1.0.59

func (_Unirouter *UnirouterTransactor) ExactOutput(opts *bind.TransactOpts, params ISwapRouterExactOutputParams) (*types.Transaction, error)

ExactOutput is a paid mutator transaction binding the contract method 0xf28c0498.

Solidity: function exactOutput((bytes,address,uint256,uint256,uint256) params) payable returns(uint256 amountIn)

func (*UnirouterTransactor) ExactOutputSingle added in v1.0.59

func (_Unirouter *UnirouterTransactor) ExactOutputSingle(opts *bind.TransactOpts, params ISwapRouterExactOutputSingleParams) (*types.Transaction, error)

ExactOutputSingle is a paid mutator transaction binding the contract method 0xdb3e2198.

Solidity: function exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160) params) payable returns(uint256 amountIn)

func (*UnirouterTransactor) Multicall added in v1.0.59

func (_Unirouter *UnirouterTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) payable returns(bytes[] results)

func (*UnirouterTransactor) Receive added in v1.0.59

func (_Unirouter *UnirouterTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*UnirouterTransactor) RefundETH added in v1.0.59

func (_Unirouter *UnirouterTransactor) RefundETH(opts *bind.TransactOpts) (*types.Transaction, error)

RefundETH is a paid mutator transaction binding the contract method 0x12210e8a.

Solidity: function refundETH() payable returns()

func (*UnirouterTransactor) SelfPermit added in v1.0.59

func (_Unirouter *UnirouterTransactor) SelfPermit(opts *bind.TransactOpts, token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

SelfPermit is a paid mutator transaction binding the contract method 0xf3995c67.

Solidity: function selfPermit(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()

func (*UnirouterTransactor) SelfPermitAllowed added in v1.0.59

func (_Unirouter *UnirouterTransactor) SelfPermitAllowed(opts *bind.TransactOpts, token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

SelfPermitAllowed is a paid mutator transaction binding the contract method 0x4659a494.

Solidity: function selfPermitAllowed(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable returns()

func (*UnirouterTransactor) SelfPermitAllowedIfNecessary added in v1.0.59

func (_Unirouter *UnirouterTransactor) SelfPermitAllowedIfNecessary(opts *bind.TransactOpts, token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

SelfPermitAllowedIfNecessary is a paid mutator transaction binding the contract method 0xa4a78f0c.

Solidity: function selfPermitAllowedIfNecessary(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable returns()

func (*UnirouterTransactor) SelfPermitIfNecessary added in v1.0.59

func (_Unirouter *UnirouterTransactor) SelfPermitIfNecessary(opts *bind.TransactOpts, token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

SelfPermitIfNecessary is a paid mutator transaction binding the contract method 0xc2e3140a.

Solidity: function selfPermitIfNecessary(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()

func (*UnirouterTransactor) SweepToken added in v1.0.59

func (_Unirouter *UnirouterTransactor) SweepToken(opts *bind.TransactOpts, token common.Address, amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)

SweepToken is a paid mutator transaction binding the contract method 0xdf2ab5bb.

Solidity: function sweepToken(address token, uint256 amountMinimum, address recipient) payable returns()

func (*UnirouterTransactor) SweepTokenWithFee added in v1.0.59

func (_Unirouter *UnirouterTransactor) SweepTokenWithFee(opts *bind.TransactOpts, token common.Address, amountMinimum *big.Int, recipient common.Address, feeBips *big.Int, feeRecipient common.Address) (*types.Transaction, error)

SweepTokenWithFee is a paid mutator transaction binding the contract method 0xe0e189a0.

Solidity: function sweepTokenWithFee(address token, uint256 amountMinimum, address recipient, uint256 feeBips, address feeRecipient) payable returns()

func (*UnirouterTransactor) UniswapV3SwapCallback added in v1.0.59

func (_Unirouter *UnirouterTransactor) UniswapV3SwapCallback(opts *bind.TransactOpts, amount0Delta *big.Int, amount1Delta *big.Int, _data []byte) (*types.Transaction, error)

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

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

func (*UnirouterTransactor) UnwrapWETH9 added in v1.0.59

func (_Unirouter *UnirouterTransactor) UnwrapWETH9(opts *bind.TransactOpts, amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)

UnwrapWETH9 is a paid mutator transaction binding the contract method 0x49404b7c.

Solidity: function unwrapWETH9(uint256 amountMinimum, address recipient) payable returns()

func (*UnirouterTransactor) UnwrapWETH9WithFee added in v1.0.59

func (_Unirouter *UnirouterTransactor) UnwrapWETH9WithFee(opts *bind.TransactOpts, amountMinimum *big.Int, recipient common.Address, feeBips *big.Int, feeRecipient common.Address) (*types.Transaction, error)

UnwrapWETH9WithFee is a paid mutator transaction binding the contract method 0x9b2c0a37.

Solidity: function unwrapWETH9WithFee(uint256 amountMinimum, address recipient, uint256 feeBips, address feeRecipient) payable returns()

type UnirouterTransactorRaw added in v1.0.59

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

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

func (*UnirouterTransactorRaw) Transact added in v1.0.59

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

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

func (*UnirouterTransactorRaw) Transfer added in v1.0.59

func (_Unirouter *UnirouterTransactorRaw) 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 UnirouterTransactorSession added in v1.0.59

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

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

func (*UnirouterTransactorSession) ExactInput added in v1.0.59

ExactInput is a paid mutator transaction binding the contract method 0xc04b8d59.

Solidity: function exactInput((bytes,address,uint256,uint256,uint256) params) payable returns(uint256 amountOut)

func (*UnirouterTransactorSession) ExactInputSingle added in v1.0.59

func (_Unirouter *UnirouterTransactorSession) ExactInputSingle(params ISwapRouterExactInputSingleParams) (*types.Transaction, error)

ExactInputSingle is a paid mutator transaction binding the contract method 0x414bf389.

Solidity: function exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160) params) payable returns(uint256 amountOut)

func (*UnirouterTransactorSession) ExactOutput added in v1.0.59

ExactOutput is a paid mutator transaction binding the contract method 0xf28c0498.

Solidity: function exactOutput((bytes,address,uint256,uint256,uint256) params) payable returns(uint256 amountIn)

func (*UnirouterTransactorSession) ExactOutputSingle added in v1.0.59

func (_Unirouter *UnirouterTransactorSession) ExactOutputSingle(params ISwapRouterExactOutputSingleParams) (*types.Transaction, error)

ExactOutputSingle is a paid mutator transaction binding the contract method 0xdb3e2198.

Solidity: function exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160) params) payable returns(uint256 amountIn)

func (*UnirouterTransactorSession) Multicall added in v1.0.59

func (_Unirouter *UnirouterTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) payable returns(bytes[] results)

func (*UnirouterTransactorSession) Receive added in v1.0.59

func (_Unirouter *UnirouterTransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*UnirouterTransactorSession) RefundETH added in v1.0.59

func (_Unirouter *UnirouterTransactorSession) RefundETH() (*types.Transaction, error)

RefundETH is a paid mutator transaction binding the contract method 0x12210e8a.

Solidity: function refundETH() payable returns()

func (*UnirouterTransactorSession) SelfPermit added in v1.0.59

func (_Unirouter *UnirouterTransactorSession) SelfPermit(token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

SelfPermit is a paid mutator transaction binding the contract method 0xf3995c67.

Solidity: function selfPermit(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()

func (*UnirouterTransactorSession) SelfPermitAllowed added in v1.0.59

func (_Unirouter *UnirouterTransactorSession) SelfPermitAllowed(token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

SelfPermitAllowed is a paid mutator transaction binding the contract method 0x4659a494.

Solidity: function selfPermitAllowed(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable returns()

func (*UnirouterTransactorSession) SelfPermitAllowedIfNecessary added in v1.0.59

func (_Unirouter *UnirouterTransactorSession) SelfPermitAllowedIfNecessary(token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

SelfPermitAllowedIfNecessary is a paid mutator transaction binding the contract method 0xa4a78f0c.

Solidity: function selfPermitAllowedIfNecessary(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable returns()

func (*UnirouterTransactorSession) SelfPermitIfNecessary added in v1.0.59

func (_Unirouter *UnirouterTransactorSession) SelfPermitIfNecessary(token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

SelfPermitIfNecessary is a paid mutator transaction binding the contract method 0xc2e3140a.

Solidity: function selfPermitIfNecessary(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()

func (*UnirouterTransactorSession) SweepToken added in v1.0.59

func (_Unirouter *UnirouterTransactorSession) SweepToken(token common.Address, amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)

SweepToken is a paid mutator transaction binding the contract method 0xdf2ab5bb.

Solidity: function sweepToken(address token, uint256 amountMinimum, address recipient) payable returns()

func (*UnirouterTransactorSession) SweepTokenWithFee added in v1.0.59

func (_Unirouter *UnirouterTransactorSession) SweepTokenWithFee(token common.Address, amountMinimum *big.Int, recipient common.Address, feeBips *big.Int, feeRecipient common.Address) (*types.Transaction, error)

SweepTokenWithFee is a paid mutator transaction binding the contract method 0xe0e189a0.

Solidity: function sweepTokenWithFee(address token, uint256 amountMinimum, address recipient, uint256 feeBips, address feeRecipient) payable returns()

func (*UnirouterTransactorSession) UniswapV3SwapCallback added in v1.0.59

func (_Unirouter *UnirouterTransactorSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, _data []byte) (*types.Transaction, error)

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

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

func (*UnirouterTransactorSession) UnwrapWETH9 added in v1.0.59

func (_Unirouter *UnirouterTransactorSession) UnwrapWETH9(amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)

UnwrapWETH9 is a paid mutator transaction binding the contract method 0x49404b7c.

Solidity: function unwrapWETH9(uint256 amountMinimum, address recipient) payable returns()

func (*UnirouterTransactorSession) UnwrapWETH9WithFee added in v1.0.59

func (_Unirouter *UnirouterTransactorSession) UnwrapWETH9WithFee(amountMinimum *big.Int, recipient common.Address, feeBips *big.Int, feeRecipient common.Address) (*types.Transaction, error)

UnwrapWETH9WithFee is a paid mutator transaction binding the contract method 0x9b2c0a37.

Solidity: function unwrapWETH9WithFee(uint256 amountMinimum, address recipient, uint256 feeBips, address feeRecipient) payable returns()

type Usdt

type Usdt struct {
	UsdtCaller     // Read-only binding to the contract
	UsdtTransactor // Write-only binding to the contract
	UsdtFilterer   // Log filterer for contract events
}

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

func NewUsdt

func NewUsdt(address common.Address, backend bind.ContractBackend) (*Usdt, error)

NewUsdt creates a new instance of Usdt, bound to a specific deployed contract.

type UsdtAddedBlackList

type UsdtAddedBlackList struct {
	User common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

UsdtAddedBlackList represents a AddedBlackList event raised by the Usdt contract.

type UsdtAddedBlackListIterator

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

UsdtAddedBlackListIterator is returned from FilterAddedBlackList and is used to iterate over the raw logs and unpacked data for AddedBlackList events raised by the Usdt contract.

func (*UsdtAddedBlackListIterator) Close

func (it *UsdtAddedBlackListIterator) Close() error

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

func (*UsdtAddedBlackListIterator) Error

func (it *UsdtAddedBlackListIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UsdtAddedBlackListIterator) Next

func (it *UsdtAddedBlackListIterator) 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 UsdtApproval

type UsdtApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

UsdtApproval represents a Approval event raised by the Usdt contract.

type UsdtApprovalIterator

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

UsdtApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Usdt contract.

func (*UsdtApprovalIterator) Close

func (it *UsdtApprovalIterator) Close() error

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

func (*UsdtApprovalIterator) Error

func (it *UsdtApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UsdtApprovalIterator) Next

func (it *UsdtApprovalIterator) 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 UsdtCaller

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

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

func NewUsdtCaller

func NewUsdtCaller(address common.Address, caller bind.ContractCaller) (*UsdtCaller, error)

NewUsdtCaller creates a new read-only instance of Usdt, bound to a specific deployed contract.

func (*UsdtCaller) Allowance

func (_Usdt *UsdtCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256 remaining)

func (*UsdtCaller) Allowed

func (_Usdt *UsdtCaller) Allowed(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowed is a free data retrieval call binding the contract method 0x5c658165.

Solidity: function allowed(address , address ) view returns(uint256)

func (*UsdtCaller) BalanceOf

func (_Usdt *UsdtCaller) BalanceOf(opts *bind.CallOpts, who common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address who) view returns(uint256)

func (*UsdtCaller) Balances

func (_Usdt *UsdtCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x27e235e3.

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

func (*UsdtCaller) BasisPointsRate

func (_Usdt *UsdtCaller) BasisPointsRate(opts *bind.CallOpts) (*big.Int, error)

BasisPointsRate is a free data retrieval call binding the contract method 0xdd644f72.

Solidity: function basisPointsRate() view returns(uint256)

func (*UsdtCaller) Decimals

func (_Usdt *UsdtCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint256)

func (*UsdtCaller) Deprecated

func (_Usdt *UsdtCaller) Deprecated(opts *bind.CallOpts) (bool, error)

Deprecated is a free data retrieval call binding the contract method 0x0e136b19.

Solidity: function deprecated() view returns(bool)

func (*UsdtCaller) GetBlackListStatus

func (_Usdt *UsdtCaller) GetBlackListStatus(opts *bind.CallOpts, _maker common.Address) (bool, error)

GetBlackListStatus is a free data retrieval call binding the contract method 0x59bf1abe.

Solidity: function getBlackListStatus(address _maker) view returns(bool)

func (*UsdtCaller) GetOwner

func (_Usdt *UsdtCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*UsdtCaller) IsBlackListed

func (_Usdt *UsdtCaller) IsBlackListed(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsBlackListed is a free data retrieval call binding the contract method 0xe47d6060.

Solidity: function isBlackListed(address ) view returns(bool)

func (*UsdtCaller) MAXUINT

func (_Usdt *UsdtCaller) MAXUINT(opts *bind.CallOpts) (*big.Int, error)

MAXUINT is a free data retrieval call binding the contract method 0xe5b5019a.

Solidity: function MAX_UINT() view returns(uint256)

func (*UsdtCaller) MaximumFee

func (_Usdt *UsdtCaller) MaximumFee(opts *bind.CallOpts) (*big.Int, error)

MaximumFee is a free data retrieval call binding the contract method 0x35390714.

Solidity: function maximumFee() view returns(uint256)

func (*UsdtCaller) Name

func (_Usdt *UsdtCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*UsdtCaller) Owner

func (_Usdt *UsdtCaller) 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 (*UsdtCaller) Paused

func (_Usdt *UsdtCaller) Paused(opts *bind.CallOpts) (bool, error)

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

Solidity: function paused() view returns(bool)

func (*UsdtCaller) Symbol

func (_Usdt *UsdtCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*UsdtCaller) TotalSupply

func (_Usdt *UsdtCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x3eaaf86b.

Solidity: function _totalSupply() view returns(uint256)

func (*UsdtCaller) TotalSupply1

func (_Usdt *UsdtCaller) TotalSupply1(opts *bind.CallOpts) (*big.Int, error)

TotalSupply1 is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*UsdtCaller) UpgradedAddress

func (_Usdt *UsdtCaller) UpgradedAddress(opts *bind.CallOpts) (common.Address, error)

UpgradedAddress is a free data retrieval call binding the contract method 0x26976e3f.

Solidity: function upgradedAddress() view returns(address)

type UsdtCallerRaw

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

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

func (*UsdtCallerRaw) Call

func (_Usdt *UsdtCallerRaw) 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 UsdtCallerSession

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

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

func (*UsdtCallerSession) Allowance

func (_Usdt *UsdtCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256 remaining)

func (*UsdtCallerSession) Allowed

func (_Usdt *UsdtCallerSession) Allowed(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowed is a free data retrieval call binding the contract method 0x5c658165.

Solidity: function allowed(address , address ) view returns(uint256)

func (*UsdtCallerSession) BalanceOf

func (_Usdt *UsdtCallerSession) BalanceOf(who common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address who) view returns(uint256)

func (*UsdtCallerSession) Balances

func (_Usdt *UsdtCallerSession) Balances(arg0 common.Address) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x27e235e3.

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

func (*UsdtCallerSession) BasisPointsRate

func (_Usdt *UsdtCallerSession) BasisPointsRate() (*big.Int, error)

BasisPointsRate is a free data retrieval call binding the contract method 0xdd644f72.

Solidity: function basisPointsRate() view returns(uint256)

func (*UsdtCallerSession) Decimals

func (_Usdt *UsdtCallerSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint256)

func (*UsdtCallerSession) Deprecated

func (_Usdt *UsdtCallerSession) Deprecated() (bool, error)

Deprecated is a free data retrieval call binding the contract method 0x0e136b19.

Solidity: function deprecated() view returns(bool)

func (*UsdtCallerSession) GetBlackListStatus

func (_Usdt *UsdtCallerSession) GetBlackListStatus(_maker common.Address) (bool, error)

GetBlackListStatus is a free data retrieval call binding the contract method 0x59bf1abe.

Solidity: function getBlackListStatus(address _maker) view returns(bool)

func (*UsdtCallerSession) GetOwner

func (_Usdt *UsdtCallerSession) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*UsdtCallerSession) IsBlackListed

func (_Usdt *UsdtCallerSession) IsBlackListed(arg0 common.Address) (bool, error)

IsBlackListed is a free data retrieval call binding the contract method 0xe47d6060.

Solidity: function isBlackListed(address ) view returns(bool)

func (*UsdtCallerSession) MAXUINT

func (_Usdt *UsdtCallerSession) MAXUINT() (*big.Int, error)

MAXUINT is a free data retrieval call binding the contract method 0xe5b5019a.

Solidity: function MAX_UINT() view returns(uint256)

func (*UsdtCallerSession) MaximumFee

func (_Usdt *UsdtCallerSession) MaximumFee() (*big.Int, error)

MaximumFee is a free data retrieval call binding the contract method 0x35390714.

Solidity: function maximumFee() view returns(uint256)

func (*UsdtCallerSession) Name

func (_Usdt *UsdtCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*UsdtCallerSession) Owner

func (_Usdt *UsdtCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*UsdtCallerSession) Paused

func (_Usdt *UsdtCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*UsdtCallerSession) Symbol

func (_Usdt *UsdtCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*UsdtCallerSession) TotalSupply

func (_Usdt *UsdtCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x3eaaf86b.

Solidity: function _totalSupply() view returns(uint256)

func (*UsdtCallerSession) TotalSupply1

func (_Usdt *UsdtCallerSession) TotalSupply1() (*big.Int, error)

TotalSupply1 is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*UsdtCallerSession) UpgradedAddress

func (_Usdt *UsdtCallerSession) UpgradedAddress() (common.Address, error)

UpgradedAddress is a free data retrieval call binding the contract method 0x26976e3f.

Solidity: function upgradedAddress() view returns(address)

type UsdtDeprecate

type UsdtDeprecate struct {
	NewAddress common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

UsdtDeprecate represents a Deprecate event raised by the Usdt contract.

type UsdtDeprecateIterator

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

UsdtDeprecateIterator is returned from FilterDeprecate and is used to iterate over the raw logs and unpacked data for Deprecate events raised by the Usdt contract.

func (*UsdtDeprecateIterator) Close

func (it *UsdtDeprecateIterator) Close() error

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

func (*UsdtDeprecateIterator) Error

func (it *UsdtDeprecateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UsdtDeprecateIterator) Next

func (it *UsdtDeprecateIterator) 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 UsdtDestroyedBlackFunds

type UsdtDestroyedBlackFunds struct {
	BlackListedUser common.Address
	Balance         *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

UsdtDestroyedBlackFunds represents a DestroyedBlackFunds event raised by the Usdt contract.

type UsdtDestroyedBlackFundsIterator

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

UsdtDestroyedBlackFundsIterator is returned from FilterDestroyedBlackFunds and is used to iterate over the raw logs and unpacked data for DestroyedBlackFunds events raised by the Usdt contract.

func (*UsdtDestroyedBlackFundsIterator) Close

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

func (*UsdtDestroyedBlackFundsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UsdtDestroyedBlackFundsIterator) 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 UsdtFilterer

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

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

func NewUsdtFilterer

func NewUsdtFilterer(address common.Address, filterer bind.ContractFilterer) (*UsdtFilterer, error)

NewUsdtFilterer creates a new log filterer instance of Usdt, bound to a specific deployed contract.

func (*UsdtFilterer) FilterAddedBlackList

func (_Usdt *UsdtFilterer) FilterAddedBlackList(opts *bind.FilterOpts) (*UsdtAddedBlackListIterator, error)

FilterAddedBlackList is a free log retrieval operation binding the contract event 0x42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc.

Solidity: event AddedBlackList(address _user)

func (*UsdtFilterer) FilterApproval

func (_Usdt *UsdtFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*UsdtApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*UsdtFilterer) FilterDeprecate

func (_Usdt *UsdtFilterer) FilterDeprecate(opts *bind.FilterOpts) (*UsdtDeprecateIterator, error)

FilterDeprecate is a free log retrieval operation binding the contract event 0xcc358699805e9a8b7f77b522628c7cb9abd07d9efb86b6fb616af1609036a99e.

Solidity: event Deprecate(address newAddress)

func (*UsdtFilterer) FilterDestroyedBlackFunds

func (_Usdt *UsdtFilterer) FilterDestroyedBlackFunds(opts *bind.FilterOpts) (*UsdtDestroyedBlackFundsIterator, error)

FilterDestroyedBlackFunds is a free log retrieval operation binding the contract event 0x61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c6.

Solidity: event DestroyedBlackFunds(address _blackListedUser, uint256 _balance)

func (*UsdtFilterer) FilterIssue

func (_Usdt *UsdtFilterer) FilterIssue(opts *bind.FilterOpts) (*UsdtIssueIterator, error)

FilterIssue is a free log retrieval operation binding the contract event 0xcb8241adb0c3fdb35b70c24ce35c5eb0c17af7431c99f827d44a445ca624176a.

Solidity: event Issue(uint256 amount)

func (*UsdtFilterer) FilterParams

func (_Usdt *UsdtFilterer) FilterParams(opts *bind.FilterOpts) (*UsdtParamsIterator, error)

FilterParams is a free log retrieval operation binding the contract event 0xb044a1e409eac5c48e5af22d4af52670dd1a99059537a78b31b48c6500a6354e.

Solidity: event Params(uint256 feeBasisPoints, uint256 maxFee)

func (*UsdtFilterer) FilterPause

func (_Usdt *UsdtFilterer) FilterPause(opts *bind.FilterOpts) (*UsdtPauseIterator, error)

FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*UsdtFilterer) FilterRedeem

func (_Usdt *UsdtFilterer) FilterRedeem(opts *bind.FilterOpts) (*UsdtRedeemIterator, error)

FilterRedeem is a free log retrieval operation binding the contract event 0x702d5967f45f6513a38ffc42d6ba9bf230bd40e8f53b16363c7eb4fd2deb9a44.

Solidity: event Redeem(uint256 amount)

func (*UsdtFilterer) FilterRemovedBlackList

func (_Usdt *UsdtFilterer) FilterRemovedBlackList(opts *bind.FilterOpts) (*UsdtRemovedBlackListIterator, error)

FilterRemovedBlackList is a free log retrieval operation binding the contract event 0xd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c.

Solidity: event RemovedBlackList(address _user)

func (*UsdtFilterer) FilterTransfer

func (_Usdt *UsdtFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*UsdtTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*UsdtFilterer) FilterUnpause

func (_Usdt *UsdtFilterer) FilterUnpause(opts *bind.FilterOpts) (*UsdtUnpauseIterator, error)

FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*UsdtFilterer) ParseAddedBlackList

func (_Usdt *UsdtFilterer) ParseAddedBlackList(log types.Log) (*UsdtAddedBlackList, error)

ParseAddedBlackList is a log parse operation binding the contract event 0x42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc.

Solidity: event AddedBlackList(address _user)

func (*UsdtFilterer) ParseApproval

func (_Usdt *UsdtFilterer) ParseApproval(log types.Log) (*UsdtApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*UsdtFilterer) ParseDeprecate

func (_Usdt *UsdtFilterer) ParseDeprecate(log types.Log) (*UsdtDeprecate, error)

ParseDeprecate is a log parse operation binding the contract event 0xcc358699805e9a8b7f77b522628c7cb9abd07d9efb86b6fb616af1609036a99e.

Solidity: event Deprecate(address newAddress)

func (*UsdtFilterer) ParseDestroyedBlackFunds

func (_Usdt *UsdtFilterer) ParseDestroyedBlackFunds(log types.Log) (*UsdtDestroyedBlackFunds, error)

ParseDestroyedBlackFunds is a log parse operation binding the contract event 0x61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c6.

Solidity: event DestroyedBlackFunds(address _blackListedUser, uint256 _balance)

func (*UsdtFilterer) ParseIssue

func (_Usdt *UsdtFilterer) ParseIssue(log types.Log) (*UsdtIssue, error)

ParseIssue is a log parse operation binding the contract event 0xcb8241adb0c3fdb35b70c24ce35c5eb0c17af7431c99f827d44a445ca624176a.

Solidity: event Issue(uint256 amount)

func (*UsdtFilterer) ParseParams

func (_Usdt *UsdtFilterer) ParseParams(log types.Log) (*UsdtParams, error)

ParseParams is a log parse operation binding the contract event 0xb044a1e409eac5c48e5af22d4af52670dd1a99059537a78b31b48c6500a6354e.

Solidity: event Params(uint256 feeBasisPoints, uint256 maxFee)

func (*UsdtFilterer) ParsePause

func (_Usdt *UsdtFilterer) ParsePause(log types.Log) (*UsdtPause, error)

ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*UsdtFilterer) ParseRedeem

func (_Usdt *UsdtFilterer) ParseRedeem(log types.Log) (*UsdtRedeem, error)

ParseRedeem is a log parse operation binding the contract event 0x702d5967f45f6513a38ffc42d6ba9bf230bd40e8f53b16363c7eb4fd2deb9a44.

Solidity: event Redeem(uint256 amount)

func (*UsdtFilterer) ParseRemovedBlackList

func (_Usdt *UsdtFilterer) ParseRemovedBlackList(log types.Log) (*UsdtRemovedBlackList, error)

ParseRemovedBlackList is a log parse operation binding the contract event 0xd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c.

Solidity: event RemovedBlackList(address _user)

func (*UsdtFilterer) ParseTransfer

func (_Usdt *UsdtFilterer) ParseTransfer(log types.Log) (*UsdtTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*UsdtFilterer) ParseUnpause

func (_Usdt *UsdtFilterer) ParseUnpause(log types.Log) (*UsdtUnpause, error)

ParseUnpause is a log parse operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*UsdtFilterer) WatchAddedBlackList

func (_Usdt *UsdtFilterer) WatchAddedBlackList(opts *bind.WatchOpts, sink chan<- *UsdtAddedBlackList) (event.Subscription, error)

WatchAddedBlackList is a free log subscription operation binding the contract event 0x42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc.

Solidity: event AddedBlackList(address _user)

func (*UsdtFilterer) WatchApproval

func (_Usdt *UsdtFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *UsdtApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*UsdtFilterer) WatchDeprecate

func (_Usdt *UsdtFilterer) WatchDeprecate(opts *bind.WatchOpts, sink chan<- *UsdtDeprecate) (event.Subscription, error)

WatchDeprecate is a free log subscription operation binding the contract event 0xcc358699805e9a8b7f77b522628c7cb9abd07d9efb86b6fb616af1609036a99e.

Solidity: event Deprecate(address newAddress)

func (*UsdtFilterer) WatchDestroyedBlackFunds

func (_Usdt *UsdtFilterer) WatchDestroyedBlackFunds(opts *bind.WatchOpts, sink chan<- *UsdtDestroyedBlackFunds) (event.Subscription, error)

WatchDestroyedBlackFunds is a free log subscription operation binding the contract event 0x61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c6.

Solidity: event DestroyedBlackFunds(address _blackListedUser, uint256 _balance)

func (*UsdtFilterer) WatchIssue

func (_Usdt *UsdtFilterer) WatchIssue(opts *bind.WatchOpts, sink chan<- *UsdtIssue) (event.Subscription, error)

WatchIssue is a free log subscription operation binding the contract event 0xcb8241adb0c3fdb35b70c24ce35c5eb0c17af7431c99f827d44a445ca624176a.

Solidity: event Issue(uint256 amount)

func (*UsdtFilterer) WatchParams

func (_Usdt *UsdtFilterer) WatchParams(opts *bind.WatchOpts, sink chan<- *UsdtParams) (event.Subscription, error)

WatchParams is a free log subscription operation binding the contract event 0xb044a1e409eac5c48e5af22d4af52670dd1a99059537a78b31b48c6500a6354e.

Solidity: event Params(uint256 feeBasisPoints, uint256 maxFee)

func (*UsdtFilterer) WatchPause

func (_Usdt *UsdtFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *UsdtPause) (event.Subscription, error)

WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*UsdtFilterer) WatchRedeem

func (_Usdt *UsdtFilterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *UsdtRedeem) (event.Subscription, error)

WatchRedeem is a free log subscription operation binding the contract event 0x702d5967f45f6513a38ffc42d6ba9bf230bd40e8f53b16363c7eb4fd2deb9a44.

Solidity: event Redeem(uint256 amount)

func (*UsdtFilterer) WatchRemovedBlackList

func (_Usdt *UsdtFilterer) WatchRemovedBlackList(opts *bind.WatchOpts, sink chan<- *UsdtRemovedBlackList) (event.Subscription, error)

WatchRemovedBlackList is a free log subscription operation binding the contract event 0xd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c.

Solidity: event RemovedBlackList(address _user)

func (*UsdtFilterer) WatchTransfer

func (_Usdt *UsdtFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *UsdtTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*UsdtFilterer) WatchUnpause

func (_Usdt *UsdtFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *UsdtUnpause) (event.Subscription, error)

WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

type UsdtIssue

type UsdtIssue struct {
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

UsdtIssue represents a Issue event raised by the Usdt contract.

type UsdtIssueIterator

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

UsdtIssueIterator is returned from FilterIssue and is used to iterate over the raw logs and unpacked data for Issue events raised by the Usdt contract.

func (*UsdtIssueIterator) Close

func (it *UsdtIssueIterator) Close() error

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

func (*UsdtIssueIterator) Error

func (it *UsdtIssueIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UsdtIssueIterator) Next

func (it *UsdtIssueIterator) 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 UsdtParams

type UsdtParams struct {
	FeeBasisPoints *big.Int
	MaxFee         *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

UsdtParams represents a Params event raised by the Usdt contract.

type UsdtParamsIterator

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

UsdtParamsIterator is returned from FilterParams and is used to iterate over the raw logs and unpacked data for Params events raised by the Usdt contract.

func (*UsdtParamsIterator) Close

func (it *UsdtParamsIterator) Close() error

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

func (*UsdtParamsIterator) Error

func (it *UsdtParamsIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UsdtParamsIterator) Next

func (it *UsdtParamsIterator) 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 UsdtPause

type UsdtPause struct {
	Raw types.Log // Blockchain specific contextual infos
}

UsdtPause represents a Pause event raised by the Usdt contract.

type UsdtPauseIterator

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

UsdtPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the Usdt contract.

func (*UsdtPauseIterator) Close

func (it *UsdtPauseIterator) Close() error

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

func (*UsdtPauseIterator) Error

func (it *UsdtPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UsdtPauseIterator) Next

func (it *UsdtPauseIterator) 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 UsdtRaw

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

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

func (*UsdtRaw) Call

func (_Usdt *UsdtRaw) 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 (*UsdtRaw) Transact

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

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

func (*UsdtRaw) Transfer

func (_Usdt *UsdtRaw) 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 UsdtRedeem

type UsdtRedeem struct {
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

UsdtRedeem represents a Redeem event raised by the Usdt contract.

type UsdtRedeemIterator

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

UsdtRedeemIterator is returned from FilterRedeem and is used to iterate over the raw logs and unpacked data for Redeem events raised by the Usdt contract.

func (*UsdtRedeemIterator) Close

func (it *UsdtRedeemIterator) Close() error

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

func (*UsdtRedeemIterator) Error

func (it *UsdtRedeemIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UsdtRedeemIterator) Next

func (it *UsdtRedeemIterator) 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 UsdtRemovedBlackList

type UsdtRemovedBlackList struct {
	User common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

UsdtRemovedBlackList represents a RemovedBlackList event raised by the Usdt contract.

type UsdtRemovedBlackListIterator

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

UsdtRemovedBlackListIterator is returned from FilterRemovedBlackList and is used to iterate over the raw logs and unpacked data for RemovedBlackList events raised by the Usdt contract.

func (*UsdtRemovedBlackListIterator) Close

func (it *UsdtRemovedBlackListIterator) Close() error

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

func (*UsdtRemovedBlackListIterator) Error

func (it *UsdtRemovedBlackListIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UsdtRemovedBlackListIterator) 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 UsdtSession

type UsdtSession struct {
	Contract     *Usdt             // 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
}

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

func (*UsdtSession) AddBlackList

func (_Usdt *UsdtSession) AddBlackList(_evilUser common.Address) (*types.Transaction, error)

AddBlackList is a paid mutator transaction binding the contract method 0x0ecb93c0.

Solidity: function addBlackList(address _evilUser) returns()

func (*UsdtSession) Allowance

func (_Usdt *UsdtSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256 remaining)

func (*UsdtSession) Allowed

func (_Usdt *UsdtSession) Allowed(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowed is a free data retrieval call binding the contract method 0x5c658165.

Solidity: function allowed(address , address ) view returns(uint256)

func (*UsdtSession) Approve

func (_Usdt *UsdtSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns()

func (*UsdtSession) BalanceOf

func (_Usdt *UsdtSession) BalanceOf(who common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address who) view returns(uint256)

func (*UsdtSession) Balances

func (_Usdt *UsdtSession) Balances(arg0 common.Address) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x27e235e3.

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

func (*UsdtSession) BasisPointsRate

func (_Usdt *UsdtSession) BasisPointsRate() (*big.Int, error)

BasisPointsRate is a free data retrieval call binding the contract method 0xdd644f72.

Solidity: function basisPointsRate() view returns(uint256)

func (*UsdtSession) Decimals

func (_Usdt *UsdtSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint256)

func (*UsdtSession) Deprecate

func (_Usdt *UsdtSession) Deprecate(_upgradedAddress common.Address) (*types.Transaction, error)

Deprecate is a paid mutator transaction binding the contract method 0x0753c30c.

Solidity: function deprecate(address _upgradedAddress) returns()

func (*UsdtSession) Deprecated

func (_Usdt *UsdtSession) Deprecated() (bool, error)

Deprecated is a free data retrieval call binding the contract method 0x0e136b19.

Solidity: function deprecated() view returns(bool)

func (*UsdtSession) DestroyBlackFunds

func (_Usdt *UsdtSession) DestroyBlackFunds(_blackListedUser common.Address) (*types.Transaction, error)

DestroyBlackFunds is a paid mutator transaction binding the contract method 0xf3bdc228.

Solidity: function destroyBlackFunds(address _blackListedUser) returns()

func (*UsdtSession) GetBlackListStatus

func (_Usdt *UsdtSession) GetBlackListStatus(_maker common.Address) (bool, error)

GetBlackListStatus is a free data retrieval call binding the contract method 0x59bf1abe.

Solidity: function getBlackListStatus(address _maker) view returns(bool)

func (*UsdtSession) GetOwner

func (_Usdt *UsdtSession) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*UsdtSession) IsBlackListed

func (_Usdt *UsdtSession) IsBlackListed(arg0 common.Address) (bool, error)

IsBlackListed is a free data retrieval call binding the contract method 0xe47d6060.

Solidity: function isBlackListed(address ) view returns(bool)

func (*UsdtSession) Issue

func (_Usdt *UsdtSession) Issue(amount *big.Int) (*types.Transaction, error)

Issue is a paid mutator transaction binding the contract method 0xcc872b66.

Solidity: function issue(uint256 amount) returns()

func (*UsdtSession) MAXUINT

func (_Usdt *UsdtSession) MAXUINT() (*big.Int, error)

MAXUINT is a free data retrieval call binding the contract method 0xe5b5019a.

Solidity: function MAX_UINT() view returns(uint256)

func (*UsdtSession) MaximumFee

func (_Usdt *UsdtSession) MaximumFee() (*big.Int, error)

MaximumFee is a free data retrieval call binding the contract method 0x35390714.

Solidity: function maximumFee() view returns(uint256)

func (*UsdtSession) Name

func (_Usdt *UsdtSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*UsdtSession) Owner

func (_Usdt *UsdtSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*UsdtSession) Pause

func (_Usdt *UsdtSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*UsdtSession) Paused

func (_Usdt *UsdtSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*UsdtSession) Redeem

func (_Usdt *UsdtSession) Redeem(amount *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xdb006a75.

Solidity: function redeem(uint256 amount) returns()

func (*UsdtSession) RemoveBlackList

func (_Usdt *UsdtSession) RemoveBlackList(_clearedUser common.Address) (*types.Transaction, error)

RemoveBlackList is a paid mutator transaction binding the contract method 0xe4997dc5.

Solidity: function removeBlackList(address _clearedUser) returns()

func (*UsdtSession) SetParams

func (_Usdt *UsdtSession) SetParams(newBasisPoints *big.Int, newMaxFee *big.Int) (*types.Transaction, error)

SetParams is a paid mutator transaction binding the contract method 0xc0324c77.

Solidity: function setParams(uint256 newBasisPoints, uint256 newMaxFee) returns()

func (*UsdtSession) Symbol

func (_Usdt *UsdtSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*UsdtSession) TetherToken

func (_Usdt *UsdtSession) TetherToken(_initialSupply *big.Int, _name string, _symbol string, _decimals *big.Int) (*types.Transaction, error)

TetherToken is a paid mutator transaction binding the contract method 0x88d723ac.

Solidity: function TetherToken(uint256 _initialSupply, string _name, string _symbol, uint256 _decimals) returns()

func (*UsdtSession) TotalSupply

func (_Usdt *UsdtSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x3eaaf86b.

Solidity: function _totalSupply() view returns(uint256)

func (*UsdtSession) TotalSupply1

func (_Usdt *UsdtSession) TotalSupply1() (*big.Int, error)

TotalSupply1 is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*UsdtSession) Transfer

func (_Usdt *UsdtSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns()

func (*UsdtSession) TransferFrom

func (_Usdt *UsdtSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns()

func (*UsdtSession) TransferOwnership

func (_Usdt *UsdtSession) 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 (*UsdtSession) Unpause

func (_Usdt *UsdtSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*UsdtSession) UpgradedAddress

func (_Usdt *UsdtSession) UpgradedAddress() (common.Address, error)

UpgradedAddress is a free data retrieval call binding the contract method 0x26976e3f.

Solidity: function upgradedAddress() view returns(address)

type UsdtTransactor

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

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

func NewUsdtTransactor

func NewUsdtTransactor(address common.Address, transactor bind.ContractTransactor) (*UsdtTransactor, error)

NewUsdtTransactor creates a new write-only instance of Usdt, bound to a specific deployed contract.

func (*UsdtTransactor) AddBlackList

func (_Usdt *UsdtTransactor) AddBlackList(opts *bind.TransactOpts, _evilUser common.Address) (*types.Transaction, error)

AddBlackList is a paid mutator transaction binding the contract method 0x0ecb93c0.

Solidity: function addBlackList(address _evilUser) returns()

func (*UsdtTransactor) Approve

func (_Usdt *UsdtTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns()

func (*UsdtTransactor) Deprecate

func (_Usdt *UsdtTransactor) Deprecate(opts *bind.TransactOpts, _upgradedAddress common.Address) (*types.Transaction, error)

Deprecate is a paid mutator transaction binding the contract method 0x0753c30c.

Solidity: function deprecate(address _upgradedAddress) returns()

func (*UsdtTransactor) DestroyBlackFunds

func (_Usdt *UsdtTransactor) DestroyBlackFunds(opts *bind.TransactOpts, _blackListedUser common.Address) (*types.Transaction, error)

DestroyBlackFunds is a paid mutator transaction binding the contract method 0xf3bdc228.

Solidity: function destroyBlackFunds(address _blackListedUser) returns()

func (*UsdtTransactor) Issue

func (_Usdt *UsdtTransactor) Issue(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Issue is a paid mutator transaction binding the contract method 0xcc872b66.

Solidity: function issue(uint256 amount) returns()

func (*UsdtTransactor) Pause

func (_Usdt *UsdtTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*UsdtTransactor) Redeem

func (_Usdt *UsdtTransactor) Redeem(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xdb006a75.

Solidity: function redeem(uint256 amount) returns()

func (*UsdtTransactor) RemoveBlackList

func (_Usdt *UsdtTransactor) RemoveBlackList(opts *bind.TransactOpts, _clearedUser common.Address) (*types.Transaction, error)

RemoveBlackList is a paid mutator transaction binding the contract method 0xe4997dc5.

Solidity: function removeBlackList(address _clearedUser) returns()

func (*UsdtTransactor) SetParams

func (_Usdt *UsdtTransactor) SetParams(opts *bind.TransactOpts, newBasisPoints *big.Int, newMaxFee *big.Int) (*types.Transaction, error)

SetParams is a paid mutator transaction binding the contract method 0xc0324c77.

Solidity: function setParams(uint256 newBasisPoints, uint256 newMaxFee) returns()

func (*UsdtTransactor) TetherToken

func (_Usdt *UsdtTransactor) TetherToken(opts *bind.TransactOpts, _initialSupply *big.Int, _name string, _symbol string, _decimals *big.Int) (*types.Transaction, error)

TetherToken is a paid mutator transaction binding the contract method 0x88d723ac.

Solidity: function TetherToken(uint256 _initialSupply, string _name, string _symbol, uint256 _decimals) returns()

func (*UsdtTransactor) Transfer

func (_Usdt *UsdtTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns()

func (*UsdtTransactor) TransferFrom

func (_Usdt *UsdtTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns()

func (*UsdtTransactor) TransferOwnership

func (_Usdt *UsdtTransactor) 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 (*UsdtTransactor) Unpause

func (_Usdt *UsdtTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type UsdtTransactorRaw

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

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

func (*UsdtTransactorRaw) Transact

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

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

func (*UsdtTransactorRaw) Transfer

func (_Usdt *UsdtTransactorRaw) 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 UsdtTransactorSession

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

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

func (*UsdtTransactorSession) AddBlackList

func (_Usdt *UsdtTransactorSession) AddBlackList(_evilUser common.Address) (*types.Transaction, error)

AddBlackList is a paid mutator transaction binding the contract method 0x0ecb93c0.

Solidity: function addBlackList(address _evilUser) returns()

func (*UsdtTransactorSession) Approve

func (_Usdt *UsdtTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns()

func (*UsdtTransactorSession) Deprecate

func (_Usdt *UsdtTransactorSession) Deprecate(_upgradedAddress common.Address) (*types.Transaction, error)

Deprecate is a paid mutator transaction binding the contract method 0x0753c30c.

Solidity: function deprecate(address _upgradedAddress) returns()

func (*UsdtTransactorSession) DestroyBlackFunds

func (_Usdt *UsdtTransactorSession) DestroyBlackFunds(_blackListedUser common.Address) (*types.Transaction, error)

DestroyBlackFunds is a paid mutator transaction binding the contract method 0xf3bdc228.

Solidity: function destroyBlackFunds(address _blackListedUser) returns()

func (*UsdtTransactorSession) Issue

func (_Usdt *UsdtTransactorSession) Issue(amount *big.Int) (*types.Transaction, error)

Issue is a paid mutator transaction binding the contract method 0xcc872b66.

Solidity: function issue(uint256 amount) returns()

func (*UsdtTransactorSession) Pause

func (_Usdt *UsdtTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*UsdtTransactorSession) Redeem

func (_Usdt *UsdtTransactorSession) Redeem(amount *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xdb006a75.

Solidity: function redeem(uint256 amount) returns()

func (*UsdtTransactorSession) RemoveBlackList

func (_Usdt *UsdtTransactorSession) RemoveBlackList(_clearedUser common.Address) (*types.Transaction, error)

RemoveBlackList is a paid mutator transaction binding the contract method 0xe4997dc5.

Solidity: function removeBlackList(address _clearedUser) returns()

func (*UsdtTransactorSession) SetParams

func (_Usdt *UsdtTransactorSession) SetParams(newBasisPoints *big.Int, newMaxFee *big.Int) (*types.Transaction, error)

SetParams is a paid mutator transaction binding the contract method 0xc0324c77.

Solidity: function setParams(uint256 newBasisPoints, uint256 newMaxFee) returns()

func (*UsdtTransactorSession) TetherToken

func (_Usdt *UsdtTransactorSession) TetherToken(_initialSupply *big.Int, _name string, _symbol string, _decimals *big.Int) (*types.Transaction, error)

TetherToken is a paid mutator transaction binding the contract method 0x88d723ac.

Solidity: function TetherToken(uint256 _initialSupply, string _name, string _symbol, uint256 _decimals) returns()

func (*UsdtTransactorSession) Transfer

func (_Usdt *UsdtTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns()

func (*UsdtTransactorSession) TransferFrom

func (_Usdt *UsdtTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns()

func (*UsdtTransactorSession) TransferOwnership

func (_Usdt *UsdtTransactorSession) 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 (*UsdtTransactorSession) Unpause

func (_Usdt *UsdtTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type UsdtTransfer

type UsdtTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

UsdtTransfer represents a Transfer event raised by the Usdt contract.

type UsdtTransferIterator

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

UsdtTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Usdt contract.

func (*UsdtTransferIterator) Close

func (it *UsdtTransferIterator) Close() error

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

func (*UsdtTransferIterator) Error

func (it *UsdtTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UsdtTransferIterator) Next

func (it *UsdtTransferIterator) 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 UsdtUnpause

type UsdtUnpause struct {
	Raw types.Log // Blockchain specific contextual infos
}

UsdtUnpause represents a Unpause event raised by the Usdt contract.

type UsdtUnpauseIterator

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

UsdtUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the Usdt contract.

func (*UsdtUnpauseIterator) Close

func (it *UsdtUnpauseIterator) Close() error

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

func (*UsdtUnpauseIterator) Error

func (it *UsdtUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UsdtUnpauseIterator) Next

func (it *UsdtUnpauseIterator) 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 Weth9 added in v1.0.59

type Weth9 struct {
	Weth9Caller     // Read-only binding to the contract
	Weth9Transactor // Write-only binding to the contract
	Weth9Filterer   // Log filterer for contract events
}

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

func NewWeth9 added in v1.0.59

func NewWeth9(address common.Address, backend bind.ContractBackend) (*Weth9, error)

NewWeth9 creates a new instance of Weth9, bound to a specific deployed contract.

type Weth9Approval added in v1.0.59

type Weth9Approval struct {
	Src common.Address
	Guy common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

Weth9Approval represents a Approval event raised by the Weth9 contract.

type Weth9ApprovalIterator added in v1.0.59

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

Weth9ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Weth9 contract.

func (*Weth9ApprovalIterator) Close added in v1.0.59

func (it *Weth9ApprovalIterator) Close() error

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

func (*Weth9ApprovalIterator) Error added in v1.0.59

func (it *Weth9ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Weth9ApprovalIterator) Next added in v1.0.59

func (it *Weth9ApprovalIterator) 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 Weth9Caller added in v1.0.59

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

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

func NewWeth9Caller added in v1.0.59

func NewWeth9Caller(address common.Address, caller bind.ContractCaller) (*Weth9Caller, error)

NewWeth9Caller creates a new read-only instance of Weth9, bound to a specific deployed contract.

func (*Weth9Caller) Allowance added in v1.0.59

func (_Weth9 *Weth9Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*Weth9Caller) BalanceOf added in v1.0.59

func (_Weth9 *Weth9Caller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*Weth9Caller) Decimals added in v1.0.59

func (_Weth9 *Weth9Caller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*Weth9Caller) Name added in v1.0.59

func (_Weth9 *Weth9Caller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*Weth9Caller) Symbol added in v1.0.59

func (_Weth9 *Weth9Caller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Weth9Caller) TotalSupply added in v1.0.59

func (_Weth9 *Weth9Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type Weth9CallerRaw added in v1.0.59

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

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

func (*Weth9CallerRaw) Call added in v1.0.59

func (_Weth9 *Weth9CallerRaw) 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 Weth9CallerSession added in v1.0.59

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

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

func (*Weth9CallerSession) Allowance added in v1.0.59

func (_Weth9 *Weth9CallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*Weth9CallerSession) BalanceOf added in v1.0.59

func (_Weth9 *Weth9CallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*Weth9CallerSession) Decimals added in v1.0.59

func (_Weth9 *Weth9CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*Weth9CallerSession) Name added in v1.0.59

func (_Weth9 *Weth9CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*Weth9CallerSession) Symbol added in v1.0.59

func (_Weth9 *Weth9CallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Weth9CallerSession) TotalSupply added in v1.0.59

func (_Weth9 *Weth9CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type Weth9Deposit added in v1.0.59

type Weth9Deposit struct {
	Dst common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

Weth9Deposit represents a Deposit event raised by the Weth9 contract.

type Weth9DepositIterator added in v1.0.59

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

Weth9DepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the Weth9 contract.

func (*Weth9DepositIterator) Close added in v1.0.59

func (it *Weth9DepositIterator) Close() error

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

func (*Weth9DepositIterator) Error added in v1.0.59

func (it *Weth9DepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Weth9DepositIterator) Next added in v1.0.59

func (it *Weth9DepositIterator) 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 Weth9Filterer added in v1.0.59

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

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

func NewWeth9Filterer added in v1.0.59

func NewWeth9Filterer(address common.Address, filterer bind.ContractFilterer) (*Weth9Filterer, error)

NewWeth9Filterer creates a new log filterer instance of Weth9, bound to a specific deployed contract.

func (*Weth9Filterer) FilterApproval added in v1.0.59

func (_Weth9 *Weth9Filterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, guy []common.Address) (*Weth9ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*Weth9Filterer) FilterDeposit added in v1.0.59

func (_Weth9 *Weth9Filterer) FilterDeposit(opts *bind.FilterOpts, dst []common.Address) (*Weth9DepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed dst, uint256 wad)

func (*Weth9Filterer) FilterTransfer added in v1.0.59

func (_Weth9 *Weth9Filterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*Weth9TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

func (*Weth9Filterer) FilterWithdrawal added in v1.0.59

func (_Weth9 *Weth9Filterer) FilterWithdrawal(opts *bind.FilterOpts, src []common.Address) (*Weth9WithdrawalIterator, error)

FilterWithdrawal is a free log retrieval operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.

Solidity: event Withdrawal(address indexed src, uint256 wad)

func (*Weth9Filterer) ParseApproval added in v1.0.59

func (_Weth9 *Weth9Filterer) ParseApproval(log types.Log) (*Weth9Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*Weth9Filterer) ParseDeposit added in v1.0.59

func (_Weth9 *Weth9Filterer) ParseDeposit(log types.Log) (*Weth9Deposit, error)

ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed dst, uint256 wad)

func (*Weth9Filterer) ParseTransfer added in v1.0.59

func (_Weth9 *Weth9Filterer) ParseTransfer(log types.Log) (*Weth9Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

func (*Weth9Filterer) ParseWithdrawal added in v1.0.59

func (_Weth9 *Weth9Filterer) ParseWithdrawal(log types.Log) (*Weth9Withdrawal, error)

ParseWithdrawal is a log parse operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.

Solidity: event Withdrawal(address indexed src, uint256 wad)

func (*Weth9Filterer) WatchApproval added in v1.0.59

func (_Weth9 *Weth9Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Weth9Approval, src []common.Address, guy []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*Weth9Filterer) WatchDeposit added in v1.0.59

func (_Weth9 *Weth9Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *Weth9Deposit, dst []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed dst, uint256 wad)

func (*Weth9Filterer) WatchTransfer added in v1.0.59

func (_Weth9 *Weth9Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Weth9Transfer, src []common.Address, dst []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

func (*Weth9Filterer) WatchWithdrawal added in v1.0.59

func (_Weth9 *Weth9Filterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *Weth9Withdrawal, src []common.Address) (event.Subscription, error)

WatchWithdrawal is a free log subscription operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.

Solidity: event Withdrawal(address indexed src, uint256 wad)

type Weth9Raw added in v1.0.59

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

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

func (*Weth9Raw) Call added in v1.0.59

func (_Weth9 *Weth9Raw) 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 (*Weth9Raw) Transact added in v1.0.59

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

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

func (*Weth9Raw) Transfer added in v1.0.59

func (_Weth9 *Weth9Raw) 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 Weth9Session added in v1.0.59

type Weth9Session struct {
	Contract     *Weth9            // 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
}

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

func (*Weth9Session) Allowance added in v1.0.59

func (_Weth9 *Weth9Session) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*Weth9Session) Approve added in v1.0.59

func (_Weth9 *Weth9Session) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address guy, uint256 wad) returns(bool)

func (*Weth9Session) BalanceOf added in v1.0.59

func (_Weth9 *Weth9Session) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*Weth9Session) Decimals added in v1.0.59

func (_Weth9 *Weth9Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*Weth9Session) Deposit added in v1.0.59

func (_Weth9 *Weth9Session) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*Weth9Session) Fallback added in v1.0.59

func (_Weth9 *Weth9Session) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*Weth9Session) Name added in v1.0.59

func (_Weth9 *Weth9Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*Weth9Session) Symbol added in v1.0.59

func (_Weth9 *Weth9Session) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Weth9Session) TotalSupply added in v1.0.59

func (_Weth9 *Weth9Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*Weth9Session) Transfer added in v1.0.59

func (_Weth9 *Weth9Session) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*Weth9Session) TransferFrom added in v1.0.59

func (_Weth9 *Weth9Session) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

func (*Weth9Session) Withdraw added in v1.0.59

func (_Weth9 *Weth9Session) Withdraw(wad *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 wad) returns()

type Weth9Transactor added in v1.0.59

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

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

func NewWeth9Transactor added in v1.0.59

func NewWeth9Transactor(address common.Address, transactor bind.ContractTransactor) (*Weth9Transactor, error)

NewWeth9Transactor creates a new write-only instance of Weth9, bound to a specific deployed contract.

func (*Weth9Transactor) Approve added in v1.0.59

func (_Weth9 *Weth9Transactor) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address guy, uint256 wad) returns(bool)

func (*Weth9Transactor) Deposit added in v1.0.59

func (_Weth9 *Weth9Transactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*Weth9Transactor) Fallback added in v1.0.59

func (_Weth9 *Weth9Transactor) 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 (*Weth9Transactor) Transfer added in v1.0.59

func (_Weth9 *Weth9Transactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*Weth9Transactor) TransferFrom added in v1.0.59

func (_Weth9 *Weth9Transactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

func (*Weth9Transactor) Withdraw added in v1.0.59

func (_Weth9 *Weth9Transactor) Withdraw(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 wad) returns()

type Weth9TransactorRaw added in v1.0.59

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

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

func (*Weth9TransactorRaw) Transact added in v1.0.59

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

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

func (*Weth9TransactorRaw) Transfer added in v1.0.59

func (_Weth9 *Weth9TransactorRaw) 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 Weth9TransactorSession added in v1.0.59

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

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

func (*Weth9TransactorSession) Approve added in v1.0.59

func (_Weth9 *Weth9TransactorSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address guy, uint256 wad) returns(bool)

func (*Weth9TransactorSession) Deposit added in v1.0.59

func (_Weth9 *Weth9TransactorSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*Weth9TransactorSession) Fallback added in v1.0.59

func (_Weth9 *Weth9TransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*Weth9TransactorSession) Transfer added in v1.0.59

func (_Weth9 *Weth9TransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*Weth9TransactorSession) TransferFrom added in v1.0.59

func (_Weth9 *Weth9TransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

func (*Weth9TransactorSession) Withdraw added in v1.0.59

func (_Weth9 *Weth9TransactorSession) Withdraw(wad *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 wad) returns()

type Weth9Transfer added in v1.0.59

type Weth9Transfer struct {
	Src common.Address
	Dst common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

Weth9Transfer represents a Transfer event raised by the Weth9 contract.

type Weth9TransferIterator added in v1.0.59

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

Weth9TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Weth9 contract.

func (*Weth9TransferIterator) Close added in v1.0.59

func (it *Weth9TransferIterator) Close() error

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

func (*Weth9TransferIterator) Error added in v1.0.59

func (it *Weth9TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Weth9TransferIterator) Next added in v1.0.59

func (it *Weth9TransferIterator) 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 Weth9Withdrawal added in v1.0.59

type Weth9Withdrawal struct {
	Src common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

Weth9Withdrawal represents a Withdrawal event raised by the Weth9 contract.

type Weth9WithdrawalIterator added in v1.0.59

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

Weth9WithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the Weth9 contract.

func (*Weth9WithdrawalIterator) Close added in v1.0.59

func (it *Weth9WithdrawalIterator) Close() error

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

func (*Weth9WithdrawalIterator) Error added in v1.0.59

func (it *Weth9WithdrawalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Weth9WithdrawalIterator) Next added in v1.0.59

func (it *Weth9WithdrawalIterator) 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.

Jump to

Keyboard shortcuts

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