contract

package
v1.0.61 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 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 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 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