abigo

package
v0.0.0-...-48b50cf Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BurnableTokenABI = BurnableTokenMetaData.ABI

BurnableTokenABI is the input ABI used to generate the binding from. Deprecated: Use BurnableTokenMetaData.ABI instead.

View Source
var BurnableTokenMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mintable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

BurnableTokenMetaData contains all meta data concerning the BurnableToken contract.

View Source
var IAugustusSwapperABI = IAugustusSwapperMetaData.ABI

IAugustusSwapperABI is the input ABI used to generate the binding from. Deprecated: Use IAugustusSwapperMetaData.ABI instead.

View Source
var IAugustusSwapperMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"toToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"referrer\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"useReduxToken\",\"type\":\"bool\"},{\"components\":[{\"internalType\":\"addresspayable\",\"name\":\"exchange\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"targetExchange\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"networkFee\",\"type\":\"uint256\"}],\"internalType\":\"structIAugustusSwapper.BuyRoute[]\",\"name\":\"route\",\"type\":\"tuple[]\"}],\"internalType\":\"structIAugustusSwapper.BuyData\",\"name\":\"data\",\"type\":\"tuple\"}],\"name\":\"buy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"uint8\",\"name\":\"referrer\",\"type\":\"uint8\"}],\"name\":\"buyOnUniswap\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"initCode\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"uint8\",\"name\":\"referrer\",\"type\":\"uint8\"}],\"name\":\"buyOnUniswapFork\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFeeWallet\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPartnerRegistry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTokenTransferProxy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getUniswapProxy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVersion\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getWhitelistAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"referrer\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"useReduxToken\",\"type\":\"bool\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fromAmountPercent\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"totalNetworkFee\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"addresspayable\",\"name\":\"exchange\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"targetExchange\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"percent\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"networkFee\",\"type\":\"uint256\"}],\"internalType\":\"structIAugustusSwapper.Route[]\",\"name\":\"routes\",\"type\":\"tuple[]\"}],\"internalType\":\"structIAugustusSwapper.Path[]\",\"name\":\"path\",\"type\":\"tuple[]\"}],\"internalType\":\"structIAugustusSwapper.MegaSwapPath[]\",\"name\":\"path\",\"type\":\"tuple[]\"}],\"internalType\":\"structIAugustusSwapper.MegaSwapSellData\",\"name\":\"data\",\"type\":\"tuple\"}],\"name\":\"megaSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"referrer\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"useReduxToken\",\"type\":\"bool\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"totalNetworkFee\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"addresspayable\",\"name\":\"exchange\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"targetExchange\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"percent\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"networkFee\",\"type\":\"uint256\"}],\"internalType\":\"structIAugustusSwapper.Route[]\",\"name\":\"routes\",\"type\":\"tuple[]\"}],\"internalType\":\"structIAugustusSwapper.Path[]\",\"name\":\"path\",\"type\":\"tuple[]\"}],\"internalType\":\"structIAugustusSwapper.SellData\",\"name\":\"data\",\"type\":\"tuple\"}],\"name\":\"multiSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"toToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"callees\",\"type\":\"address[]\"},{\"internalType\":\"bytes\",\"name\":\"exchangeData\",\"type\":\"bytes\"},{\"internalType\":\"uint256[]\",\"name\":\"startIndexes\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"referrer\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"useReduxToken\",\"type\":\"bool\"}],\"name\":\"simplBuy\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"toToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmount\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"callees\",\"type\":\"address[]\"},{\"internalType\":\"bytes\",\"name\":\"exchangeData\",\"type\":\"bytes\"},{\"internalType\":\"uint256[]\",\"name\":\"startIndexes\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"referrer\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"useReduxToken\",\"type\":\"bool\"}],\"name\":\"simpleSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"uint8\",\"name\":\"referrer\",\"type\":\"uint8\"}],\"name\":\"swapOnUniswap\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"initCode\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"uint8\",\"name\":\"referrer\",\"type\":\"uint8\"}],\"name\":\"swapOnUniswapFork\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}

IAugustusSwapperMetaData contains all meta data concerning the IAugustusSwapper contract.

View Source
var IBarnABI = IBarnMetaData.ABI

IBarnABI is the input ABI used to generate the binding from. Deprecated: Use IBarnMetaData.ABI instead.

View Source
var IBarnMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"balanceAtTs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

IBarnMetaData contains all meta data concerning the IBarn contract.

View Source
var IBurnableTokenABI = IBurnableTokenMetaData.ABI

IBurnableTokenABI is the input ABI used to generate the binding from. Deprecated: Use IBurnableTokenMetaData.ABI instead.

View Source
var IBurnableTokenMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mintable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IBurnableTokenMetaData contains all meta data concerning the IBurnableToken contract.

View Source
var IERC20ABI = IERC20MetaData.ABI

IERC20ABI is the input ABI used to generate the binding from. Deprecated: Use IERC20MetaData.ABI instead.

View Source
var IERC20MetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IERC20MetaData contains all meta data concerning the IERC20 contract.

View Source
var IParamsABI = IParamsMetaData.ABI

IParamsABI is the input ABI used to generate the binding from. Deprecated: Use IParamsMetaData.ABI instead.

View Source
var IParamsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"depositFeesBPS\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"expirationTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"loopCount\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minimumSwapAmountForWBTC\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nodeRewardsRatio\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paraswapAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_depositFeesBPS\",\"type\":\"uint8\"}],\"name\":\"setDepositFeesBPS\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_expirationTime\",\"type\":\"uint256\"}],\"name\":\"setExpirationTime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_loopCount\",\"type\":\"uint8\"}],\"name\":\"setLoopCount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minimumSwapAmountForWBTC\",\"type\":\"uint256\"}],\"name\":\"setMinimumSwapAmountForWBTC\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_nodeRewardsRatio\",\"type\":\"uint8\"}],\"name\":\"setNodeRewardsRatio\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_paraswapAddress\",\"type\":\"address\"}],\"name\":\"setParaswapAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_withdrawalFeeBPS\",\"type\":\"uint8\"}],\"name\":\"setWithdrawalFeeBPS\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawalFeeBPS\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

IParamsMetaData contains all meta data concerning the IParams contract.

View Source
var IParaswapABI = IParaswapMetaData.ABI

IParaswapABI is the input ABI used to generate the binding from. Deprecated: Use IParaswapMetaData.ABI instead.

View Source
var IParaswapMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"buyOnUniswap\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"initCode\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"buyOnUniswapFork\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"weth\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"}],\"name\":\"buyOnUniswapV2Fork\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fromAmountPercent\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"totalNetworkFee\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"addresspayable\",\"name\":\"adapter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"percent\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"networkFee\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"targetExchange\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"percent\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"networkFee\",\"type\":\"uint256\"}],\"internalType\":\"structUtils.Route[]\",\"name\":\"route\",\"type\":\"tuple[]\"}],\"internalType\":\"structUtils.Adapter[]\",\"name\":\"adapters\",\"type\":\"tuple[]\"}],\"internalType\":\"structUtils.Path[]\",\"name\":\"path\",\"type\":\"tuple[]\"}],\"internalType\":\"structUtils.MegaSwapPath[]\",\"name\":\"path\",\"type\":\"tuple[]\"},{\"internalType\":\"addresspayable\",\"name\":\"partner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"feePercent\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes16\",\"name\":\"uuid\",\"type\":\"bytes16\"}],\"internalType\":\"structUtils.MegaSwapSellData\",\"name\":\"data\",\"type\":\"tuple\"}],\"name\":\"megaSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"totalNetworkFee\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"addresspayable\",\"name\":\"adapter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"percent\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"networkFee\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"targetExchange\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"percent\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"networkFee\",\"type\":\"uint256\"}],\"internalType\":\"structUtils.Route[]\",\"name\":\"route\",\"type\":\"tuple[]\"}],\"internalType\":\"structUtils.Adapter[]\",\"name\":\"adapters\",\"type\":\"tuple[]\"}],\"internalType\":\"structUtils.Path[]\",\"name\":\"path\",\"type\":\"tuple[]\"},{\"internalType\":\"addresspayable\",\"name\":\"partner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"feePercent\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes16\",\"name\":\"uuid\",\"type\":\"bytes16\"}],\"internalType\":\"structUtils.SellData\",\"name\":\"data\",\"type\":\"tuple\"}],\"name\":\"multiSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fromAmountPercent\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"totalNetworkFee\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"addresspayable\",\"name\":\"adapter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"percent\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"networkFee\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"targetExchange\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"percent\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"networkFee\",\"type\":\"uint256\"}],\"internalType\":\"structUtils.Route[]\",\"name\":\"route\",\"type\":\"tuple[]\"}],\"internalType\":\"structUtils.Adapter[]\",\"name\":\"adapters\",\"type\":\"tuple[]\"}],\"internalType\":\"structUtils.Path[]\",\"name\":\"path\",\"type\":\"tuple[]\"}],\"internalType\":\"structUtils.MegaSwapPath[]\",\"name\":\"path\",\"type\":\"tuple[]\"},{\"internalType\":\"addresspayable\",\"name\":\"partner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"feePercent\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes16\",\"name\":\"uuid\",\"type\":\"bytes16\"}],\"internalType\":\"structUtils.MegaSwapSellData\",\"name\":\"data\",\"type\":\"tuple\"}],\"name\":\"protectedMegaSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"totalNetworkFee\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"addresspayable\",\"name\":\"adapter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"percent\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"networkFee\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"targetExchange\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"percent\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"networkFee\",\"type\":\"uint256\"}],\"internalType\":\"structUtils.Route[]\",\"name\":\"route\",\"type\":\"tuple[]\"}],\"internalType\":\"structUtils.Adapter[]\",\"name\":\"adapters\",\"type\":\"tuple[]\"}],\"internalType\":\"structUtils.Path[]\",\"name\":\"path\",\"type\":\"tuple[]\"},{\"internalType\":\"addresspayable\",\"name\":\"partner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"feePercent\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes16\",\"name\":\"uuid\",\"type\":\"bytes16\"}],\"internalType\":\"structUtils.SellData\",\"name\":\"data\",\"type\":\"tuple\"}],\"name\":\"protectedMultiSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"toToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmount\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"callees\",\"type\":\"address[]\"},{\"internalType\":\"bytes\",\"name\":\"exchangeData\",\"type\":\"bytes\"},{\"internalType\":\"uint256[]\",\"name\":\"startIndexes\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"partner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"feePercent\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes16\",\"name\":\"uuid\",\"type\":\"bytes16\"}],\"internalType\":\"structUtils.SimpleData\",\"name\":\"data\",\"type\":\"tuple\"}],\"name\":\"protectedSimpleBuy\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"toToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmount\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"callees\",\"type\":\"address[]\"},{\"internalType\":\"bytes\",\"name\":\"exchangeData\",\"type\":\"bytes\"},{\"internalType\":\"uint256[]\",\"name\":\"startIndexes\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"partner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"feePercent\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes16\",\"name\":\"uuid\",\"type\":\"bytes16\"}],\"internalType\":\"structUtils.SimpleData\",\"name\":\"data\",\"type\":\"tuple\"}],\"name\":\"protectedSimpleSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"toToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmount\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"callees\",\"type\":\"address[]\"},{\"internalType\":\"bytes\",\"name\":\"exchangeData\",\"type\":\"bytes\"},{\"internalType\":\"uint256[]\",\"name\":\"startIndexes\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"partner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"feePercent\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes16\",\"name\":\"uuid\",\"type\":\"bytes16\"}],\"internalType\":\"structUtils.SimpleData\",\"name\":\"data\",\"type\":\"tuple\"}],\"name\":\"simpleBuy\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"toToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmount\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"callees\",\"type\":\"address[]\"},{\"internalType\":\"bytes\",\"name\":\"exchangeData\",\"type\":\"bytes\"},{\"internalType\":\"uint256[]\",\"name\":\"startIndexes\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"partner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"feePercent\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes16\",\"name\":\"uuid\",\"type\":\"bytes16\"}],\"internalType\":\"structUtils.SimpleData\",\"name\":\"data\",\"type\":\"tuple\"}],\"name\":\"simpleSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"swapOnUniswap\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"initCode\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"swapOnUniswapFork\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"weth\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"}],\"name\":\"swapOnUniswapV2Fork\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"toToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"exchange\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"swapOnZeroXv2\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"toToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"exchange\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"swapOnZeroXv4\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}

IParaswapMetaData contains all meta data concerning the IParaswap contract.

View Source
var ISwapContractABI = ISwapContractMetaData.ABI

ISwapContractABI is the input ABI used to generate the binding from. Deprecated: Use ISwapContractMetaData.ABI instead.

View Source
var ISwapContractMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"BTCT_ADDR\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_nodes\",\"type\":\"address[]\"},{\"internalType\":\"bool[]\",\"name\":\"_isRemoved\",\"type\":\"bool[]\"},{\"internalType\":\"uint8\",\"name\":\"_churnedInCount\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"_tssThreshold\",\"type\":\"uint8\"}],\"name\":\"churn\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_incomingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_minerFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_rewardsAmount\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_spenders\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_swapAmounts\",\"type\":\"uint256[]\"}],\"name\":\"collectSwapFeesForBTC\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActiveNodes\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentPriceLP\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_tokenB\",\"type\":\"address\"}],\"name\":\"getFloatReserve\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"reserveA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveB\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"isNodeStake\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_txid\",\"type\":\"bytes32\"}],\"name\":\"isTxUsed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lpToken\",\"outputs\":[{\"internalType\":\"contractIBurnableToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_destToken\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"_addressesAndAmounts\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"_totalSwapped\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_rewardsAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"_redeemedFloatTxIds\",\"type\":\"bytes32[]\"}],\"name\":\"multiTransferERC20TightlyPacked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_addressesAndAmountOfFloat\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_txid\",\"type\":\"bytes32\"}],\"name\":\"recordIncomingFloat\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_addressesAndAmountOfLPtoken\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_minerFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_txid\",\"type\":\"bytes32\"}],\"name\":\"recordOutcomingFloat\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minerFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_txid\",\"type\":\"bytes32\"}],\"name\":\"recordUTXOSweepMinerFee\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_destToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_totalSwapped\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_rewardsAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"_redeemedFloatTxIds\",\"type\":\"bytes32[]\"}],\"name\":\"singleTransferERC20\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sbBTCPool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_buybackAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_withdrawalFeeBPS\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_nodeRewardsRatio\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_buybackRewardsRatio\",\"type\":\"uint256\"}],\"name\":\"updateParams\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ISwapContractMetaData contains all meta data concerning the ISwapContract contract.

View Source
var ISwapRewardsABI = ISwapRewardsMetaData.ABI

ISwapRewardsABI is the input ABI used to generate the binding from. Deprecated: Use ISwapRewardsMetaData.ABI instead.

View Source
var ISwapRewardsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dest\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_swapped\",\"type\":\"uint256\"}],\"name\":\"pullRewards\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dest\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_receiver\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_swapped\",\"type\":\"uint256[]\"}],\"name\":\"pullRewardsMulti\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pricePerBTC\",\"type\":\"uint256\"}],\"name\":\"setSWINGBYPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ISwapRewardsMetaData contains all meta data concerning the ISwapRewards contract.

View Source
var ITokenTransferProxyABI = ITokenTransferProxyMetaData.ABI

ITokenTransferProxyABI is the input ABI used to generate the binding from. Deprecated: Use ITokenTransferProxyMetaData.ABI instead.

View Source
var ITokenTransferProxyMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokensToFree\",\"type\":\"uint256\"}],\"name\":\"freeReduxTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ITokenTransferProxyMetaData contains all meta data concerning the ITokenTransferProxy contract.

View Source
var IWETHABI = IWETHMetaData.ABI

IWETHABI is the input ABI used to generate the binding from. Deprecated: Use IWETHMetaData.ABI instead.

View Source
var IWETHMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IWETHMetaData contains all meta data concerning the IWETH contract.

View Source
var LPTokenABI = LPTokenMetaData.ABI

LPTokenABI is the input ABI used to generate the binding from. Deprecated: Use LPTokenMetaData.ABI instead.

View Source
var LPTokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_decimals\",\"type\":\"uint8\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractLPToken\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"convertTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mintFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mintable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"old\",\"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\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_old\",\"type\":\"address\"}],\"name\":\"setOld\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

LPTokenMetaData contains all meta data concerning the LPToken contract.

View Source
var OwnableABI = OwnableMetaData.ABI

OwnableABI is the input ABI used to generate the binding from. Deprecated: Use OwnableMetaData.ABI instead.

View Source
var OwnableMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

OwnableMetaData contains all meta data concerning the Ownable contract.

View Source
var ParamsABI = ParamsMetaData.ABI

ParamsABI is the input ABI used to generate the binding from. Deprecated: Use ParamsMetaData.ABI instead.

View Source
var ParamsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"depositFeesBPS\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"expirationTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"loopCount\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minimumSwapAmountForWBTC\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nodeRewardsRatio\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paraswapAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_depositFeesBPS\",\"type\":\"uint8\"}],\"name\":\"setDepositFeesBPS\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_expirationTime\",\"type\":\"uint256\"}],\"name\":\"setExpirationTime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_loopCount\",\"type\":\"uint8\"}],\"name\":\"setLoopCount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minimumSwapAmountForWBTC\",\"type\":\"uint256\"}],\"name\":\"setMinimumSwapAmountForWBTC\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_nodeRewardsRatio\",\"type\":\"uint8\"}],\"name\":\"setNodeRewardsRatio\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_paraswapAddress\",\"type\":\"address\"}],\"name\":\"setParaswapAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_withdrawalFeeBPS\",\"type\":\"uint8\"}],\"name\":\"setWithdrawalFeeBPS\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawalFeeBPS\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ParamsMetaData contains all meta data concerning the Params contract.

View Source
var SbBTCPoolABI = SbBTCPoolMetaData.ABI

SbBTCPoolABI is the input ABI used to generate the binding from. Deprecated: Use SbBTCPoolMetaData.ABI instead.

View Source
var SbBTCPoolMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Claim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ackFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"balanceBefore\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"barn\",\"outputs\":[{\"internalType\":\"contractIBarn\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentMultiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"emergencyWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"owed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_node\",\"type\":\"address\"}],\"name\":\"resetUnstakedNode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_barn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_swap\",\"type\":\"address\"}],\"name\":\"setBarnAndSwap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"swapContract\",\"outputs\":[{\"internalType\":\"contractISwapContract\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalNodeStaked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"updateAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userMultiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

SbBTCPoolMetaData contains all meta data concerning the SbBTCPool contract.

View Source
var SwapContractABI = SwapContractMetaData.ABI

SwapContractABI is the input ABI used to generate the binding from. Deprecated: Use SwapContractMetaData.ABI instead.

View Source
var SwapContractMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_btct\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_sbBTCPool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_swapRewards\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_buybackAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_initBTCFloat\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_initWBTCFloat\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountOfLP\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountOfFloat\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentPriceLP\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawal\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"txid\",\"type\":\"bytes32\"}],\"name\":\"BurnLPTokensForFloat\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountOfFloat\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountOfLP\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentPriceLP\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"depositFees\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"txid\",\"type\":\"bytes32\"}],\"name\":\"IssueLPTokensForFloat\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"feesToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewards\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardsLPTTotal\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentPriceLP\",\"type\":\"uint256\"}],\"name\":\"RewardsCollection\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"BTCT_ADDR\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"activeNodeCount\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"buybackAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"buybackRewardsRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_nodes\",\"type\":\"address[]\"},{\"internalType\":\"bool[]\",\"name\":\"_isRemoved\",\"type\":\"bool[]\"},{\"internalType\":\"uint8\",\"name\":\"_churnedInCount\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"_tssThreshold\",\"type\":\"uint8\"}],\"name\":\"churn\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"churnedInCount\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_incomingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_minerFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_rewardsAmount\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_spenders\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_swapAmounts\",\"type\":\"uint256[]\"}],\"name\":\"collectSwapFeesForBTC\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActiveNodes\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentPriceLP\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"nowPrice\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_tokenB\",\"type\":\"address\"}],\"name\":\"getFloatReserve\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"reserveA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveB\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"isNodeStake\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_txid\",\"type\":\"bytes32\"}],\"name\":\"isTxUsed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lpToken\",\"outputs\":[{\"internalType\":\"contractIBurnableToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_destToken\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"_addressesAndAmounts\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"_totalSwapped\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_rewardsAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"_redeemedFloatTxIds\",\"type\":\"bytes32[]\"}],\"name\":\"multiTransferERC20TightlyPacked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nodeRewardsRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_addressesAndAmountOfFloat\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_txid\",\"type\":\"bytes32\"}],\"name\":\"recordIncomingFloat\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_addressesAndAmountOfLPtoken\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_minerFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_txid\",\"type\":\"bytes32\"}],\"name\":\"recordOutcomingFloat\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minerFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_txid\",\"type\":\"bytes32\"}],\"name\":\"recordUTXOSweepMinerFee\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sbBTCPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_destToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_totalSwapped\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_rewardsAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"_redeemedFloatTxIds\",\"type\":\"bytes32[]\"}],\"name\":\"singleTransferERC20\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sw\",\"outputs\":[{\"internalType\":\"contractISwapRewards\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tssThreshold\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sbBTCPool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_buybackAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_withdrawalFeeBPS\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_nodeRewardsRatio\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_buybackRewardsRatio\",\"type\":\"uint256\"}],\"name\":\"updateParams\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"whitelist\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawalFeeBPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

SwapContractMetaData contains all meta data concerning the SwapContract contract.

View Source
var SwapRewardsABI = SwapRewardsMetaData.ABI

SwapRewardsABI is the input ABI used to generate the binding from. Deprecated: Use SwapRewardsMetaData.ABI instead.

View Source
var SwapRewardsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_swingby\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pricePerBTC\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rebate\",\"type\":\"uint256\"}],\"name\":\"Paid\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pricePerBTC\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dest\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_swapped\",\"type\":\"uint256\"}],\"name\":\"pullRewards\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dest\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_receiver\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_swapped\",\"type\":\"uint256[]\"}],\"name\":\"pullRewardsMulti\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rebateRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pricePerBTC\",\"type\":\"uint256\"}],\"name\":\"setSWINGBYPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_swap\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_newRebateRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_thresholdRatio\",\"type\":\"uint256\"}],\"name\":\"setSwap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"swapContract\",\"outputs\":[{\"internalType\":\"contractISwapContract\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"thresholdRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

SwapRewardsMetaData contains all meta data concerning the SwapRewards contract.

View Source
var SwingbyTokenABI = SwingbyTokenMetaData.ABI

SwingbyTokenABI is the input ABI used to generate the binding from. Deprecated: Use SwingbyTokenMetaData.ABI instead.

View Source
var SwingbyTokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mintable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

SwingbyTokenMetaData contains all meta data concerning the SwingbyToken contract.

Functions

This section is empty.

Types

type BurnableToken

type BurnableToken struct {
	BurnableTokenCaller     // Read-only binding to the contract
	BurnableTokenTransactor // Write-only binding to the contract
	BurnableTokenFilterer   // Log filterer for contract events
}

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

func NewBurnableToken

func NewBurnableToken(address common.Address, backend bind.ContractBackend) (*BurnableToken, error)

NewBurnableToken creates a new instance of BurnableToken, bound to a specific deployed contract.

type BurnableTokenApproval

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

BurnableTokenApproval represents a Approval event raised by the BurnableToken contract.

type BurnableTokenApprovalIterator

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

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

func (*BurnableTokenApprovalIterator) Close

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

func (*BurnableTokenApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BurnableTokenApprovalIterator) 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 BurnableTokenCaller

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

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

func NewBurnableTokenCaller

func NewBurnableTokenCaller(address common.Address, caller bind.ContractCaller) (*BurnableTokenCaller, error)

NewBurnableTokenCaller creates a new read-only instance of BurnableToken, bound to a specific deployed contract.

func (*BurnableTokenCaller) Allowance

func (_BurnableToken *BurnableTokenCaller) 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)

func (*BurnableTokenCaller) BalanceOf

func (_BurnableToken *BurnableTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

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

func (*BurnableTokenCaller) Decimals

func (_BurnableToken *BurnableTokenCaller) 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 (*BurnableTokenCaller) GetOwner

func (_BurnableToken *BurnableTokenCaller) 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 (*BurnableTokenCaller) Mintable

func (_BurnableToken *BurnableTokenCaller) Mintable(opts *bind.CallOpts) (bool, error)

Mintable is a free data retrieval call binding the contract method 0x4bf365df.

Solidity: function mintable() view returns(bool)

func (*BurnableTokenCaller) Name

func (_BurnableToken *BurnableTokenCaller) 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 (*BurnableTokenCaller) Owner

func (_BurnableToken *BurnableTokenCaller) 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 (*BurnableTokenCaller) Symbol

func (_BurnableToken *BurnableTokenCaller) 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 (*BurnableTokenCaller) TotalSupply

func (_BurnableToken *BurnableTokenCaller) 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 BurnableTokenCallerRaw

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

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

func (*BurnableTokenCallerRaw) Call

func (_BurnableToken *BurnableTokenCallerRaw) 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 BurnableTokenCallerSession

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

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

func (*BurnableTokenCallerSession) Allowance

func (_BurnableToken *BurnableTokenCallerSession) 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)

func (*BurnableTokenCallerSession) BalanceOf

func (_BurnableToken *BurnableTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*BurnableTokenCallerSession) Decimals

func (_BurnableToken *BurnableTokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BurnableTokenCallerSession) GetOwner

func (_BurnableToken *BurnableTokenCallerSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*BurnableTokenCallerSession) Mintable

func (_BurnableToken *BurnableTokenCallerSession) Mintable() (bool, error)

Mintable is a free data retrieval call binding the contract method 0x4bf365df.

Solidity: function mintable() view returns(bool)

func (*BurnableTokenCallerSession) Name

func (_BurnableToken *BurnableTokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BurnableTokenCallerSession) Owner

func (_BurnableToken *BurnableTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BurnableTokenCallerSession) Symbol

func (_BurnableToken *BurnableTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BurnableTokenCallerSession) TotalSupply

func (_BurnableToken *BurnableTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type BurnableTokenFilterer

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

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

func NewBurnableTokenFilterer

func NewBurnableTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*BurnableTokenFilterer, error)

NewBurnableTokenFilterer creates a new log filterer instance of BurnableToken, bound to a specific deployed contract.

func (*BurnableTokenFilterer) FilterApproval

func (_BurnableToken *BurnableTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BurnableTokenApprovalIterator, 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 (*BurnableTokenFilterer) FilterOwnershipTransferred

func (_BurnableToken *BurnableTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BurnableTokenOwnershipTransferredIterator, error)

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

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

func (*BurnableTokenFilterer) FilterTransfer

func (_BurnableToken *BurnableTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BurnableTokenTransferIterator, 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 (*BurnableTokenFilterer) ParseApproval

func (_BurnableToken *BurnableTokenFilterer) ParseApproval(log types.Log) (*BurnableTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*BurnableTokenFilterer) ParseOwnershipTransferred

func (_BurnableToken *BurnableTokenFilterer) ParseOwnershipTransferred(log types.Log) (*BurnableTokenOwnershipTransferred, error)

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

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

func (*BurnableTokenFilterer) ParseTransfer

func (_BurnableToken *BurnableTokenFilterer) ParseTransfer(log types.Log) (*BurnableTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*BurnableTokenFilterer) WatchApproval

func (_BurnableToken *BurnableTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BurnableTokenApproval, 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 (*BurnableTokenFilterer) WatchOwnershipTransferred

func (_BurnableToken *BurnableTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BurnableTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*BurnableTokenFilterer) WatchTransfer

func (_BurnableToken *BurnableTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BurnableTokenTransfer, 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)

type BurnableTokenOwnershipTransferred

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

BurnableTokenOwnershipTransferred represents a OwnershipTransferred event raised by the BurnableToken contract.

type BurnableTokenOwnershipTransferredIterator

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

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

func (*BurnableTokenOwnershipTransferredIterator) Close

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

func (*BurnableTokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BurnableTokenOwnershipTransferredIterator) 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 BurnableTokenRaw

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

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

func (*BurnableTokenRaw) Call

func (_BurnableToken *BurnableTokenRaw) 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 (*BurnableTokenRaw) Transact

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

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

func (*BurnableTokenRaw) Transfer

func (_BurnableToken *BurnableTokenRaw) 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 BurnableTokenSession

type BurnableTokenSession struct {
	Contract     *BurnableToken    // 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
}

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

func (*BurnableTokenSession) Allowance

func (_BurnableToken *BurnableTokenSession) 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)

func (*BurnableTokenSession) Approve

func (_BurnableToken *BurnableTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*BurnableTokenSession) BalanceOf

func (_BurnableToken *BurnableTokenSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*BurnableTokenSession) Burn

func (_BurnableToken *BurnableTokenSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns(bool)

func (*BurnableTokenSession) Decimals

func (_BurnableToken *BurnableTokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BurnableTokenSession) DecreaseAllowance

func (_BurnableToken *BurnableTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*BurnableTokenSession) GetOwner

func (_BurnableToken *BurnableTokenSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*BurnableTokenSession) IncreaseAllowance

func (_BurnableToken *BurnableTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*BurnableTokenSession) Mint

func (_BurnableToken *BurnableTokenSession) Mint(target common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address target, uint256 amount) returns(bool)

func (*BurnableTokenSession) Mintable

func (_BurnableToken *BurnableTokenSession) Mintable() (bool, error)

Mintable is a free data retrieval call binding the contract method 0x4bf365df.

Solidity: function mintable() view returns(bool)

func (*BurnableTokenSession) Name

func (_BurnableToken *BurnableTokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BurnableTokenSession) Owner

func (_BurnableToken *BurnableTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BurnableTokenSession) RenounceOwnership

func (_BurnableToken *BurnableTokenSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BurnableTokenSession) Symbol

func (_BurnableToken *BurnableTokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BurnableTokenSession) TotalSupply

func (_BurnableToken *BurnableTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BurnableTokenSession) Transfer

func (_BurnableToken *BurnableTokenSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*BurnableTokenSession) TransferFrom

func (_BurnableToken *BurnableTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*BurnableTokenSession) TransferOwnership

func (_BurnableToken *BurnableTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type BurnableTokenTransactor

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

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

func NewBurnableTokenTransactor

func NewBurnableTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BurnableTokenTransactor, error)

NewBurnableTokenTransactor creates a new write-only instance of BurnableToken, bound to a specific deployed contract.

func (*BurnableTokenTransactor) Approve

func (_BurnableToken *BurnableTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*BurnableTokenTransactor) Burn

func (_BurnableToken *BurnableTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns(bool)

func (*BurnableTokenTransactor) DecreaseAllowance

func (_BurnableToken *BurnableTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*BurnableTokenTransactor) IncreaseAllowance

func (_BurnableToken *BurnableTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*BurnableTokenTransactor) Mint

func (_BurnableToken *BurnableTokenTransactor) Mint(opts *bind.TransactOpts, target common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address target, uint256 amount) returns(bool)

func (*BurnableTokenTransactor) RenounceOwnership

func (_BurnableToken *BurnableTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BurnableTokenTransactor) Transfer

func (_BurnableToken *BurnableTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*BurnableTokenTransactor) TransferFrom

func (_BurnableToken *BurnableTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*BurnableTokenTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type BurnableTokenTransactorRaw

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

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

func (*BurnableTokenTransactorRaw) Transact

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

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

func (*BurnableTokenTransactorRaw) Transfer

func (_BurnableToken *BurnableTokenTransactorRaw) 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 BurnableTokenTransactorSession

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

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

func (*BurnableTokenTransactorSession) Approve

func (_BurnableToken *BurnableTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*BurnableTokenTransactorSession) Burn

func (_BurnableToken *BurnableTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns(bool)

func (*BurnableTokenTransactorSession) DecreaseAllowance

func (_BurnableToken *BurnableTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*BurnableTokenTransactorSession) IncreaseAllowance

func (_BurnableToken *BurnableTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*BurnableTokenTransactorSession) Mint

func (_BurnableToken *BurnableTokenTransactorSession) Mint(target common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address target, uint256 amount) returns(bool)

func (*BurnableTokenTransactorSession) RenounceOwnership

func (_BurnableToken *BurnableTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BurnableTokenTransactorSession) Transfer

func (_BurnableToken *BurnableTokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*BurnableTokenTransactorSession) TransferFrom

func (_BurnableToken *BurnableTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*BurnableTokenTransactorSession) TransferOwnership

func (_BurnableToken *BurnableTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type BurnableTokenTransfer

type BurnableTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

BurnableTokenTransfer represents a Transfer event raised by the BurnableToken contract.

type BurnableTokenTransferIterator

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

BurnableTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BurnableToken contract.

func (*BurnableTokenTransferIterator) Close

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

func (*BurnableTokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BurnableTokenTransferIterator) 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 IAugustusSwapper

type IAugustusSwapper struct {
	IAugustusSwapperCaller     // Read-only binding to the contract
	IAugustusSwapperTransactor // Write-only binding to the contract
	IAugustusSwapperFilterer   // Log filterer for contract events
}

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

func NewIAugustusSwapper

func NewIAugustusSwapper(address common.Address, backend bind.ContractBackend) (*IAugustusSwapper, error)

NewIAugustusSwapper creates a new instance of IAugustusSwapper, bound to a specific deployed contract.

type IAugustusSwapperBuyData

type IAugustusSwapperBuyData struct {
	FromToken     common.Address
	ToToken       common.Address
	FromAmount    *big.Int
	ToAmount      *big.Int
	Beneficiary   common.Address
	Referrer      string
	UseReduxToken bool
	Route         []IAugustusSwapperBuyRoute
}

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

type IAugustusSwapperBuyRoute

type IAugustusSwapperBuyRoute struct {
	Exchange       common.Address
	TargetExchange common.Address
	FromAmount     *big.Int
	ToAmount       *big.Int
	Payload        []byte
	NetworkFee     *big.Int
}

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

type IAugustusSwapperCaller

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

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

func NewIAugustusSwapperCaller

func NewIAugustusSwapperCaller(address common.Address, caller bind.ContractCaller) (*IAugustusSwapperCaller, error)

NewIAugustusSwapperCaller creates a new read-only instance of IAugustusSwapper, bound to a specific deployed contract.

func (*IAugustusSwapperCaller) GetFeeWallet

func (_IAugustusSwapper *IAugustusSwapperCaller) GetFeeWallet(opts *bind.CallOpts) (common.Address, error)

GetFeeWallet is a free data retrieval call binding the contract method 0x5459060d.

Solidity: function getFeeWallet() view returns(address)

func (*IAugustusSwapperCaller) GetPartnerRegistry

func (_IAugustusSwapper *IAugustusSwapperCaller) GetPartnerRegistry(opts *bind.CallOpts) (common.Address, error)

GetPartnerRegistry is a free data retrieval call binding the contract method 0xb69bd7aa.

Solidity: function getPartnerRegistry() view returns(address)

func (*IAugustusSwapperCaller) GetTokenTransferProxy

func (_IAugustusSwapper *IAugustusSwapperCaller) GetTokenTransferProxy(opts *bind.CallOpts) (common.Address, error)

GetTokenTransferProxy is a free data retrieval call binding the contract method 0xd2c4b598.

Solidity: function getTokenTransferProxy() view returns(address)

func (*IAugustusSwapperCaller) GetUniswapProxy

func (_IAugustusSwapper *IAugustusSwapperCaller) GetUniswapProxy(opts *bind.CallOpts) (common.Address, error)

GetUniswapProxy is a free data retrieval call binding the contract method 0x08defdee.

Solidity: function getUniswapProxy() view returns(address)

func (*IAugustusSwapperCaller) GetVersion

func (_IAugustusSwapper *IAugustusSwapperCaller) GetVersion(opts *bind.CallOpts) (string, error)

GetVersion is a free data retrieval call binding the contract method 0x0d8e6e2c.

Solidity: function getVersion() view returns(string)

func (*IAugustusSwapperCaller) GetWhitelistAddress

func (_IAugustusSwapper *IAugustusSwapperCaller) GetWhitelistAddress(opts *bind.CallOpts) (common.Address, error)

GetWhitelistAddress is a free data retrieval call binding the contract method 0x915eb973.

Solidity: function getWhitelistAddress() view returns(address)

type IAugustusSwapperCallerRaw

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

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

func (*IAugustusSwapperCallerRaw) Call

func (_IAugustusSwapper *IAugustusSwapperCallerRaw) 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 IAugustusSwapperCallerSession

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

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

func (*IAugustusSwapperCallerSession) GetFeeWallet

func (_IAugustusSwapper *IAugustusSwapperCallerSession) GetFeeWallet() (common.Address, error)

GetFeeWallet is a free data retrieval call binding the contract method 0x5459060d.

Solidity: function getFeeWallet() view returns(address)

func (*IAugustusSwapperCallerSession) GetPartnerRegistry

func (_IAugustusSwapper *IAugustusSwapperCallerSession) GetPartnerRegistry() (common.Address, error)

GetPartnerRegistry is a free data retrieval call binding the contract method 0xb69bd7aa.

Solidity: function getPartnerRegistry() view returns(address)

func (*IAugustusSwapperCallerSession) GetTokenTransferProxy

func (_IAugustusSwapper *IAugustusSwapperCallerSession) GetTokenTransferProxy() (common.Address, error)

GetTokenTransferProxy is a free data retrieval call binding the contract method 0xd2c4b598.

Solidity: function getTokenTransferProxy() view returns(address)

func (*IAugustusSwapperCallerSession) GetUniswapProxy

func (_IAugustusSwapper *IAugustusSwapperCallerSession) GetUniswapProxy() (common.Address, error)

GetUniswapProxy is a free data retrieval call binding the contract method 0x08defdee.

Solidity: function getUniswapProxy() view returns(address)

func (*IAugustusSwapperCallerSession) GetVersion

func (_IAugustusSwapper *IAugustusSwapperCallerSession) GetVersion() (string, error)

GetVersion is a free data retrieval call binding the contract method 0x0d8e6e2c.

Solidity: function getVersion() view returns(string)

func (*IAugustusSwapperCallerSession) GetWhitelistAddress

func (_IAugustusSwapper *IAugustusSwapperCallerSession) GetWhitelistAddress() (common.Address, error)

GetWhitelistAddress is a free data retrieval call binding the contract method 0x915eb973.

Solidity: function getWhitelistAddress() view returns(address)

type IAugustusSwapperFilterer

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

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

func NewIAugustusSwapperFilterer

func NewIAugustusSwapperFilterer(address common.Address, filterer bind.ContractFilterer) (*IAugustusSwapperFilterer, error)

NewIAugustusSwapperFilterer creates a new log filterer instance of IAugustusSwapper, bound to a specific deployed contract.

type IAugustusSwapperMegaSwapPath

type IAugustusSwapperMegaSwapPath struct {
	FromAmountPercent *big.Int
	Path              []IAugustusSwapperPath
}

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

type IAugustusSwapperMegaSwapSellData

type IAugustusSwapperMegaSwapSellData struct {
	FromToken      common.Address
	FromAmount     *big.Int
	ToAmount       *big.Int
	ExpectedAmount *big.Int
	Beneficiary    common.Address
	Referrer       string
	UseReduxToken  bool
	Path           []IAugustusSwapperMegaSwapPath
}

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

type IAugustusSwapperPath

type IAugustusSwapperPath struct {
	To              common.Address
	TotalNetworkFee *big.Int
	Routes          []IAugustusSwapperRoute
}

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

type IAugustusSwapperRaw

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

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

func (*IAugustusSwapperRaw) Call

func (_IAugustusSwapper *IAugustusSwapperRaw) 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 (*IAugustusSwapperRaw) Transact

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

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

func (*IAugustusSwapperRaw) Transfer

func (_IAugustusSwapper *IAugustusSwapperRaw) 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 IAugustusSwapperRoute

type IAugustusSwapperRoute struct {
	Exchange       common.Address
	TargetExchange common.Address
	Percent        *big.Int
	Payload        []byte
	NetworkFee     *big.Int
}

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

type IAugustusSwapperSellData

type IAugustusSwapperSellData struct {
	FromToken      common.Address
	FromAmount     *big.Int
	ToAmount       *big.Int
	ExpectedAmount *big.Int
	Beneficiary    common.Address
	Referrer       string
	UseReduxToken  bool
	Path           []IAugustusSwapperPath
}

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

type IAugustusSwapperSession

type IAugustusSwapperSession struct {
	Contract     *IAugustusSwapper // 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
}

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

func (*IAugustusSwapperSession) Buy

func (_IAugustusSwapper *IAugustusSwapperSession) Buy(data IAugustusSwapperBuyData) (*types.Transaction, error)

Buy is a paid mutator transaction binding the contract method 0xf95a49eb.

Solidity: function buy((address,address,uint256,uint256,address,string,bool,(address,address,uint256,uint256,bytes,uint256)[]) data) payable returns(uint256)

func (*IAugustusSwapperSession) BuyOnUniswap

func (_IAugustusSwapper *IAugustusSwapperSession) BuyOnUniswap(amountInMax *big.Int, amountOut *big.Int, path []common.Address, referrer uint8) (*types.Transaction, error)

BuyOnUniswap is a paid mutator transaction binding the contract method 0xf9355f72.

Solidity: function buyOnUniswap(uint256 amountInMax, uint256 amountOut, address[] path, uint8 referrer) payable returns()

func (*IAugustusSwapperSession) BuyOnUniswapFork

func (_IAugustusSwapper *IAugustusSwapperSession) BuyOnUniswapFork(factory common.Address, initCode [32]byte, amountInMax *big.Int, amountOut *big.Int, path []common.Address, referrer uint8) (*types.Transaction, error)

BuyOnUniswapFork is a paid mutator transaction binding the contract method 0x33635226.

Solidity: function buyOnUniswapFork(address factory, bytes32 initCode, uint256 amountInMax, uint256 amountOut, address[] path, uint8 referrer) payable returns()

func (*IAugustusSwapperSession) GetFeeWallet

func (_IAugustusSwapper *IAugustusSwapperSession) GetFeeWallet() (common.Address, error)

GetFeeWallet is a free data retrieval call binding the contract method 0x5459060d.

Solidity: function getFeeWallet() view returns(address)

func (*IAugustusSwapperSession) GetPartnerRegistry

func (_IAugustusSwapper *IAugustusSwapperSession) GetPartnerRegistry() (common.Address, error)

GetPartnerRegistry is a free data retrieval call binding the contract method 0xb69bd7aa.

Solidity: function getPartnerRegistry() view returns(address)

func (*IAugustusSwapperSession) GetTokenTransferProxy

func (_IAugustusSwapper *IAugustusSwapperSession) GetTokenTransferProxy() (common.Address, error)

GetTokenTransferProxy is a free data retrieval call binding the contract method 0xd2c4b598.

Solidity: function getTokenTransferProxy() view returns(address)

func (*IAugustusSwapperSession) GetUniswapProxy

func (_IAugustusSwapper *IAugustusSwapperSession) GetUniswapProxy() (common.Address, error)

GetUniswapProxy is a free data retrieval call binding the contract method 0x08defdee.

Solidity: function getUniswapProxy() view returns(address)

func (*IAugustusSwapperSession) GetVersion

func (_IAugustusSwapper *IAugustusSwapperSession) GetVersion() (string, error)

GetVersion is a free data retrieval call binding the contract method 0x0d8e6e2c.

Solidity: function getVersion() view returns(string)

func (*IAugustusSwapperSession) GetWhitelistAddress

func (_IAugustusSwapper *IAugustusSwapperSession) GetWhitelistAddress() (common.Address, error)

GetWhitelistAddress is a free data retrieval call binding the contract method 0x915eb973.

Solidity: function getWhitelistAddress() view returns(address)

func (*IAugustusSwapperSession) MegaSwap

func (_IAugustusSwapper *IAugustusSwapperSession) MegaSwap(data IAugustusSwapperMegaSwapSellData) (*types.Transaction, error)

MegaSwap is a paid mutator transaction binding the contract method 0xec1d21dd.

Solidity: function megaSwap((address,uint256,uint256,uint256,address,string,bool,(uint256,(address,uint256,(address,address,uint256,bytes,uint256)[])[])[]) data) payable returns(uint256)

func (*IAugustusSwapperSession) MultiSwap

func (_IAugustusSwapper *IAugustusSwapperSession) MultiSwap(data IAugustusSwapperSellData) (*types.Transaction, error)

MultiSwap is a paid mutator transaction binding the contract method 0x8f00eccb.

Solidity: function multiSwap((address,uint256,uint256,uint256,address,string,bool,(address,uint256,(address,address,uint256,bytes,uint256)[])[]) data) payable returns(uint256)

func (*IAugustusSwapperSession) SimplBuy

func (_IAugustusSwapper *IAugustusSwapperSession) SimplBuy(fromToken common.Address, toToken common.Address, fromAmount *big.Int, toAmount *big.Int, callees []common.Address, exchangeData []byte, startIndexes []*big.Int, values []*big.Int, beneficiary common.Address, referrer string, useReduxToken bool) (*types.Transaction, error)

SimplBuy is a paid mutator transaction binding the contract method 0xa27e8b6b.

Solidity: function simplBuy(address fromToken, address toToken, uint256 fromAmount, uint256 toAmount, address[] callees, bytes exchangeData, uint256[] startIndexes, uint256[] values, address beneficiary, string referrer, bool useReduxToken) payable returns()

func (*IAugustusSwapperSession) SimpleSwap

func (_IAugustusSwapper *IAugustusSwapperSession) SimpleSwap(fromToken common.Address, toToken common.Address, fromAmount *big.Int, toAmount *big.Int, expectedAmount *big.Int, callees []common.Address, exchangeData []byte, startIndexes []*big.Int, values []*big.Int, beneficiary common.Address, referrer string, useReduxToken bool) (*types.Transaction, error)

SimpleSwap is a paid mutator transaction binding the contract method 0xcfc0afeb.

Solidity: function simpleSwap(address fromToken, address toToken, uint256 fromAmount, uint256 toAmount, uint256 expectedAmount, address[] callees, bytes exchangeData, uint256[] startIndexes, uint256[] values, address beneficiary, string referrer, bool useReduxToken) payable returns(uint256 receivedAmount)

func (*IAugustusSwapperSession) SwapOnUniswap

func (_IAugustusSwapper *IAugustusSwapperSession) SwapOnUniswap(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, referrer uint8) (*types.Transaction, error)

SwapOnUniswap is a paid mutator transaction binding the contract method 0x58b9d179.

Solidity: function swapOnUniswap(uint256 amountIn, uint256 amountOutMin, address[] path, uint8 referrer) payable returns()

func (*IAugustusSwapperSession) SwapOnUniswapFork

func (_IAugustusSwapper *IAugustusSwapperSession) SwapOnUniswapFork(factory common.Address, initCode [32]byte, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, referrer uint8) (*types.Transaction, error)

SwapOnUniswapFork is a paid mutator transaction binding the contract method 0x0863b7ac.

Solidity: function swapOnUniswapFork(address factory, bytes32 initCode, uint256 amountIn, uint256 amountOutMin, address[] path, uint8 referrer) payable returns()

type IAugustusSwapperTransactor

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

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

func NewIAugustusSwapperTransactor

func NewIAugustusSwapperTransactor(address common.Address, transactor bind.ContractTransactor) (*IAugustusSwapperTransactor, error)

NewIAugustusSwapperTransactor creates a new write-only instance of IAugustusSwapper, bound to a specific deployed contract.

func (*IAugustusSwapperTransactor) Buy

Buy is a paid mutator transaction binding the contract method 0xf95a49eb.

Solidity: function buy((address,address,uint256,uint256,address,string,bool,(address,address,uint256,uint256,bytes,uint256)[]) data) payable returns(uint256)

func (*IAugustusSwapperTransactor) BuyOnUniswap

func (_IAugustusSwapper *IAugustusSwapperTransactor) BuyOnUniswap(opts *bind.TransactOpts, amountInMax *big.Int, amountOut *big.Int, path []common.Address, referrer uint8) (*types.Transaction, error)

BuyOnUniswap is a paid mutator transaction binding the contract method 0xf9355f72.

Solidity: function buyOnUniswap(uint256 amountInMax, uint256 amountOut, address[] path, uint8 referrer) payable returns()

func (*IAugustusSwapperTransactor) BuyOnUniswapFork

func (_IAugustusSwapper *IAugustusSwapperTransactor) BuyOnUniswapFork(opts *bind.TransactOpts, factory common.Address, initCode [32]byte, amountInMax *big.Int, amountOut *big.Int, path []common.Address, referrer uint8) (*types.Transaction, error)

BuyOnUniswapFork is a paid mutator transaction binding the contract method 0x33635226.

Solidity: function buyOnUniswapFork(address factory, bytes32 initCode, uint256 amountInMax, uint256 amountOut, address[] path, uint8 referrer) payable returns()

func (*IAugustusSwapperTransactor) MegaSwap

MegaSwap is a paid mutator transaction binding the contract method 0xec1d21dd.

Solidity: function megaSwap((address,uint256,uint256,uint256,address,string,bool,(uint256,(address,uint256,(address,address,uint256,bytes,uint256)[])[])[]) data) payable returns(uint256)

func (*IAugustusSwapperTransactor) MultiSwap

func (_IAugustusSwapper *IAugustusSwapperTransactor) MultiSwap(opts *bind.TransactOpts, data IAugustusSwapperSellData) (*types.Transaction, error)

MultiSwap is a paid mutator transaction binding the contract method 0x8f00eccb.

Solidity: function multiSwap((address,uint256,uint256,uint256,address,string,bool,(address,uint256,(address,address,uint256,bytes,uint256)[])[]) data) payable returns(uint256)

func (*IAugustusSwapperTransactor) SimplBuy

func (_IAugustusSwapper *IAugustusSwapperTransactor) SimplBuy(opts *bind.TransactOpts, fromToken common.Address, toToken common.Address, fromAmount *big.Int, toAmount *big.Int, callees []common.Address, exchangeData []byte, startIndexes []*big.Int, values []*big.Int, beneficiary common.Address, referrer string, useReduxToken bool) (*types.Transaction, error)

SimplBuy is a paid mutator transaction binding the contract method 0xa27e8b6b.

Solidity: function simplBuy(address fromToken, address toToken, uint256 fromAmount, uint256 toAmount, address[] callees, bytes exchangeData, uint256[] startIndexes, uint256[] values, address beneficiary, string referrer, bool useReduxToken) payable returns()

func (*IAugustusSwapperTransactor) SimpleSwap

func (_IAugustusSwapper *IAugustusSwapperTransactor) SimpleSwap(opts *bind.TransactOpts, fromToken common.Address, toToken common.Address, fromAmount *big.Int, toAmount *big.Int, expectedAmount *big.Int, callees []common.Address, exchangeData []byte, startIndexes []*big.Int, values []*big.Int, beneficiary common.Address, referrer string, useReduxToken bool) (*types.Transaction, error)

SimpleSwap is a paid mutator transaction binding the contract method 0xcfc0afeb.

Solidity: function simpleSwap(address fromToken, address toToken, uint256 fromAmount, uint256 toAmount, uint256 expectedAmount, address[] callees, bytes exchangeData, uint256[] startIndexes, uint256[] values, address beneficiary, string referrer, bool useReduxToken) payable returns(uint256 receivedAmount)

func (*IAugustusSwapperTransactor) SwapOnUniswap

func (_IAugustusSwapper *IAugustusSwapperTransactor) SwapOnUniswap(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, referrer uint8) (*types.Transaction, error)

SwapOnUniswap is a paid mutator transaction binding the contract method 0x58b9d179.

Solidity: function swapOnUniswap(uint256 amountIn, uint256 amountOutMin, address[] path, uint8 referrer) payable returns()

func (*IAugustusSwapperTransactor) SwapOnUniswapFork

func (_IAugustusSwapper *IAugustusSwapperTransactor) SwapOnUniswapFork(opts *bind.TransactOpts, factory common.Address, initCode [32]byte, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, referrer uint8) (*types.Transaction, error)

SwapOnUniswapFork is a paid mutator transaction binding the contract method 0x0863b7ac.

Solidity: function swapOnUniswapFork(address factory, bytes32 initCode, uint256 amountIn, uint256 amountOutMin, address[] path, uint8 referrer) payable returns()

type IAugustusSwapperTransactorRaw

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

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

func (*IAugustusSwapperTransactorRaw) Transact

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

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

func (*IAugustusSwapperTransactorRaw) Transfer

func (_IAugustusSwapper *IAugustusSwapperTransactorRaw) 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 IAugustusSwapperTransactorSession

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

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

func (*IAugustusSwapperTransactorSession) Buy

Buy is a paid mutator transaction binding the contract method 0xf95a49eb.

Solidity: function buy((address,address,uint256,uint256,address,string,bool,(address,address,uint256,uint256,bytes,uint256)[]) data) payable returns(uint256)

func (*IAugustusSwapperTransactorSession) BuyOnUniswap

func (_IAugustusSwapper *IAugustusSwapperTransactorSession) BuyOnUniswap(amountInMax *big.Int, amountOut *big.Int, path []common.Address, referrer uint8) (*types.Transaction, error)

BuyOnUniswap is a paid mutator transaction binding the contract method 0xf9355f72.

Solidity: function buyOnUniswap(uint256 amountInMax, uint256 amountOut, address[] path, uint8 referrer) payable returns()

func (*IAugustusSwapperTransactorSession) BuyOnUniswapFork

func (_IAugustusSwapper *IAugustusSwapperTransactorSession) BuyOnUniswapFork(factory common.Address, initCode [32]byte, amountInMax *big.Int, amountOut *big.Int, path []common.Address, referrer uint8) (*types.Transaction, error)

BuyOnUniswapFork is a paid mutator transaction binding the contract method 0x33635226.

Solidity: function buyOnUniswapFork(address factory, bytes32 initCode, uint256 amountInMax, uint256 amountOut, address[] path, uint8 referrer) payable returns()

func (*IAugustusSwapperTransactorSession) MegaSwap

MegaSwap is a paid mutator transaction binding the contract method 0xec1d21dd.

Solidity: function megaSwap((address,uint256,uint256,uint256,address,string,bool,(uint256,(address,uint256,(address,address,uint256,bytes,uint256)[])[])[]) data) payable returns(uint256)

func (*IAugustusSwapperTransactorSession) MultiSwap

func (_IAugustusSwapper *IAugustusSwapperTransactorSession) MultiSwap(data IAugustusSwapperSellData) (*types.Transaction, error)

MultiSwap is a paid mutator transaction binding the contract method 0x8f00eccb.

Solidity: function multiSwap((address,uint256,uint256,uint256,address,string,bool,(address,uint256,(address,address,uint256,bytes,uint256)[])[]) data) payable returns(uint256)

func (*IAugustusSwapperTransactorSession) SimplBuy

func (_IAugustusSwapper *IAugustusSwapperTransactorSession) SimplBuy(fromToken common.Address, toToken common.Address, fromAmount *big.Int, toAmount *big.Int, callees []common.Address, exchangeData []byte, startIndexes []*big.Int, values []*big.Int, beneficiary common.Address, referrer string, useReduxToken bool) (*types.Transaction, error)

SimplBuy is a paid mutator transaction binding the contract method 0xa27e8b6b.

Solidity: function simplBuy(address fromToken, address toToken, uint256 fromAmount, uint256 toAmount, address[] callees, bytes exchangeData, uint256[] startIndexes, uint256[] values, address beneficiary, string referrer, bool useReduxToken) payable returns()

func (*IAugustusSwapperTransactorSession) SimpleSwap

func (_IAugustusSwapper *IAugustusSwapperTransactorSession) SimpleSwap(fromToken common.Address, toToken common.Address, fromAmount *big.Int, toAmount *big.Int, expectedAmount *big.Int, callees []common.Address, exchangeData []byte, startIndexes []*big.Int, values []*big.Int, beneficiary common.Address, referrer string, useReduxToken bool) (*types.Transaction, error)

SimpleSwap is a paid mutator transaction binding the contract method 0xcfc0afeb.

Solidity: function simpleSwap(address fromToken, address toToken, uint256 fromAmount, uint256 toAmount, uint256 expectedAmount, address[] callees, bytes exchangeData, uint256[] startIndexes, uint256[] values, address beneficiary, string referrer, bool useReduxToken) payable returns(uint256 receivedAmount)

func (*IAugustusSwapperTransactorSession) SwapOnUniswap

func (_IAugustusSwapper *IAugustusSwapperTransactorSession) SwapOnUniswap(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, referrer uint8) (*types.Transaction, error)

SwapOnUniswap is a paid mutator transaction binding the contract method 0x58b9d179.

Solidity: function swapOnUniswap(uint256 amountIn, uint256 amountOutMin, address[] path, uint8 referrer) payable returns()

func (*IAugustusSwapperTransactorSession) SwapOnUniswapFork

func (_IAugustusSwapper *IAugustusSwapperTransactorSession) SwapOnUniswapFork(factory common.Address, initCode [32]byte, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, referrer uint8) (*types.Transaction, error)

SwapOnUniswapFork is a paid mutator transaction binding the contract method 0x0863b7ac.

Solidity: function swapOnUniswapFork(address factory, bytes32 initCode, uint256 amountIn, uint256 amountOutMin, address[] path, uint8 referrer) payable returns()

type IBarn

type IBarn struct {
	IBarnCaller     // Read-only binding to the contract
	IBarnTransactor // Write-only binding to the contract
	IBarnFilterer   // Log filterer for contract events
}

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

func NewIBarn

func NewIBarn(address common.Address, backend bind.ContractBackend) (*IBarn, error)

NewIBarn creates a new instance of IBarn, bound to a specific deployed contract.

type IBarnCaller

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

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

func NewIBarnCaller

func NewIBarnCaller(address common.Address, caller bind.ContractCaller) (*IBarnCaller, error)

NewIBarnCaller creates a new read-only instance of IBarn, bound to a specific deployed contract.

func (*IBarnCaller) BalanceAtTs

func (_IBarn *IBarnCaller) BalanceAtTs(opts *bind.CallOpts, user common.Address, timestamp *big.Int) (*big.Int, error)

BalanceAtTs is a free data retrieval call binding the contract method 0x417edd4d.

Solidity: function balanceAtTs(address user, uint256 timestamp) view returns(uint256)

func (*IBarnCaller) BalanceOf

func (_IBarn *IBarnCaller) BalanceOf(opts *bind.CallOpts, user common.Address) (*big.Int, error)

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

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

type IBarnCallerRaw

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

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

func (*IBarnCallerRaw) Call

func (_IBarn *IBarnCallerRaw) 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 IBarnCallerSession

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

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

func (*IBarnCallerSession) BalanceAtTs

func (_IBarn *IBarnCallerSession) BalanceAtTs(user common.Address, timestamp *big.Int) (*big.Int, error)

BalanceAtTs is a free data retrieval call binding the contract method 0x417edd4d.

Solidity: function balanceAtTs(address user, uint256 timestamp) view returns(uint256)

func (*IBarnCallerSession) BalanceOf

func (_IBarn *IBarnCallerSession) BalanceOf(user common.Address) (*big.Int, error)

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

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

type IBarnFilterer

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

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

func NewIBarnFilterer

func NewIBarnFilterer(address common.Address, filterer bind.ContractFilterer) (*IBarnFilterer, error)

NewIBarnFilterer creates a new log filterer instance of IBarn, bound to a specific deployed contract.

type IBarnRaw

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

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

func (*IBarnRaw) Call

func (_IBarn *IBarnRaw) 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 (*IBarnRaw) Transact

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

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

func (*IBarnRaw) Transfer

func (_IBarn *IBarnRaw) 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 IBarnSession

type IBarnSession struct {
	Contract     *IBarn            // 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
}

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

func (*IBarnSession) BalanceAtTs

func (_IBarn *IBarnSession) BalanceAtTs(user common.Address, timestamp *big.Int) (*big.Int, error)

BalanceAtTs is a free data retrieval call binding the contract method 0x417edd4d.

Solidity: function balanceAtTs(address user, uint256 timestamp) view returns(uint256)

func (*IBarnSession) BalanceOf

func (_IBarn *IBarnSession) BalanceOf(user common.Address) (*big.Int, error)

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

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

type IBarnTransactor

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

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

func NewIBarnTransactor

func NewIBarnTransactor(address common.Address, transactor bind.ContractTransactor) (*IBarnTransactor, error)

NewIBarnTransactor creates a new write-only instance of IBarn, bound to a specific deployed contract.

type IBarnTransactorRaw

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

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

func (*IBarnTransactorRaw) Transact

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

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

func (*IBarnTransactorRaw) Transfer

func (_IBarn *IBarnTransactorRaw) 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 IBarnTransactorSession

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

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

type IBurnableToken

type IBurnableToken struct {
	IBurnableTokenCaller     // Read-only binding to the contract
	IBurnableTokenTransactor // Write-only binding to the contract
	IBurnableTokenFilterer   // Log filterer for contract events
}

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

func NewIBurnableToken

func NewIBurnableToken(address common.Address, backend bind.ContractBackend) (*IBurnableToken, error)

NewIBurnableToken creates a new instance of IBurnableToken, bound to a specific deployed contract.

type IBurnableTokenApproval

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

IBurnableTokenApproval represents a Approval event raised by the IBurnableToken contract.

type IBurnableTokenApprovalIterator

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

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

func (*IBurnableTokenApprovalIterator) Close

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

func (*IBurnableTokenApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IBurnableTokenApprovalIterator) 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 IBurnableTokenCaller

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

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

func NewIBurnableTokenCaller

func NewIBurnableTokenCaller(address common.Address, caller bind.ContractCaller) (*IBurnableTokenCaller, error)

NewIBurnableTokenCaller creates a new read-only instance of IBurnableToken, bound to a specific deployed contract.

func (*IBurnableTokenCaller) Allowance

func (_IBurnableToken *IBurnableTokenCaller) 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)

func (*IBurnableTokenCaller) BalanceOf

func (_IBurnableToken *IBurnableTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

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

func (*IBurnableTokenCaller) Decimals

func (_IBurnableToken *IBurnableTokenCaller) 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 (*IBurnableTokenCaller) GetOwner

func (_IBurnableToken *IBurnableTokenCaller) 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 (*IBurnableTokenCaller) Name

func (_IBurnableToken *IBurnableTokenCaller) 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 (*IBurnableTokenCaller) Symbol

func (_IBurnableToken *IBurnableTokenCaller) 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 (*IBurnableTokenCaller) TotalSupply

func (_IBurnableToken *IBurnableTokenCaller) 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 IBurnableTokenCallerRaw

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

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

func (*IBurnableTokenCallerRaw) Call

func (_IBurnableToken *IBurnableTokenCallerRaw) 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 IBurnableTokenCallerSession

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

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

func (*IBurnableTokenCallerSession) Allowance

func (_IBurnableToken *IBurnableTokenCallerSession) 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)

func (*IBurnableTokenCallerSession) BalanceOf

func (_IBurnableToken *IBurnableTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*IBurnableTokenCallerSession) Decimals

func (_IBurnableToken *IBurnableTokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*IBurnableTokenCallerSession) GetOwner

func (_IBurnableToken *IBurnableTokenCallerSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*IBurnableTokenCallerSession) Name

func (_IBurnableToken *IBurnableTokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*IBurnableTokenCallerSession) Symbol

func (_IBurnableToken *IBurnableTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*IBurnableTokenCallerSession) TotalSupply

func (_IBurnableToken *IBurnableTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type IBurnableTokenFilterer

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

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

func NewIBurnableTokenFilterer

func NewIBurnableTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*IBurnableTokenFilterer, error)

NewIBurnableTokenFilterer creates a new log filterer instance of IBurnableToken, bound to a specific deployed contract.

func (*IBurnableTokenFilterer) FilterApproval

func (_IBurnableToken *IBurnableTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IBurnableTokenApprovalIterator, 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 (*IBurnableTokenFilterer) FilterTransfer

func (_IBurnableToken *IBurnableTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IBurnableTokenTransferIterator, 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 (*IBurnableTokenFilterer) ParseApproval

func (_IBurnableToken *IBurnableTokenFilterer) ParseApproval(log types.Log) (*IBurnableTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IBurnableTokenFilterer) ParseTransfer

func (_IBurnableToken *IBurnableTokenFilterer) ParseTransfer(log types.Log) (*IBurnableTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IBurnableTokenFilterer) WatchApproval

func (_IBurnableToken *IBurnableTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IBurnableTokenApproval, 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 (*IBurnableTokenFilterer) WatchTransfer

func (_IBurnableToken *IBurnableTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IBurnableTokenTransfer, 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)

type IBurnableTokenRaw

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

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

func (*IBurnableTokenRaw) Call

func (_IBurnableToken *IBurnableTokenRaw) 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 (*IBurnableTokenRaw) Transact

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

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

func (*IBurnableTokenRaw) Transfer

func (_IBurnableToken *IBurnableTokenRaw) 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 IBurnableTokenSession

type IBurnableTokenSession struct {
	Contract     *IBurnableToken   // 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
}

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

func (*IBurnableTokenSession) Allowance

func (_IBurnableToken *IBurnableTokenSession) 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)

func (*IBurnableTokenSession) Approve

func (_IBurnableToken *IBurnableTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IBurnableTokenSession) BalanceOf

func (_IBurnableToken *IBurnableTokenSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*IBurnableTokenSession) Burn

func (_IBurnableToken *IBurnableTokenSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns(bool)

func (*IBurnableTokenSession) Decimals

func (_IBurnableToken *IBurnableTokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*IBurnableTokenSession) GetOwner

func (_IBurnableToken *IBurnableTokenSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*IBurnableTokenSession) Mint

func (_IBurnableToken *IBurnableTokenSession) Mint(target common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address target, uint256 amount) returns(bool)

func (*IBurnableTokenSession) Mintable

func (_IBurnableToken *IBurnableTokenSession) Mintable() (*types.Transaction, error)

Mintable is a paid mutator transaction binding the contract method 0x4bf365df.

Solidity: function mintable() returns(bool)

func (*IBurnableTokenSession) Name

func (_IBurnableToken *IBurnableTokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*IBurnableTokenSession) Symbol

func (_IBurnableToken *IBurnableTokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*IBurnableTokenSession) TotalSupply

func (_IBurnableToken *IBurnableTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*IBurnableTokenSession) Transfer

func (_IBurnableToken *IBurnableTokenSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*IBurnableTokenSession) TransferFrom

func (_IBurnableToken *IBurnableTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type IBurnableTokenTransactor

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

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

func NewIBurnableTokenTransactor

func NewIBurnableTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*IBurnableTokenTransactor, error)

NewIBurnableTokenTransactor creates a new write-only instance of IBurnableToken, bound to a specific deployed contract.

func (*IBurnableTokenTransactor) Approve

func (_IBurnableToken *IBurnableTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IBurnableTokenTransactor) Burn

func (_IBurnableToken *IBurnableTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns(bool)

func (*IBurnableTokenTransactor) Mint

func (_IBurnableToken *IBurnableTokenTransactor) Mint(opts *bind.TransactOpts, target common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address target, uint256 amount) returns(bool)

func (*IBurnableTokenTransactor) Mintable

func (_IBurnableToken *IBurnableTokenTransactor) Mintable(opts *bind.TransactOpts) (*types.Transaction, error)

Mintable is a paid mutator transaction binding the contract method 0x4bf365df.

Solidity: function mintable() returns(bool)

func (*IBurnableTokenTransactor) Transfer

func (_IBurnableToken *IBurnableTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*IBurnableTokenTransactor) TransferFrom

func (_IBurnableToken *IBurnableTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type IBurnableTokenTransactorRaw

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

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

func (*IBurnableTokenTransactorRaw) Transact

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

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

func (*IBurnableTokenTransactorRaw) Transfer

func (_IBurnableToken *IBurnableTokenTransactorRaw) 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 IBurnableTokenTransactorSession

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

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

func (*IBurnableTokenTransactorSession) Approve

func (_IBurnableToken *IBurnableTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IBurnableTokenTransactorSession) Burn

func (_IBurnableToken *IBurnableTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns(bool)

func (*IBurnableTokenTransactorSession) Mint

func (_IBurnableToken *IBurnableTokenTransactorSession) Mint(target common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address target, uint256 amount) returns(bool)

func (*IBurnableTokenTransactorSession) Mintable

func (_IBurnableToken *IBurnableTokenTransactorSession) Mintable() (*types.Transaction, error)

Mintable is a paid mutator transaction binding the contract method 0x4bf365df.

Solidity: function mintable() returns(bool)

func (*IBurnableTokenTransactorSession) Transfer

func (_IBurnableToken *IBurnableTokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*IBurnableTokenTransactorSession) TransferFrom

func (_IBurnableToken *IBurnableTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type IBurnableTokenTransfer

type IBurnableTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

IBurnableTokenTransfer represents a Transfer event raised by the IBurnableToken contract.

type IBurnableTokenTransferIterator

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

IBurnableTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IBurnableToken contract.

func (*IBurnableTokenTransferIterator) Close

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

func (*IBurnableTokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IBurnableTokenTransferIterator) 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 IERC20

type IERC20 struct {
	IERC20Caller     // Read-only binding to the contract
	IERC20Transactor // Write-only binding to the contract
	IERC20Filterer   // Log filterer for contract events
}

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

func NewIERC20

func NewIERC20(address common.Address, backend bind.ContractBackend) (*IERC20, error)

NewIERC20 creates a new instance of IERC20, bound to a specific deployed contract.

type IERC20Approval

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

IERC20Approval represents a Approval event raised by the IERC20 contract.

type IERC20ApprovalIterator

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

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

func (*IERC20ApprovalIterator) Close

func (it *IERC20ApprovalIterator) Close() error

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

func (*IERC20ApprovalIterator) Error

func (it *IERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20ApprovalIterator) Next

func (it *IERC20ApprovalIterator) 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 IERC20Caller

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

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

func NewIERC20Caller

func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)

NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Caller) Allowance

func (_IERC20 *IERC20Caller) 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)

func (*IERC20Caller) BalanceOf

func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

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

func (*IERC20Caller) Decimals

func (_IERC20 *IERC20Caller) 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 (*IERC20Caller) GetOwner

func (_IERC20 *IERC20Caller) 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 (*IERC20Caller) Name

func (_IERC20 *IERC20Caller) 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 (*IERC20Caller) Symbol

func (_IERC20 *IERC20Caller) 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 (*IERC20Caller) TotalSupply

func (_IERC20 *IERC20Caller) 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 IERC20CallerRaw

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

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

func (*IERC20CallerRaw) Call

func (_IERC20 *IERC20CallerRaw) 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 IERC20CallerSession

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

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

func (*IERC20CallerSession) Allowance

func (_IERC20 *IERC20CallerSession) 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)

func (*IERC20CallerSession) BalanceOf

func (_IERC20 *IERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*IERC20CallerSession) Decimals

func (_IERC20 *IERC20CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*IERC20CallerSession) GetOwner

func (_IERC20 *IERC20CallerSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*IERC20CallerSession) Name

func (_IERC20 *IERC20CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*IERC20CallerSession) Symbol

func (_IERC20 *IERC20CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*IERC20CallerSession) TotalSupply

func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type IERC20Filterer

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

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

func NewIERC20Filterer

func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)

NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.

func (*IERC20Filterer) FilterApproval

func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, 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 (*IERC20Filterer) FilterTransfer

func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, 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 (*IERC20Filterer) ParseApproval

func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) ParseTransfer

func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20Filterer) WatchApproval

func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, 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 (*IERC20Filterer) WatchTransfer

func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, 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)

type IERC20Raw

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

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

func (*IERC20Raw) Call

func (_IERC20 *IERC20Raw) 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 (*IERC20Raw) Transact

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

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

func (*IERC20Raw) Transfer

func (_IERC20 *IERC20Raw) 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 IERC20Session

type IERC20Session struct {
	Contract     *IERC20           // 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
}

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

func (*IERC20Session) Allowance

func (_IERC20 *IERC20Session) 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)

func (*IERC20Session) Approve

func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20Session) BalanceOf

func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*IERC20Session) Decimals

func (_IERC20 *IERC20Session) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*IERC20Session) GetOwner

func (_IERC20 *IERC20Session) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*IERC20Session) Name

func (_IERC20 *IERC20Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*IERC20Session) Symbol

func (_IERC20 *IERC20Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*IERC20Session) TotalSupply

func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*IERC20Session) Transfer

func (_IERC20 *IERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*IERC20Session) TransferFrom

func (_IERC20 *IERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type IERC20Transactor

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

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

func NewIERC20Transactor

func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)

NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Transactor) Approve

func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20Transactor) Transfer

func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*IERC20Transactor) TransferFrom

func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type IERC20TransactorRaw

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

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

func (*IERC20TransactorRaw) Transact

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

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

func (*IERC20TransactorRaw) Transfer

func (_IERC20 *IERC20TransactorRaw) 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 IERC20TransactorSession

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

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

func (*IERC20TransactorSession) Approve

func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20TransactorSession) Transfer

func (_IERC20 *IERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*IERC20TransactorSession) TransferFrom

func (_IERC20 *IERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type IERC20Transfer

type IERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

IERC20Transfer represents a Transfer event raised by the IERC20 contract.

type IERC20TransferIterator

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

IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.

func (*IERC20TransferIterator) Close

func (it *IERC20TransferIterator) Close() error

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

func (*IERC20TransferIterator) Error

func (it *IERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20TransferIterator) Next

func (it *IERC20TransferIterator) 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 IParams

type IParams struct {
	IParamsCaller     // Read-only binding to the contract
	IParamsTransactor // Write-only binding to the contract
	IParamsFilterer   // Log filterer for contract events
}

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

func NewIParams

func NewIParams(address common.Address, backend bind.ContractBackend) (*IParams, error)

NewIParams creates a new instance of IParams, bound to a specific deployed contract.

type IParamsCaller

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

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

func NewIParamsCaller

func NewIParamsCaller(address common.Address, caller bind.ContractCaller) (*IParamsCaller, error)

NewIParamsCaller creates a new read-only instance of IParams, bound to a specific deployed contract.

func (*IParamsCaller) DepositFeesBPS

func (_IParams *IParamsCaller) DepositFeesBPS(opts *bind.CallOpts) (uint8, error)

DepositFeesBPS is a free data retrieval call binding the contract method 0x42419255.

Solidity: function depositFeesBPS() view returns(uint8)

func (*IParamsCaller) ExpirationTime

func (_IParams *IParamsCaller) ExpirationTime(opts *bind.CallOpts) (*big.Int, error)

ExpirationTime is a free data retrieval call binding the contract method 0xda284dcc.

Solidity: function expirationTime() view returns(uint256)

func (*IParamsCaller) LoopCount

func (_IParams *IParamsCaller) LoopCount(opts *bind.CallOpts) (uint8, error)

LoopCount is a free data retrieval call binding the contract method 0xe91675b8.

Solidity: function loopCount() view returns(uint8)

func (*IParamsCaller) MinimumSwapAmountForWBTC

func (_IParams *IParamsCaller) MinimumSwapAmountForWBTC(opts *bind.CallOpts) (*big.Int, error)

MinimumSwapAmountForWBTC is a free data retrieval call binding the contract method 0x1411c5b7.

Solidity: function minimumSwapAmountForWBTC() view returns(uint256)

func (*IParamsCaller) NodeRewardsRatio

func (_IParams *IParamsCaller) NodeRewardsRatio(opts *bind.CallOpts) (uint8, error)

NodeRewardsRatio is a free data retrieval call binding the contract method 0x0b68134d.

Solidity: function nodeRewardsRatio() view returns(uint8)

func (*IParamsCaller) ParaswapAddress

func (_IParams *IParamsCaller) ParaswapAddress(opts *bind.CallOpts) (common.Address, error)

ParaswapAddress is a free data retrieval call binding the contract method 0xf10d7c35.

Solidity: function paraswapAddress() view returns(address)

func (*IParamsCaller) WithdrawalFeeBPS

func (_IParams *IParamsCaller) WithdrawalFeeBPS(opts *bind.CallOpts) (uint8, error)

WithdrawalFeeBPS is a free data retrieval call binding the contract method 0xb6268e5d.

Solidity: function withdrawalFeeBPS() view returns(uint8)

type IParamsCallerRaw

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

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

func (*IParamsCallerRaw) Call

func (_IParams *IParamsCallerRaw) 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 IParamsCallerSession

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

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

func (*IParamsCallerSession) DepositFeesBPS

func (_IParams *IParamsCallerSession) DepositFeesBPS() (uint8, error)

DepositFeesBPS is a free data retrieval call binding the contract method 0x42419255.

Solidity: function depositFeesBPS() view returns(uint8)

func (*IParamsCallerSession) ExpirationTime

func (_IParams *IParamsCallerSession) ExpirationTime() (*big.Int, error)

ExpirationTime is a free data retrieval call binding the contract method 0xda284dcc.

Solidity: function expirationTime() view returns(uint256)

func (*IParamsCallerSession) LoopCount

func (_IParams *IParamsCallerSession) LoopCount() (uint8, error)

LoopCount is a free data retrieval call binding the contract method 0xe91675b8.

Solidity: function loopCount() view returns(uint8)

func (*IParamsCallerSession) MinimumSwapAmountForWBTC

func (_IParams *IParamsCallerSession) MinimumSwapAmountForWBTC() (*big.Int, error)

MinimumSwapAmountForWBTC is a free data retrieval call binding the contract method 0x1411c5b7.

Solidity: function minimumSwapAmountForWBTC() view returns(uint256)

func (*IParamsCallerSession) NodeRewardsRatio

func (_IParams *IParamsCallerSession) NodeRewardsRatio() (uint8, error)

NodeRewardsRatio is a free data retrieval call binding the contract method 0x0b68134d.

Solidity: function nodeRewardsRatio() view returns(uint8)

func (*IParamsCallerSession) ParaswapAddress

func (_IParams *IParamsCallerSession) ParaswapAddress() (common.Address, error)

ParaswapAddress is a free data retrieval call binding the contract method 0xf10d7c35.

Solidity: function paraswapAddress() view returns(address)

func (*IParamsCallerSession) WithdrawalFeeBPS

func (_IParams *IParamsCallerSession) WithdrawalFeeBPS() (uint8, error)

WithdrawalFeeBPS is a free data retrieval call binding the contract method 0xb6268e5d.

Solidity: function withdrawalFeeBPS() view returns(uint8)

type IParamsFilterer

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

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

func NewIParamsFilterer

func NewIParamsFilterer(address common.Address, filterer bind.ContractFilterer) (*IParamsFilterer, error)

NewIParamsFilterer creates a new log filterer instance of IParams, bound to a specific deployed contract.

type IParamsRaw

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

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

func (*IParamsRaw) Call

func (_IParams *IParamsRaw) 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 (*IParamsRaw) Transact

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

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

func (*IParamsRaw) Transfer

func (_IParams *IParamsRaw) 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 IParamsSession

type IParamsSession struct {
	Contract     *IParams          // 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
}

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

func (*IParamsSession) DepositFeesBPS

func (_IParams *IParamsSession) DepositFeesBPS() (uint8, error)

DepositFeesBPS is a free data retrieval call binding the contract method 0x42419255.

Solidity: function depositFeesBPS() view returns(uint8)

func (*IParamsSession) ExpirationTime

func (_IParams *IParamsSession) ExpirationTime() (*big.Int, error)

ExpirationTime is a free data retrieval call binding the contract method 0xda284dcc.

Solidity: function expirationTime() view returns(uint256)

func (*IParamsSession) LoopCount

func (_IParams *IParamsSession) LoopCount() (uint8, error)

LoopCount is a free data retrieval call binding the contract method 0xe91675b8.

Solidity: function loopCount() view returns(uint8)

func (*IParamsSession) MinimumSwapAmountForWBTC

func (_IParams *IParamsSession) MinimumSwapAmountForWBTC() (*big.Int, error)

MinimumSwapAmountForWBTC is a free data retrieval call binding the contract method 0x1411c5b7.

Solidity: function minimumSwapAmountForWBTC() view returns(uint256)

func (*IParamsSession) NodeRewardsRatio

func (_IParams *IParamsSession) NodeRewardsRatio() (uint8, error)

NodeRewardsRatio is a free data retrieval call binding the contract method 0x0b68134d.

Solidity: function nodeRewardsRatio() view returns(uint8)

func (*IParamsSession) ParaswapAddress

func (_IParams *IParamsSession) ParaswapAddress() (common.Address, error)

ParaswapAddress is a free data retrieval call binding the contract method 0xf10d7c35.

Solidity: function paraswapAddress() view returns(address)

func (*IParamsSession) SetDepositFeesBPS

func (_IParams *IParamsSession) SetDepositFeesBPS(_depositFeesBPS uint8) (*types.Transaction, error)

SetDepositFeesBPS is a paid mutator transaction binding the contract method 0x6ce81f80.

Solidity: function setDepositFeesBPS(uint8 _depositFeesBPS) returns()

func (*IParamsSession) SetExpirationTime

func (_IParams *IParamsSession) SetExpirationTime(_expirationTime *big.Int) (*types.Transaction, error)

SetExpirationTime is a paid mutator transaction binding the contract method 0xc0cc365d.

Solidity: function setExpirationTime(uint256 _expirationTime) returns()

func (*IParamsSession) SetLoopCount

func (_IParams *IParamsSession) SetLoopCount(_loopCount uint8) (*types.Transaction, error)

SetLoopCount is a paid mutator transaction binding the contract method 0x56151c06.

Solidity: function setLoopCount(uint8 _loopCount) returns()

func (*IParamsSession) SetMinimumSwapAmountForWBTC

func (_IParams *IParamsSession) SetMinimumSwapAmountForWBTC(_minimumSwapAmountForWBTC *big.Int) (*types.Transaction, error)

SetMinimumSwapAmountForWBTC is a paid mutator transaction binding the contract method 0x5f79ec58.

Solidity: function setMinimumSwapAmountForWBTC(uint256 _minimumSwapAmountForWBTC) returns()

func (*IParamsSession) SetNodeRewardsRatio

func (_IParams *IParamsSession) SetNodeRewardsRatio(_nodeRewardsRatio uint8) (*types.Transaction, error)

SetNodeRewardsRatio is a paid mutator transaction binding the contract method 0xa0011cd4.

Solidity: function setNodeRewardsRatio(uint8 _nodeRewardsRatio) returns()

func (*IParamsSession) SetParaswapAddress

func (_IParams *IParamsSession) SetParaswapAddress(_paraswapAddress common.Address) (*types.Transaction, error)

SetParaswapAddress is a paid mutator transaction binding the contract method 0xfb278493.

Solidity: function setParaswapAddress(address _paraswapAddress) returns()

func (*IParamsSession) SetWithdrawalFeeBPS

func (_IParams *IParamsSession) SetWithdrawalFeeBPS(_withdrawalFeeBPS uint8) (*types.Transaction, error)

SetWithdrawalFeeBPS is a paid mutator transaction binding the contract method 0xdd62a515.

Solidity: function setWithdrawalFeeBPS(uint8 _withdrawalFeeBPS) returns()

func (*IParamsSession) WithdrawalFeeBPS

func (_IParams *IParamsSession) WithdrawalFeeBPS() (uint8, error)

WithdrawalFeeBPS is a free data retrieval call binding the contract method 0xb6268e5d.

Solidity: function withdrawalFeeBPS() view returns(uint8)

type IParamsTransactor

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

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

func NewIParamsTransactor

func NewIParamsTransactor(address common.Address, transactor bind.ContractTransactor) (*IParamsTransactor, error)

NewIParamsTransactor creates a new write-only instance of IParams, bound to a specific deployed contract.

func (*IParamsTransactor) SetDepositFeesBPS

func (_IParams *IParamsTransactor) SetDepositFeesBPS(opts *bind.TransactOpts, _depositFeesBPS uint8) (*types.Transaction, error)

SetDepositFeesBPS is a paid mutator transaction binding the contract method 0x6ce81f80.

Solidity: function setDepositFeesBPS(uint8 _depositFeesBPS) returns()

func (*IParamsTransactor) SetExpirationTime

func (_IParams *IParamsTransactor) SetExpirationTime(opts *bind.TransactOpts, _expirationTime *big.Int) (*types.Transaction, error)

SetExpirationTime is a paid mutator transaction binding the contract method 0xc0cc365d.

Solidity: function setExpirationTime(uint256 _expirationTime) returns()

func (*IParamsTransactor) SetLoopCount

func (_IParams *IParamsTransactor) SetLoopCount(opts *bind.TransactOpts, _loopCount uint8) (*types.Transaction, error)

SetLoopCount is a paid mutator transaction binding the contract method 0x56151c06.

Solidity: function setLoopCount(uint8 _loopCount) returns()

func (*IParamsTransactor) SetMinimumSwapAmountForWBTC

func (_IParams *IParamsTransactor) SetMinimumSwapAmountForWBTC(opts *bind.TransactOpts, _minimumSwapAmountForWBTC *big.Int) (*types.Transaction, error)

SetMinimumSwapAmountForWBTC is a paid mutator transaction binding the contract method 0x5f79ec58.

Solidity: function setMinimumSwapAmountForWBTC(uint256 _minimumSwapAmountForWBTC) returns()

func (*IParamsTransactor) SetNodeRewardsRatio

func (_IParams *IParamsTransactor) SetNodeRewardsRatio(opts *bind.TransactOpts, _nodeRewardsRatio uint8) (*types.Transaction, error)

SetNodeRewardsRatio is a paid mutator transaction binding the contract method 0xa0011cd4.

Solidity: function setNodeRewardsRatio(uint8 _nodeRewardsRatio) returns()

func (*IParamsTransactor) SetParaswapAddress

func (_IParams *IParamsTransactor) SetParaswapAddress(opts *bind.TransactOpts, _paraswapAddress common.Address) (*types.Transaction, error)

SetParaswapAddress is a paid mutator transaction binding the contract method 0xfb278493.

Solidity: function setParaswapAddress(address _paraswapAddress) returns()

func (*IParamsTransactor) SetWithdrawalFeeBPS

func (_IParams *IParamsTransactor) SetWithdrawalFeeBPS(opts *bind.TransactOpts, _withdrawalFeeBPS uint8) (*types.Transaction, error)

SetWithdrawalFeeBPS is a paid mutator transaction binding the contract method 0xdd62a515.

Solidity: function setWithdrawalFeeBPS(uint8 _withdrawalFeeBPS) returns()

type IParamsTransactorRaw

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

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

func (*IParamsTransactorRaw) Transact

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

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

func (*IParamsTransactorRaw) Transfer

func (_IParams *IParamsTransactorRaw) 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 IParamsTransactorSession

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

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

func (*IParamsTransactorSession) SetDepositFeesBPS

func (_IParams *IParamsTransactorSession) SetDepositFeesBPS(_depositFeesBPS uint8) (*types.Transaction, error)

SetDepositFeesBPS is a paid mutator transaction binding the contract method 0x6ce81f80.

Solidity: function setDepositFeesBPS(uint8 _depositFeesBPS) returns()

func (*IParamsTransactorSession) SetExpirationTime

func (_IParams *IParamsTransactorSession) SetExpirationTime(_expirationTime *big.Int) (*types.Transaction, error)

SetExpirationTime is a paid mutator transaction binding the contract method 0xc0cc365d.

Solidity: function setExpirationTime(uint256 _expirationTime) returns()

func (*IParamsTransactorSession) SetLoopCount

func (_IParams *IParamsTransactorSession) SetLoopCount(_loopCount uint8) (*types.Transaction, error)

SetLoopCount is a paid mutator transaction binding the contract method 0x56151c06.

Solidity: function setLoopCount(uint8 _loopCount) returns()

func (*IParamsTransactorSession) SetMinimumSwapAmountForWBTC

func (_IParams *IParamsTransactorSession) SetMinimumSwapAmountForWBTC(_minimumSwapAmountForWBTC *big.Int) (*types.Transaction, error)

SetMinimumSwapAmountForWBTC is a paid mutator transaction binding the contract method 0x5f79ec58.

Solidity: function setMinimumSwapAmountForWBTC(uint256 _minimumSwapAmountForWBTC) returns()

func (*IParamsTransactorSession) SetNodeRewardsRatio

func (_IParams *IParamsTransactorSession) SetNodeRewardsRatio(_nodeRewardsRatio uint8) (*types.Transaction, error)

SetNodeRewardsRatio is a paid mutator transaction binding the contract method 0xa0011cd4.

Solidity: function setNodeRewardsRatio(uint8 _nodeRewardsRatio) returns()

func (*IParamsTransactorSession) SetParaswapAddress

func (_IParams *IParamsTransactorSession) SetParaswapAddress(_paraswapAddress common.Address) (*types.Transaction, error)

SetParaswapAddress is a paid mutator transaction binding the contract method 0xfb278493.

Solidity: function setParaswapAddress(address _paraswapAddress) returns()

func (*IParamsTransactorSession) SetWithdrawalFeeBPS

func (_IParams *IParamsTransactorSession) SetWithdrawalFeeBPS(_withdrawalFeeBPS uint8) (*types.Transaction, error)

SetWithdrawalFeeBPS is a paid mutator transaction binding the contract method 0xdd62a515.

Solidity: function setWithdrawalFeeBPS(uint8 _withdrawalFeeBPS) returns()

type IParaswap

type IParaswap struct {
	IParaswapCaller     // Read-only binding to the contract
	IParaswapTransactor // Write-only binding to the contract
	IParaswapFilterer   // Log filterer for contract events
}

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

func NewIParaswap

func NewIParaswap(address common.Address, backend bind.ContractBackend) (*IParaswap, error)

NewIParaswap creates a new instance of IParaswap, bound to a specific deployed contract.

type IParaswapCaller

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

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

func NewIParaswapCaller

func NewIParaswapCaller(address common.Address, caller bind.ContractCaller) (*IParaswapCaller, error)

NewIParaswapCaller creates a new read-only instance of IParaswap, bound to a specific deployed contract.

type IParaswapCallerRaw

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

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

func (*IParaswapCallerRaw) Call

func (_IParaswap *IParaswapCallerRaw) 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 IParaswapCallerSession

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

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

type IParaswapFilterer

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

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

func NewIParaswapFilterer

func NewIParaswapFilterer(address common.Address, filterer bind.ContractFilterer) (*IParaswapFilterer, error)

NewIParaswapFilterer creates a new log filterer instance of IParaswap, bound to a specific deployed contract.

type IParaswapRaw

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

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

func (*IParaswapRaw) Call

func (_IParaswap *IParaswapRaw) 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 (*IParaswapRaw) Transact

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

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

func (*IParaswapRaw) Transfer

func (_IParaswap *IParaswapRaw) 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 IParaswapSession

type IParaswapSession struct {
	Contract     *IParaswap        // 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
}

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

func (*IParaswapSession) BuyOnUniswap

func (_IParaswap *IParaswapSession) BuyOnUniswap(amountInMax *big.Int, amountOut *big.Int, path []common.Address) (*types.Transaction, error)

BuyOnUniswap is a paid mutator transaction binding the contract method 0x935fb84b.

Solidity: function buyOnUniswap(uint256 amountInMax, uint256 amountOut, address[] path) payable returns()

func (*IParaswapSession) BuyOnUniswapFork

func (_IParaswap *IParaswapSession) BuyOnUniswapFork(factory common.Address, initCode [32]byte, amountInMax *big.Int, amountOut *big.Int, path []common.Address) (*types.Transaction, error)

BuyOnUniswapFork is a paid mutator transaction binding the contract method 0xc03786b0.

Solidity: function buyOnUniswapFork(address factory, bytes32 initCode, uint256 amountInMax, uint256 amountOut, address[] path) payable returns()

func (*IParaswapSession) BuyOnUniswapV2Fork

func (_IParaswap *IParaswapSession) BuyOnUniswapV2Fork(tokenIn common.Address, amountInMax *big.Int, amountOut *big.Int, weth common.Address, pools []*big.Int) (*types.Transaction, error)

BuyOnUniswapV2Fork is a paid mutator transaction binding the contract method 0xb2f1e6db.

Solidity: function buyOnUniswapV2Fork(address tokenIn, uint256 amountInMax, uint256 amountOut, address weth, uint256[] pools) payable returns()

func (*IParaswapSession) MegaSwap

func (_IParaswap *IParaswapSession) MegaSwap(data UtilsMegaSwapSellData) (*types.Transaction, error)

MegaSwap is a paid mutator transaction binding the contract method 0x46c67b6d.

Solidity: function megaSwap((address,uint256,uint256,uint256,address,(uint256,(address,uint256,(address,uint256,uint256,(uint256,address,uint256,bytes,uint256)[])[])[])[],address,uint256,bytes,uint256,bytes16) data) payable returns(uint256)

func (*IParaswapSession) MultiSwap

func (_IParaswap *IParaswapSession) MultiSwap(data UtilsSellData) (*types.Transaction, error)

MultiSwap is a paid mutator transaction binding the contract method 0xa94e78ef.

Solidity: function multiSwap((address,uint256,uint256,uint256,address,(address,uint256,(address,uint256,uint256,(uint256,address,uint256,bytes,uint256)[])[])[],address,uint256,bytes,uint256,bytes16) data) payable returns(uint256)

func (*IParaswapSession) ProtectedMegaSwap

func (_IParaswap *IParaswapSession) ProtectedMegaSwap(data UtilsMegaSwapSellData) (*types.Transaction, error)

ProtectedMegaSwap is a paid mutator transaction binding the contract method 0x37809db4.

Solidity: function protectedMegaSwap((address,uint256,uint256,uint256,address,(uint256,(address,uint256,(address,uint256,uint256,(uint256,address,uint256,bytes,uint256)[])[])[])[],address,uint256,bytes,uint256,bytes16) data) payable returns(uint256)

func (*IParaswapSession) ProtectedMultiSwap

func (_IParaswap *IParaswapSession) ProtectedMultiSwap(data UtilsSellData) (*types.Transaction, error)

ProtectedMultiSwap is a paid mutator transaction binding the contract method 0x2478ba3e.

Solidity: function protectedMultiSwap((address,uint256,uint256,uint256,address,(address,uint256,(address,uint256,uint256,(uint256,address,uint256,bytes,uint256)[])[])[],address,uint256,bytes,uint256,bytes16) data) payable returns(uint256)

func (*IParaswapSession) ProtectedSimpleBuy

func (_IParaswap *IParaswapSession) ProtectedSimpleBuy(data UtilsSimpleData) (*types.Transaction, error)

ProtectedSimpleBuy is a paid mutator transaction binding the contract method 0xfab13517.

Solidity: function protectedSimpleBuy((address,address,uint256,uint256,uint256,address[],bytes,uint256[],uint256[],address,address,uint256,bytes,uint256,bytes16) data) payable returns()

func (*IParaswapSession) ProtectedSimpleSwap

func (_IParaswap *IParaswapSession) ProtectedSimpleSwap(data UtilsSimpleData) (*types.Transaction, error)

ProtectedSimpleSwap is a paid mutator transaction binding the contract method 0xa8795e3d.

Solidity: function protectedSimpleSwap((address,address,uint256,uint256,uint256,address[],bytes,uint256[],uint256[],address,address,uint256,bytes,uint256,bytes16) data) payable returns(uint256 receivedAmount)

func (*IParaswapSession) SimpleBuy

func (_IParaswap *IParaswapSession) SimpleBuy(data UtilsSimpleData) (*types.Transaction, error)

SimpleBuy is a paid mutator transaction binding the contract method 0x2298207a.

Solidity: function simpleBuy((address,address,uint256,uint256,uint256,address[],bytes,uint256[],uint256[],address,address,uint256,bytes,uint256,bytes16) data) payable returns()

func (*IParaswapSession) SimpleSwap

func (_IParaswap *IParaswapSession) SimpleSwap(data UtilsSimpleData) (*types.Transaction, error)

SimpleSwap is a paid mutator transaction binding the contract method 0x54e3f31b.

Solidity: function simpleSwap((address,address,uint256,uint256,uint256,address[],bytes,uint256[],uint256[],address,address,uint256,bytes,uint256,bytes16) data) payable returns(uint256 receivedAmount)

func (*IParaswapSession) SwapOnUniswap

func (_IParaswap *IParaswapSession) SwapOnUniswap(amountIn *big.Int, amountOutMin *big.Int, path []common.Address) (*types.Transaction, error)

SwapOnUniswap is a paid mutator transaction binding the contract method 0x54840d1a.

Solidity: function swapOnUniswap(uint256 amountIn, uint256 amountOutMin, address[] path) payable returns()

func (*IParaswapSession) SwapOnUniswapFork

func (_IParaswap *IParaswapSession) SwapOnUniswapFork(factory common.Address, initCode [32]byte, amountIn *big.Int, amountOutMin *big.Int, path []common.Address) (*types.Transaction, error)

SwapOnUniswapFork is a paid mutator transaction binding the contract method 0xf5661034.

Solidity: function swapOnUniswapFork(address factory, bytes32 initCode, uint256 amountIn, uint256 amountOutMin, address[] path) payable returns()

func (*IParaswapSession) SwapOnUniswapV2Fork

func (_IParaswap *IParaswapSession) SwapOnUniswapV2Fork(tokenIn common.Address, amountIn *big.Int, amountOutMin *big.Int, weth common.Address, pools []*big.Int) (*types.Transaction, error)

SwapOnUniswapV2Fork is a paid mutator transaction binding the contract method 0x0b86a4c1.

Solidity: function swapOnUniswapV2Fork(address tokenIn, uint256 amountIn, uint256 amountOutMin, address weth, uint256[] pools) payable returns()

func (*IParaswapSession) SwapOnZeroXv2

func (_IParaswap *IParaswapSession) SwapOnZeroXv2(fromToken common.Address, toToken common.Address, fromAmount *big.Int, amountOutMin *big.Int, exchange common.Address, payload []byte) (*types.Transaction, error)

SwapOnZeroXv2 is a paid mutator transaction binding the contract method 0x81033120.

Solidity: function swapOnZeroXv2(address fromToken, address toToken, uint256 fromAmount, uint256 amountOutMin, address exchange, bytes payload) payable returns()

func (*IParaswapSession) SwapOnZeroXv4

func (_IParaswap *IParaswapSession) SwapOnZeroXv4(fromToken common.Address, toToken common.Address, fromAmount *big.Int, amountOutMin *big.Int, exchange common.Address, payload []byte) (*types.Transaction, error)

SwapOnZeroXv4 is a paid mutator transaction binding the contract method 0x64466805.

Solidity: function swapOnZeroXv4(address fromToken, address toToken, uint256 fromAmount, uint256 amountOutMin, address exchange, bytes payload) payable returns()

type IParaswapTransactor

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

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

func NewIParaswapTransactor

func NewIParaswapTransactor(address common.Address, transactor bind.ContractTransactor) (*IParaswapTransactor, error)

NewIParaswapTransactor creates a new write-only instance of IParaswap, bound to a specific deployed contract.

func (*IParaswapTransactor) BuyOnUniswap

func (_IParaswap *IParaswapTransactor) BuyOnUniswap(opts *bind.TransactOpts, amountInMax *big.Int, amountOut *big.Int, path []common.Address) (*types.Transaction, error)

BuyOnUniswap is a paid mutator transaction binding the contract method 0x935fb84b.

Solidity: function buyOnUniswap(uint256 amountInMax, uint256 amountOut, address[] path) payable returns()

func (*IParaswapTransactor) BuyOnUniswapFork

func (_IParaswap *IParaswapTransactor) BuyOnUniswapFork(opts *bind.TransactOpts, factory common.Address, initCode [32]byte, amountInMax *big.Int, amountOut *big.Int, path []common.Address) (*types.Transaction, error)

BuyOnUniswapFork is a paid mutator transaction binding the contract method 0xc03786b0.

Solidity: function buyOnUniswapFork(address factory, bytes32 initCode, uint256 amountInMax, uint256 amountOut, address[] path) payable returns()

func (*IParaswapTransactor) BuyOnUniswapV2Fork

func (_IParaswap *IParaswapTransactor) BuyOnUniswapV2Fork(opts *bind.TransactOpts, tokenIn common.Address, amountInMax *big.Int, amountOut *big.Int, weth common.Address, pools []*big.Int) (*types.Transaction, error)

BuyOnUniswapV2Fork is a paid mutator transaction binding the contract method 0xb2f1e6db.

Solidity: function buyOnUniswapV2Fork(address tokenIn, uint256 amountInMax, uint256 amountOut, address weth, uint256[] pools) payable returns()

func (*IParaswapTransactor) MegaSwap

func (_IParaswap *IParaswapTransactor) MegaSwap(opts *bind.TransactOpts, data UtilsMegaSwapSellData) (*types.Transaction, error)

MegaSwap is a paid mutator transaction binding the contract method 0x46c67b6d.

Solidity: function megaSwap((address,uint256,uint256,uint256,address,(uint256,(address,uint256,(address,uint256,uint256,(uint256,address,uint256,bytes,uint256)[])[])[])[],address,uint256,bytes,uint256,bytes16) data) payable returns(uint256)

func (*IParaswapTransactor) MultiSwap

func (_IParaswap *IParaswapTransactor) MultiSwap(opts *bind.TransactOpts, data UtilsSellData) (*types.Transaction, error)

MultiSwap is a paid mutator transaction binding the contract method 0xa94e78ef.

Solidity: function multiSwap((address,uint256,uint256,uint256,address,(address,uint256,(address,uint256,uint256,(uint256,address,uint256,bytes,uint256)[])[])[],address,uint256,bytes,uint256,bytes16) data) payable returns(uint256)

func (*IParaswapTransactor) ProtectedMegaSwap

func (_IParaswap *IParaswapTransactor) ProtectedMegaSwap(opts *bind.TransactOpts, data UtilsMegaSwapSellData) (*types.Transaction, error)

ProtectedMegaSwap is a paid mutator transaction binding the contract method 0x37809db4.

Solidity: function protectedMegaSwap((address,uint256,uint256,uint256,address,(uint256,(address,uint256,(address,uint256,uint256,(uint256,address,uint256,bytes,uint256)[])[])[])[],address,uint256,bytes,uint256,bytes16) data) payable returns(uint256)

func (*IParaswapTransactor) ProtectedMultiSwap

func (_IParaswap *IParaswapTransactor) ProtectedMultiSwap(opts *bind.TransactOpts, data UtilsSellData) (*types.Transaction, error)

ProtectedMultiSwap is a paid mutator transaction binding the contract method 0x2478ba3e.

Solidity: function protectedMultiSwap((address,uint256,uint256,uint256,address,(address,uint256,(address,uint256,uint256,(uint256,address,uint256,bytes,uint256)[])[])[],address,uint256,bytes,uint256,bytes16) data) payable returns(uint256)

func (*IParaswapTransactor) ProtectedSimpleBuy

func (_IParaswap *IParaswapTransactor) ProtectedSimpleBuy(opts *bind.TransactOpts, data UtilsSimpleData) (*types.Transaction, error)

ProtectedSimpleBuy is a paid mutator transaction binding the contract method 0xfab13517.

Solidity: function protectedSimpleBuy((address,address,uint256,uint256,uint256,address[],bytes,uint256[],uint256[],address,address,uint256,bytes,uint256,bytes16) data) payable returns()

func (*IParaswapTransactor) ProtectedSimpleSwap

func (_IParaswap *IParaswapTransactor) ProtectedSimpleSwap(opts *bind.TransactOpts, data UtilsSimpleData) (*types.Transaction, error)

ProtectedSimpleSwap is a paid mutator transaction binding the contract method 0xa8795e3d.

Solidity: function protectedSimpleSwap((address,address,uint256,uint256,uint256,address[],bytes,uint256[],uint256[],address,address,uint256,bytes,uint256,bytes16) data) payable returns(uint256 receivedAmount)

func (*IParaswapTransactor) SimpleBuy

func (_IParaswap *IParaswapTransactor) SimpleBuy(opts *bind.TransactOpts, data UtilsSimpleData) (*types.Transaction, error)

SimpleBuy is a paid mutator transaction binding the contract method 0x2298207a.

Solidity: function simpleBuy((address,address,uint256,uint256,uint256,address[],bytes,uint256[],uint256[],address,address,uint256,bytes,uint256,bytes16) data) payable returns()

func (*IParaswapTransactor) SimpleSwap

func (_IParaswap *IParaswapTransactor) SimpleSwap(opts *bind.TransactOpts, data UtilsSimpleData) (*types.Transaction, error)

SimpleSwap is a paid mutator transaction binding the contract method 0x54e3f31b.

Solidity: function simpleSwap((address,address,uint256,uint256,uint256,address[],bytes,uint256[],uint256[],address,address,uint256,bytes,uint256,bytes16) data) payable returns(uint256 receivedAmount)

func (*IParaswapTransactor) SwapOnUniswap

func (_IParaswap *IParaswapTransactor) SwapOnUniswap(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address) (*types.Transaction, error)

SwapOnUniswap is a paid mutator transaction binding the contract method 0x54840d1a.

Solidity: function swapOnUniswap(uint256 amountIn, uint256 amountOutMin, address[] path) payable returns()

func (*IParaswapTransactor) SwapOnUniswapFork

func (_IParaswap *IParaswapTransactor) SwapOnUniswapFork(opts *bind.TransactOpts, factory common.Address, initCode [32]byte, amountIn *big.Int, amountOutMin *big.Int, path []common.Address) (*types.Transaction, error)

SwapOnUniswapFork is a paid mutator transaction binding the contract method 0xf5661034.

Solidity: function swapOnUniswapFork(address factory, bytes32 initCode, uint256 amountIn, uint256 amountOutMin, address[] path) payable returns()

func (*IParaswapTransactor) SwapOnUniswapV2Fork

func (_IParaswap *IParaswapTransactor) SwapOnUniswapV2Fork(opts *bind.TransactOpts, tokenIn common.Address, amountIn *big.Int, amountOutMin *big.Int, weth common.Address, pools []*big.Int) (*types.Transaction, error)

SwapOnUniswapV2Fork is a paid mutator transaction binding the contract method 0x0b86a4c1.

Solidity: function swapOnUniswapV2Fork(address tokenIn, uint256 amountIn, uint256 amountOutMin, address weth, uint256[] pools) payable returns()

func (*IParaswapTransactor) SwapOnZeroXv2

func (_IParaswap *IParaswapTransactor) SwapOnZeroXv2(opts *bind.TransactOpts, fromToken common.Address, toToken common.Address, fromAmount *big.Int, amountOutMin *big.Int, exchange common.Address, payload []byte) (*types.Transaction, error)

SwapOnZeroXv2 is a paid mutator transaction binding the contract method 0x81033120.

Solidity: function swapOnZeroXv2(address fromToken, address toToken, uint256 fromAmount, uint256 amountOutMin, address exchange, bytes payload) payable returns()

func (*IParaswapTransactor) SwapOnZeroXv4

func (_IParaswap *IParaswapTransactor) SwapOnZeroXv4(opts *bind.TransactOpts, fromToken common.Address, toToken common.Address, fromAmount *big.Int, amountOutMin *big.Int, exchange common.Address, payload []byte) (*types.Transaction, error)

SwapOnZeroXv4 is a paid mutator transaction binding the contract method 0x64466805.

Solidity: function swapOnZeroXv4(address fromToken, address toToken, uint256 fromAmount, uint256 amountOutMin, address exchange, bytes payload) payable returns()

type IParaswapTransactorRaw

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

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

func (*IParaswapTransactorRaw) Transact

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

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

func (*IParaswapTransactorRaw) Transfer

func (_IParaswap *IParaswapTransactorRaw) 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 IParaswapTransactorSession

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

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

func (*IParaswapTransactorSession) BuyOnUniswap

func (_IParaswap *IParaswapTransactorSession) BuyOnUniswap(amountInMax *big.Int, amountOut *big.Int, path []common.Address) (*types.Transaction, error)

BuyOnUniswap is a paid mutator transaction binding the contract method 0x935fb84b.

Solidity: function buyOnUniswap(uint256 amountInMax, uint256 amountOut, address[] path) payable returns()

func (*IParaswapTransactorSession) BuyOnUniswapFork

func (_IParaswap *IParaswapTransactorSession) BuyOnUniswapFork(factory common.Address, initCode [32]byte, amountInMax *big.Int, amountOut *big.Int, path []common.Address) (*types.Transaction, error)

BuyOnUniswapFork is a paid mutator transaction binding the contract method 0xc03786b0.

Solidity: function buyOnUniswapFork(address factory, bytes32 initCode, uint256 amountInMax, uint256 amountOut, address[] path) payable returns()

func (*IParaswapTransactorSession) BuyOnUniswapV2Fork

func (_IParaswap *IParaswapTransactorSession) BuyOnUniswapV2Fork(tokenIn common.Address, amountInMax *big.Int, amountOut *big.Int, weth common.Address, pools []*big.Int) (*types.Transaction, error)

BuyOnUniswapV2Fork is a paid mutator transaction binding the contract method 0xb2f1e6db.

Solidity: function buyOnUniswapV2Fork(address tokenIn, uint256 amountInMax, uint256 amountOut, address weth, uint256[] pools) payable returns()

func (*IParaswapTransactorSession) MegaSwap

MegaSwap is a paid mutator transaction binding the contract method 0x46c67b6d.

Solidity: function megaSwap((address,uint256,uint256,uint256,address,(uint256,(address,uint256,(address,uint256,uint256,(uint256,address,uint256,bytes,uint256)[])[])[])[],address,uint256,bytes,uint256,bytes16) data) payable returns(uint256)

func (*IParaswapTransactorSession) MultiSwap

func (_IParaswap *IParaswapTransactorSession) MultiSwap(data UtilsSellData) (*types.Transaction, error)

MultiSwap is a paid mutator transaction binding the contract method 0xa94e78ef.

Solidity: function multiSwap((address,uint256,uint256,uint256,address,(address,uint256,(address,uint256,uint256,(uint256,address,uint256,bytes,uint256)[])[])[],address,uint256,bytes,uint256,bytes16) data) payable returns(uint256)

func (*IParaswapTransactorSession) ProtectedMegaSwap

func (_IParaswap *IParaswapTransactorSession) ProtectedMegaSwap(data UtilsMegaSwapSellData) (*types.Transaction, error)

ProtectedMegaSwap is a paid mutator transaction binding the contract method 0x37809db4.

Solidity: function protectedMegaSwap((address,uint256,uint256,uint256,address,(uint256,(address,uint256,(address,uint256,uint256,(uint256,address,uint256,bytes,uint256)[])[])[])[],address,uint256,bytes,uint256,bytes16) data) payable returns(uint256)

func (*IParaswapTransactorSession) ProtectedMultiSwap

func (_IParaswap *IParaswapTransactorSession) ProtectedMultiSwap(data UtilsSellData) (*types.Transaction, error)

ProtectedMultiSwap is a paid mutator transaction binding the contract method 0x2478ba3e.

Solidity: function protectedMultiSwap((address,uint256,uint256,uint256,address,(address,uint256,(address,uint256,uint256,(uint256,address,uint256,bytes,uint256)[])[])[],address,uint256,bytes,uint256,bytes16) data) payable returns(uint256)

func (*IParaswapTransactorSession) ProtectedSimpleBuy

func (_IParaswap *IParaswapTransactorSession) ProtectedSimpleBuy(data UtilsSimpleData) (*types.Transaction, error)

ProtectedSimpleBuy is a paid mutator transaction binding the contract method 0xfab13517.

Solidity: function protectedSimpleBuy((address,address,uint256,uint256,uint256,address[],bytes,uint256[],uint256[],address,address,uint256,bytes,uint256,bytes16) data) payable returns()

func (*IParaswapTransactorSession) ProtectedSimpleSwap

func (_IParaswap *IParaswapTransactorSession) ProtectedSimpleSwap(data UtilsSimpleData) (*types.Transaction, error)

ProtectedSimpleSwap is a paid mutator transaction binding the contract method 0xa8795e3d.

Solidity: function protectedSimpleSwap((address,address,uint256,uint256,uint256,address[],bytes,uint256[],uint256[],address,address,uint256,bytes,uint256,bytes16) data) payable returns(uint256 receivedAmount)

func (*IParaswapTransactorSession) SimpleBuy

func (_IParaswap *IParaswapTransactorSession) SimpleBuy(data UtilsSimpleData) (*types.Transaction, error)

SimpleBuy is a paid mutator transaction binding the contract method 0x2298207a.

Solidity: function simpleBuy((address,address,uint256,uint256,uint256,address[],bytes,uint256[],uint256[],address,address,uint256,bytes,uint256,bytes16) data) payable returns()

func (*IParaswapTransactorSession) SimpleSwap

func (_IParaswap *IParaswapTransactorSession) SimpleSwap(data UtilsSimpleData) (*types.Transaction, error)

SimpleSwap is a paid mutator transaction binding the contract method 0x54e3f31b.

Solidity: function simpleSwap((address,address,uint256,uint256,uint256,address[],bytes,uint256[],uint256[],address,address,uint256,bytes,uint256,bytes16) data) payable returns(uint256 receivedAmount)

func (*IParaswapTransactorSession) SwapOnUniswap

func (_IParaswap *IParaswapTransactorSession) SwapOnUniswap(amountIn *big.Int, amountOutMin *big.Int, path []common.Address) (*types.Transaction, error)

SwapOnUniswap is a paid mutator transaction binding the contract method 0x54840d1a.

Solidity: function swapOnUniswap(uint256 amountIn, uint256 amountOutMin, address[] path) payable returns()

func (*IParaswapTransactorSession) SwapOnUniswapFork

func (_IParaswap *IParaswapTransactorSession) SwapOnUniswapFork(factory common.Address, initCode [32]byte, amountIn *big.Int, amountOutMin *big.Int, path []common.Address) (*types.Transaction, error)

SwapOnUniswapFork is a paid mutator transaction binding the contract method 0xf5661034.

Solidity: function swapOnUniswapFork(address factory, bytes32 initCode, uint256 amountIn, uint256 amountOutMin, address[] path) payable returns()

func (*IParaswapTransactorSession) SwapOnUniswapV2Fork

func (_IParaswap *IParaswapTransactorSession) SwapOnUniswapV2Fork(tokenIn common.Address, amountIn *big.Int, amountOutMin *big.Int, weth common.Address, pools []*big.Int) (*types.Transaction, error)

SwapOnUniswapV2Fork is a paid mutator transaction binding the contract method 0x0b86a4c1.

Solidity: function swapOnUniswapV2Fork(address tokenIn, uint256 amountIn, uint256 amountOutMin, address weth, uint256[] pools) payable returns()

func (*IParaswapTransactorSession) SwapOnZeroXv2

func (_IParaswap *IParaswapTransactorSession) SwapOnZeroXv2(fromToken common.Address, toToken common.Address, fromAmount *big.Int, amountOutMin *big.Int, exchange common.Address, payload []byte) (*types.Transaction, error)

SwapOnZeroXv2 is a paid mutator transaction binding the contract method 0x81033120.

Solidity: function swapOnZeroXv2(address fromToken, address toToken, uint256 fromAmount, uint256 amountOutMin, address exchange, bytes payload) payable returns()

func (*IParaswapTransactorSession) SwapOnZeroXv4

func (_IParaswap *IParaswapTransactorSession) SwapOnZeroXv4(fromToken common.Address, toToken common.Address, fromAmount *big.Int, amountOutMin *big.Int, exchange common.Address, payload []byte) (*types.Transaction, error)

SwapOnZeroXv4 is a paid mutator transaction binding the contract method 0x64466805.

Solidity: function swapOnZeroXv4(address fromToken, address toToken, uint256 fromAmount, uint256 amountOutMin, address exchange, bytes payload) payable returns()

type ISwapContract

type ISwapContract struct {
	ISwapContractCaller     // Read-only binding to the contract
	ISwapContractTransactor // Write-only binding to the contract
	ISwapContractFilterer   // Log filterer for contract events
}

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

func NewISwapContract

func NewISwapContract(address common.Address, backend bind.ContractBackend) (*ISwapContract, error)

NewISwapContract creates a new instance of ISwapContract, bound to a specific deployed contract.

type ISwapContractCaller

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

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

func NewISwapContractCaller

func NewISwapContractCaller(address common.Address, caller bind.ContractCaller) (*ISwapContractCaller, error)

NewISwapContractCaller creates a new read-only instance of ISwapContract, bound to a specific deployed contract.

func (*ISwapContractCaller) GetActiveNodes

func (_ISwapContract *ISwapContractCaller) GetActiveNodes(opts *bind.CallOpts) ([]common.Address, error)

GetActiveNodes is a free data retrieval call binding the contract method 0x6b51e919.

Solidity: function getActiveNodes() view returns(address[])

func (*ISwapContractCaller) GetCurrentPriceLP

func (_ISwapContract *ISwapContractCaller) GetCurrentPriceLP(opts *bind.CallOpts) (*big.Int, error)

GetCurrentPriceLP is a free data retrieval call binding the contract method 0x45137e27.

Solidity: function getCurrentPriceLP() view returns(uint256)

func (*ISwapContractCaller) IsTxUsed

func (_ISwapContract *ISwapContractCaller) IsTxUsed(opts *bind.CallOpts, _txid [32]byte) (bool, error)

IsTxUsed is a free data retrieval call binding the contract method 0xe6ca2084.

Solidity: function isTxUsed(bytes32 _txid) view returns(bool)

type ISwapContractCallerRaw

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

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

func (*ISwapContractCallerRaw) Call

func (_ISwapContract *ISwapContractCallerRaw) 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 ISwapContractCallerSession

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

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

func (*ISwapContractCallerSession) GetActiveNodes

func (_ISwapContract *ISwapContractCallerSession) GetActiveNodes() ([]common.Address, error)

GetActiveNodes is a free data retrieval call binding the contract method 0x6b51e919.

Solidity: function getActiveNodes() view returns(address[])

func (*ISwapContractCallerSession) GetCurrentPriceLP

func (_ISwapContract *ISwapContractCallerSession) GetCurrentPriceLP() (*big.Int, error)

GetCurrentPriceLP is a free data retrieval call binding the contract method 0x45137e27.

Solidity: function getCurrentPriceLP() view returns(uint256)

func (*ISwapContractCallerSession) IsTxUsed

func (_ISwapContract *ISwapContractCallerSession) IsTxUsed(_txid [32]byte) (bool, error)

IsTxUsed is a free data retrieval call binding the contract method 0xe6ca2084.

Solidity: function isTxUsed(bytes32 _txid) view returns(bool)

type ISwapContractFilterer

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

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

func NewISwapContractFilterer

func NewISwapContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ISwapContractFilterer, error)

NewISwapContractFilterer creates a new log filterer instance of ISwapContract, bound to a specific deployed contract.

type ISwapContractRaw

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

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

func (*ISwapContractRaw) Call

func (_ISwapContract *ISwapContractRaw) 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 (*ISwapContractRaw) Transact

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

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

func (*ISwapContractRaw) Transfer

func (_ISwapContract *ISwapContractRaw) 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 ISwapContractSession

type ISwapContractSession struct {
	Contract     *ISwapContract    // 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
}

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

func (*ISwapContractSession) BTCTADDR

func (_ISwapContract *ISwapContractSession) BTCTADDR() (*types.Transaction, error)

BTCTADDR is a paid mutator transaction binding the contract method 0x0f909486.

Solidity: function BTCT_ADDR() returns(address)

func (*ISwapContractSession) Churn

func (_ISwapContract *ISwapContractSession) Churn(_newOwner common.Address, _nodes []common.Address, _isRemoved []bool, _churnedInCount uint8, _tssThreshold uint8) (*types.Transaction, error)

Churn is a paid mutator transaction binding the contract method 0x6845a025.

Solidity: function churn(address _newOwner, address[] _nodes, bool[] _isRemoved, uint8 _churnedInCount, uint8 _tssThreshold) returns(bool)

func (*ISwapContractSession) CollectSwapFeesForBTC

func (_ISwapContract *ISwapContractSession) CollectSwapFeesForBTC(_incomingAmount *big.Int, _minerFee *big.Int, _rewardsAmount *big.Int, _spenders []common.Address, _swapAmounts []*big.Int) (*types.Transaction, error)

CollectSwapFeesForBTC is a paid mutator transaction binding the contract method 0x2adf9f87.

Solidity: function collectSwapFeesForBTC(uint256 _incomingAmount, uint256 _minerFee, uint256 _rewardsAmount, address[] _spenders, uint256[] _swapAmounts) returns(bool)

func (*ISwapContractSession) GetActiveNodes

func (_ISwapContract *ISwapContractSession) GetActiveNodes() ([]common.Address, error)

GetActiveNodes is a free data retrieval call binding the contract method 0x6b51e919.

Solidity: function getActiveNodes() view returns(address[])

func (*ISwapContractSession) GetCurrentPriceLP

func (_ISwapContract *ISwapContractSession) GetCurrentPriceLP() (*big.Int, error)

GetCurrentPriceLP is a free data retrieval call binding the contract method 0x45137e27.

Solidity: function getCurrentPriceLP() view returns(uint256)

func (*ISwapContractSession) GetFloatReserve

func (_ISwapContract *ISwapContractSession) GetFloatReserve(_tokenA common.Address, _tokenB common.Address) (*types.Transaction, error)

GetFloatReserve is a paid mutator transaction binding the contract method 0xec482729.

Solidity: function getFloatReserve(address _tokenA, address _tokenB) returns(uint256 reserveA, uint256 reserveB)

func (*ISwapContractSession) IsNodeStake

func (_ISwapContract *ISwapContractSession) IsNodeStake(_user common.Address) (*types.Transaction, error)

IsNodeStake is a paid mutator transaction binding the contract method 0xa742329d.

Solidity: function isNodeStake(address _user) returns(bool)

func (*ISwapContractSession) IsTxUsed

func (_ISwapContract *ISwapContractSession) IsTxUsed(_txid [32]byte) (bool, error)

IsTxUsed is a free data retrieval call binding the contract method 0xe6ca2084.

Solidity: function isTxUsed(bytes32 _txid) view returns(bool)

func (*ISwapContractSession) LpToken

func (_ISwapContract *ISwapContractSession) LpToken() (*types.Transaction, error)

LpToken is a paid mutator transaction binding the contract method 0x5fcbd285.

Solidity: function lpToken() returns(address)

func (*ISwapContractSession) MultiTransferERC20TightlyPacked

func (_ISwapContract *ISwapContractSession) MultiTransferERC20TightlyPacked(_destToken common.Address, _addressesAndAmounts [][32]byte, _totalSwapped *big.Int, _rewardsAmount *big.Int, _redeemedFloatTxIds [][32]byte) (*types.Transaction, error)

MultiTransferERC20TightlyPacked is a paid mutator transaction binding the contract method 0xad289e76.

Solidity: function multiTransferERC20TightlyPacked(address _destToken, bytes32[] _addressesAndAmounts, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _redeemedFloatTxIds) returns(bool)

func (*ISwapContractSession) RecordIncomingFloat

func (_ISwapContract *ISwapContractSession) RecordIncomingFloat(_token common.Address, _addressesAndAmountOfFloat [32]byte, _txid [32]byte) (*types.Transaction, error)

RecordIncomingFloat is a paid mutator transaction binding the contract method 0xcf10b16b.

Solidity: function recordIncomingFloat(address _token, bytes32 _addressesAndAmountOfFloat, bytes32 _txid) returns(bool)

func (*ISwapContractSession) RecordOutcomingFloat

func (_ISwapContract *ISwapContractSession) RecordOutcomingFloat(_token common.Address, _addressesAndAmountOfLPtoken [32]byte, _minerFee *big.Int, _txid [32]byte) (*types.Transaction, error)

RecordOutcomingFloat is a paid mutator transaction binding the contract method 0x2586c562.

Solidity: function recordOutcomingFloat(address _token, bytes32 _addressesAndAmountOfLPtoken, uint256 _minerFee, bytes32 _txid) returns(bool)

func (*ISwapContractSession) RecordUTXOSweepMinerFee

func (_ISwapContract *ISwapContractSession) RecordUTXOSweepMinerFee(_minerFee *big.Int, _txid [32]byte) (*types.Transaction, error)

RecordUTXOSweepMinerFee is a paid mutator transaction binding the contract method 0xc810a539.

Solidity: function recordUTXOSweepMinerFee(uint256 _minerFee, bytes32 _txid) returns(bool)

func (*ISwapContractSession) SingleTransferERC20

func (_ISwapContract *ISwapContractSession) SingleTransferERC20(_destToken common.Address, _to common.Address, _amount *big.Int, _totalSwapped *big.Int, _rewardsAmount *big.Int, _redeemedFloatTxIds [][32]byte) (*types.Transaction, error)

SingleTransferERC20 is a paid mutator transaction binding the contract method 0x0d63aca7.

Solidity: function singleTransferERC20(address _destToken, address _to, uint256 _amount, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _redeemedFloatTxIds) returns(bool)

func (*ISwapContractSession) UpdateParams

func (_ISwapContract *ISwapContractSession) UpdateParams(_sbBTCPool common.Address, _buybackAddress common.Address, _withdrawalFeeBPS *big.Int, _nodeRewardsRatio *big.Int, _buybackRewardsRatio *big.Int) (*types.Transaction, error)

UpdateParams is a paid mutator transaction binding the contract method 0xe880afd4.

Solidity: function updateParams(address _sbBTCPool, address _buybackAddress, uint256 _withdrawalFeeBPS, uint256 _nodeRewardsRatio, uint256 _buybackRewardsRatio) returns(bool)

type ISwapContractTransactor

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

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

func NewISwapContractTransactor

func NewISwapContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ISwapContractTransactor, error)

NewISwapContractTransactor creates a new write-only instance of ISwapContract, bound to a specific deployed contract.

func (*ISwapContractTransactor) BTCTADDR

func (_ISwapContract *ISwapContractTransactor) BTCTADDR(opts *bind.TransactOpts) (*types.Transaction, error)

BTCTADDR is a paid mutator transaction binding the contract method 0x0f909486.

Solidity: function BTCT_ADDR() returns(address)

func (*ISwapContractTransactor) Churn

func (_ISwapContract *ISwapContractTransactor) Churn(opts *bind.TransactOpts, _newOwner common.Address, _nodes []common.Address, _isRemoved []bool, _churnedInCount uint8, _tssThreshold uint8) (*types.Transaction, error)

Churn is a paid mutator transaction binding the contract method 0x6845a025.

Solidity: function churn(address _newOwner, address[] _nodes, bool[] _isRemoved, uint8 _churnedInCount, uint8 _tssThreshold) returns(bool)

func (*ISwapContractTransactor) CollectSwapFeesForBTC

func (_ISwapContract *ISwapContractTransactor) CollectSwapFeesForBTC(opts *bind.TransactOpts, _incomingAmount *big.Int, _minerFee *big.Int, _rewardsAmount *big.Int, _spenders []common.Address, _swapAmounts []*big.Int) (*types.Transaction, error)

CollectSwapFeesForBTC is a paid mutator transaction binding the contract method 0x2adf9f87.

Solidity: function collectSwapFeesForBTC(uint256 _incomingAmount, uint256 _minerFee, uint256 _rewardsAmount, address[] _spenders, uint256[] _swapAmounts) returns(bool)

func (*ISwapContractTransactor) GetFloatReserve

func (_ISwapContract *ISwapContractTransactor) GetFloatReserve(opts *bind.TransactOpts, _tokenA common.Address, _tokenB common.Address) (*types.Transaction, error)

GetFloatReserve is a paid mutator transaction binding the contract method 0xec482729.

Solidity: function getFloatReserve(address _tokenA, address _tokenB) returns(uint256 reserveA, uint256 reserveB)

func (*ISwapContractTransactor) IsNodeStake

func (_ISwapContract *ISwapContractTransactor) IsNodeStake(opts *bind.TransactOpts, _user common.Address) (*types.Transaction, error)

IsNodeStake is a paid mutator transaction binding the contract method 0xa742329d.

Solidity: function isNodeStake(address _user) returns(bool)

func (*ISwapContractTransactor) LpToken

func (_ISwapContract *ISwapContractTransactor) LpToken(opts *bind.TransactOpts) (*types.Transaction, error)

LpToken is a paid mutator transaction binding the contract method 0x5fcbd285.

Solidity: function lpToken() returns(address)

func (*ISwapContractTransactor) MultiTransferERC20TightlyPacked

func (_ISwapContract *ISwapContractTransactor) MultiTransferERC20TightlyPacked(opts *bind.TransactOpts, _destToken common.Address, _addressesAndAmounts [][32]byte, _totalSwapped *big.Int, _rewardsAmount *big.Int, _redeemedFloatTxIds [][32]byte) (*types.Transaction, error)

MultiTransferERC20TightlyPacked is a paid mutator transaction binding the contract method 0xad289e76.

Solidity: function multiTransferERC20TightlyPacked(address _destToken, bytes32[] _addressesAndAmounts, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _redeemedFloatTxIds) returns(bool)

func (*ISwapContractTransactor) RecordIncomingFloat

func (_ISwapContract *ISwapContractTransactor) RecordIncomingFloat(opts *bind.TransactOpts, _token common.Address, _addressesAndAmountOfFloat [32]byte, _txid [32]byte) (*types.Transaction, error)

RecordIncomingFloat is a paid mutator transaction binding the contract method 0xcf10b16b.

Solidity: function recordIncomingFloat(address _token, bytes32 _addressesAndAmountOfFloat, bytes32 _txid) returns(bool)

func (*ISwapContractTransactor) RecordOutcomingFloat

func (_ISwapContract *ISwapContractTransactor) RecordOutcomingFloat(opts *bind.TransactOpts, _token common.Address, _addressesAndAmountOfLPtoken [32]byte, _minerFee *big.Int, _txid [32]byte) (*types.Transaction, error)

RecordOutcomingFloat is a paid mutator transaction binding the contract method 0x2586c562.

Solidity: function recordOutcomingFloat(address _token, bytes32 _addressesAndAmountOfLPtoken, uint256 _minerFee, bytes32 _txid) returns(bool)

func (*ISwapContractTransactor) RecordUTXOSweepMinerFee

func (_ISwapContract *ISwapContractTransactor) RecordUTXOSweepMinerFee(opts *bind.TransactOpts, _minerFee *big.Int, _txid [32]byte) (*types.Transaction, error)

RecordUTXOSweepMinerFee is a paid mutator transaction binding the contract method 0xc810a539.

Solidity: function recordUTXOSweepMinerFee(uint256 _minerFee, bytes32 _txid) returns(bool)

func (*ISwapContractTransactor) SingleTransferERC20

func (_ISwapContract *ISwapContractTransactor) SingleTransferERC20(opts *bind.TransactOpts, _destToken common.Address, _to common.Address, _amount *big.Int, _totalSwapped *big.Int, _rewardsAmount *big.Int, _redeemedFloatTxIds [][32]byte) (*types.Transaction, error)

SingleTransferERC20 is a paid mutator transaction binding the contract method 0x0d63aca7.

Solidity: function singleTransferERC20(address _destToken, address _to, uint256 _amount, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _redeemedFloatTxIds) returns(bool)

func (*ISwapContractTransactor) UpdateParams

func (_ISwapContract *ISwapContractTransactor) UpdateParams(opts *bind.TransactOpts, _sbBTCPool common.Address, _buybackAddress common.Address, _withdrawalFeeBPS *big.Int, _nodeRewardsRatio *big.Int, _buybackRewardsRatio *big.Int) (*types.Transaction, error)

UpdateParams is a paid mutator transaction binding the contract method 0xe880afd4.

Solidity: function updateParams(address _sbBTCPool, address _buybackAddress, uint256 _withdrawalFeeBPS, uint256 _nodeRewardsRatio, uint256 _buybackRewardsRatio) returns(bool)

type ISwapContractTransactorRaw

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

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

func (*ISwapContractTransactorRaw) Transact

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

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

func (*ISwapContractTransactorRaw) Transfer

func (_ISwapContract *ISwapContractTransactorRaw) 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 ISwapContractTransactorSession

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

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

func (*ISwapContractTransactorSession) BTCTADDR

func (_ISwapContract *ISwapContractTransactorSession) BTCTADDR() (*types.Transaction, error)

BTCTADDR is a paid mutator transaction binding the contract method 0x0f909486.

Solidity: function BTCT_ADDR() returns(address)

func (*ISwapContractTransactorSession) Churn

func (_ISwapContract *ISwapContractTransactorSession) Churn(_newOwner common.Address, _nodes []common.Address, _isRemoved []bool, _churnedInCount uint8, _tssThreshold uint8) (*types.Transaction, error)

Churn is a paid mutator transaction binding the contract method 0x6845a025.

Solidity: function churn(address _newOwner, address[] _nodes, bool[] _isRemoved, uint8 _churnedInCount, uint8 _tssThreshold) returns(bool)

func (*ISwapContractTransactorSession) CollectSwapFeesForBTC

func (_ISwapContract *ISwapContractTransactorSession) CollectSwapFeesForBTC(_incomingAmount *big.Int, _minerFee *big.Int, _rewardsAmount *big.Int, _spenders []common.Address, _swapAmounts []*big.Int) (*types.Transaction, error)

CollectSwapFeesForBTC is a paid mutator transaction binding the contract method 0x2adf9f87.

Solidity: function collectSwapFeesForBTC(uint256 _incomingAmount, uint256 _minerFee, uint256 _rewardsAmount, address[] _spenders, uint256[] _swapAmounts) returns(bool)

func (*ISwapContractTransactorSession) GetFloatReserve

func (_ISwapContract *ISwapContractTransactorSession) GetFloatReserve(_tokenA common.Address, _tokenB common.Address) (*types.Transaction, error)

GetFloatReserve is a paid mutator transaction binding the contract method 0xec482729.

Solidity: function getFloatReserve(address _tokenA, address _tokenB) returns(uint256 reserveA, uint256 reserveB)

func (*ISwapContractTransactorSession) IsNodeStake

func (_ISwapContract *ISwapContractTransactorSession) IsNodeStake(_user common.Address) (*types.Transaction, error)

IsNodeStake is a paid mutator transaction binding the contract method 0xa742329d.

Solidity: function isNodeStake(address _user) returns(bool)

func (*ISwapContractTransactorSession) LpToken

func (_ISwapContract *ISwapContractTransactorSession) LpToken() (*types.Transaction, error)

LpToken is a paid mutator transaction binding the contract method 0x5fcbd285.

Solidity: function lpToken() returns(address)

func (*ISwapContractTransactorSession) MultiTransferERC20TightlyPacked

func (_ISwapContract *ISwapContractTransactorSession) MultiTransferERC20TightlyPacked(_destToken common.Address, _addressesAndAmounts [][32]byte, _totalSwapped *big.Int, _rewardsAmount *big.Int, _redeemedFloatTxIds [][32]byte) (*types.Transaction, error)

MultiTransferERC20TightlyPacked is a paid mutator transaction binding the contract method 0xad289e76.

Solidity: function multiTransferERC20TightlyPacked(address _destToken, bytes32[] _addressesAndAmounts, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _redeemedFloatTxIds) returns(bool)

func (*ISwapContractTransactorSession) RecordIncomingFloat

func (_ISwapContract *ISwapContractTransactorSession) RecordIncomingFloat(_token common.Address, _addressesAndAmountOfFloat [32]byte, _txid [32]byte) (*types.Transaction, error)

RecordIncomingFloat is a paid mutator transaction binding the contract method 0xcf10b16b.

Solidity: function recordIncomingFloat(address _token, bytes32 _addressesAndAmountOfFloat, bytes32 _txid) returns(bool)

func (*ISwapContractTransactorSession) RecordOutcomingFloat

func (_ISwapContract *ISwapContractTransactorSession) RecordOutcomingFloat(_token common.Address, _addressesAndAmountOfLPtoken [32]byte, _minerFee *big.Int, _txid [32]byte) (*types.Transaction, error)

RecordOutcomingFloat is a paid mutator transaction binding the contract method 0x2586c562.

Solidity: function recordOutcomingFloat(address _token, bytes32 _addressesAndAmountOfLPtoken, uint256 _minerFee, bytes32 _txid) returns(bool)

func (*ISwapContractTransactorSession) RecordUTXOSweepMinerFee

func (_ISwapContract *ISwapContractTransactorSession) RecordUTXOSweepMinerFee(_minerFee *big.Int, _txid [32]byte) (*types.Transaction, error)

RecordUTXOSweepMinerFee is a paid mutator transaction binding the contract method 0xc810a539.

Solidity: function recordUTXOSweepMinerFee(uint256 _minerFee, bytes32 _txid) returns(bool)

func (*ISwapContractTransactorSession) SingleTransferERC20

func (_ISwapContract *ISwapContractTransactorSession) SingleTransferERC20(_destToken common.Address, _to common.Address, _amount *big.Int, _totalSwapped *big.Int, _rewardsAmount *big.Int, _redeemedFloatTxIds [][32]byte) (*types.Transaction, error)

SingleTransferERC20 is a paid mutator transaction binding the contract method 0x0d63aca7.

Solidity: function singleTransferERC20(address _destToken, address _to, uint256 _amount, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _redeemedFloatTxIds) returns(bool)

func (*ISwapContractTransactorSession) UpdateParams

func (_ISwapContract *ISwapContractTransactorSession) UpdateParams(_sbBTCPool common.Address, _buybackAddress common.Address, _withdrawalFeeBPS *big.Int, _nodeRewardsRatio *big.Int, _buybackRewardsRatio *big.Int) (*types.Transaction, error)

UpdateParams is a paid mutator transaction binding the contract method 0xe880afd4.

Solidity: function updateParams(address _sbBTCPool, address _buybackAddress, uint256 _withdrawalFeeBPS, uint256 _nodeRewardsRatio, uint256 _buybackRewardsRatio) returns(bool)

type ISwapRewards

type ISwapRewards struct {
	ISwapRewardsCaller     // Read-only binding to the contract
	ISwapRewardsTransactor // Write-only binding to the contract
	ISwapRewardsFilterer   // Log filterer for contract events
}

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

func NewISwapRewards

func NewISwapRewards(address common.Address, backend bind.ContractBackend) (*ISwapRewards, error)

NewISwapRewards creates a new instance of ISwapRewards, bound to a specific deployed contract.

type ISwapRewardsCaller

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

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

func NewISwapRewardsCaller

func NewISwapRewardsCaller(address common.Address, caller bind.ContractCaller) (*ISwapRewardsCaller, error)

NewISwapRewardsCaller creates a new read-only instance of ISwapRewards, bound to a specific deployed contract.

type ISwapRewardsCallerRaw

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

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

func (*ISwapRewardsCallerRaw) Call

func (_ISwapRewards *ISwapRewardsCallerRaw) 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 ISwapRewardsCallerSession

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

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

type ISwapRewardsFilterer

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

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

func NewISwapRewardsFilterer

func NewISwapRewardsFilterer(address common.Address, filterer bind.ContractFilterer) (*ISwapRewardsFilterer, error)

NewISwapRewardsFilterer creates a new log filterer instance of ISwapRewards, bound to a specific deployed contract.

type ISwapRewardsRaw

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

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

func (*ISwapRewardsRaw) Call

func (_ISwapRewards *ISwapRewardsRaw) 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 (*ISwapRewardsRaw) Transact

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

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

func (*ISwapRewardsRaw) Transfer

func (_ISwapRewards *ISwapRewardsRaw) 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 ISwapRewardsSession

type ISwapRewardsSession struct {
	Contract     *ISwapRewards     // 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
}

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

func (*ISwapRewardsSession) PullRewards

func (_ISwapRewards *ISwapRewardsSession) PullRewards(_dest common.Address, _receiver common.Address, _swapped *big.Int) (*types.Transaction, error)

PullRewards is a paid mutator transaction binding the contract method 0xff320aae.

Solidity: function pullRewards(address _dest, address _receiver, uint256 _swapped) returns(bool)

func (*ISwapRewardsSession) PullRewardsMulti

func (_ISwapRewards *ISwapRewardsSession) PullRewardsMulti(_dest common.Address, _receiver []common.Address, _swapped []*big.Int) (*types.Transaction, error)

PullRewardsMulti is a paid mutator transaction binding the contract method 0x49e031a5.

Solidity: function pullRewardsMulti(address _dest, address[] _receiver, uint256[] _swapped) returns(bool)

func (*ISwapRewardsSession) SetSWINGBYPrice

func (_ISwapRewards *ISwapRewardsSession) SetSWINGBYPrice(_pricePerBTC *big.Int) (*types.Transaction, error)

SetSWINGBYPrice is a paid mutator transaction binding the contract method 0xfabe44a8.

Solidity: function setSWINGBYPrice(uint256 _pricePerBTC) returns()

type ISwapRewardsTransactor

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

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

func NewISwapRewardsTransactor

func NewISwapRewardsTransactor(address common.Address, transactor bind.ContractTransactor) (*ISwapRewardsTransactor, error)

NewISwapRewardsTransactor creates a new write-only instance of ISwapRewards, bound to a specific deployed contract.

func (*ISwapRewardsTransactor) PullRewards

func (_ISwapRewards *ISwapRewardsTransactor) PullRewards(opts *bind.TransactOpts, _dest common.Address, _receiver common.Address, _swapped *big.Int) (*types.Transaction, error)

PullRewards is a paid mutator transaction binding the contract method 0xff320aae.

Solidity: function pullRewards(address _dest, address _receiver, uint256 _swapped) returns(bool)

func (*ISwapRewardsTransactor) PullRewardsMulti

func (_ISwapRewards *ISwapRewardsTransactor) PullRewardsMulti(opts *bind.TransactOpts, _dest common.Address, _receiver []common.Address, _swapped []*big.Int) (*types.Transaction, error)

PullRewardsMulti is a paid mutator transaction binding the contract method 0x49e031a5.

Solidity: function pullRewardsMulti(address _dest, address[] _receiver, uint256[] _swapped) returns(bool)

func (*ISwapRewardsTransactor) SetSWINGBYPrice

func (_ISwapRewards *ISwapRewardsTransactor) SetSWINGBYPrice(opts *bind.TransactOpts, _pricePerBTC *big.Int) (*types.Transaction, error)

SetSWINGBYPrice is a paid mutator transaction binding the contract method 0xfabe44a8.

Solidity: function setSWINGBYPrice(uint256 _pricePerBTC) returns()

type ISwapRewardsTransactorRaw

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

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

func (*ISwapRewardsTransactorRaw) Transact

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

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

func (*ISwapRewardsTransactorRaw) Transfer

func (_ISwapRewards *ISwapRewardsTransactorRaw) 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 ISwapRewardsTransactorSession

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

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

func (*ISwapRewardsTransactorSession) PullRewards

func (_ISwapRewards *ISwapRewardsTransactorSession) PullRewards(_dest common.Address, _receiver common.Address, _swapped *big.Int) (*types.Transaction, error)

PullRewards is a paid mutator transaction binding the contract method 0xff320aae.

Solidity: function pullRewards(address _dest, address _receiver, uint256 _swapped) returns(bool)

func (*ISwapRewardsTransactorSession) PullRewardsMulti

func (_ISwapRewards *ISwapRewardsTransactorSession) PullRewardsMulti(_dest common.Address, _receiver []common.Address, _swapped []*big.Int) (*types.Transaction, error)

PullRewardsMulti is a paid mutator transaction binding the contract method 0x49e031a5.

Solidity: function pullRewardsMulti(address _dest, address[] _receiver, uint256[] _swapped) returns(bool)

func (*ISwapRewardsTransactorSession) SetSWINGBYPrice

func (_ISwapRewards *ISwapRewardsTransactorSession) SetSWINGBYPrice(_pricePerBTC *big.Int) (*types.Transaction, error)

SetSWINGBYPrice is a paid mutator transaction binding the contract method 0xfabe44a8.

Solidity: function setSWINGBYPrice(uint256 _pricePerBTC) returns()

type ITokenTransferProxy

type ITokenTransferProxy struct {
	ITokenTransferProxyCaller     // Read-only binding to the contract
	ITokenTransferProxyTransactor // Write-only binding to the contract
	ITokenTransferProxyFilterer   // Log filterer for contract events
}

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

func NewITokenTransferProxy

func NewITokenTransferProxy(address common.Address, backend bind.ContractBackend) (*ITokenTransferProxy, error)

NewITokenTransferProxy creates a new instance of ITokenTransferProxy, bound to a specific deployed contract.

type ITokenTransferProxyCaller

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

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

func NewITokenTransferProxyCaller

func NewITokenTransferProxyCaller(address common.Address, caller bind.ContractCaller) (*ITokenTransferProxyCaller, error)

NewITokenTransferProxyCaller creates a new read-only instance of ITokenTransferProxy, bound to a specific deployed contract.

type ITokenTransferProxyCallerRaw

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

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

func (*ITokenTransferProxyCallerRaw) Call

func (_ITokenTransferProxy *ITokenTransferProxyCallerRaw) 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 ITokenTransferProxyCallerSession

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

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

type ITokenTransferProxyFilterer

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

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

func NewITokenTransferProxyFilterer

func NewITokenTransferProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*ITokenTransferProxyFilterer, error)

NewITokenTransferProxyFilterer creates a new log filterer instance of ITokenTransferProxy, bound to a specific deployed contract.

type ITokenTransferProxyRaw

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

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

func (*ITokenTransferProxyRaw) Call

func (_ITokenTransferProxy *ITokenTransferProxyRaw) 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 (*ITokenTransferProxyRaw) Transact

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

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

func (*ITokenTransferProxyRaw) Transfer

func (_ITokenTransferProxy *ITokenTransferProxyRaw) 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 ITokenTransferProxySession

type ITokenTransferProxySession struct {
	Contract     *ITokenTransferProxy // 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
}

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

func (*ITokenTransferProxySession) FreeReduxTokens

func (_ITokenTransferProxy *ITokenTransferProxySession) FreeReduxTokens(user common.Address, tokensToFree *big.Int) (*types.Transaction, error)

FreeReduxTokens is a paid mutator transaction binding the contract method 0xdd1fe62c.

Solidity: function freeReduxTokens(address user, uint256 tokensToFree) returns()

func (*ITokenTransferProxySession) TransferFrom

func (_ITokenTransferProxy *ITokenTransferProxySession) TransferFrom(token common.Address, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x15dacbea.

Solidity: function transferFrom(address token, address from, address to, uint256 amount) returns()

type ITokenTransferProxyTransactor

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

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

func NewITokenTransferProxyTransactor

func NewITokenTransferProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*ITokenTransferProxyTransactor, error)

NewITokenTransferProxyTransactor creates a new write-only instance of ITokenTransferProxy, bound to a specific deployed contract.

func (*ITokenTransferProxyTransactor) FreeReduxTokens

func (_ITokenTransferProxy *ITokenTransferProxyTransactor) FreeReduxTokens(opts *bind.TransactOpts, user common.Address, tokensToFree *big.Int) (*types.Transaction, error)

FreeReduxTokens is a paid mutator transaction binding the contract method 0xdd1fe62c.

Solidity: function freeReduxTokens(address user, uint256 tokensToFree) returns()

func (*ITokenTransferProxyTransactor) TransferFrom

func (_ITokenTransferProxy *ITokenTransferProxyTransactor) TransferFrom(opts *bind.TransactOpts, token common.Address, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x15dacbea.

Solidity: function transferFrom(address token, address from, address to, uint256 amount) returns()

type ITokenTransferProxyTransactorRaw

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

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

func (*ITokenTransferProxyTransactorRaw) Transact

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

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

func (*ITokenTransferProxyTransactorRaw) Transfer

func (_ITokenTransferProxy *ITokenTransferProxyTransactorRaw) 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 ITokenTransferProxyTransactorSession

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

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

func (*ITokenTransferProxyTransactorSession) FreeReduxTokens

func (_ITokenTransferProxy *ITokenTransferProxyTransactorSession) FreeReduxTokens(user common.Address, tokensToFree *big.Int) (*types.Transaction, error)

FreeReduxTokens is a paid mutator transaction binding the contract method 0xdd1fe62c.

Solidity: function freeReduxTokens(address user, uint256 tokensToFree) returns()

func (*ITokenTransferProxyTransactorSession) TransferFrom

func (_ITokenTransferProxy *ITokenTransferProxyTransactorSession) TransferFrom(token common.Address, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x15dacbea.

Solidity: function transferFrom(address token, address from, address to, uint256 amount) returns()

type IWETH

type IWETH struct {
	IWETHCaller     // Read-only binding to the contract
	IWETHTransactor // Write-only binding to the contract
	IWETHFilterer   // Log filterer for contract events
}

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

func NewIWETH

func NewIWETH(address common.Address, backend bind.ContractBackend) (*IWETH, error)

NewIWETH creates a new instance of IWETH, bound to a specific deployed contract.

type IWETHCaller

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

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

func NewIWETHCaller

func NewIWETHCaller(address common.Address, caller bind.ContractCaller) (*IWETHCaller, error)

NewIWETHCaller creates a new read-only instance of IWETH, bound to a specific deployed contract.

type IWETHCallerRaw

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

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

func (*IWETHCallerRaw) Call

func (_IWETH *IWETHCallerRaw) 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 IWETHCallerSession

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

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

type IWETHFilterer

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

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

func NewIWETHFilterer

func NewIWETHFilterer(address common.Address, filterer bind.ContractFilterer) (*IWETHFilterer, error)

NewIWETHFilterer creates a new log filterer instance of IWETH, bound to a specific deployed contract.

type IWETHRaw

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

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

func (*IWETHRaw) Call

func (_IWETH *IWETHRaw) 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 (*IWETHRaw) Transact

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

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

func (*IWETHRaw) Transfer

func (_IWETH *IWETHRaw) 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 IWETHSession

type IWETHSession struct {
	Contract     *IWETH            // 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
}

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

func (*IWETHSession) Approve

func (_IWETH *IWETHSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IWETHSession) Deposit

func (_IWETH *IWETHSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*IWETHSession) Transfer

func (_IWETH *IWETHSession) 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(bool)

func (*IWETHSession) Withdraw

func (_IWETH *IWETHSession) Withdraw(arg0 *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 ) returns()

type IWETHTransactor

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

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

func NewIWETHTransactor

func NewIWETHTransactor(address common.Address, transactor bind.ContractTransactor) (*IWETHTransactor, error)

NewIWETHTransactor creates a new write-only instance of IWETH, bound to a specific deployed contract.

func (*IWETHTransactor) Approve

func (_IWETH *IWETHTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IWETHTransactor) Deposit

func (_IWETH *IWETHTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*IWETHTransactor) Transfer

func (_IWETH *IWETHTransactor) 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(bool)

func (*IWETHTransactor) Withdraw

func (_IWETH *IWETHTransactor) Withdraw(opts *bind.TransactOpts, arg0 *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 ) returns()

type IWETHTransactorRaw

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

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

func (*IWETHTransactorRaw) Transact

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

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

func (*IWETHTransactorRaw) Transfer

func (_IWETH *IWETHTransactorRaw) 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 IWETHTransactorSession

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

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

func (*IWETHTransactorSession) Approve

func (_IWETH *IWETHTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IWETHTransactorSession) Deposit

func (_IWETH *IWETHTransactorSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*IWETHTransactorSession) Transfer

func (_IWETH *IWETHTransactorSession) 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(bool)

func (*IWETHTransactorSession) Withdraw

func (_IWETH *IWETHTransactorSession) Withdraw(arg0 *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 ) returns()

type LPToken

type LPToken struct {
	LPTokenCaller     // Read-only binding to the contract
	LPTokenTransactor // Write-only binding to the contract
	LPTokenFilterer   // Log filterer for contract events
}

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

func NewLPToken

func NewLPToken(address common.Address, backend bind.ContractBackend) (*LPToken, error)

NewLPToken creates a new instance of LPToken, bound to a specific deployed contract.

type LPTokenApproval

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

LPTokenApproval represents a Approval event raised by the LPToken contract.

type LPTokenApprovalIterator

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

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

func (*LPTokenApprovalIterator) Close

func (it *LPTokenApprovalIterator) Close() error

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

func (*LPTokenApprovalIterator) Error

func (it *LPTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LPTokenApprovalIterator) Next

func (it *LPTokenApprovalIterator) 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 LPTokenCaller

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

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

func NewLPTokenCaller

func NewLPTokenCaller(address common.Address, caller bind.ContractCaller) (*LPTokenCaller, error)

NewLPTokenCaller creates a new read-only instance of LPToken, bound to a specific deployed contract.

func (*LPTokenCaller) Allowance

func (_LPToken *LPTokenCaller) 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)

func (*LPTokenCaller) BalanceOf

func (_LPToken *LPTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

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

func (*LPTokenCaller) Decimals

func (_LPToken *LPTokenCaller) 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 (*LPTokenCaller) GetOwner

func (_LPToken *LPTokenCaller) 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 (*LPTokenCaller) Mintable

func (_LPToken *LPTokenCaller) Mintable(opts *bind.CallOpts) (bool, error)

Mintable is a free data retrieval call binding the contract method 0x4bf365df.

Solidity: function mintable() view returns(bool)

func (*LPTokenCaller) Name

func (_LPToken *LPTokenCaller) 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 (*LPTokenCaller) Old

func (_LPToken *LPTokenCaller) Old(opts *bind.CallOpts) (common.Address, error)

Old is a free data retrieval call binding the contract method 0xb83f8663.

Solidity: function old() view returns(address)

func (*LPTokenCaller) Owner

func (_LPToken *LPTokenCaller) 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 (*LPTokenCaller) Symbol

func (_LPToken *LPTokenCaller) 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 (*LPTokenCaller) TotalSupply

func (_LPToken *LPTokenCaller) 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 LPTokenCallerRaw

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

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

func (*LPTokenCallerRaw) Call

func (_LPToken *LPTokenCallerRaw) 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 LPTokenCallerSession

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

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

func (*LPTokenCallerSession) Allowance

func (_LPToken *LPTokenCallerSession) 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)

func (*LPTokenCallerSession) BalanceOf

func (_LPToken *LPTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*LPTokenCallerSession) Decimals

func (_LPToken *LPTokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*LPTokenCallerSession) GetOwner

func (_LPToken *LPTokenCallerSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*LPTokenCallerSession) Mintable

func (_LPToken *LPTokenCallerSession) Mintable() (bool, error)

Mintable is a free data retrieval call binding the contract method 0x4bf365df.

Solidity: function mintable() view returns(bool)

func (*LPTokenCallerSession) Name

func (_LPToken *LPTokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*LPTokenCallerSession) Old

func (_LPToken *LPTokenCallerSession) Old() (common.Address, error)

Old is a free data retrieval call binding the contract method 0xb83f8663.

Solidity: function old() view returns(address)

func (*LPTokenCallerSession) Owner

func (_LPToken *LPTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*LPTokenCallerSession) Symbol

func (_LPToken *LPTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*LPTokenCallerSession) TotalSupply

func (_LPToken *LPTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type LPTokenFilterer

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

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

func NewLPTokenFilterer

func NewLPTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*LPTokenFilterer, error)

NewLPTokenFilterer creates a new log filterer instance of LPToken, bound to a specific deployed contract.

func (*LPTokenFilterer) FilterApproval

func (_LPToken *LPTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LPTokenApprovalIterator, 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 (*LPTokenFilterer) FilterOwnershipTransferred

func (_LPToken *LPTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LPTokenOwnershipTransferredIterator, error)

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

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

func (*LPTokenFilterer) FilterTransfer

func (_LPToken *LPTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LPTokenTransferIterator, 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 (*LPTokenFilterer) ParseApproval

func (_LPToken *LPTokenFilterer) ParseApproval(log types.Log) (*LPTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LPTokenFilterer) ParseOwnershipTransferred

func (_LPToken *LPTokenFilterer) ParseOwnershipTransferred(log types.Log) (*LPTokenOwnershipTransferred, error)

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

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

func (*LPTokenFilterer) ParseTransfer

func (_LPToken *LPTokenFilterer) ParseTransfer(log types.Log) (*LPTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*LPTokenFilterer) WatchApproval

func (_LPToken *LPTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LPTokenApproval, 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 (*LPTokenFilterer) WatchOwnershipTransferred

func (_LPToken *LPTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LPTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*LPTokenFilterer) WatchTransfer

func (_LPToken *LPTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LPTokenTransfer, 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)

type LPTokenOwnershipTransferred

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

LPTokenOwnershipTransferred represents a OwnershipTransferred event raised by the LPToken contract.

type LPTokenOwnershipTransferredIterator

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

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

func (*LPTokenOwnershipTransferredIterator) Close

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

func (*LPTokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LPTokenOwnershipTransferredIterator) 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 LPTokenRaw

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

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

func (*LPTokenRaw) Call

func (_LPToken *LPTokenRaw) 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 (*LPTokenRaw) Transact

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

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

func (*LPTokenRaw) Transfer

func (_LPToken *LPTokenRaw) 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 LPTokenSession

type LPTokenSession struct {
	Contract     *LPToken          // 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
}

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

func (*LPTokenSession) Allowance

func (_LPToken *LPTokenSession) 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)

func (*LPTokenSession) Approve

func (_LPToken *LPTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*LPTokenSession) BalanceOf

func (_LPToken *LPTokenSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*LPTokenSession) Burn

func (_LPToken *LPTokenSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns(bool)

func (*LPTokenSession) ConvertTo

func (_LPToken *LPTokenSession) ConvertTo(target common.Address, amount *big.Int) (*types.Transaction, error)

ConvertTo is a paid mutator transaction binding the contract method 0x9bfa5181.

Solidity: function convertTo(address target, uint256 amount) returns()

func (*LPTokenSession) Decimals

func (_LPToken *LPTokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*LPTokenSession) DecreaseAllowance

func (_LPToken *LPTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*LPTokenSession) GetOwner

func (_LPToken *LPTokenSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*LPTokenSession) IncreaseAllowance

func (_LPToken *LPTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*LPTokenSession) Mint

func (_LPToken *LPTokenSession) Mint(target common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address target, uint256 amount) returns(bool)

func (*LPTokenSession) MintFrom

func (_LPToken *LPTokenSession) MintFrom(target common.Address, amount *big.Int) (*types.Transaction, error)

MintFrom is a paid mutator transaction binding the contract method 0x1cc74859.

Solidity: function mintFrom(address target, uint256 amount) returns(bool)

func (*LPTokenSession) Mintable

func (_LPToken *LPTokenSession) Mintable() (bool, error)

Mintable is a free data retrieval call binding the contract method 0x4bf365df.

Solidity: function mintable() view returns(bool)

func (*LPTokenSession) Name

func (_LPToken *LPTokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*LPTokenSession) Old

func (_LPToken *LPTokenSession) Old() (common.Address, error)

Old is a free data retrieval call binding the contract method 0xb83f8663.

Solidity: function old() view returns(address)

func (*LPTokenSession) Owner

func (_LPToken *LPTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*LPTokenSession) RenounceOwnership

func (_LPToken *LPTokenSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*LPTokenSession) SetOld

func (_LPToken *LPTokenSession) SetOld(_old common.Address) (*types.Transaction, error)

SetOld is a paid mutator transaction binding the contract method 0x242d81f0.

Solidity: function setOld(address _old) returns()

func (*LPTokenSession) Symbol

func (_LPToken *LPTokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*LPTokenSession) TotalSupply

func (_LPToken *LPTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*LPTokenSession) Transfer

func (_LPToken *LPTokenSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*LPTokenSession) TransferFrom

func (_LPToken *LPTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*LPTokenSession) TransferOwnership

func (_LPToken *LPTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type LPTokenTransactor

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

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

func NewLPTokenTransactor

func NewLPTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*LPTokenTransactor, error)

NewLPTokenTransactor creates a new write-only instance of LPToken, bound to a specific deployed contract.

func (*LPTokenTransactor) Approve

func (_LPToken *LPTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*LPTokenTransactor) Burn

func (_LPToken *LPTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns(bool)

func (*LPTokenTransactor) ConvertTo

func (_LPToken *LPTokenTransactor) ConvertTo(opts *bind.TransactOpts, target common.Address, amount *big.Int) (*types.Transaction, error)

ConvertTo is a paid mutator transaction binding the contract method 0x9bfa5181.

Solidity: function convertTo(address target, uint256 amount) returns()

func (*LPTokenTransactor) DecreaseAllowance

func (_LPToken *LPTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*LPTokenTransactor) IncreaseAllowance

func (_LPToken *LPTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*LPTokenTransactor) Mint

func (_LPToken *LPTokenTransactor) Mint(opts *bind.TransactOpts, target common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address target, uint256 amount) returns(bool)

func (*LPTokenTransactor) MintFrom

func (_LPToken *LPTokenTransactor) MintFrom(opts *bind.TransactOpts, target common.Address, amount *big.Int) (*types.Transaction, error)

MintFrom is a paid mutator transaction binding the contract method 0x1cc74859.

Solidity: function mintFrom(address target, uint256 amount) returns(bool)

func (*LPTokenTransactor) RenounceOwnership

func (_LPToken *LPTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*LPTokenTransactor) SetOld

func (_LPToken *LPTokenTransactor) SetOld(opts *bind.TransactOpts, _old common.Address) (*types.Transaction, error)

SetOld is a paid mutator transaction binding the contract method 0x242d81f0.

Solidity: function setOld(address _old) returns()

func (*LPTokenTransactor) Transfer

func (_LPToken *LPTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*LPTokenTransactor) TransferFrom

func (_LPToken *LPTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*LPTokenTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type LPTokenTransactorRaw

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

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

func (*LPTokenTransactorRaw) Transact

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

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

func (*LPTokenTransactorRaw) Transfer

func (_LPToken *LPTokenTransactorRaw) 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 LPTokenTransactorSession

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

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

func (*LPTokenTransactorSession) Approve

func (_LPToken *LPTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*LPTokenTransactorSession) Burn

func (_LPToken *LPTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns(bool)

func (*LPTokenTransactorSession) ConvertTo

func (_LPToken *LPTokenTransactorSession) ConvertTo(target common.Address, amount *big.Int) (*types.Transaction, error)

ConvertTo is a paid mutator transaction binding the contract method 0x9bfa5181.

Solidity: function convertTo(address target, uint256 amount) returns()

func (*LPTokenTransactorSession) DecreaseAllowance

func (_LPToken *LPTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*LPTokenTransactorSession) IncreaseAllowance

func (_LPToken *LPTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*LPTokenTransactorSession) Mint

func (_LPToken *LPTokenTransactorSession) Mint(target common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address target, uint256 amount) returns(bool)

func (*LPTokenTransactorSession) MintFrom

func (_LPToken *LPTokenTransactorSession) MintFrom(target common.Address, amount *big.Int) (*types.Transaction, error)

MintFrom is a paid mutator transaction binding the contract method 0x1cc74859.

Solidity: function mintFrom(address target, uint256 amount) returns(bool)

func (*LPTokenTransactorSession) RenounceOwnership

func (_LPToken *LPTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*LPTokenTransactorSession) SetOld

func (_LPToken *LPTokenTransactorSession) SetOld(_old common.Address) (*types.Transaction, error)

SetOld is a paid mutator transaction binding the contract method 0x242d81f0.

Solidity: function setOld(address _old) returns()

func (*LPTokenTransactorSession) Transfer

func (_LPToken *LPTokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*LPTokenTransactorSession) TransferFrom

func (_LPToken *LPTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*LPTokenTransactorSession) TransferOwnership

func (_LPToken *LPTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type LPTokenTransfer

type LPTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

LPTokenTransfer represents a Transfer event raised by the LPToken contract.

type LPTokenTransferIterator

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

LPTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the LPToken contract.

func (*LPTokenTransferIterator) Close

func (it *LPTokenTransferIterator) Close() error

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

func (*LPTokenTransferIterator) Error

func (it *LPTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LPTokenTransferIterator) Next

func (it *LPTokenTransferIterator) 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 Ownable

type Ownable struct {
	OwnableCaller     // Read-only binding to the contract
	OwnableTransactor // Write-only binding to the contract
	OwnableFilterer   // Log filterer for contract events
}

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

func NewOwnable

func NewOwnable(address common.Address, backend bind.ContractBackend) (*Ownable, error)

NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.

type OwnableCaller

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

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

func NewOwnableCaller

func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)

NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableCaller) Owner

func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

type OwnableCallerRaw

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

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

func (*OwnableCallerRaw) Call

func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession

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

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

func (*OwnableCallerSession) Owner

func (_Ownable *OwnableCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type OwnableFilterer

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

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

func NewOwnableFilterer

func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)

NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.

func (*OwnableFilterer) FilterOwnershipTransferred

func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)

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

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

func (*OwnableFilterer) ParseOwnershipTransferred

func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)

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

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

func (*OwnableFilterer) WatchOwnershipTransferred

func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

type OwnableOwnershipTransferred

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

OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.

type OwnableOwnershipTransferredIterator

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

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

func (*OwnableOwnershipTransferredIterator) Close

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

func (*OwnableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnableOwnershipTransferredIterator) 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 OwnableRaw

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

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

func (*OwnableRaw) Call

func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact

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

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

func (*OwnableRaw) Transfer

func (_Ownable *OwnableRaw) 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 OwnableSession

type OwnableSession struct {
	Contract     *Ownable          // 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
}

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

func (*OwnableSession) Owner

func (_Ownable *OwnableSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OwnableSession) RenounceOwnership

func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableSession) TransferOwnership

func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type OwnableTransactor

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

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

func NewOwnableTransactor

func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)

NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableTransactor) RenounceOwnership

func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type OwnableTransactorRaw

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

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

func (*OwnableTransactorRaw) Transact

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

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

func (*OwnableTransactorRaw) Transfer

func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession

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

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

func (*OwnableTransactorSession) RenounceOwnership

func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableTransactorSession) TransferOwnership

func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type Params

type Params struct {
	ParamsCaller     // Read-only binding to the contract
	ParamsTransactor // Write-only binding to the contract
	ParamsFilterer   // Log filterer for contract events
}

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

func NewParams

func NewParams(address common.Address, backend bind.ContractBackend) (*Params, error)

NewParams creates a new instance of Params, bound to a specific deployed contract.

type ParamsCaller

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

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

func NewParamsCaller

func NewParamsCaller(address common.Address, caller bind.ContractCaller) (*ParamsCaller, error)

NewParamsCaller creates a new read-only instance of Params, bound to a specific deployed contract.

func (*ParamsCaller) DepositFeesBPS

func (_Params *ParamsCaller) DepositFeesBPS(opts *bind.CallOpts) (uint8, error)

DepositFeesBPS is a free data retrieval call binding the contract method 0x42419255.

Solidity: function depositFeesBPS() view returns(uint8)

func (*ParamsCaller) ExpirationTime

func (_Params *ParamsCaller) ExpirationTime(opts *bind.CallOpts) (*big.Int, error)

ExpirationTime is a free data retrieval call binding the contract method 0xda284dcc.

Solidity: function expirationTime() view returns(uint256)

func (*ParamsCaller) LoopCount

func (_Params *ParamsCaller) LoopCount(opts *bind.CallOpts) (uint8, error)

LoopCount is a free data retrieval call binding the contract method 0xe91675b8.

Solidity: function loopCount() view returns(uint8)

func (*ParamsCaller) MinimumSwapAmountForWBTC

func (_Params *ParamsCaller) MinimumSwapAmountForWBTC(opts *bind.CallOpts) (*big.Int, error)

MinimumSwapAmountForWBTC is a free data retrieval call binding the contract method 0x1411c5b7.

Solidity: function minimumSwapAmountForWBTC() view returns(uint256)

func (*ParamsCaller) NodeRewardsRatio

func (_Params *ParamsCaller) NodeRewardsRatio(opts *bind.CallOpts) (uint8, error)

NodeRewardsRatio is a free data retrieval call binding the contract method 0x0b68134d.

Solidity: function nodeRewardsRatio() view returns(uint8)

func (*ParamsCaller) Owner

func (_Params *ParamsCaller) 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 (*ParamsCaller) ParaswapAddress

func (_Params *ParamsCaller) ParaswapAddress(opts *bind.CallOpts) (common.Address, error)

ParaswapAddress is a free data retrieval call binding the contract method 0xf10d7c35.

Solidity: function paraswapAddress() view returns(address)

func (*ParamsCaller) WithdrawalFeeBPS

func (_Params *ParamsCaller) WithdrawalFeeBPS(opts *bind.CallOpts) (uint8, error)

WithdrawalFeeBPS is a free data retrieval call binding the contract method 0xb6268e5d.

Solidity: function withdrawalFeeBPS() view returns(uint8)

type ParamsCallerRaw

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

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

func (*ParamsCallerRaw) Call

func (_Params *ParamsCallerRaw) 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 ParamsCallerSession

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

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

func (*ParamsCallerSession) DepositFeesBPS

func (_Params *ParamsCallerSession) DepositFeesBPS() (uint8, error)

DepositFeesBPS is a free data retrieval call binding the contract method 0x42419255.

Solidity: function depositFeesBPS() view returns(uint8)

func (*ParamsCallerSession) ExpirationTime

func (_Params *ParamsCallerSession) ExpirationTime() (*big.Int, error)

ExpirationTime is a free data retrieval call binding the contract method 0xda284dcc.

Solidity: function expirationTime() view returns(uint256)

func (*ParamsCallerSession) LoopCount

func (_Params *ParamsCallerSession) LoopCount() (uint8, error)

LoopCount is a free data retrieval call binding the contract method 0xe91675b8.

Solidity: function loopCount() view returns(uint8)

func (*ParamsCallerSession) MinimumSwapAmountForWBTC

func (_Params *ParamsCallerSession) MinimumSwapAmountForWBTC() (*big.Int, error)

MinimumSwapAmountForWBTC is a free data retrieval call binding the contract method 0x1411c5b7.

Solidity: function minimumSwapAmountForWBTC() view returns(uint256)

func (*ParamsCallerSession) NodeRewardsRatio

func (_Params *ParamsCallerSession) NodeRewardsRatio() (uint8, error)

NodeRewardsRatio is a free data retrieval call binding the contract method 0x0b68134d.

Solidity: function nodeRewardsRatio() view returns(uint8)

func (*ParamsCallerSession) Owner

func (_Params *ParamsCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ParamsCallerSession) ParaswapAddress

func (_Params *ParamsCallerSession) ParaswapAddress() (common.Address, error)

ParaswapAddress is a free data retrieval call binding the contract method 0xf10d7c35.

Solidity: function paraswapAddress() view returns(address)

func (*ParamsCallerSession) WithdrawalFeeBPS

func (_Params *ParamsCallerSession) WithdrawalFeeBPS() (uint8, error)

WithdrawalFeeBPS is a free data retrieval call binding the contract method 0xb6268e5d.

Solidity: function withdrawalFeeBPS() view returns(uint8)

type ParamsFilterer

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

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

func NewParamsFilterer

func NewParamsFilterer(address common.Address, filterer bind.ContractFilterer) (*ParamsFilterer, error)

NewParamsFilterer creates a new log filterer instance of Params, bound to a specific deployed contract.

func (*ParamsFilterer) FilterOwnershipTransferred

func (_Params *ParamsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ParamsOwnershipTransferredIterator, error)

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

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

func (*ParamsFilterer) ParseOwnershipTransferred

func (_Params *ParamsFilterer) ParseOwnershipTransferred(log types.Log) (*ParamsOwnershipTransferred, error)

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

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

func (*ParamsFilterer) WatchOwnershipTransferred

func (_Params *ParamsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ParamsOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

type ParamsOwnershipTransferred

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

ParamsOwnershipTransferred represents a OwnershipTransferred event raised by the Params contract.

type ParamsOwnershipTransferredIterator

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

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

func (*ParamsOwnershipTransferredIterator) Close

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

func (*ParamsOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ParamsOwnershipTransferredIterator) 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 ParamsRaw

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

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

func (*ParamsRaw) Call

func (_Params *ParamsRaw) 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 (*ParamsRaw) Transact

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

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

func (*ParamsRaw) Transfer

func (_Params *ParamsRaw) 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 ParamsSession

type ParamsSession struct {
	Contract     *Params           // 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
}

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

func (*ParamsSession) DepositFeesBPS

func (_Params *ParamsSession) DepositFeesBPS() (uint8, error)

DepositFeesBPS is a free data retrieval call binding the contract method 0x42419255.

Solidity: function depositFeesBPS() view returns(uint8)

func (*ParamsSession) ExpirationTime

func (_Params *ParamsSession) ExpirationTime() (*big.Int, error)

ExpirationTime is a free data retrieval call binding the contract method 0xda284dcc.

Solidity: function expirationTime() view returns(uint256)

func (*ParamsSession) LoopCount

func (_Params *ParamsSession) LoopCount() (uint8, error)

LoopCount is a free data retrieval call binding the contract method 0xe91675b8.

Solidity: function loopCount() view returns(uint8)

func (*ParamsSession) MinimumSwapAmountForWBTC

func (_Params *ParamsSession) MinimumSwapAmountForWBTC() (*big.Int, error)

MinimumSwapAmountForWBTC is a free data retrieval call binding the contract method 0x1411c5b7.

Solidity: function minimumSwapAmountForWBTC() view returns(uint256)

func (*ParamsSession) NodeRewardsRatio

func (_Params *ParamsSession) NodeRewardsRatio() (uint8, error)

NodeRewardsRatio is a free data retrieval call binding the contract method 0x0b68134d.

Solidity: function nodeRewardsRatio() view returns(uint8)

func (*ParamsSession) Owner

func (_Params *ParamsSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ParamsSession) ParaswapAddress

func (_Params *ParamsSession) ParaswapAddress() (common.Address, error)

ParaswapAddress is a free data retrieval call binding the contract method 0xf10d7c35.

Solidity: function paraswapAddress() view returns(address)

func (*ParamsSession) RenounceOwnership

func (_Params *ParamsSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ParamsSession) SetDepositFeesBPS

func (_Params *ParamsSession) SetDepositFeesBPS(_depositFeesBPS uint8) (*types.Transaction, error)

SetDepositFeesBPS is a paid mutator transaction binding the contract method 0x6ce81f80.

Solidity: function setDepositFeesBPS(uint8 _depositFeesBPS) returns()

func (*ParamsSession) SetExpirationTime

func (_Params *ParamsSession) SetExpirationTime(_expirationTime *big.Int) (*types.Transaction, error)

SetExpirationTime is a paid mutator transaction binding the contract method 0xc0cc365d.

Solidity: function setExpirationTime(uint256 _expirationTime) returns()

func (*ParamsSession) SetLoopCount

func (_Params *ParamsSession) SetLoopCount(_loopCount uint8) (*types.Transaction, error)

SetLoopCount is a paid mutator transaction binding the contract method 0x56151c06.

Solidity: function setLoopCount(uint8 _loopCount) returns()

func (*ParamsSession) SetMinimumSwapAmountForWBTC

func (_Params *ParamsSession) SetMinimumSwapAmountForWBTC(_minimumSwapAmountForWBTC *big.Int) (*types.Transaction, error)

SetMinimumSwapAmountForWBTC is a paid mutator transaction binding the contract method 0x5f79ec58.

Solidity: function setMinimumSwapAmountForWBTC(uint256 _minimumSwapAmountForWBTC) returns()

func (*ParamsSession) SetNodeRewardsRatio

func (_Params *ParamsSession) SetNodeRewardsRatio(_nodeRewardsRatio uint8) (*types.Transaction, error)

SetNodeRewardsRatio is a paid mutator transaction binding the contract method 0xa0011cd4.

Solidity: function setNodeRewardsRatio(uint8 _nodeRewardsRatio) returns()

func (*ParamsSession) SetParaswapAddress

func (_Params *ParamsSession) SetParaswapAddress(_paraswapAddress common.Address) (*types.Transaction, error)

SetParaswapAddress is a paid mutator transaction binding the contract method 0xfb278493.

Solidity: function setParaswapAddress(address _paraswapAddress) returns()

func (*ParamsSession) SetWithdrawalFeeBPS

func (_Params *ParamsSession) SetWithdrawalFeeBPS(_withdrawalFeeBPS uint8) (*types.Transaction, error)

SetWithdrawalFeeBPS is a paid mutator transaction binding the contract method 0xdd62a515.

Solidity: function setWithdrawalFeeBPS(uint8 _withdrawalFeeBPS) returns()

func (*ParamsSession) TransferOwnership

func (_Params *ParamsSession) 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 (*ParamsSession) WithdrawalFeeBPS

func (_Params *ParamsSession) WithdrawalFeeBPS() (uint8, error)

WithdrawalFeeBPS is a free data retrieval call binding the contract method 0xb6268e5d.

Solidity: function withdrawalFeeBPS() view returns(uint8)

type ParamsTransactor

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

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

func NewParamsTransactor

func NewParamsTransactor(address common.Address, transactor bind.ContractTransactor) (*ParamsTransactor, error)

NewParamsTransactor creates a new write-only instance of Params, bound to a specific deployed contract.

func (*ParamsTransactor) RenounceOwnership

func (_Params *ParamsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ParamsTransactor) SetDepositFeesBPS

func (_Params *ParamsTransactor) SetDepositFeesBPS(opts *bind.TransactOpts, _depositFeesBPS uint8) (*types.Transaction, error)

SetDepositFeesBPS is a paid mutator transaction binding the contract method 0x6ce81f80.

Solidity: function setDepositFeesBPS(uint8 _depositFeesBPS) returns()

func (*ParamsTransactor) SetExpirationTime

func (_Params *ParamsTransactor) SetExpirationTime(opts *bind.TransactOpts, _expirationTime *big.Int) (*types.Transaction, error)

SetExpirationTime is a paid mutator transaction binding the contract method 0xc0cc365d.

Solidity: function setExpirationTime(uint256 _expirationTime) returns()

func (*ParamsTransactor) SetLoopCount

func (_Params *ParamsTransactor) SetLoopCount(opts *bind.TransactOpts, _loopCount uint8) (*types.Transaction, error)

SetLoopCount is a paid mutator transaction binding the contract method 0x56151c06.

Solidity: function setLoopCount(uint8 _loopCount) returns()

func (*ParamsTransactor) SetMinimumSwapAmountForWBTC

func (_Params *ParamsTransactor) SetMinimumSwapAmountForWBTC(opts *bind.TransactOpts, _minimumSwapAmountForWBTC *big.Int) (*types.Transaction, error)

SetMinimumSwapAmountForWBTC is a paid mutator transaction binding the contract method 0x5f79ec58.

Solidity: function setMinimumSwapAmountForWBTC(uint256 _minimumSwapAmountForWBTC) returns()

func (*ParamsTransactor) SetNodeRewardsRatio

func (_Params *ParamsTransactor) SetNodeRewardsRatio(opts *bind.TransactOpts, _nodeRewardsRatio uint8) (*types.Transaction, error)

SetNodeRewardsRatio is a paid mutator transaction binding the contract method 0xa0011cd4.

Solidity: function setNodeRewardsRatio(uint8 _nodeRewardsRatio) returns()

func (*ParamsTransactor) SetParaswapAddress

func (_Params *ParamsTransactor) SetParaswapAddress(opts *bind.TransactOpts, _paraswapAddress common.Address) (*types.Transaction, error)

SetParaswapAddress is a paid mutator transaction binding the contract method 0xfb278493.

Solidity: function setParaswapAddress(address _paraswapAddress) returns()

func (*ParamsTransactor) SetWithdrawalFeeBPS

func (_Params *ParamsTransactor) SetWithdrawalFeeBPS(opts *bind.TransactOpts, _withdrawalFeeBPS uint8) (*types.Transaction, error)

SetWithdrawalFeeBPS is a paid mutator transaction binding the contract method 0xdd62a515.

Solidity: function setWithdrawalFeeBPS(uint8 _withdrawalFeeBPS) returns()

func (*ParamsTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type ParamsTransactorRaw

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

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

func (*ParamsTransactorRaw) Transact

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

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

func (*ParamsTransactorRaw) Transfer

func (_Params *ParamsTransactorRaw) 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 ParamsTransactorSession

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

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

func (*ParamsTransactorSession) RenounceOwnership

func (_Params *ParamsTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ParamsTransactorSession) SetDepositFeesBPS

func (_Params *ParamsTransactorSession) SetDepositFeesBPS(_depositFeesBPS uint8) (*types.Transaction, error)

SetDepositFeesBPS is a paid mutator transaction binding the contract method 0x6ce81f80.

Solidity: function setDepositFeesBPS(uint8 _depositFeesBPS) returns()

func (*ParamsTransactorSession) SetExpirationTime

func (_Params *ParamsTransactorSession) SetExpirationTime(_expirationTime *big.Int) (*types.Transaction, error)

SetExpirationTime is a paid mutator transaction binding the contract method 0xc0cc365d.

Solidity: function setExpirationTime(uint256 _expirationTime) returns()

func (*ParamsTransactorSession) SetLoopCount

func (_Params *ParamsTransactorSession) SetLoopCount(_loopCount uint8) (*types.Transaction, error)

SetLoopCount is a paid mutator transaction binding the contract method 0x56151c06.

Solidity: function setLoopCount(uint8 _loopCount) returns()

func (*ParamsTransactorSession) SetMinimumSwapAmountForWBTC

func (_Params *ParamsTransactorSession) SetMinimumSwapAmountForWBTC(_minimumSwapAmountForWBTC *big.Int) (*types.Transaction, error)

SetMinimumSwapAmountForWBTC is a paid mutator transaction binding the contract method 0x5f79ec58.

Solidity: function setMinimumSwapAmountForWBTC(uint256 _minimumSwapAmountForWBTC) returns()

func (*ParamsTransactorSession) SetNodeRewardsRatio

func (_Params *ParamsTransactorSession) SetNodeRewardsRatio(_nodeRewardsRatio uint8) (*types.Transaction, error)

SetNodeRewardsRatio is a paid mutator transaction binding the contract method 0xa0011cd4.

Solidity: function setNodeRewardsRatio(uint8 _nodeRewardsRatio) returns()

func (*ParamsTransactorSession) SetParaswapAddress

func (_Params *ParamsTransactorSession) SetParaswapAddress(_paraswapAddress common.Address) (*types.Transaction, error)

SetParaswapAddress is a paid mutator transaction binding the contract method 0xfb278493.

Solidity: function setParaswapAddress(address _paraswapAddress) returns()

func (*ParamsTransactorSession) SetWithdrawalFeeBPS

func (_Params *ParamsTransactorSession) SetWithdrawalFeeBPS(_withdrawalFeeBPS uint8) (*types.Transaction, error)

SetWithdrawalFeeBPS is a paid mutator transaction binding the contract method 0xdd62a515.

Solidity: function setWithdrawalFeeBPS(uint8 _withdrawalFeeBPS) returns()

func (*ParamsTransactorSession) TransferOwnership

func (_Params *ParamsTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type SbBTCPool

type SbBTCPool struct {
	SbBTCPoolCaller     // Read-only binding to the contract
	SbBTCPoolTransactor // Write-only binding to the contract
	SbBTCPoolFilterer   // Log filterer for contract events
}

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

func NewSbBTCPool

func NewSbBTCPool(address common.Address, backend bind.ContractBackend) (*SbBTCPool, error)

NewSbBTCPool creates a new instance of SbBTCPool, bound to a specific deployed contract.

type SbBTCPoolCaller

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

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

func NewSbBTCPoolCaller

func NewSbBTCPoolCaller(address common.Address, caller bind.ContractCaller) (*SbBTCPoolCaller, error)

NewSbBTCPoolCaller creates a new read-only instance of SbBTCPool, bound to a specific deployed contract.

func (*SbBTCPoolCaller) BalanceBefore

func (_SbBTCPool *SbBTCPoolCaller) BalanceBefore(opts *bind.CallOpts) (*big.Int, error)

BalanceBefore is a free data retrieval call binding the contract method 0x94b5798a.

Solidity: function balanceBefore() view returns(uint256)

func (*SbBTCPoolCaller) Barn

func (_SbBTCPool *SbBTCPoolCaller) Barn(opts *bind.CallOpts) (common.Address, error)

Barn is a free data retrieval call binding the contract method 0x194f480e.

Solidity: function barn() view returns(address)

func (*SbBTCPoolCaller) CurrentMultiplier

func (_SbBTCPool *SbBTCPoolCaller) CurrentMultiplier(opts *bind.CallOpts) (*big.Int, error)

CurrentMultiplier is a free data retrieval call binding the contract method 0x6fbaaa1e.

Solidity: function currentMultiplier() view returns(uint256)

func (*SbBTCPoolCaller) Owed

func (_SbBTCPool *SbBTCPoolCaller) Owed(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Owed is a free data retrieval call binding the contract method 0xdf18e047.

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

func (*SbBTCPoolCaller) Owner

func (_SbBTCPool *SbBTCPoolCaller) 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 (*SbBTCPoolCaller) RewardToken

func (_SbBTCPool *SbBTCPoolCaller) RewardToken(opts *bind.CallOpts) (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*SbBTCPoolCaller) SwapContract

func (_SbBTCPool *SbBTCPoolCaller) SwapContract(opts *bind.CallOpts) (common.Address, error)

SwapContract is a free data retrieval call binding the contract method 0x8ea83031.

Solidity: function swapContract() view returns(address)

func (*SbBTCPoolCaller) TotalNodeStaked

func (_SbBTCPool *SbBTCPoolCaller) TotalNodeStaked(opts *bind.CallOpts) (*big.Int, error)

TotalNodeStaked is a free data retrieval call binding the contract method 0x8ca0a7e5.

Solidity: function totalNodeStaked() view returns(uint256)

func (*SbBTCPoolCaller) UserMultiplier

func (_SbBTCPool *SbBTCPoolCaller) UserMultiplier(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

UserMultiplier is a free data retrieval call binding the contract method 0xb1a03b6b.

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

type SbBTCPoolCallerRaw

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

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

func (*SbBTCPoolCallerRaw) Call

func (_SbBTCPool *SbBTCPoolCallerRaw) 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 SbBTCPoolCallerSession

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

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

func (*SbBTCPoolCallerSession) BalanceBefore

func (_SbBTCPool *SbBTCPoolCallerSession) BalanceBefore() (*big.Int, error)

BalanceBefore is a free data retrieval call binding the contract method 0x94b5798a.

Solidity: function balanceBefore() view returns(uint256)

func (*SbBTCPoolCallerSession) Barn

func (_SbBTCPool *SbBTCPoolCallerSession) Barn() (common.Address, error)

Barn is a free data retrieval call binding the contract method 0x194f480e.

Solidity: function barn() view returns(address)

func (*SbBTCPoolCallerSession) CurrentMultiplier

func (_SbBTCPool *SbBTCPoolCallerSession) CurrentMultiplier() (*big.Int, error)

CurrentMultiplier is a free data retrieval call binding the contract method 0x6fbaaa1e.

Solidity: function currentMultiplier() view returns(uint256)

func (*SbBTCPoolCallerSession) Owed

func (_SbBTCPool *SbBTCPoolCallerSession) Owed(arg0 common.Address) (*big.Int, error)

Owed is a free data retrieval call binding the contract method 0xdf18e047.

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

func (*SbBTCPoolCallerSession) Owner

func (_SbBTCPool *SbBTCPoolCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SbBTCPoolCallerSession) RewardToken

func (_SbBTCPool *SbBTCPoolCallerSession) RewardToken() (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*SbBTCPoolCallerSession) SwapContract

func (_SbBTCPool *SbBTCPoolCallerSession) SwapContract() (common.Address, error)

SwapContract is a free data retrieval call binding the contract method 0x8ea83031.

Solidity: function swapContract() view returns(address)

func (*SbBTCPoolCallerSession) TotalNodeStaked

func (_SbBTCPool *SbBTCPoolCallerSession) TotalNodeStaked() (*big.Int, error)

TotalNodeStaked is a free data retrieval call binding the contract method 0x8ca0a7e5.

Solidity: function totalNodeStaked() view returns(uint256)

func (*SbBTCPoolCallerSession) UserMultiplier

func (_SbBTCPool *SbBTCPoolCallerSession) UserMultiplier(arg0 common.Address) (*big.Int, error)

UserMultiplier is a free data retrieval call binding the contract method 0xb1a03b6b.

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

type SbBTCPoolClaim

type SbBTCPoolClaim struct {
	User   common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

SbBTCPoolClaim represents a Claim event raised by the SbBTCPool contract.

type SbBTCPoolClaimIterator

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

SbBTCPoolClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the SbBTCPool contract.

func (*SbBTCPoolClaimIterator) Close

func (it *SbBTCPoolClaimIterator) Close() error

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

func (*SbBTCPoolClaimIterator) Error

func (it *SbBTCPoolClaimIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SbBTCPoolClaimIterator) Next

func (it *SbBTCPoolClaimIterator) 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 SbBTCPoolFilterer

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

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

func NewSbBTCPoolFilterer

func NewSbBTCPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*SbBTCPoolFilterer, error)

NewSbBTCPoolFilterer creates a new log filterer instance of SbBTCPool, bound to a specific deployed contract.

func (*SbBTCPoolFilterer) FilterClaim

func (_SbBTCPool *SbBTCPoolFilterer) FilterClaim(opts *bind.FilterOpts, user []common.Address) (*SbBTCPoolClaimIterator, error)

FilterClaim is a free log retrieval operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.

Solidity: event Claim(address indexed user, uint256 amount)

func (*SbBTCPoolFilterer) FilterOwnershipTransferred

func (_SbBTCPool *SbBTCPoolFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SbBTCPoolOwnershipTransferredIterator, error)

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

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

func (*SbBTCPoolFilterer) ParseClaim

func (_SbBTCPool *SbBTCPoolFilterer) ParseClaim(log types.Log) (*SbBTCPoolClaim, error)

ParseClaim is a log parse operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.

Solidity: event Claim(address indexed user, uint256 amount)

func (*SbBTCPoolFilterer) ParseOwnershipTransferred

func (_SbBTCPool *SbBTCPoolFilterer) ParseOwnershipTransferred(log types.Log) (*SbBTCPoolOwnershipTransferred, error)

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

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

func (*SbBTCPoolFilterer) WatchClaim

func (_SbBTCPool *SbBTCPoolFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *SbBTCPoolClaim, user []common.Address) (event.Subscription, error)

WatchClaim is a free log subscription operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.

Solidity: event Claim(address indexed user, uint256 amount)

func (*SbBTCPoolFilterer) WatchOwnershipTransferred

func (_SbBTCPool *SbBTCPoolFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SbBTCPoolOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

type SbBTCPoolOwnershipTransferred

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

SbBTCPoolOwnershipTransferred represents a OwnershipTransferred event raised by the SbBTCPool contract.

type SbBTCPoolOwnershipTransferredIterator

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

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

func (*SbBTCPoolOwnershipTransferredIterator) Close

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

func (*SbBTCPoolOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SbBTCPoolOwnershipTransferredIterator) 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 SbBTCPoolRaw

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

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

func (*SbBTCPoolRaw) Call

func (_SbBTCPool *SbBTCPoolRaw) 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 (*SbBTCPoolRaw) Transact

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

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

func (*SbBTCPoolRaw) Transfer

func (_SbBTCPool *SbBTCPoolRaw) 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 SbBTCPoolSession

type SbBTCPoolSession struct {
	Contract     *SbBTCPool        // 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
}

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

func (*SbBTCPoolSession) AckFunds

func (_SbBTCPool *SbBTCPoolSession) AckFunds() (*types.Transaction, error)

AckFunds is a paid mutator transaction binding the contract method 0xacfd9325.

Solidity: function ackFunds() returns()

func (*SbBTCPoolSession) BalanceBefore

func (_SbBTCPool *SbBTCPoolSession) BalanceBefore() (*big.Int, error)

BalanceBefore is a free data retrieval call binding the contract method 0x94b5798a.

Solidity: function balanceBefore() view returns(uint256)

func (*SbBTCPoolSession) Barn

func (_SbBTCPool *SbBTCPoolSession) Barn() (common.Address, error)

Barn is a free data retrieval call binding the contract method 0x194f480e.

Solidity: function barn() view returns(address)

func (*SbBTCPoolSession) Claim

func (_SbBTCPool *SbBTCPoolSession) Claim() (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns(uint256)

func (*SbBTCPoolSession) CurrentMultiplier

func (_SbBTCPool *SbBTCPoolSession) CurrentMultiplier() (*big.Int, error)

CurrentMultiplier is a free data retrieval call binding the contract method 0x6fbaaa1e.

Solidity: function currentMultiplier() view returns(uint256)

func (*SbBTCPoolSession) EmergencyWithdraw

func (_SbBTCPool *SbBTCPoolSession) EmergencyWithdraw() (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0xdb2e21bc.

Solidity: function emergencyWithdraw() returns()

func (*SbBTCPoolSession) Owed

func (_SbBTCPool *SbBTCPoolSession) Owed(arg0 common.Address) (*big.Int, error)

Owed is a free data retrieval call binding the contract method 0xdf18e047.

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

func (*SbBTCPoolSession) Owner

func (_SbBTCPool *SbBTCPoolSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SbBTCPoolSession) RenounceOwnership

func (_SbBTCPool *SbBTCPoolSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SbBTCPoolSession) ResetUnstakedNode

func (_SbBTCPool *SbBTCPoolSession) ResetUnstakedNode(_node common.Address) (*types.Transaction, error)

ResetUnstakedNode is a paid mutator transaction binding the contract method 0x58411c09.

Solidity: function resetUnstakedNode(address _node) returns()

func (*SbBTCPoolSession) RewardToken

func (_SbBTCPool *SbBTCPoolSession) RewardToken() (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*SbBTCPoolSession) SetBarnAndSwap

func (_SbBTCPool *SbBTCPoolSession) SetBarnAndSwap(_barn common.Address, _swap common.Address) (*types.Transaction, error)

SetBarnAndSwap is a paid mutator transaction binding the contract method 0x1ed64040.

Solidity: function setBarnAndSwap(address _barn, address _swap) returns()

func (*SbBTCPoolSession) SwapContract

func (_SbBTCPool *SbBTCPoolSession) SwapContract() (common.Address, error)

SwapContract is a free data retrieval call binding the contract method 0x8ea83031.

Solidity: function swapContract() view returns(address)

func (*SbBTCPoolSession) TotalNodeStaked

func (_SbBTCPool *SbBTCPoolSession) TotalNodeStaked() (*big.Int, error)

TotalNodeStaked is a free data retrieval call binding the contract method 0x8ca0a7e5.

Solidity: function totalNodeStaked() view returns(uint256)

func (*SbBTCPoolSession) TransferOwnership

func (_SbBTCPool *SbBTCPoolSession) 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 (*SbBTCPoolSession) UpdateAll

func (_SbBTCPool *SbBTCPoolSession) UpdateAll(_timestamp *big.Int) (*types.Transaction, error)

UpdateAll is a paid mutator transaction binding the contract method 0xa616f345.

Solidity: function updateAll(uint256 _timestamp) returns()

func (*SbBTCPoolSession) UserMultiplier

func (_SbBTCPool *SbBTCPoolSession) UserMultiplier(arg0 common.Address) (*big.Int, error)

UserMultiplier is a free data retrieval call binding the contract method 0xb1a03b6b.

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

type SbBTCPoolTransactor

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

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

func NewSbBTCPoolTransactor

func NewSbBTCPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*SbBTCPoolTransactor, error)

NewSbBTCPoolTransactor creates a new write-only instance of SbBTCPool, bound to a specific deployed contract.

func (*SbBTCPoolTransactor) AckFunds

func (_SbBTCPool *SbBTCPoolTransactor) AckFunds(opts *bind.TransactOpts) (*types.Transaction, error)

AckFunds is a paid mutator transaction binding the contract method 0xacfd9325.

Solidity: function ackFunds() returns()

func (*SbBTCPoolTransactor) Claim

func (_SbBTCPool *SbBTCPoolTransactor) Claim(opts *bind.TransactOpts) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns(uint256)

func (*SbBTCPoolTransactor) EmergencyWithdraw

func (_SbBTCPool *SbBTCPoolTransactor) EmergencyWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0xdb2e21bc.

Solidity: function emergencyWithdraw() returns()

func (*SbBTCPoolTransactor) RenounceOwnership

func (_SbBTCPool *SbBTCPoolTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SbBTCPoolTransactor) ResetUnstakedNode

func (_SbBTCPool *SbBTCPoolTransactor) ResetUnstakedNode(opts *bind.TransactOpts, _node common.Address) (*types.Transaction, error)

ResetUnstakedNode is a paid mutator transaction binding the contract method 0x58411c09.

Solidity: function resetUnstakedNode(address _node) returns()

func (*SbBTCPoolTransactor) SetBarnAndSwap

func (_SbBTCPool *SbBTCPoolTransactor) SetBarnAndSwap(opts *bind.TransactOpts, _barn common.Address, _swap common.Address) (*types.Transaction, error)

SetBarnAndSwap is a paid mutator transaction binding the contract method 0x1ed64040.

Solidity: function setBarnAndSwap(address _barn, address _swap) returns()

func (*SbBTCPoolTransactor) TransferOwnership

func (_SbBTCPool *SbBTCPoolTransactor) 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 (*SbBTCPoolTransactor) UpdateAll

func (_SbBTCPool *SbBTCPoolTransactor) UpdateAll(opts *bind.TransactOpts, _timestamp *big.Int) (*types.Transaction, error)

UpdateAll is a paid mutator transaction binding the contract method 0xa616f345.

Solidity: function updateAll(uint256 _timestamp) returns()

type SbBTCPoolTransactorRaw

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

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

func (*SbBTCPoolTransactorRaw) Transact

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

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

func (*SbBTCPoolTransactorRaw) Transfer

func (_SbBTCPool *SbBTCPoolTransactorRaw) 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 SbBTCPoolTransactorSession

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

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

func (*SbBTCPoolTransactorSession) AckFunds

func (_SbBTCPool *SbBTCPoolTransactorSession) AckFunds() (*types.Transaction, error)

AckFunds is a paid mutator transaction binding the contract method 0xacfd9325.

Solidity: function ackFunds() returns()

func (*SbBTCPoolTransactorSession) Claim

func (_SbBTCPool *SbBTCPoolTransactorSession) Claim() (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns(uint256)

func (*SbBTCPoolTransactorSession) EmergencyWithdraw

func (_SbBTCPool *SbBTCPoolTransactorSession) EmergencyWithdraw() (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0xdb2e21bc.

Solidity: function emergencyWithdraw() returns()

func (*SbBTCPoolTransactorSession) RenounceOwnership

func (_SbBTCPool *SbBTCPoolTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SbBTCPoolTransactorSession) ResetUnstakedNode

func (_SbBTCPool *SbBTCPoolTransactorSession) ResetUnstakedNode(_node common.Address) (*types.Transaction, error)

ResetUnstakedNode is a paid mutator transaction binding the contract method 0x58411c09.

Solidity: function resetUnstakedNode(address _node) returns()

func (*SbBTCPoolTransactorSession) SetBarnAndSwap

func (_SbBTCPool *SbBTCPoolTransactorSession) SetBarnAndSwap(_barn common.Address, _swap common.Address) (*types.Transaction, error)

SetBarnAndSwap is a paid mutator transaction binding the contract method 0x1ed64040.

Solidity: function setBarnAndSwap(address _barn, address _swap) returns()

func (*SbBTCPoolTransactorSession) TransferOwnership

func (_SbBTCPool *SbBTCPoolTransactorSession) 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 (*SbBTCPoolTransactorSession) UpdateAll

func (_SbBTCPool *SbBTCPoolTransactorSession) UpdateAll(_timestamp *big.Int) (*types.Transaction, error)

UpdateAll is a paid mutator transaction binding the contract method 0xa616f345.

Solidity: function updateAll(uint256 _timestamp) returns()

type SwapContract

type SwapContract struct {
	SwapContractCaller     // Read-only binding to the contract
	SwapContractTransactor // Write-only binding to the contract
	SwapContractFilterer   // Log filterer for contract events
}

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

func NewSwapContract

func NewSwapContract(address common.Address, backend bind.ContractBackend) (*SwapContract, error)

NewSwapContract creates a new instance of SwapContract, bound to a specific deployed contract.

type SwapContractBurnLPTokensForFloat

type SwapContractBurnLPTokensForFloat struct {
	Token          common.Address
	AmountOfLP     *big.Int
	AmountOfFloat  *big.Int
	CurrentPriceLP *big.Int
	Withdrawal     *big.Int
	Txid           [32]byte
	Raw            types.Log // Blockchain specific contextual infos
}

SwapContractBurnLPTokensForFloat represents a BurnLPTokensForFloat event raised by the SwapContract contract.

type SwapContractBurnLPTokensForFloatIterator

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

SwapContractBurnLPTokensForFloatIterator is returned from FilterBurnLPTokensForFloat and is used to iterate over the raw logs and unpacked data for BurnLPTokensForFloat events raised by the SwapContract contract.

func (*SwapContractBurnLPTokensForFloatIterator) Close

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

func (*SwapContractBurnLPTokensForFloatIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapContractBurnLPTokensForFloatIterator) 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 SwapContractCaller

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

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

func NewSwapContractCaller

func NewSwapContractCaller(address common.Address, caller bind.ContractCaller) (*SwapContractCaller, error)

NewSwapContractCaller creates a new read-only instance of SwapContract, bound to a specific deployed contract.

func (*SwapContractCaller) ActiveNodeCount

func (_SwapContract *SwapContractCaller) ActiveNodeCount(opts *bind.CallOpts) (uint8, error)

ActiveNodeCount is a free data retrieval call binding the contract method 0x75340815.

Solidity: function activeNodeCount() view returns(uint8)

func (*SwapContractCaller) BTCTADDR

func (_SwapContract *SwapContractCaller) BTCTADDR(opts *bind.CallOpts) (common.Address, error)

BTCTADDR is a free data retrieval call binding the contract method 0x0f909486.

Solidity: function BTCT_ADDR() view returns(address)

func (*SwapContractCaller) BuybackAddress

func (_SwapContract *SwapContractCaller) BuybackAddress(opts *bind.CallOpts) (common.Address, error)

BuybackAddress is a free data retrieval call binding the contract method 0xcc2fbd66.

Solidity: function buybackAddress() view returns(address)

func (*SwapContractCaller) BuybackRewardsRatio

func (_SwapContract *SwapContractCaller) BuybackRewardsRatio(opts *bind.CallOpts) (*big.Int, error)

BuybackRewardsRatio is a free data retrieval call binding the contract method 0x0b513f1d.

Solidity: function buybackRewardsRatio() view returns(uint256)

func (*SwapContractCaller) ChurnedInCount

func (_SwapContract *SwapContractCaller) ChurnedInCount(opts *bind.CallOpts) (uint8, error)

ChurnedInCount is a free data retrieval call binding the contract method 0x0089356f.

Solidity: function churnedInCount() view returns(uint8)

func (*SwapContractCaller) GetActiveNodes

func (_SwapContract *SwapContractCaller) GetActiveNodes(opts *bind.CallOpts) ([]common.Address, error)

GetActiveNodes is a free data retrieval call binding the contract method 0x6b51e919.

Solidity: function getActiveNodes() view returns(address[])

func (*SwapContractCaller) GetCurrentPriceLP

func (_SwapContract *SwapContractCaller) GetCurrentPriceLP(opts *bind.CallOpts) (*big.Int, error)

GetCurrentPriceLP is a free data retrieval call binding the contract method 0x45137e27.

Solidity: function getCurrentPriceLP() view returns(uint256 nowPrice)

func (*SwapContractCaller) GetFloatReserve

func (_SwapContract *SwapContractCaller) GetFloatReserve(opts *bind.CallOpts, _tokenA common.Address, _tokenB common.Address) (struct {
	ReserveA *big.Int
	ReserveB *big.Int
}, error)

GetFloatReserve is a free data retrieval call binding the contract method 0xec482729.

Solidity: function getFloatReserve(address _tokenA, address _tokenB) view returns(uint256 reserveA, uint256 reserveB)

func (*SwapContractCaller) IsNodeStake

func (_SwapContract *SwapContractCaller) IsNodeStake(opts *bind.CallOpts, _user common.Address) (bool, error)

IsNodeStake is a free data retrieval call binding the contract method 0xa742329d.

Solidity: function isNodeStake(address _user) view returns(bool)

func (*SwapContractCaller) IsTxUsed

func (_SwapContract *SwapContractCaller) IsTxUsed(opts *bind.CallOpts, _txid [32]byte) (bool, error)

IsTxUsed is a free data retrieval call binding the contract method 0xe6ca2084.

Solidity: function isTxUsed(bytes32 _txid) view returns(bool)

func (*SwapContractCaller) LpToken

func (_SwapContract *SwapContractCaller) LpToken(opts *bind.CallOpts) (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x5fcbd285.

Solidity: function lpToken() view returns(address)

func (*SwapContractCaller) NodeRewardsRatio

func (_SwapContract *SwapContractCaller) NodeRewardsRatio(opts *bind.CallOpts) (*big.Int, error)

NodeRewardsRatio is a free data retrieval call binding the contract method 0x0b68134d.

Solidity: function nodeRewardsRatio() view returns(uint256)

func (*SwapContractCaller) Owner

func (_SwapContract *SwapContractCaller) 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 (*SwapContractCaller) SbBTCPool

func (_SwapContract *SwapContractCaller) SbBTCPool(opts *bind.CallOpts) (common.Address, error)

SbBTCPool is a free data retrieval call binding the contract method 0x0085aea1.

Solidity: function sbBTCPool() view returns(address)

func (*SwapContractCaller) Sw

func (_SwapContract *SwapContractCaller) Sw(opts *bind.CallOpts) (common.Address, error)

Sw is a free data retrieval call binding the contract method 0x00e5cee4.

Solidity: function sw() view returns(address)

func (*SwapContractCaller) TssThreshold

func (_SwapContract *SwapContractCaller) TssThreshold(opts *bind.CallOpts) (uint8, error)

TssThreshold is a free data retrieval call binding the contract method 0x12d1441e.

Solidity: function tssThreshold() view returns(uint8)

func (*SwapContractCaller) Whitelist

func (_SwapContract *SwapContractCaller) Whitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

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

func (*SwapContractCaller) WithdrawalFeeBPS

func (_SwapContract *SwapContractCaller) WithdrawalFeeBPS(opts *bind.CallOpts) (*big.Int, error)

WithdrawalFeeBPS is a free data retrieval call binding the contract method 0xb6268e5d.

Solidity: function withdrawalFeeBPS() view returns(uint256)

type SwapContractCallerRaw

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

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

func (*SwapContractCallerRaw) Call

func (_SwapContract *SwapContractCallerRaw) 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 SwapContractCallerSession

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

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

func (*SwapContractCallerSession) ActiveNodeCount

func (_SwapContract *SwapContractCallerSession) ActiveNodeCount() (uint8, error)

ActiveNodeCount is a free data retrieval call binding the contract method 0x75340815.

Solidity: function activeNodeCount() view returns(uint8)

func (*SwapContractCallerSession) BTCTADDR

func (_SwapContract *SwapContractCallerSession) BTCTADDR() (common.Address, error)

BTCTADDR is a free data retrieval call binding the contract method 0x0f909486.

Solidity: function BTCT_ADDR() view returns(address)

func (*SwapContractCallerSession) BuybackAddress

func (_SwapContract *SwapContractCallerSession) BuybackAddress() (common.Address, error)

BuybackAddress is a free data retrieval call binding the contract method 0xcc2fbd66.

Solidity: function buybackAddress() view returns(address)

func (*SwapContractCallerSession) BuybackRewardsRatio

func (_SwapContract *SwapContractCallerSession) BuybackRewardsRatio() (*big.Int, error)

BuybackRewardsRatio is a free data retrieval call binding the contract method 0x0b513f1d.

Solidity: function buybackRewardsRatio() view returns(uint256)

func (*SwapContractCallerSession) ChurnedInCount

func (_SwapContract *SwapContractCallerSession) ChurnedInCount() (uint8, error)

ChurnedInCount is a free data retrieval call binding the contract method 0x0089356f.

Solidity: function churnedInCount() view returns(uint8)

func (*SwapContractCallerSession) GetActiveNodes

func (_SwapContract *SwapContractCallerSession) GetActiveNodes() ([]common.Address, error)

GetActiveNodes is a free data retrieval call binding the contract method 0x6b51e919.

Solidity: function getActiveNodes() view returns(address[])

func (*SwapContractCallerSession) GetCurrentPriceLP

func (_SwapContract *SwapContractCallerSession) GetCurrentPriceLP() (*big.Int, error)

GetCurrentPriceLP is a free data retrieval call binding the contract method 0x45137e27.

Solidity: function getCurrentPriceLP() view returns(uint256 nowPrice)

func (*SwapContractCallerSession) GetFloatReserve

func (_SwapContract *SwapContractCallerSession) GetFloatReserve(_tokenA common.Address, _tokenB common.Address) (struct {
	ReserveA *big.Int
	ReserveB *big.Int
}, error)

GetFloatReserve is a free data retrieval call binding the contract method 0xec482729.

Solidity: function getFloatReserve(address _tokenA, address _tokenB) view returns(uint256 reserveA, uint256 reserveB)

func (*SwapContractCallerSession) IsNodeStake

func (_SwapContract *SwapContractCallerSession) IsNodeStake(_user common.Address) (bool, error)

IsNodeStake is a free data retrieval call binding the contract method 0xa742329d.

Solidity: function isNodeStake(address _user) view returns(bool)

func (*SwapContractCallerSession) IsTxUsed

func (_SwapContract *SwapContractCallerSession) IsTxUsed(_txid [32]byte) (bool, error)

IsTxUsed is a free data retrieval call binding the contract method 0xe6ca2084.

Solidity: function isTxUsed(bytes32 _txid) view returns(bool)

func (*SwapContractCallerSession) LpToken

func (_SwapContract *SwapContractCallerSession) LpToken() (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x5fcbd285.

Solidity: function lpToken() view returns(address)

func (*SwapContractCallerSession) NodeRewardsRatio

func (_SwapContract *SwapContractCallerSession) NodeRewardsRatio() (*big.Int, error)

NodeRewardsRatio is a free data retrieval call binding the contract method 0x0b68134d.

Solidity: function nodeRewardsRatio() view returns(uint256)

func (*SwapContractCallerSession) Owner

func (_SwapContract *SwapContractCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SwapContractCallerSession) SbBTCPool

func (_SwapContract *SwapContractCallerSession) SbBTCPool() (common.Address, error)

SbBTCPool is a free data retrieval call binding the contract method 0x0085aea1.

Solidity: function sbBTCPool() view returns(address)

func (*SwapContractCallerSession) Sw

func (_SwapContract *SwapContractCallerSession) Sw() (common.Address, error)

Sw is a free data retrieval call binding the contract method 0x00e5cee4.

Solidity: function sw() view returns(address)

func (*SwapContractCallerSession) TssThreshold

func (_SwapContract *SwapContractCallerSession) TssThreshold() (uint8, error)

TssThreshold is a free data retrieval call binding the contract method 0x12d1441e.

Solidity: function tssThreshold() view returns(uint8)

func (*SwapContractCallerSession) Whitelist

func (_SwapContract *SwapContractCallerSession) Whitelist(arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

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

func (*SwapContractCallerSession) WithdrawalFeeBPS

func (_SwapContract *SwapContractCallerSession) WithdrawalFeeBPS() (*big.Int, error)

WithdrawalFeeBPS is a free data retrieval call binding the contract method 0xb6268e5d.

Solidity: function withdrawalFeeBPS() view returns(uint256)

type SwapContractFilterer

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

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

func NewSwapContractFilterer

func NewSwapContractFilterer(address common.Address, filterer bind.ContractFilterer) (*SwapContractFilterer, error)

NewSwapContractFilterer creates a new log filterer instance of SwapContract, bound to a specific deployed contract.

func (*SwapContractFilterer) FilterBurnLPTokensForFloat

func (_SwapContract *SwapContractFilterer) FilterBurnLPTokensForFloat(opts *bind.FilterOpts) (*SwapContractBurnLPTokensForFloatIterator, error)

FilterBurnLPTokensForFloat is a free log retrieval operation binding the contract event 0xa9da34e5e4a956b744307ae7611795634e8365951073bf049d76b64b2ae7a058.

Solidity: event BurnLPTokensForFloat(address token, uint256 amountOfLP, uint256 amountOfFloat, uint256 currentPriceLP, uint256 withdrawal, bytes32 txid)

func (*SwapContractFilterer) FilterIssueLPTokensForFloat

func (_SwapContract *SwapContractFilterer) FilterIssueLPTokensForFloat(opts *bind.FilterOpts) (*SwapContractIssueLPTokensForFloatIterator, error)

FilterIssueLPTokensForFloat is a free log retrieval operation binding the contract event 0xdfaf4e23f7030adafec91a682e05bf9fb30c721f9cec3d8bcfae0459c5362db1.

Solidity: event IssueLPTokensForFloat(address to, uint256 amountOfFloat, uint256 amountOfLP, uint256 currentPriceLP, uint256 depositFees, bytes32 txid)

func (*SwapContractFilterer) FilterOwnershipTransferred

func (_SwapContract *SwapContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SwapContractOwnershipTransferredIterator, error)

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

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

func (*SwapContractFilterer) FilterRewardsCollection

func (_SwapContract *SwapContractFilterer) FilterRewardsCollection(opts *bind.FilterOpts) (*SwapContractRewardsCollectionIterator, error)

FilterRewardsCollection is a free log retrieval operation binding the contract event 0xe3debe835f6848edc082b32a1d729781d3bfcd7e14422d80bcaa6794d3816b2f.

Solidity: event RewardsCollection(address feesToken, uint256 rewards, uint256 rewardsLPTTotal, uint256 currentPriceLP)

func (*SwapContractFilterer) FilterSwap

func (_SwapContract *SwapContractFilterer) FilterSwap(opts *bind.FilterOpts) (*SwapContractSwapIterator, error)

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

Solidity: event Swap(address from, address to, uint256 amount)

func (*SwapContractFilterer) ParseBurnLPTokensForFloat

func (_SwapContract *SwapContractFilterer) ParseBurnLPTokensForFloat(log types.Log) (*SwapContractBurnLPTokensForFloat, error)

ParseBurnLPTokensForFloat is a log parse operation binding the contract event 0xa9da34e5e4a956b744307ae7611795634e8365951073bf049d76b64b2ae7a058.

Solidity: event BurnLPTokensForFloat(address token, uint256 amountOfLP, uint256 amountOfFloat, uint256 currentPriceLP, uint256 withdrawal, bytes32 txid)

func (*SwapContractFilterer) ParseIssueLPTokensForFloat

func (_SwapContract *SwapContractFilterer) ParseIssueLPTokensForFloat(log types.Log) (*SwapContractIssueLPTokensForFloat, error)

ParseIssueLPTokensForFloat is a log parse operation binding the contract event 0xdfaf4e23f7030adafec91a682e05bf9fb30c721f9cec3d8bcfae0459c5362db1.

Solidity: event IssueLPTokensForFloat(address to, uint256 amountOfFloat, uint256 amountOfLP, uint256 currentPriceLP, uint256 depositFees, bytes32 txid)

func (*SwapContractFilterer) ParseOwnershipTransferred

func (_SwapContract *SwapContractFilterer) ParseOwnershipTransferred(log types.Log) (*SwapContractOwnershipTransferred, error)

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

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

func (*SwapContractFilterer) ParseRewardsCollection

func (_SwapContract *SwapContractFilterer) ParseRewardsCollection(log types.Log) (*SwapContractRewardsCollection, error)

ParseRewardsCollection is a log parse operation binding the contract event 0xe3debe835f6848edc082b32a1d729781d3bfcd7e14422d80bcaa6794d3816b2f.

Solidity: event RewardsCollection(address feesToken, uint256 rewards, uint256 rewardsLPTTotal, uint256 currentPriceLP)

func (*SwapContractFilterer) ParseSwap

func (_SwapContract *SwapContractFilterer) ParseSwap(log types.Log) (*SwapContractSwap, error)

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

Solidity: event Swap(address from, address to, uint256 amount)

func (*SwapContractFilterer) WatchBurnLPTokensForFloat

func (_SwapContract *SwapContractFilterer) WatchBurnLPTokensForFloat(opts *bind.WatchOpts, sink chan<- *SwapContractBurnLPTokensForFloat) (event.Subscription, error)

WatchBurnLPTokensForFloat is a free log subscription operation binding the contract event 0xa9da34e5e4a956b744307ae7611795634e8365951073bf049d76b64b2ae7a058.

Solidity: event BurnLPTokensForFloat(address token, uint256 amountOfLP, uint256 amountOfFloat, uint256 currentPriceLP, uint256 withdrawal, bytes32 txid)

func (*SwapContractFilterer) WatchIssueLPTokensForFloat

func (_SwapContract *SwapContractFilterer) WatchIssueLPTokensForFloat(opts *bind.WatchOpts, sink chan<- *SwapContractIssueLPTokensForFloat) (event.Subscription, error)

WatchIssueLPTokensForFloat is a free log subscription operation binding the contract event 0xdfaf4e23f7030adafec91a682e05bf9fb30c721f9cec3d8bcfae0459c5362db1.

Solidity: event IssueLPTokensForFloat(address to, uint256 amountOfFloat, uint256 amountOfLP, uint256 currentPriceLP, uint256 depositFees, bytes32 txid)

func (*SwapContractFilterer) WatchOwnershipTransferred

func (_SwapContract *SwapContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SwapContractOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*SwapContractFilterer) WatchRewardsCollection

func (_SwapContract *SwapContractFilterer) WatchRewardsCollection(opts *bind.WatchOpts, sink chan<- *SwapContractRewardsCollection) (event.Subscription, error)

WatchRewardsCollection is a free log subscription operation binding the contract event 0xe3debe835f6848edc082b32a1d729781d3bfcd7e14422d80bcaa6794d3816b2f.

Solidity: event RewardsCollection(address feesToken, uint256 rewards, uint256 rewardsLPTTotal, uint256 currentPriceLP)

func (*SwapContractFilterer) WatchSwap

func (_SwapContract *SwapContractFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *SwapContractSwap) (event.Subscription, error)

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

Solidity: event Swap(address from, address to, uint256 amount)

type SwapContractIssueLPTokensForFloat

type SwapContractIssueLPTokensForFloat struct {
	To             common.Address
	AmountOfFloat  *big.Int
	AmountOfLP     *big.Int
	CurrentPriceLP *big.Int
	DepositFees    *big.Int
	Txid           [32]byte
	Raw            types.Log // Blockchain specific contextual infos
}

SwapContractIssueLPTokensForFloat represents a IssueLPTokensForFloat event raised by the SwapContract contract.

type SwapContractIssueLPTokensForFloatIterator

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

SwapContractIssueLPTokensForFloatIterator is returned from FilterIssueLPTokensForFloat and is used to iterate over the raw logs and unpacked data for IssueLPTokensForFloat events raised by the SwapContract contract.

func (*SwapContractIssueLPTokensForFloatIterator) Close

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

func (*SwapContractIssueLPTokensForFloatIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapContractIssueLPTokensForFloatIterator) 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 SwapContractOwnershipTransferred

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

SwapContractOwnershipTransferred represents a OwnershipTransferred event raised by the SwapContract contract.

type SwapContractOwnershipTransferredIterator

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

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

func (*SwapContractOwnershipTransferredIterator) Close

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

func (*SwapContractOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapContractOwnershipTransferredIterator) 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 SwapContractRaw

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

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

func (*SwapContractRaw) Call

func (_SwapContract *SwapContractRaw) 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 (*SwapContractRaw) Transact

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

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

func (*SwapContractRaw) Transfer

func (_SwapContract *SwapContractRaw) 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 SwapContractRewardsCollection

type SwapContractRewardsCollection struct {
	FeesToken       common.Address
	Rewards         *big.Int
	RewardsLPTTotal *big.Int
	CurrentPriceLP  *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

SwapContractRewardsCollection represents a RewardsCollection event raised by the SwapContract contract.

type SwapContractRewardsCollectionIterator

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

SwapContractRewardsCollectionIterator is returned from FilterRewardsCollection and is used to iterate over the raw logs and unpacked data for RewardsCollection events raised by the SwapContract contract.

func (*SwapContractRewardsCollectionIterator) Close

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

func (*SwapContractRewardsCollectionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapContractRewardsCollectionIterator) 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 SwapContractSession

type SwapContractSession struct {
	Contract     *SwapContract     // 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
}

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

func (*SwapContractSession) ActiveNodeCount

func (_SwapContract *SwapContractSession) ActiveNodeCount() (uint8, error)

ActiveNodeCount is a free data retrieval call binding the contract method 0x75340815.

Solidity: function activeNodeCount() view returns(uint8)

func (*SwapContractSession) BTCTADDR

func (_SwapContract *SwapContractSession) BTCTADDR() (common.Address, error)

BTCTADDR is a free data retrieval call binding the contract method 0x0f909486.

Solidity: function BTCT_ADDR() view returns(address)

func (*SwapContractSession) BuybackAddress

func (_SwapContract *SwapContractSession) BuybackAddress() (common.Address, error)

BuybackAddress is a free data retrieval call binding the contract method 0xcc2fbd66.

Solidity: function buybackAddress() view returns(address)

func (*SwapContractSession) BuybackRewardsRatio

func (_SwapContract *SwapContractSession) BuybackRewardsRatio() (*big.Int, error)

BuybackRewardsRatio is a free data retrieval call binding the contract method 0x0b513f1d.

Solidity: function buybackRewardsRatio() view returns(uint256)

func (*SwapContractSession) Churn

func (_SwapContract *SwapContractSession) Churn(_newOwner common.Address, _nodes []common.Address, _isRemoved []bool, _churnedInCount uint8, _tssThreshold uint8) (*types.Transaction, error)

Churn is a paid mutator transaction binding the contract method 0x6845a025.

Solidity: function churn(address _newOwner, address[] _nodes, bool[] _isRemoved, uint8 _churnedInCount, uint8 _tssThreshold) returns(bool)

func (*SwapContractSession) ChurnedInCount

func (_SwapContract *SwapContractSession) ChurnedInCount() (uint8, error)

ChurnedInCount is a free data retrieval call binding the contract method 0x0089356f.

Solidity: function churnedInCount() view returns(uint8)

func (*SwapContractSession) CollectSwapFeesForBTC

func (_SwapContract *SwapContractSession) CollectSwapFeesForBTC(_incomingAmount *big.Int, _minerFee *big.Int, _rewardsAmount *big.Int, _spenders []common.Address, _swapAmounts []*big.Int) (*types.Transaction, error)

CollectSwapFeesForBTC is a paid mutator transaction binding the contract method 0x2adf9f87.

Solidity: function collectSwapFeesForBTC(uint256 _incomingAmount, uint256 _minerFee, uint256 _rewardsAmount, address[] _spenders, uint256[] _swapAmounts) returns(bool)

func (*SwapContractSession) Fallback

func (_SwapContract *SwapContractSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*SwapContractSession) GetActiveNodes

func (_SwapContract *SwapContractSession) GetActiveNodes() ([]common.Address, error)

GetActiveNodes is a free data retrieval call binding the contract method 0x6b51e919.

Solidity: function getActiveNodes() view returns(address[])

func (*SwapContractSession) GetCurrentPriceLP

func (_SwapContract *SwapContractSession) GetCurrentPriceLP() (*big.Int, error)

GetCurrentPriceLP is a free data retrieval call binding the contract method 0x45137e27.

Solidity: function getCurrentPriceLP() view returns(uint256 nowPrice)

func (*SwapContractSession) GetFloatReserve

func (_SwapContract *SwapContractSession) GetFloatReserve(_tokenA common.Address, _tokenB common.Address) (struct {
	ReserveA *big.Int
	ReserveB *big.Int
}, error)

GetFloatReserve is a free data retrieval call binding the contract method 0xec482729.

Solidity: function getFloatReserve(address _tokenA, address _tokenB) view returns(uint256 reserveA, uint256 reserveB)

func (*SwapContractSession) IsNodeStake

func (_SwapContract *SwapContractSession) IsNodeStake(_user common.Address) (bool, error)

IsNodeStake is a free data retrieval call binding the contract method 0xa742329d.

Solidity: function isNodeStake(address _user) view returns(bool)

func (*SwapContractSession) IsTxUsed

func (_SwapContract *SwapContractSession) IsTxUsed(_txid [32]byte) (bool, error)

IsTxUsed is a free data retrieval call binding the contract method 0xe6ca2084.

Solidity: function isTxUsed(bytes32 _txid) view returns(bool)

func (*SwapContractSession) LpToken

func (_SwapContract *SwapContractSession) LpToken() (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x5fcbd285.

Solidity: function lpToken() view returns(address)

func (*SwapContractSession) MultiTransferERC20TightlyPacked

func (_SwapContract *SwapContractSession) MultiTransferERC20TightlyPacked(_destToken common.Address, _addressesAndAmounts [][32]byte, _totalSwapped *big.Int, _rewardsAmount *big.Int, _redeemedFloatTxIds [][32]byte) (*types.Transaction, error)

MultiTransferERC20TightlyPacked is a paid mutator transaction binding the contract method 0xad289e76.

Solidity: function multiTransferERC20TightlyPacked(address _destToken, bytes32[] _addressesAndAmounts, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _redeemedFloatTxIds) returns(bool)

func (*SwapContractSession) NodeRewardsRatio

func (_SwapContract *SwapContractSession) NodeRewardsRatio() (*big.Int, error)

NodeRewardsRatio is a free data retrieval call binding the contract method 0x0b68134d.

Solidity: function nodeRewardsRatio() view returns(uint256)

func (*SwapContractSession) Owner

func (_SwapContract *SwapContractSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SwapContractSession) RecordIncomingFloat

func (_SwapContract *SwapContractSession) RecordIncomingFloat(_token common.Address, _addressesAndAmountOfFloat [32]byte, _txid [32]byte) (*types.Transaction, error)

RecordIncomingFloat is a paid mutator transaction binding the contract method 0xcf10b16b.

Solidity: function recordIncomingFloat(address _token, bytes32 _addressesAndAmountOfFloat, bytes32 _txid) returns(bool)

func (*SwapContractSession) RecordOutcomingFloat

func (_SwapContract *SwapContractSession) RecordOutcomingFloat(_token common.Address, _addressesAndAmountOfLPtoken [32]byte, _minerFee *big.Int, _txid [32]byte) (*types.Transaction, error)

RecordOutcomingFloat is a paid mutator transaction binding the contract method 0x2586c562.

Solidity: function recordOutcomingFloat(address _token, bytes32 _addressesAndAmountOfLPtoken, uint256 _minerFee, bytes32 _txid) returns(bool)

func (*SwapContractSession) RecordUTXOSweepMinerFee

func (_SwapContract *SwapContractSession) RecordUTXOSweepMinerFee(_minerFee *big.Int, _txid [32]byte) (*types.Transaction, error)

RecordUTXOSweepMinerFee is a paid mutator transaction binding the contract method 0xc810a539.

Solidity: function recordUTXOSweepMinerFee(uint256 _minerFee, bytes32 _txid) returns(bool)

func (*SwapContractSession) RenounceOwnership

func (_SwapContract *SwapContractSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SwapContractSession) SbBTCPool

func (_SwapContract *SwapContractSession) SbBTCPool() (common.Address, error)

SbBTCPool is a free data retrieval call binding the contract method 0x0085aea1.

Solidity: function sbBTCPool() view returns(address)

func (*SwapContractSession) SingleTransferERC20

func (_SwapContract *SwapContractSession) SingleTransferERC20(_destToken common.Address, _to common.Address, _amount *big.Int, _totalSwapped *big.Int, _rewardsAmount *big.Int, _redeemedFloatTxIds [][32]byte) (*types.Transaction, error)

SingleTransferERC20 is a paid mutator transaction binding the contract method 0x0d63aca7.

Solidity: function singleTransferERC20(address _destToken, address _to, uint256 _amount, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _redeemedFloatTxIds) returns(bool)

func (*SwapContractSession) Sw

func (_SwapContract *SwapContractSession) Sw() (common.Address, error)

Sw is a free data retrieval call binding the contract method 0x00e5cee4.

Solidity: function sw() view returns(address)

func (*SwapContractSession) TransferOwnership

func (_SwapContract *SwapContractSession) 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 (*SwapContractSession) TssThreshold

func (_SwapContract *SwapContractSession) TssThreshold() (uint8, error)

TssThreshold is a free data retrieval call binding the contract method 0x12d1441e.

Solidity: function tssThreshold() view returns(uint8)

func (*SwapContractSession) UpdateParams

func (_SwapContract *SwapContractSession) UpdateParams(_sbBTCPool common.Address, _buybackAddress common.Address, _withdrawalFeeBPS *big.Int, _nodeRewardsRatio *big.Int, _buybackRewardsRatio *big.Int) (*types.Transaction, error)

UpdateParams is a paid mutator transaction binding the contract method 0xe880afd4.

Solidity: function updateParams(address _sbBTCPool, address _buybackAddress, uint256 _withdrawalFeeBPS, uint256 _nodeRewardsRatio, uint256 _buybackRewardsRatio) returns(bool)

func (*SwapContractSession) Whitelist

func (_SwapContract *SwapContractSession) Whitelist(arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

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

func (*SwapContractSession) WithdrawalFeeBPS

func (_SwapContract *SwapContractSession) WithdrawalFeeBPS() (*big.Int, error)

WithdrawalFeeBPS is a free data retrieval call binding the contract method 0xb6268e5d.

Solidity: function withdrawalFeeBPS() view returns(uint256)

type SwapContractSwap

type SwapContractSwap struct {
	From   common.Address
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

SwapContractSwap represents a Swap event raised by the SwapContract contract.

type SwapContractSwapIterator

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

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

func (*SwapContractSwapIterator) Close

func (it *SwapContractSwapIterator) Close() error

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

func (*SwapContractSwapIterator) Error

func (it *SwapContractSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapContractSwapIterator) Next

func (it *SwapContractSwapIterator) 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 SwapContractTransactor

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

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

func NewSwapContractTransactor

func NewSwapContractTransactor(address common.Address, transactor bind.ContractTransactor) (*SwapContractTransactor, error)

NewSwapContractTransactor creates a new write-only instance of SwapContract, bound to a specific deployed contract.

func (*SwapContractTransactor) Churn

func (_SwapContract *SwapContractTransactor) Churn(opts *bind.TransactOpts, _newOwner common.Address, _nodes []common.Address, _isRemoved []bool, _churnedInCount uint8, _tssThreshold uint8) (*types.Transaction, error)

Churn is a paid mutator transaction binding the contract method 0x6845a025.

Solidity: function churn(address _newOwner, address[] _nodes, bool[] _isRemoved, uint8 _churnedInCount, uint8 _tssThreshold) returns(bool)

func (*SwapContractTransactor) CollectSwapFeesForBTC

func (_SwapContract *SwapContractTransactor) CollectSwapFeesForBTC(opts *bind.TransactOpts, _incomingAmount *big.Int, _minerFee *big.Int, _rewardsAmount *big.Int, _spenders []common.Address, _swapAmounts []*big.Int) (*types.Transaction, error)

CollectSwapFeesForBTC is a paid mutator transaction binding the contract method 0x2adf9f87.

Solidity: function collectSwapFeesForBTC(uint256 _incomingAmount, uint256 _minerFee, uint256 _rewardsAmount, address[] _spenders, uint256[] _swapAmounts) returns(bool)

func (*SwapContractTransactor) Fallback

func (_SwapContract *SwapContractTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*SwapContractTransactor) MultiTransferERC20TightlyPacked

func (_SwapContract *SwapContractTransactor) MultiTransferERC20TightlyPacked(opts *bind.TransactOpts, _destToken common.Address, _addressesAndAmounts [][32]byte, _totalSwapped *big.Int, _rewardsAmount *big.Int, _redeemedFloatTxIds [][32]byte) (*types.Transaction, error)

MultiTransferERC20TightlyPacked is a paid mutator transaction binding the contract method 0xad289e76.

Solidity: function multiTransferERC20TightlyPacked(address _destToken, bytes32[] _addressesAndAmounts, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _redeemedFloatTxIds) returns(bool)

func (*SwapContractTransactor) RecordIncomingFloat

func (_SwapContract *SwapContractTransactor) RecordIncomingFloat(opts *bind.TransactOpts, _token common.Address, _addressesAndAmountOfFloat [32]byte, _txid [32]byte) (*types.Transaction, error)

RecordIncomingFloat is a paid mutator transaction binding the contract method 0xcf10b16b.

Solidity: function recordIncomingFloat(address _token, bytes32 _addressesAndAmountOfFloat, bytes32 _txid) returns(bool)

func (*SwapContractTransactor) RecordOutcomingFloat

func (_SwapContract *SwapContractTransactor) RecordOutcomingFloat(opts *bind.TransactOpts, _token common.Address, _addressesAndAmountOfLPtoken [32]byte, _minerFee *big.Int, _txid [32]byte) (*types.Transaction, error)

RecordOutcomingFloat is a paid mutator transaction binding the contract method 0x2586c562.

Solidity: function recordOutcomingFloat(address _token, bytes32 _addressesAndAmountOfLPtoken, uint256 _minerFee, bytes32 _txid) returns(bool)

func (*SwapContractTransactor) RecordUTXOSweepMinerFee

func (_SwapContract *SwapContractTransactor) RecordUTXOSweepMinerFee(opts *bind.TransactOpts, _minerFee *big.Int, _txid [32]byte) (*types.Transaction, error)

RecordUTXOSweepMinerFee is a paid mutator transaction binding the contract method 0xc810a539.

Solidity: function recordUTXOSweepMinerFee(uint256 _minerFee, bytes32 _txid) returns(bool)

func (*SwapContractTransactor) RenounceOwnership

func (_SwapContract *SwapContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SwapContractTransactor) SingleTransferERC20

func (_SwapContract *SwapContractTransactor) SingleTransferERC20(opts *bind.TransactOpts, _destToken common.Address, _to common.Address, _amount *big.Int, _totalSwapped *big.Int, _rewardsAmount *big.Int, _redeemedFloatTxIds [][32]byte) (*types.Transaction, error)

SingleTransferERC20 is a paid mutator transaction binding the contract method 0x0d63aca7.

Solidity: function singleTransferERC20(address _destToken, address _to, uint256 _amount, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _redeemedFloatTxIds) returns(bool)

func (*SwapContractTransactor) TransferOwnership

func (_SwapContract *SwapContractTransactor) 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 (*SwapContractTransactor) UpdateParams

func (_SwapContract *SwapContractTransactor) UpdateParams(opts *bind.TransactOpts, _sbBTCPool common.Address, _buybackAddress common.Address, _withdrawalFeeBPS *big.Int, _nodeRewardsRatio *big.Int, _buybackRewardsRatio *big.Int) (*types.Transaction, error)

UpdateParams is a paid mutator transaction binding the contract method 0xe880afd4.

Solidity: function updateParams(address _sbBTCPool, address _buybackAddress, uint256 _withdrawalFeeBPS, uint256 _nodeRewardsRatio, uint256 _buybackRewardsRatio) returns(bool)

type SwapContractTransactorRaw

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

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

func (*SwapContractTransactorRaw) Transact

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

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

func (*SwapContractTransactorRaw) Transfer

func (_SwapContract *SwapContractTransactorRaw) 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 SwapContractTransactorSession

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

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

func (*SwapContractTransactorSession) Churn

func (_SwapContract *SwapContractTransactorSession) Churn(_newOwner common.Address, _nodes []common.Address, _isRemoved []bool, _churnedInCount uint8, _tssThreshold uint8) (*types.Transaction, error)

Churn is a paid mutator transaction binding the contract method 0x6845a025.

Solidity: function churn(address _newOwner, address[] _nodes, bool[] _isRemoved, uint8 _churnedInCount, uint8 _tssThreshold) returns(bool)

func (*SwapContractTransactorSession) CollectSwapFeesForBTC

func (_SwapContract *SwapContractTransactorSession) CollectSwapFeesForBTC(_incomingAmount *big.Int, _minerFee *big.Int, _rewardsAmount *big.Int, _spenders []common.Address, _swapAmounts []*big.Int) (*types.Transaction, error)

CollectSwapFeesForBTC is a paid mutator transaction binding the contract method 0x2adf9f87.

Solidity: function collectSwapFeesForBTC(uint256 _incomingAmount, uint256 _minerFee, uint256 _rewardsAmount, address[] _spenders, uint256[] _swapAmounts) returns(bool)

func (*SwapContractTransactorSession) Fallback

func (_SwapContract *SwapContractTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*SwapContractTransactorSession) MultiTransferERC20TightlyPacked

func (_SwapContract *SwapContractTransactorSession) MultiTransferERC20TightlyPacked(_destToken common.Address, _addressesAndAmounts [][32]byte, _totalSwapped *big.Int, _rewardsAmount *big.Int, _redeemedFloatTxIds [][32]byte) (*types.Transaction, error)

MultiTransferERC20TightlyPacked is a paid mutator transaction binding the contract method 0xad289e76.

Solidity: function multiTransferERC20TightlyPacked(address _destToken, bytes32[] _addressesAndAmounts, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _redeemedFloatTxIds) returns(bool)

func (*SwapContractTransactorSession) RecordIncomingFloat

func (_SwapContract *SwapContractTransactorSession) RecordIncomingFloat(_token common.Address, _addressesAndAmountOfFloat [32]byte, _txid [32]byte) (*types.Transaction, error)

RecordIncomingFloat is a paid mutator transaction binding the contract method 0xcf10b16b.

Solidity: function recordIncomingFloat(address _token, bytes32 _addressesAndAmountOfFloat, bytes32 _txid) returns(bool)

func (*SwapContractTransactorSession) RecordOutcomingFloat

func (_SwapContract *SwapContractTransactorSession) RecordOutcomingFloat(_token common.Address, _addressesAndAmountOfLPtoken [32]byte, _minerFee *big.Int, _txid [32]byte) (*types.Transaction, error)

RecordOutcomingFloat is a paid mutator transaction binding the contract method 0x2586c562.

Solidity: function recordOutcomingFloat(address _token, bytes32 _addressesAndAmountOfLPtoken, uint256 _minerFee, bytes32 _txid) returns(bool)

func (*SwapContractTransactorSession) RecordUTXOSweepMinerFee

func (_SwapContract *SwapContractTransactorSession) RecordUTXOSweepMinerFee(_minerFee *big.Int, _txid [32]byte) (*types.Transaction, error)

RecordUTXOSweepMinerFee is a paid mutator transaction binding the contract method 0xc810a539.

Solidity: function recordUTXOSweepMinerFee(uint256 _minerFee, bytes32 _txid) returns(bool)

func (*SwapContractTransactorSession) RenounceOwnership

func (_SwapContract *SwapContractTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SwapContractTransactorSession) SingleTransferERC20

func (_SwapContract *SwapContractTransactorSession) SingleTransferERC20(_destToken common.Address, _to common.Address, _amount *big.Int, _totalSwapped *big.Int, _rewardsAmount *big.Int, _redeemedFloatTxIds [][32]byte) (*types.Transaction, error)

SingleTransferERC20 is a paid mutator transaction binding the contract method 0x0d63aca7.

Solidity: function singleTransferERC20(address _destToken, address _to, uint256 _amount, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _redeemedFloatTxIds) returns(bool)

func (*SwapContractTransactorSession) TransferOwnership

func (_SwapContract *SwapContractTransactorSession) 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 (*SwapContractTransactorSession) UpdateParams

func (_SwapContract *SwapContractTransactorSession) UpdateParams(_sbBTCPool common.Address, _buybackAddress common.Address, _withdrawalFeeBPS *big.Int, _nodeRewardsRatio *big.Int, _buybackRewardsRatio *big.Int) (*types.Transaction, error)

UpdateParams is a paid mutator transaction binding the contract method 0xe880afd4.

Solidity: function updateParams(address _sbBTCPool, address _buybackAddress, uint256 _withdrawalFeeBPS, uint256 _nodeRewardsRatio, uint256 _buybackRewardsRatio) returns(bool)

type SwapRewards

type SwapRewards struct {
	SwapRewardsCaller     // Read-only binding to the contract
	SwapRewardsTransactor // Write-only binding to the contract
	SwapRewardsFilterer   // Log filterer for contract events
}

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

func NewSwapRewards

func NewSwapRewards(address common.Address, backend bind.ContractBackend) (*SwapRewards, error)

NewSwapRewards creates a new instance of SwapRewards, bound to a specific deployed contract.

type SwapRewardsCaller

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

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

func NewSwapRewardsCaller

func NewSwapRewardsCaller(address common.Address, caller bind.ContractCaller) (*SwapRewardsCaller, error)

NewSwapRewardsCaller creates a new read-only instance of SwapRewards, bound to a specific deployed contract.

func (*SwapRewardsCaller) Owner

func (_SwapRewards *SwapRewardsCaller) 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 (*SwapRewardsCaller) PricePerBTC

func (_SwapRewards *SwapRewardsCaller) PricePerBTC(opts *bind.CallOpts) (*big.Int, error)

PricePerBTC is a free data retrieval call binding the contract method 0x4017fe77.

Solidity: function pricePerBTC() view returns(uint256)

func (*SwapRewardsCaller) RebateRate

func (_SwapRewards *SwapRewardsCaller) RebateRate(opts *bind.CallOpts) (*big.Int, error)

RebateRate is a free data retrieval call binding the contract method 0xb681a1e7.

Solidity: function rebateRate() view returns(uint256)

func (*SwapRewardsCaller) RewardToken

func (_SwapRewards *SwapRewardsCaller) RewardToken(opts *bind.CallOpts) (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*SwapRewardsCaller) SwapContract

func (_SwapRewards *SwapRewardsCaller) SwapContract(opts *bind.CallOpts) (common.Address, error)

SwapContract is a free data retrieval call binding the contract method 0x8ea83031.

Solidity: function swapContract() view returns(address)

func (*SwapRewardsCaller) ThresholdRatio

func (_SwapRewards *SwapRewardsCaller) ThresholdRatio(opts *bind.CallOpts) (*big.Int, error)

ThresholdRatio is a free data retrieval call binding the contract method 0xc0324da1.

Solidity: function thresholdRatio() view returns(uint256)

type SwapRewardsCallerRaw

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

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

func (*SwapRewardsCallerRaw) Call

func (_SwapRewards *SwapRewardsCallerRaw) 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 SwapRewardsCallerSession

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

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

func (*SwapRewardsCallerSession) Owner

func (_SwapRewards *SwapRewardsCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SwapRewardsCallerSession) PricePerBTC

func (_SwapRewards *SwapRewardsCallerSession) PricePerBTC() (*big.Int, error)

PricePerBTC is a free data retrieval call binding the contract method 0x4017fe77.

Solidity: function pricePerBTC() view returns(uint256)

func (*SwapRewardsCallerSession) RebateRate

func (_SwapRewards *SwapRewardsCallerSession) RebateRate() (*big.Int, error)

RebateRate is a free data retrieval call binding the contract method 0xb681a1e7.

Solidity: function rebateRate() view returns(uint256)

func (*SwapRewardsCallerSession) RewardToken

func (_SwapRewards *SwapRewardsCallerSession) RewardToken() (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*SwapRewardsCallerSession) SwapContract

func (_SwapRewards *SwapRewardsCallerSession) SwapContract() (common.Address, error)

SwapContract is a free data retrieval call binding the contract method 0x8ea83031.

Solidity: function swapContract() view returns(address)

func (*SwapRewardsCallerSession) ThresholdRatio

func (_SwapRewards *SwapRewardsCallerSession) ThresholdRatio() (*big.Int, error)

ThresholdRatio is a free data retrieval call binding the contract method 0xc0324da1.

Solidity: function thresholdRatio() view returns(uint256)

type SwapRewardsFilterer

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

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

func NewSwapRewardsFilterer

func NewSwapRewardsFilterer(address common.Address, filterer bind.ContractFilterer) (*SwapRewardsFilterer, error)

NewSwapRewardsFilterer creates a new log filterer instance of SwapRewards, bound to a specific deployed contract.

func (*SwapRewardsFilterer) FilterOwnershipTransferred

func (_SwapRewards *SwapRewardsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SwapRewardsOwnershipTransferredIterator, error)

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

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

func (*SwapRewardsFilterer) FilterPaid

func (_SwapRewards *SwapRewardsFilterer) FilterPaid(opts *bind.FilterOpts) (*SwapRewardsPaidIterator, error)

FilterPaid is a free log retrieval operation binding the contract event 0xdf9a51129930649214df58f542322c245372c6f2fa6fc3c9b40d927c597cd230.

Solidity: event Paid(address to, uint256 amount, uint256 rebate)

func (*SwapRewardsFilterer) ParseOwnershipTransferred

func (_SwapRewards *SwapRewardsFilterer) ParseOwnershipTransferred(log types.Log) (*SwapRewardsOwnershipTransferred, error)

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

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

func (*SwapRewardsFilterer) ParsePaid

func (_SwapRewards *SwapRewardsFilterer) ParsePaid(log types.Log) (*SwapRewardsPaid, error)

ParsePaid is a log parse operation binding the contract event 0xdf9a51129930649214df58f542322c245372c6f2fa6fc3c9b40d927c597cd230.

Solidity: event Paid(address to, uint256 amount, uint256 rebate)

func (*SwapRewardsFilterer) WatchOwnershipTransferred

func (_SwapRewards *SwapRewardsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SwapRewardsOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*SwapRewardsFilterer) WatchPaid

func (_SwapRewards *SwapRewardsFilterer) WatchPaid(opts *bind.WatchOpts, sink chan<- *SwapRewardsPaid) (event.Subscription, error)

WatchPaid is a free log subscription operation binding the contract event 0xdf9a51129930649214df58f542322c245372c6f2fa6fc3c9b40d927c597cd230.

Solidity: event Paid(address to, uint256 amount, uint256 rebate)

type SwapRewardsOwnershipTransferred

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

SwapRewardsOwnershipTransferred represents a OwnershipTransferred event raised by the SwapRewards contract.

type SwapRewardsOwnershipTransferredIterator

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

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

func (*SwapRewardsOwnershipTransferredIterator) Close

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

func (*SwapRewardsOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapRewardsOwnershipTransferredIterator) 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 SwapRewardsPaid

type SwapRewardsPaid struct {
	To     common.Address
	Amount *big.Int
	Rebate *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

SwapRewardsPaid represents a Paid event raised by the SwapRewards contract.

type SwapRewardsPaidIterator

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

SwapRewardsPaidIterator is returned from FilterPaid and is used to iterate over the raw logs and unpacked data for Paid events raised by the SwapRewards contract.

func (*SwapRewardsPaidIterator) Close

func (it *SwapRewardsPaidIterator) Close() error

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

func (*SwapRewardsPaidIterator) Error

func (it *SwapRewardsPaidIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapRewardsPaidIterator) Next

func (it *SwapRewardsPaidIterator) 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 SwapRewardsRaw

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

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

func (*SwapRewardsRaw) Call

func (_SwapRewards *SwapRewardsRaw) 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 (*SwapRewardsRaw) Transact

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

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

func (*SwapRewardsRaw) Transfer

func (_SwapRewards *SwapRewardsRaw) 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 SwapRewardsSession

type SwapRewardsSession struct {
	Contract     *SwapRewards      // 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
}

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

func (*SwapRewardsSession) Owner

func (_SwapRewards *SwapRewardsSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SwapRewardsSession) PricePerBTC

func (_SwapRewards *SwapRewardsSession) PricePerBTC() (*big.Int, error)

PricePerBTC is a free data retrieval call binding the contract method 0x4017fe77.

Solidity: function pricePerBTC() view returns(uint256)

func (*SwapRewardsSession) PullRewards

func (_SwapRewards *SwapRewardsSession) PullRewards(_dest common.Address, _receiver common.Address, _swapped *big.Int) (*types.Transaction, error)

PullRewards is a paid mutator transaction binding the contract method 0xff320aae.

Solidity: function pullRewards(address _dest, address _receiver, uint256 _swapped) returns(bool)

func (*SwapRewardsSession) PullRewardsMulti

func (_SwapRewards *SwapRewardsSession) PullRewardsMulti(_dest common.Address, _receiver []common.Address, _swapped []*big.Int) (*types.Transaction, error)

PullRewardsMulti is a paid mutator transaction binding the contract method 0x49e031a5.

Solidity: function pullRewardsMulti(address _dest, address[] _receiver, uint256[] _swapped) returns(bool)

func (*SwapRewardsSession) RebateRate

func (_SwapRewards *SwapRewardsSession) RebateRate() (*big.Int, error)

RebateRate is a free data retrieval call binding the contract method 0xb681a1e7.

Solidity: function rebateRate() view returns(uint256)

func (*SwapRewardsSession) RenounceOwnership

func (_SwapRewards *SwapRewardsSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SwapRewardsSession) RewardToken

func (_SwapRewards *SwapRewardsSession) RewardToken() (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*SwapRewardsSession) SetSWINGBYPrice

func (_SwapRewards *SwapRewardsSession) SetSWINGBYPrice(_pricePerBTC *big.Int) (*types.Transaction, error)

SetSWINGBYPrice is a paid mutator transaction binding the contract method 0xfabe44a8.

Solidity: function setSWINGBYPrice(uint256 _pricePerBTC) returns()

func (*SwapRewardsSession) SetSwap

func (_SwapRewards *SwapRewardsSession) SetSwap(_swap common.Address, _newRebateRate *big.Int, _thresholdRatio *big.Int) (*types.Transaction, error)

SetSwap is a paid mutator transaction binding the contract method 0xa9d6e083.

Solidity: function setSwap(address _swap, uint256 _newRebateRate, uint256 _thresholdRatio) returns()

func (*SwapRewardsSession) SwapContract

func (_SwapRewards *SwapRewardsSession) SwapContract() (common.Address, error)

SwapContract is a free data retrieval call binding the contract method 0x8ea83031.

Solidity: function swapContract() view returns(address)

func (*SwapRewardsSession) ThresholdRatio

func (_SwapRewards *SwapRewardsSession) ThresholdRatio() (*big.Int, error)

ThresholdRatio is a free data retrieval call binding the contract method 0xc0324da1.

Solidity: function thresholdRatio() view returns(uint256)

func (*SwapRewardsSession) TransferOwnership

func (_SwapRewards *SwapRewardsSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type SwapRewardsTransactor

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

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

func NewSwapRewardsTransactor

func NewSwapRewardsTransactor(address common.Address, transactor bind.ContractTransactor) (*SwapRewardsTransactor, error)

NewSwapRewardsTransactor creates a new write-only instance of SwapRewards, bound to a specific deployed contract.

func (*SwapRewardsTransactor) PullRewards

func (_SwapRewards *SwapRewardsTransactor) PullRewards(opts *bind.TransactOpts, _dest common.Address, _receiver common.Address, _swapped *big.Int) (*types.Transaction, error)

PullRewards is a paid mutator transaction binding the contract method 0xff320aae.

Solidity: function pullRewards(address _dest, address _receiver, uint256 _swapped) returns(bool)

func (*SwapRewardsTransactor) PullRewardsMulti

func (_SwapRewards *SwapRewardsTransactor) PullRewardsMulti(opts *bind.TransactOpts, _dest common.Address, _receiver []common.Address, _swapped []*big.Int) (*types.Transaction, error)

PullRewardsMulti is a paid mutator transaction binding the contract method 0x49e031a5.

Solidity: function pullRewardsMulti(address _dest, address[] _receiver, uint256[] _swapped) returns(bool)

func (*SwapRewardsTransactor) RenounceOwnership

func (_SwapRewards *SwapRewardsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SwapRewardsTransactor) SetSWINGBYPrice

func (_SwapRewards *SwapRewardsTransactor) SetSWINGBYPrice(opts *bind.TransactOpts, _pricePerBTC *big.Int) (*types.Transaction, error)

SetSWINGBYPrice is a paid mutator transaction binding the contract method 0xfabe44a8.

Solidity: function setSWINGBYPrice(uint256 _pricePerBTC) returns()

func (*SwapRewardsTransactor) SetSwap

func (_SwapRewards *SwapRewardsTransactor) SetSwap(opts *bind.TransactOpts, _swap common.Address, _newRebateRate *big.Int, _thresholdRatio *big.Int) (*types.Transaction, error)

SetSwap is a paid mutator transaction binding the contract method 0xa9d6e083.

Solidity: function setSwap(address _swap, uint256 _newRebateRate, uint256 _thresholdRatio) returns()

func (*SwapRewardsTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type SwapRewardsTransactorRaw

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

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

func (*SwapRewardsTransactorRaw) Transact

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

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

func (*SwapRewardsTransactorRaw) Transfer

func (_SwapRewards *SwapRewardsTransactorRaw) 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 SwapRewardsTransactorSession

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

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

func (*SwapRewardsTransactorSession) PullRewards

func (_SwapRewards *SwapRewardsTransactorSession) PullRewards(_dest common.Address, _receiver common.Address, _swapped *big.Int) (*types.Transaction, error)

PullRewards is a paid mutator transaction binding the contract method 0xff320aae.

Solidity: function pullRewards(address _dest, address _receiver, uint256 _swapped) returns(bool)

func (*SwapRewardsTransactorSession) PullRewardsMulti

func (_SwapRewards *SwapRewardsTransactorSession) PullRewardsMulti(_dest common.Address, _receiver []common.Address, _swapped []*big.Int) (*types.Transaction, error)

PullRewardsMulti is a paid mutator transaction binding the contract method 0x49e031a5.

Solidity: function pullRewardsMulti(address _dest, address[] _receiver, uint256[] _swapped) returns(bool)

func (*SwapRewardsTransactorSession) RenounceOwnership

func (_SwapRewards *SwapRewardsTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SwapRewardsTransactorSession) SetSWINGBYPrice

func (_SwapRewards *SwapRewardsTransactorSession) SetSWINGBYPrice(_pricePerBTC *big.Int) (*types.Transaction, error)

SetSWINGBYPrice is a paid mutator transaction binding the contract method 0xfabe44a8.

Solidity: function setSWINGBYPrice(uint256 _pricePerBTC) returns()

func (*SwapRewardsTransactorSession) SetSwap

func (_SwapRewards *SwapRewardsTransactorSession) SetSwap(_swap common.Address, _newRebateRate *big.Int, _thresholdRatio *big.Int) (*types.Transaction, error)

SetSwap is a paid mutator transaction binding the contract method 0xa9d6e083.

Solidity: function setSwap(address _swap, uint256 _newRebateRate, uint256 _thresholdRatio) returns()

func (*SwapRewardsTransactorSession) TransferOwnership

func (_SwapRewards *SwapRewardsTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type SwingbyToken

type SwingbyToken struct {
	SwingbyTokenCaller     // Read-only binding to the contract
	SwingbyTokenTransactor // Write-only binding to the contract
	SwingbyTokenFilterer   // Log filterer for contract events
}

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

func NewSwingbyToken

func NewSwingbyToken(address common.Address, backend bind.ContractBackend) (*SwingbyToken, error)

NewSwingbyToken creates a new instance of SwingbyToken, bound to a specific deployed contract.

type SwingbyTokenApproval

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

SwingbyTokenApproval represents a Approval event raised by the SwingbyToken contract.

type SwingbyTokenApprovalIterator

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

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

func (*SwingbyTokenApprovalIterator) Close

func (it *SwingbyTokenApprovalIterator) Close() error

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

func (*SwingbyTokenApprovalIterator) Error

func (it *SwingbyTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwingbyTokenApprovalIterator) 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 SwingbyTokenCaller

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

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

func NewSwingbyTokenCaller

func NewSwingbyTokenCaller(address common.Address, caller bind.ContractCaller) (*SwingbyTokenCaller, error)

NewSwingbyTokenCaller creates a new read-only instance of SwingbyToken, bound to a specific deployed contract.

func (*SwingbyTokenCaller) Allowance

func (_SwingbyToken *SwingbyTokenCaller) 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)

func (*SwingbyTokenCaller) BalanceOf

func (_SwingbyToken *SwingbyTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

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

func (*SwingbyTokenCaller) Decimals

func (_SwingbyToken *SwingbyTokenCaller) 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 (*SwingbyTokenCaller) GetOwner

func (_SwingbyToken *SwingbyTokenCaller) 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 (*SwingbyTokenCaller) Mintable

func (_SwingbyToken *SwingbyTokenCaller) Mintable(opts *bind.CallOpts) (bool, error)

Mintable is a free data retrieval call binding the contract method 0x4bf365df.

Solidity: function mintable() view returns(bool)

func (*SwingbyTokenCaller) Name

func (_SwingbyToken *SwingbyTokenCaller) 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 (*SwingbyTokenCaller) Owner

func (_SwingbyToken *SwingbyTokenCaller) 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 (*SwingbyTokenCaller) Symbol

func (_SwingbyToken *SwingbyTokenCaller) 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 (*SwingbyTokenCaller) TotalSupply

func (_SwingbyToken *SwingbyTokenCaller) 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 SwingbyTokenCallerRaw

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

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

func (*SwingbyTokenCallerRaw) Call

func (_SwingbyToken *SwingbyTokenCallerRaw) 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 SwingbyTokenCallerSession

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

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

func (*SwingbyTokenCallerSession) Allowance

func (_SwingbyToken *SwingbyTokenCallerSession) 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)

func (*SwingbyTokenCallerSession) BalanceOf

func (_SwingbyToken *SwingbyTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*SwingbyTokenCallerSession) Decimals

func (_SwingbyToken *SwingbyTokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*SwingbyTokenCallerSession) GetOwner

func (_SwingbyToken *SwingbyTokenCallerSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*SwingbyTokenCallerSession) Mintable

func (_SwingbyToken *SwingbyTokenCallerSession) Mintable() (bool, error)

Mintable is a free data retrieval call binding the contract method 0x4bf365df.

Solidity: function mintable() view returns(bool)

func (*SwingbyTokenCallerSession) Name

func (_SwingbyToken *SwingbyTokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*SwingbyTokenCallerSession) Owner

func (_SwingbyToken *SwingbyTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SwingbyTokenCallerSession) Symbol

func (_SwingbyToken *SwingbyTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*SwingbyTokenCallerSession) TotalSupply

func (_SwingbyToken *SwingbyTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type SwingbyTokenFilterer

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

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

func NewSwingbyTokenFilterer

func NewSwingbyTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*SwingbyTokenFilterer, error)

NewSwingbyTokenFilterer creates a new log filterer instance of SwingbyToken, bound to a specific deployed contract.

func (*SwingbyTokenFilterer) FilterApproval

func (_SwingbyToken *SwingbyTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SwingbyTokenApprovalIterator, 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 (*SwingbyTokenFilterer) FilterOwnershipTransferred

func (_SwingbyToken *SwingbyTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SwingbyTokenOwnershipTransferredIterator, error)

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

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

func (*SwingbyTokenFilterer) FilterTransfer

func (_SwingbyToken *SwingbyTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SwingbyTokenTransferIterator, 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 (*SwingbyTokenFilterer) ParseApproval

func (_SwingbyToken *SwingbyTokenFilterer) ParseApproval(log types.Log) (*SwingbyTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*SwingbyTokenFilterer) ParseOwnershipTransferred

func (_SwingbyToken *SwingbyTokenFilterer) ParseOwnershipTransferred(log types.Log) (*SwingbyTokenOwnershipTransferred, error)

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

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

func (*SwingbyTokenFilterer) ParseTransfer

func (_SwingbyToken *SwingbyTokenFilterer) ParseTransfer(log types.Log) (*SwingbyTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*SwingbyTokenFilterer) WatchApproval

func (_SwingbyToken *SwingbyTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SwingbyTokenApproval, 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 (*SwingbyTokenFilterer) WatchOwnershipTransferred

func (_SwingbyToken *SwingbyTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SwingbyTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*SwingbyTokenFilterer) WatchTransfer

func (_SwingbyToken *SwingbyTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SwingbyTokenTransfer, 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)

type SwingbyTokenOwnershipTransferred

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

SwingbyTokenOwnershipTransferred represents a OwnershipTransferred event raised by the SwingbyToken contract.

type SwingbyTokenOwnershipTransferredIterator

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

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

func (*SwingbyTokenOwnershipTransferredIterator) Close

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

func (*SwingbyTokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwingbyTokenOwnershipTransferredIterator) 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 SwingbyTokenRaw

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

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

func (*SwingbyTokenRaw) Call

func (_SwingbyToken *SwingbyTokenRaw) 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 (*SwingbyTokenRaw) Transact

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

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

func (*SwingbyTokenRaw) Transfer

func (_SwingbyToken *SwingbyTokenRaw) 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 SwingbyTokenSession

type SwingbyTokenSession struct {
	Contract     *SwingbyToken     // 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
}

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

func (*SwingbyTokenSession) Allowance

func (_SwingbyToken *SwingbyTokenSession) 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)

func (*SwingbyTokenSession) Approve

func (_SwingbyToken *SwingbyTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*SwingbyTokenSession) BalanceOf

func (_SwingbyToken *SwingbyTokenSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*SwingbyTokenSession) Burn

func (_SwingbyToken *SwingbyTokenSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns(bool)

func (*SwingbyTokenSession) Decimals

func (_SwingbyToken *SwingbyTokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*SwingbyTokenSession) DecreaseAllowance

func (_SwingbyToken *SwingbyTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*SwingbyTokenSession) GetOwner

func (_SwingbyToken *SwingbyTokenSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*SwingbyTokenSession) IncreaseAllowance

func (_SwingbyToken *SwingbyTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*SwingbyTokenSession) Mint

func (_SwingbyToken *SwingbyTokenSession) Mint(target common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address target, uint256 amount) returns(bool)

func (*SwingbyTokenSession) Mintable

func (_SwingbyToken *SwingbyTokenSession) Mintable() (bool, error)

Mintable is a free data retrieval call binding the contract method 0x4bf365df.

Solidity: function mintable() view returns(bool)

func (*SwingbyTokenSession) Name

func (_SwingbyToken *SwingbyTokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*SwingbyTokenSession) Owner

func (_SwingbyToken *SwingbyTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SwingbyTokenSession) RenounceOwnership

func (_SwingbyToken *SwingbyTokenSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SwingbyTokenSession) Symbol

func (_SwingbyToken *SwingbyTokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*SwingbyTokenSession) TotalSupply

func (_SwingbyToken *SwingbyTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*SwingbyTokenSession) Transfer

func (_SwingbyToken *SwingbyTokenSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*SwingbyTokenSession) TransferFrom

func (_SwingbyToken *SwingbyTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*SwingbyTokenSession) TransferOwnership

func (_SwingbyToken *SwingbyTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type SwingbyTokenTransactor

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

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

func NewSwingbyTokenTransactor

func NewSwingbyTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*SwingbyTokenTransactor, error)

NewSwingbyTokenTransactor creates a new write-only instance of SwingbyToken, bound to a specific deployed contract.

func (*SwingbyTokenTransactor) Approve

func (_SwingbyToken *SwingbyTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*SwingbyTokenTransactor) Burn

func (_SwingbyToken *SwingbyTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns(bool)

func (*SwingbyTokenTransactor) DecreaseAllowance

func (_SwingbyToken *SwingbyTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*SwingbyTokenTransactor) IncreaseAllowance

func (_SwingbyToken *SwingbyTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*SwingbyTokenTransactor) Mint

func (_SwingbyToken *SwingbyTokenTransactor) Mint(opts *bind.TransactOpts, target common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address target, uint256 amount) returns(bool)

func (*SwingbyTokenTransactor) RenounceOwnership

func (_SwingbyToken *SwingbyTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SwingbyTokenTransactor) Transfer

func (_SwingbyToken *SwingbyTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*SwingbyTokenTransactor) TransferFrom

func (_SwingbyToken *SwingbyTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*SwingbyTokenTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type SwingbyTokenTransactorRaw

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

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

func (*SwingbyTokenTransactorRaw) Transact

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

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

func (*SwingbyTokenTransactorRaw) Transfer

func (_SwingbyToken *SwingbyTokenTransactorRaw) 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 SwingbyTokenTransactorSession

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

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

func (*SwingbyTokenTransactorSession) Approve

func (_SwingbyToken *SwingbyTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*SwingbyTokenTransactorSession) Burn

func (_SwingbyToken *SwingbyTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns(bool)

func (*SwingbyTokenTransactorSession) DecreaseAllowance

func (_SwingbyToken *SwingbyTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*SwingbyTokenTransactorSession) IncreaseAllowance

func (_SwingbyToken *SwingbyTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*SwingbyTokenTransactorSession) Mint

func (_SwingbyToken *SwingbyTokenTransactorSession) Mint(target common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address target, uint256 amount) returns(bool)

func (*SwingbyTokenTransactorSession) RenounceOwnership

func (_SwingbyToken *SwingbyTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SwingbyTokenTransactorSession) Transfer

func (_SwingbyToken *SwingbyTokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*SwingbyTokenTransactorSession) TransferFrom

func (_SwingbyToken *SwingbyTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*SwingbyTokenTransactorSession) TransferOwnership

func (_SwingbyToken *SwingbyTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type SwingbyTokenTransfer

type SwingbyTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

SwingbyTokenTransfer represents a Transfer event raised by the SwingbyToken contract.

type SwingbyTokenTransferIterator

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

SwingbyTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the SwingbyToken contract.

func (*SwingbyTokenTransferIterator) Close

func (it *SwingbyTokenTransferIterator) Close() error

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

func (*SwingbyTokenTransferIterator) Error

func (it *SwingbyTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwingbyTokenTransferIterator) 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 UtilsAdapter

type UtilsAdapter struct {
	Adapter    common.Address
	Percent    *big.Int
	NetworkFee *big.Int
	Route      []UtilsRoute
}

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

type UtilsMegaSwapPath

type UtilsMegaSwapPath struct {
	FromAmountPercent *big.Int
	Path              []UtilsPath
}

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

type UtilsMegaSwapSellData

type UtilsMegaSwapSellData struct {
	FromToken      common.Address
	FromAmount     *big.Int
	ToAmount       *big.Int
	ExpectedAmount *big.Int
	Beneficiary    common.Address
	Path           []UtilsMegaSwapPath
	Partner        common.Address
	FeePercent     *big.Int
	Permit         []byte
	Deadline       *big.Int
	Uuid           [16]byte
}

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

type UtilsPath

type UtilsPath struct {
	To              common.Address
	TotalNetworkFee *big.Int
	Adapters        []UtilsAdapter
}

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

type UtilsRoute

type UtilsRoute struct {
	Index          *big.Int
	TargetExchange common.Address
	Percent        *big.Int
	Payload        []byte
	NetworkFee     *big.Int
}

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

type UtilsSellData

type UtilsSellData struct {
	FromToken      common.Address
	FromAmount     *big.Int
	ToAmount       *big.Int
	ExpectedAmount *big.Int
	Beneficiary    common.Address
	Path           []UtilsPath
	Partner        common.Address
	FeePercent     *big.Int
	Permit         []byte
	Deadline       *big.Int
	Uuid           [16]byte
}

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

type UtilsSimpleData

type UtilsSimpleData struct {
	FromToken      common.Address
	ToToken        common.Address
	FromAmount     *big.Int
	ToAmount       *big.Int
	ExpectedAmount *big.Int
	Callees        []common.Address
	ExchangeData   []byte
	StartIndexes   []*big.Int
	Values         []*big.Int
	Beneficiary    common.Address
	Partner        common.Address
	FeePercent     *big.Int
	Permit         []byte
	Deadline       *big.Int
	Uuid           [16]byte
}

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

Jump to

Keyboard shortcuts

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