sc

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BalancerBasePoolABI = BalancerBasePoolMetaData.ABI

BalancerBasePoolABI is the input ABI used to generate the binding from. Deprecated: Use BalancerBasePoolMetaData.ABI instead.

View Source
var BalancerBasePoolMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"normalizedWeights\",\"type\":\"uint256[]\"},{\"internalType\":\"contractIRateProvider[]\",\"name\":\"rateProviders\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"assetManagers\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"swapFeePercentage\",\"type\":\"uint256\"}],\"internalType\":\"structWeightedPool.NewPoolParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"contractIVault\",\"name\":\"vault\",\"type\":\"address\"},{\"internalType\":\"contractIProtocolFeePercentagesProvider\",\"name\":\"protocolFeeProvider\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"pauseWindowDuration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bufferPeriodDuration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"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\":false,\"internalType\":\"bool\",\"name\":\"paused\",\"type\":\"bool\"}],\"name\":\"PausedStateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"feeType\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"protocolFeePercentage\",\"type\":\"uint256\"}],\"name\":\"ProtocolFeePercentageCacheUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"RecoveryModeStateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"swapFeePercentage\",\"type\":\"uint256\"}],\"name\":\"SwapFeePercentageChanged\",\"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\":[],\"name\":\"DELEGATE_PROTOCOL_SWAP_FEES_SENTINEL\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableRecoveryMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enableRecoveryMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getATHRateProduct\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"}],\"name\":\"getActionId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActualSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAuthorizer\",\"outputs\":[{\"internalType\":\"contractIAuthorizer\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDomainSeparator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInvariant\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLastPostJoinExitInvariant\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getNextNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNormalizedWeights\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPausedState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"paused\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"pauseWindowEndTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bufferPeriodEndTime\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"feeType\",\"type\":\"uint256\"}],\"name\":\"getProtocolFeePercentageCache\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getProtocolFeesCollector\",\"outputs\":[{\"internalType\":\"contractIProtocolFeesCollector\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getProtocolSwapFeeDelegation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRateProviders\",\"outputs\":[{\"internalType\":\"contractIRateProvider[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getScalingFactors\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSwapFeePercentage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVault\",\"outputs\":[{\"internalType\":\"contractIVault\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inRecoveryMode\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolSwapFeePercentage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"name\":\"onExitPool\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolSwapFeePercentage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"name\":\"onJoinPool\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enumIVault.SwapKind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"internalType\":\"contractIERC20\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"internalType\":\"structIPoolSwapStructs.SwapRequest\",\"name\":\"request\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"balanceTokenIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balanceTokenOut\",\"type\":\"uint256\"}],\"name\":\"onSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolSwapFeePercentage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"name\":\"queryExit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"bptIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"amountsOut\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolSwapFeePercentage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"name\":\"queryJoin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"bptOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"amountsIn\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"poolConfig\",\"type\":\"bytes\"}],\"name\":\"setAssetManagerPoolConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"swapFeePercentage\",\"type\":\"uint256\"}],\"name\":\"setSwapFeePercentage\",\"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\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateProtocolFeePercentageCache\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

BalancerBasePoolMetaData contains all meta data concerning the BalancerBasePool contract.

View Source
var BalancerVaultABI = BalancerVaultMetaData.ABI

BalancerVaultABI is the input ABI used to generate the binding from. Deprecated: Use BalancerVaultMetaData.ABI instead.

View Source
var BalancerVaultMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIAuthorizer\",\"name\":\"authorizer\",\"type\":\"address\"},{\"internalType\":\"contractIWETH\",\"name\":\"weth\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"pauseWindowDuration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bufferPeriodDuration\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIAuthorizer\",\"name\":\"newAuthorizer\",\"type\":\"address\"}],\"name\":\"AuthorizerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ExternalBalanceTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIFlashLoanRecipient\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"FlashLoan\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"delta\",\"type\":\"int256\"}],\"name\":\"InternalBalanceChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"paused\",\"type\":\"bool\"}],\"name\":\"PausedStateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"liquidityProvider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"int256[]\",\"name\":\"deltas\",\"type\":\"int256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"protocolFeeAmounts\",\"type\":\"uint256[]\"}],\"name\":\"PoolBalanceChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"assetManager\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"cashDelta\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"managedDelta\",\"type\":\"int256\"}],\"name\":\"PoolBalanceManaged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"poolAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumIVault.PoolSpecialization\",\"name\":\"specialization\",\"type\":\"uint8\"}],\"name\":\"PoolRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"RelayerApprovalChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"}],\"name\":\"TokensDeregistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"assetManagers\",\"type\":\"address[]\"}],\"name\":\"TokensRegistered\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"WETH\",\"outputs\":[{\"internalType\":\"contractIWETH\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumIVault.SwapKind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"assetInIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"assetOutIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"internalType\":\"structIVault.BatchSwapStep[]\",\"name\":\"swaps\",\"type\":\"tuple[]\"},{\"internalType\":\"contractIAsset[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"fromInternalBalance\",\"type\":\"bool\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"toInternalBalance\",\"type\":\"bool\"}],\"internalType\":\"structIVault.FundManagement\",\"name\":\"funds\",\"type\":\"tuple\"},{\"internalType\":\"int256[]\",\"name\":\"limits\",\"type\":\"int256[]\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"batchSwap\",\"outputs\":[{\"internalType\":\"int256[]\",\"name\":\"assetDeltas\",\"type\":\"int256[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"}],\"name\":\"deregisterTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contractIAsset[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"minAmountsOut\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"toInternalBalance\",\"type\":\"bool\"}],\"internalType\":\"structIVault.ExitPoolRequest\",\"name\":\"request\",\"type\":\"tuple\"}],\"name\":\"exitPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIFlashLoanRecipient\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"name\":\"flashLoan\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"}],\"name\":\"getActionId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAuthorizer\",\"outputs\":[{\"internalType\":\"contractIAuthorizer\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDomainSeparator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"}],\"name\":\"getInternalBalance\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getNextNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPausedState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"paused\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"pauseWindowEndTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bufferPeriodEndTime\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"}],\"name\":\"getPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"enumIVault.PoolSpecialization\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getPoolTokenInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"cash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"managed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"assetManager\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"}],\"name\":\"getPoolTokens\",\"outputs\":[{\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getProtocolFeesCollector\",\"outputs\":[{\"internalType\":\"contractProtocolFeesCollector\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"hasApprovedRelayer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contractIAsset[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"maxAmountsIn\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"fromInternalBalance\",\"type\":\"bool\"}],\"internalType\":\"structIVault.JoinPoolRequest\",\"name\":\"request\",\"type\":\"tuple\"}],\"name\":\"joinPool\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enumIVault.PoolBalanceOpKind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structIVault.PoolBalanceOp[]\",\"name\":\"ops\",\"type\":\"tuple[]\"}],\"name\":\"managePoolBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enumIVault.UserBalanceOpKind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"internalType\":\"contractIAsset\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"structIVault.UserBalanceOp[]\",\"name\":\"ops\",\"type\":\"tuple[]\"}],\"name\":\"manageUserBalance\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumIVault.SwapKind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"assetInIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"assetOutIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"internalType\":\"structIVault.BatchSwapStep[]\",\"name\":\"swaps\",\"type\":\"tuple[]\"},{\"internalType\":\"contractIAsset[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"fromInternalBalance\",\"type\":\"bool\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"toInternalBalance\",\"type\":\"bool\"}],\"internalType\":\"structIVault.FundManagement\",\"name\":\"funds\",\"type\":\"tuple\"}],\"name\":\"queryBatchSwap\",\"outputs\":[{\"internalType\":\"int256[]\",\"name\":\"\",\"type\":\"int256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumIVault.PoolSpecialization\",\"name\":\"specialization\",\"type\":\"uint8\"}],\"name\":\"registerPool\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"assetManagers\",\"type\":\"address[]\"}],\"name\":\"registerTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIAuthorizer\",\"name\":\"newAuthorizer\",\"type\":\"address\"}],\"name\":\"setAuthorizer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"paused\",\"type\":\"bool\"}],\"name\":\"setPaused\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setRelayerApproval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"enumIVault.SwapKind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"internalType\":\"contractIAsset\",\"name\":\"assetIn\",\"type\":\"address\"},{\"internalType\":\"contractIAsset\",\"name\":\"assetOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"internalType\":\"structIVault.SingleSwap\",\"name\":\"singleSwap\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"fromInternalBalance\",\"type\":\"bool\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"toInternalBalance\",\"type\":\"bool\"}],\"internalType\":\"structIVault.FundManagement\",\"name\":\"funds\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"limit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountCalculated\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

BalancerVaultMetaData contains all meta data concerning the BalancerVault contract.

View Source
var CrocLPERC20ABI = CrocLPERC20MetaData.ABI

CrocLPERC20ABI is the input ABI used to generate the binding from. Deprecated: Use CrocLPERC20MetaData.ABI instead.

View Source
var CrocLPERC20MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"baseToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolType\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"quoteToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

CrocLPERC20MetaData contains all meta data concerning the CrocLPERC20 contract.

View Source
var CrocQueryABI = CrocQueryMetaData.ABI

CrocQueryABI is the input ABI used to generate the binding from. Deprecated: Use CrocQueryMetaData.ABI instead.

View Source
var CrocQueryMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"dex\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"dex_\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryAmbientPosition\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"seeds\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"timestamp\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryAmbientTokens\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"liq\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"baseQty\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"quoteQty\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryConcRewards\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"lowerTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"upperTick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"liqRewards\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"baseRewards\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"quoteRewards\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryCurve\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"curve\",\"type\":\"tuple\",\"internalType\":\"structCurveMath.CurveState\",\"components\":[{\"name\":\"priceRoot_\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"ambientSeeds_\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"concLiq_\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"seedDeflator_\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"concGrowth_\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryCurveTick\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryKnockoutMerkle\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"isBid\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"tick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"root\",\"type\":\"uint160\",\"internalType\":\"uint160\"},{\"name\":\"pivot\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"fee\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryKnockoutPivot\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"isBid\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"tick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"lots\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"pivot\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"range\",\"type\":\"uint16\",\"internalType\":\"uint16\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryKnockoutPos\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"pivot\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"isBid\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"lowerTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"upperTick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"lots\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"mileage\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"timestamp\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryKnockoutTokens\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"pivot\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"isBid\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"lowerTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"upperTick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"liq\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"baseQty\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"quoteQty\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"knockedOut\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryLevel\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"tick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"bidLots\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"askLots\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"odometer\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryLiquidity\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryPoolParams\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"pool\",\"type\":\"tuple\",\"internalType\":\"structPoolSpecs.Pool\",\"components\":[{\"name\":\"schema_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"feeRate_\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"protocolTake_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"tickSize_\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"jitThresh_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"knockoutBits_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"oracleFlags_\",\"type\":\"uint8\",\"internalType\":\"uint8\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryPoolTemplate\",\"inputs\":[{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"pool\",\"type\":\"tuple\",\"internalType\":\"structPoolSpecs.Pool\",\"components\":[{\"name\":\"schema_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"feeRate_\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"protocolTake_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"tickSize_\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"jitThresh_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"knockoutBits_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"oracleFlags_\",\"type\":\"uint8\",\"internalType\":\"uint8\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryPrice\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryProtocolAccum\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryRangePosition\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"lowerTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"upperTick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"liq\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"fee\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"timestamp\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"atomic\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryRangeTokens\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"lowerTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"upperTick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"liq\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"baseQty\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"quoteQty\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"querySurplus\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"surplus\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryVirtual\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tracker\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"salt\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"surplus\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"}]",
}

CrocQueryMetaData contains all meta data concerning the CrocQuery contract.

View Source
var ERC20ABI = ERC20MetaData.ABI

ERC20ABI is the input ABI used to generate the binding from. Deprecated: Use ERC20MetaData.ABI instead.

View Source
var ERC20MetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"DOMAIN_SEPARATOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nonces\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"permit\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"deadline\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"v\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"r\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"s\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
}

ERC20MetaData contains all meta data concerning the ERC20 contract.

View Source
var KodiakV1ABI = KodiakV1MetaData.ABI

KodiakV1ABI is the input ABI used to generate the binding from. Deprecated: Use KodiakV1MetaData.ABI instead.

View Source
var KodiakV1MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_gelato\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_kodiakTreasury\",\"type\":\"address\"}],\"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\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"burnAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidityBurned\",\"type\":\"uint128\"}],\"name\":\"Burned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feesEarned0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feesEarned1\",\"type\":\"uint256\"}],\"name\":\"FeesEarned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"mintAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidityMinted\",\"type\":\"uint128\"}],\"name\":\"Minted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousManager\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newManager\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"lowerTick_\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"upperTick_\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidityBefore\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidityAfter\",\"type\":\"uint128\"}],\"name\":\"Rebalance\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"managerFeeBPS\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"managerTreasury\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"gelatoRebalanceBPS\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"gelatoSlippageBPS\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"gelatoSlippageInterval\",\"type\":\"uint32\"}],\"name\":\"UpdateManagerParams\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"GELATO\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RESTRICTED_MINT_ENABLED\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"burnAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"liquidityBurned\",\"type\":\"uint128\"}],\"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\":[{\"internalType\":\"int24\",\"name\":\"newLowerTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"newUpperTick\",\"type\":\"int24\"},{\"internalType\":\"uint160\",\"name\":\"swapThresholdPrice\",\"type\":\"uint160\"},{\"internalType\":\"uint256\",\"name\":\"swapAmountBPS\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"zeroForOne\",\"type\":\"bool\"}],\"name\":\"executiveRebalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gelatoRebalanceBPS\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gelatoSlippageBPS\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gelatoSlippageInterval\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Max\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Max\",\"type\":\"uint256\"}],\"name\":\"getMintAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mintAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPositionID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"positionID\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getUnderlyingBalances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Current\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Current\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtRatioX96\",\"type\":\"uint160\"}],\"name\":\"getUnderlyingBalancesAtPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Current\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Current\",\"type\":\"uint256\"}],\"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\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_pool\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"_managerFeeBPS\",\"type\":\"uint16\"},{\"internalType\":\"int24\",\"name\":\"_lowerTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"_upperTick\",\"type\":\"int24\"},{\"internalType\":\"address\",\"name\":\"_manager_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kodiakBalance0\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kodiakBalance1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kodiakFeeBPS\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kodiakTreasury\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lowerTick\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"manager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"managerBalance0\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"managerBalance1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"managerFeeBPS\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"managerTreasury\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"mintAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"liquidityMinted\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"contractIUniswapV3Pool\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"swapThresholdPrice\",\"type\":\"uint160\"},{\"internalType\":\"uint256\",\"name\":\"swapAmountBPS\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"zeroForOne\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"paymentToken\",\"type\":\"address\"}],\"name\":\"rebalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"restrictedMintToggle\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"toggleRestrictMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"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\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Owed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Owed\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"uniswapV3MintCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int16\",\"name\":\"newManagerFeeBPS\",\"type\":\"int16\"},{\"internalType\":\"address\",\"name\":\"newManagerTreasury\",\"type\":\"address\"},{\"internalType\":\"int16\",\"name\":\"newRebalanceBPS\",\"type\":\"int16\"},{\"internalType\":\"int16\",\"name\":\"newSlippageBPS\",\"type\":\"int16\"},{\"internalType\":\"int32\",\"name\":\"newSlippageInterval\",\"type\":\"int32\"}],\"name\":\"updateManagerParams\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"upperTick\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawKodiakBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawManagerBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

KodiakV1MetaData contains all meta data concerning the KodiakV1 contract.

Functions

This section is empty.

Types

type BalancerBasePool added in v0.1.7

type BalancerBasePool struct {
	BalancerBasePoolCaller     // Read-only binding to the contract
	BalancerBasePoolTransactor // Write-only binding to the contract
	BalancerBasePoolFilterer   // Log filterer for contract events
}

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

func NewBalancerBasePool added in v0.1.7

func NewBalancerBasePool(address common.Address, backend bind.ContractBackend) (*BalancerBasePool, error)

NewBalancerBasePool creates a new instance of BalancerBasePool, bound to a specific deployed contract.

type BalancerBasePoolApproval added in v0.1.7

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

BalancerBasePoolApproval represents a Approval event raised by the BalancerBasePool contract.

type BalancerBasePoolApprovalIterator added in v0.1.7

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

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

func (*BalancerBasePoolApprovalIterator) Close added in v0.1.7

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

func (*BalancerBasePoolApprovalIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerBasePoolApprovalIterator) Next added in v0.1.7

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 BalancerBasePoolCaller added in v0.1.7

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

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

func NewBalancerBasePoolCaller added in v0.1.7

func NewBalancerBasePoolCaller(address common.Address, caller bind.ContractCaller) (*BalancerBasePoolCaller, error)

NewBalancerBasePoolCaller creates a new read-only instance of BalancerBasePool, bound to a specific deployed contract.

func (*BalancerBasePoolCaller) Allowance added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) 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 (*BalancerBasePoolCaller) BalanceOf added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) 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 (*BalancerBasePoolCaller) DELEGATEPROTOCOLSWAPFEESSENTINEL added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) DELEGATEPROTOCOLSWAPFEESSENTINEL(opts *bind.CallOpts) (*big.Int, error)

DELEGATEPROTOCOLSWAPFEESSENTINEL is a free data retrieval call binding the contract method 0xddf4627b.

Solidity: function DELEGATE_PROTOCOL_SWAP_FEES_SENTINEL() view returns(uint256)

func (*BalancerBasePoolCaller) DOMAINSEPARATOR added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*BalancerBasePoolCaller) Decimals added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) 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 (*BalancerBasePoolCaller) GetATHRateProduct added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetATHRateProduct(opts *bind.CallOpts) (*big.Int, error)

GetATHRateProduct is a free data retrieval call binding the contract method 0x23ef89ed.

Solidity: function getATHRateProduct() view returns(uint256)

func (*BalancerBasePoolCaller) GetActionId added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetActionId(opts *bind.CallOpts, selector [4]byte) ([32]byte, error)

GetActionId is a free data retrieval call binding the contract method 0x851c1bb3.

Solidity: function getActionId(bytes4 selector) view returns(bytes32)

func (*BalancerBasePoolCaller) GetActualSupply added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetActualSupply(opts *bind.CallOpts) (*big.Int, error)

GetActualSupply is a free data retrieval call binding the contract method 0x876f303b.

Solidity: function getActualSupply() view returns(uint256)

func (*BalancerBasePoolCaller) GetAuthorizer added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetAuthorizer(opts *bind.CallOpts) (common.Address, error)

GetAuthorizer is a free data retrieval call binding the contract method 0xaaabadc5.

Solidity: function getAuthorizer() view returns(address)

func (*BalancerBasePoolCaller) GetDomainSeparator added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetDomainSeparator(opts *bind.CallOpts) ([32]byte, error)

GetDomainSeparator is a free data retrieval call binding the contract method 0xed24911d.

Solidity: function getDomainSeparator() view returns(bytes32)

func (*BalancerBasePoolCaller) GetInvariant added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetInvariant(opts *bind.CallOpts) (*big.Int, error)

GetInvariant is a free data retrieval call binding the contract method 0xc0ff1a15.

Solidity: function getInvariant() view returns(uint256)

func (*BalancerBasePoolCaller) GetLastPostJoinExitInvariant added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetLastPostJoinExitInvariant(opts *bind.CallOpts) (*big.Int, error)

GetLastPostJoinExitInvariant is a free data retrieval call binding the contract method 0xb1096278.

Solidity: function getLastPostJoinExitInvariant() view returns(uint256)

func (*BalancerBasePoolCaller) GetNextNonce added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetNextNonce(opts *bind.CallOpts, account common.Address) (*big.Int, error)

GetNextNonce is a free data retrieval call binding the contract method 0x90193b7c.

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

func (*BalancerBasePoolCaller) GetNormalizedWeights added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetNormalizedWeights(opts *bind.CallOpts) ([]*big.Int, error)

GetNormalizedWeights is a free data retrieval call binding the contract method 0xf89f27ed.

Solidity: function getNormalizedWeights() view returns(uint256[])

func (*BalancerBasePoolCaller) GetOwner added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) 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 (*BalancerBasePoolCaller) GetPausedState added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetPausedState(opts *bind.CallOpts) (struct {
	Paused              bool
	PauseWindowEndTime  *big.Int
	BufferPeriodEndTime *big.Int
}, error)

GetPausedState is a free data retrieval call binding the contract method 0x1c0de051.

Solidity: function getPausedState() view returns(bool paused, uint256 pauseWindowEndTime, uint256 bufferPeriodEndTime)

func (*BalancerBasePoolCaller) GetPoolId added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetPoolId(opts *bind.CallOpts) ([32]byte, error)

GetPoolId is a free data retrieval call binding the contract method 0x38fff2d0.

Solidity: function getPoolId() view returns(bytes32)

func (*BalancerBasePoolCaller) GetProtocolFeePercentageCache added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetProtocolFeePercentageCache(opts *bind.CallOpts, feeType *big.Int) (*big.Int, error)

GetProtocolFeePercentageCache is a free data retrieval call binding the contract method 0x70464016.

Solidity: function getProtocolFeePercentageCache(uint256 feeType) view returns(uint256)

func (*BalancerBasePoolCaller) GetProtocolFeesCollector added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetProtocolFeesCollector(opts *bind.CallOpts) (common.Address, error)

GetProtocolFeesCollector is a free data retrieval call binding the contract method 0xd2946c2b.

Solidity: function getProtocolFeesCollector() view returns(address)

func (*BalancerBasePoolCaller) GetProtocolSwapFeeDelegation added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetProtocolSwapFeeDelegation(opts *bind.CallOpts) (bool, error)

GetProtocolSwapFeeDelegation is a free data retrieval call binding the contract method 0x15b0015b.

Solidity: function getProtocolSwapFeeDelegation() view returns(bool)

func (*BalancerBasePoolCaller) GetRateProviders added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetRateProviders(opts *bind.CallOpts) ([]common.Address, error)

GetRateProviders is a free data retrieval call binding the contract method 0x238a2d59.

Solidity: function getRateProviders() view returns(address[])

func (*BalancerBasePoolCaller) GetScalingFactors added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetScalingFactors(opts *bind.CallOpts) ([]*big.Int, error)

GetScalingFactors is a free data retrieval call binding the contract method 0x1dd746ea.

Solidity: function getScalingFactors() view returns(uint256[])

func (*BalancerBasePoolCaller) GetSwapFeePercentage added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetSwapFeePercentage(opts *bind.CallOpts) (*big.Int, error)

GetSwapFeePercentage is a free data retrieval call binding the contract method 0x55c67628.

Solidity: function getSwapFeePercentage() view returns(uint256)

func (*BalancerBasePoolCaller) GetVault added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) GetVault(opts *bind.CallOpts) (common.Address, error)

GetVault is a free data retrieval call binding the contract method 0x8d928af8.

Solidity: function getVault() view returns(address)

func (*BalancerBasePoolCaller) InRecoveryMode added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) InRecoveryMode(opts *bind.CallOpts) (bool, error)

InRecoveryMode is a free data retrieval call binding the contract method 0xb35056b8.

Solidity: function inRecoveryMode() view returns(bool)

func (*BalancerBasePoolCaller) Name added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) 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 (*BalancerBasePoolCaller) Nonces added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*BalancerBasePoolCaller) Symbol added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) 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 (*BalancerBasePoolCaller) TotalSupply added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) 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)

func (*BalancerBasePoolCaller) Version added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type BalancerBasePoolCallerRaw added in v0.1.7

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

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

func (*BalancerBasePoolCallerRaw) Call added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerRaw) 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 BalancerBasePoolCallerSession added in v0.1.7

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

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

func (*BalancerBasePoolCallerSession) Allowance added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) 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 (*BalancerBasePoolCallerSession) BalanceOf added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) 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 (*BalancerBasePoolCallerSession) DELEGATEPROTOCOLSWAPFEESSENTINEL added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) DELEGATEPROTOCOLSWAPFEESSENTINEL() (*big.Int, error)

DELEGATEPROTOCOLSWAPFEESSENTINEL is a free data retrieval call binding the contract method 0xddf4627b.

Solidity: function DELEGATE_PROTOCOL_SWAP_FEES_SENTINEL() view returns(uint256)

func (*BalancerBasePoolCallerSession) DOMAINSEPARATOR added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*BalancerBasePoolCallerSession) Decimals added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BalancerBasePoolCallerSession) GetATHRateProduct added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetATHRateProduct() (*big.Int, error)

GetATHRateProduct is a free data retrieval call binding the contract method 0x23ef89ed.

Solidity: function getATHRateProduct() view returns(uint256)

func (*BalancerBasePoolCallerSession) GetActionId added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetActionId(selector [4]byte) ([32]byte, error)

GetActionId is a free data retrieval call binding the contract method 0x851c1bb3.

Solidity: function getActionId(bytes4 selector) view returns(bytes32)

func (*BalancerBasePoolCallerSession) GetActualSupply added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetActualSupply() (*big.Int, error)

GetActualSupply is a free data retrieval call binding the contract method 0x876f303b.

Solidity: function getActualSupply() view returns(uint256)

func (*BalancerBasePoolCallerSession) GetAuthorizer added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetAuthorizer() (common.Address, error)

GetAuthorizer is a free data retrieval call binding the contract method 0xaaabadc5.

Solidity: function getAuthorizer() view returns(address)

func (*BalancerBasePoolCallerSession) GetDomainSeparator added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetDomainSeparator() ([32]byte, error)

GetDomainSeparator is a free data retrieval call binding the contract method 0xed24911d.

Solidity: function getDomainSeparator() view returns(bytes32)

func (*BalancerBasePoolCallerSession) GetInvariant added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetInvariant() (*big.Int, error)

GetInvariant is a free data retrieval call binding the contract method 0xc0ff1a15.

Solidity: function getInvariant() view returns(uint256)

func (*BalancerBasePoolCallerSession) GetLastPostJoinExitInvariant added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetLastPostJoinExitInvariant() (*big.Int, error)

GetLastPostJoinExitInvariant is a free data retrieval call binding the contract method 0xb1096278.

Solidity: function getLastPostJoinExitInvariant() view returns(uint256)

func (*BalancerBasePoolCallerSession) GetNextNonce added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetNextNonce(account common.Address) (*big.Int, error)

GetNextNonce is a free data retrieval call binding the contract method 0x90193b7c.

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

func (*BalancerBasePoolCallerSession) GetNormalizedWeights added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetNormalizedWeights() ([]*big.Int, error)

GetNormalizedWeights is a free data retrieval call binding the contract method 0xf89f27ed.

Solidity: function getNormalizedWeights() view returns(uint256[])

func (*BalancerBasePoolCallerSession) GetOwner added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*BalancerBasePoolCallerSession) GetPausedState added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetPausedState() (struct {
	Paused              bool
	PauseWindowEndTime  *big.Int
	BufferPeriodEndTime *big.Int
}, error)

GetPausedState is a free data retrieval call binding the contract method 0x1c0de051.

Solidity: function getPausedState() view returns(bool paused, uint256 pauseWindowEndTime, uint256 bufferPeriodEndTime)

func (*BalancerBasePoolCallerSession) GetPoolId added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetPoolId() ([32]byte, error)

GetPoolId is a free data retrieval call binding the contract method 0x38fff2d0.

Solidity: function getPoolId() view returns(bytes32)

func (*BalancerBasePoolCallerSession) GetProtocolFeePercentageCache added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetProtocolFeePercentageCache(feeType *big.Int) (*big.Int, error)

GetProtocolFeePercentageCache is a free data retrieval call binding the contract method 0x70464016.

Solidity: function getProtocolFeePercentageCache(uint256 feeType) view returns(uint256)

func (*BalancerBasePoolCallerSession) GetProtocolFeesCollector added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetProtocolFeesCollector() (common.Address, error)

GetProtocolFeesCollector is a free data retrieval call binding the contract method 0xd2946c2b.

Solidity: function getProtocolFeesCollector() view returns(address)

func (*BalancerBasePoolCallerSession) GetProtocolSwapFeeDelegation added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetProtocolSwapFeeDelegation() (bool, error)

GetProtocolSwapFeeDelegation is a free data retrieval call binding the contract method 0x15b0015b.

Solidity: function getProtocolSwapFeeDelegation() view returns(bool)

func (*BalancerBasePoolCallerSession) GetRateProviders added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetRateProviders() ([]common.Address, error)

GetRateProviders is a free data retrieval call binding the contract method 0x238a2d59.

Solidity: function getRateProviders() view returns(address[])

func (*BalancerBasePoolCallerSession) GetScalingFactors added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetScalingFactors() ([]*big.Int, error)

GetScalingFactors is a free data retrieval call binding the contract method 0x1dd746ea.

Solidity: function getScalingFactors() view returns(uint256[])

func (*BalancerBasePoolCallerSession) GetSwapFeePercentage added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetSwapFeePercentage() (*big.Int, error)

GetSwapFeePercentage is a free data retrieval call binding the contract method 0x55c67628.

Solidity: function getSwapFeePercentage() view returns(uint256)

func (*BalancerBasePoolCallerSession) GetVault added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) GetVault() (common.Address, error)

GetVault is a free data retrieval call binding the contract method 0x8d928af8.

Solidity: function getVault() view returns(address)

func (*BalancerBasePoolCallerSession) InRecoveryMode added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) InRecoveryMode() (bool, error)

InRecoveryMode is a free data retrieval call binding the contract method 0xb35056b8.

Solidity: function inRecoveryMode() view returns(bool)

func (*BalancerBasePoolCallerSession) Name added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BalancerBasePoolCallerSession) Nonces added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*BalancerBasePoolCallerSession) Symbol added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BalancerBasePoolCallerSession) TotalSupply added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BalancerBasePoolCallerSession) Version added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type BalancerBasePoolFilterer added in v0.1.7

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

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

func NewBalancerBasePoolFilterer added in v0.1.7

func NewBalancerBasePoolFilterer(address common.Address, filterer bind.ContractFilterer) (*BalancerBasePoolFilterer, error)

NewBalancerBasePoolFilterer creates a new log filterer instance of BalancerBasePool, bound to a specific deployed contract.

func (*BalancerBasePoolFilterer) FilterApproval added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BalancerBasePoolApprovalIterator, 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 (*BalancerBasePoolFilterer) FilterPausedStateChanged added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) FilterPausedStateChanged(opts *bind.FilterOpts) (*BalancerBasePoolPausedStateChangedIterator, error)

FilterPausedStateChanged is a free log retrieval operation binding the contract event 0x9e3a5e37224532dea67b89face185703738a228a6e8a23dee546960180d3be64.

Solidity: event PausedStateChanged(bool paused)

func (*BalancerBasePoolFilterer) FilterProtocolFeePercentageCacheUpdated added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) FilterProtocolFeePercentageCacheUpdated(opts *bind.FilterOpts, feeType []*big.Int) (*BalancerBasePoolProtocolFeePercentageCacheUpdatedIterator, error)

FilterProtocolFeePercentageCacheUpdated is a free log retrieval operation binding the contract event 0x6bfb689528fa96ec1ad670ad6d6064be1ae96bfd5d2ee35c837fd0fe0c11959a.

Solidity: event ProtocolFeePercentageCacheUpdated(uint256 indexed feeType, uint256 protocolFeePercentage)

func (*BalancerBasePoolFilterer) FilterRecoveryModeStateChanged added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) FilterRecoveryModeStateChanged(opts *bind.FilterOpts) (*BalancerBasePoolRecoveryModeStateChangedIterator, error)

FilterRecoveryModeStateChanged is a free log retrieval operation binding the contract event 0xeff3d4d215b42bf0960be9c6d5e05c22cba4df6627a3a523e2acee733b5854c8.

Solidity: event RecoveryModeStateChanged(bool enabled)

func (*BalancerBasePoolFilterer) FilterSwapFeePercentageChanged added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) FilterSwapFeePercentageChanged(opts *bind.FilterOpts) (*BalancerBasePoolSwapFeePercentageChangedIterator, error)

FilterSwapFeePercentageChanged is a free log retrieval operation binding the contract event 0xa9ba3ffe0b6c366b81232caab38605a0699ad5398d6cce76f91ee809e322dafc.

Solidity: event SwapFeePercentageChanged(uint256 swapFeePercentage)

func (*BalancerBasePoolFilterer) FilterTransfer added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BalancerBasePoolTransferIterator, 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 (*BalancerBasePoolFilterer) ParseApproval added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) ParseApproval(log types.Log) (*BalancerBasePoolApproval, error)

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

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

func (*BalancerBasePoolFilterer) ParsePausedStateChanged added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) ParsePausedStateChanged(log types.Log) (*BalancerBasePoolPausedStateChanged, error)

ParsePausedStateChanged is a log parse operation binding the contract event 0x9e3a5e37224532dea67b89face185703738a228a6e8a23dee546960180d3be64.

Solidity: event PausedStateChanged(bool paused)

func (*BalancerBasePoolFilterer) ParseProtocolFeePercentageCacheUpdated added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) ParseProtocolFeePercentageCacheUpdated(log types.Log) (*BalancerBasePoolProtocolFeePercentageCacheUpdated, error)

ParseProtocolFeePercentageCacheUpdated is a log parse operation binding the contract event 0x6bfb689528fa96ec1ad670ad6d6064be1ae96bfd5d2ee35c837fd0fe0c11959a.

Solidity: event ProtocolFeePercentageCacheUpdated(uint256 indexed feeType, uint256 protocolFeePercentage)

func (*BalancerBasePoolFilterer) ParseRecoveryModeStateChanged added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) ParseRecoveryModeStateChanged(log types.Log) (*BalancerBasePoolRecoveryModeStateChanged, error)

ParseRecoveryModeStateChanged is a log parse operation binding the contract event 0xeff3d4d215b42bf0960be9c6d5e05c22cba4df6627a3a523e2acee733b5854c8.

Solidity: event RecoveryModeStateChanged(bool enabled)

func (*BalancerBasePoolFilterer) ParseSwapFeePercentageChanged added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) ParseSwapFeePercentageChanged(log types.Log) (*BalancerBasePoolSwapFeePercentageChanged, error)

ParseSwapFeePercentageChanged is a log parse operation binding the contract event 0xa9ba3ffe0b6c366b81232caab38605a0699ad5398d6cce76f91ee809e322dafc.

Solidity: event SwapFeePercentageChanged(uint256 swapFeePercentage)

func (*BalancerBasePoolFilterer) ParseTransfer added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) ParseTransfer(log types.Log) (*BalancerBasePoolTransfer, error)

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

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

func (*BalancerBasePoolFilterer) WatchApproval added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BalancerBasePoolApproval, 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 (*BalancerBasePoolFilterer) WatchPausedStateChanged added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) WatchPausedStateChanged(opts *bind.WatchOpts, sink chan<- *BalancerBasePoolPausedStateChanged) (event.Subscription, error)

WatchPausedStateChanged is a free log subscription operation binding the contract event 0x9e3a5e37224532dea67b89face185703738a228a6e8a23dee546960180d3be64.

Solidity: event PausedStateChanged(bool paused)

func (*BalancerBasePoolFilterer) WatchProtocolFeePercentageCacheUpdated added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) WatchProtocolFeePercentageCacheUpdated(opts *bind.WatchOpts, sink chan<- *BalancerBasePoolProtocolFeePercentageCacheUpdated, feeType []*big.Int) (event.Subscription, error)

WatchProtocolFeePercentageCacheUpdated is a free log subscription operation binding the contract event 0x6bfb689528fa96ec1ad670ad6d6064be1ae96bfd5d2ee35c837fd0fe0c11959a.

Solidity: event ProtocolFeePercentageCacheUpdated(uint256 indexed feeType, uint256 protocolFeePercentage)

func (*BalancerBasePoolFilterer) WatchRecoveryModeStateChanged added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) WatchRecoveryModeStateChanged(opts *bind.WatchOpts, sink chan<- *BalancerBasePoolRecoveryModeStateChanged) (event.Subscription, error)

WatchRecoveryModeStateChanged is a free log subscription operation binding the contract event 0xeff3d4d215b42bf0960be9c6d5e05c22cba4df6627a3a523e2acee733b5854c8.

Solidity: event RecoveryModeStateChanged(bool enabled)

func (*BalancerBasePoolFilterer) WatchSwapFeePercentageChanged added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) WatchSwapFeePercentageChanged(opts *bind.WatchOpts, sink chan<- *BalancerBasePoolSwapFeePercentageChanged) (event.Subscription, error)

WatchSwapFeePercentageChanged is a free log subscription operation binding the contract event 0xa9ba3ffe0b6c366b81232caab38605a0699ad5398d6cce76f91ee809e322dafc.

Solidity: event SwapFeePercentageChanged(uint256 swapFeePercentage)

func (*BalancerBasePoolFilterer) WatchTransfer added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BalancerBasePoolTransfer, 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 BalancerBasePoolPausedStateChanged added in v0.1.7

type BalancerBasePoolPausedStateChanged struct {
	Paused bool
	Raw    types.Log // Blockchain specific contextual infos
}

BalancerBasePoolPausedStateChanged represents a PausedStateChanged event raised by the BalancerBasePool contract.

type BalancerBasePoolPausedStateChangedIterator added in v0.1.7

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

BalancerBasePoolPausedStateChangedIterator is returned from FilterPausedStateChanged and is used to iterate over the raw logs and unpacked data for PausedStateChanged events raised by the BalancerBasePool contract.

func (*BalancerBasePoolPausedStateChangedIterator) Close added in v0.1.7

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

func (*BalancerBasePoolPausedStateChangedIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerBasePoolPausedStateChangedIterator) Next added in v0.1.7

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 BalancerBasePoolProtocolFeePercentageCacheUpdated added in v0.1.7

type BalancerBasePoolProtocolFeePercentageCacheUpdated struct {
	FeeType               *big.Int
	ProtocolFeePercentage *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

BalancerBasePoolProtocolFeePercentageCacheUpdated represents a ProtocolFeePercentageCacheUpdated event raised by the BalancerBasePool contract.

type BalancerBasePoolProtocolFeePercentageCacheUpdatedIterator added in v0.1.7

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

BalancerBasePoolProtocolFeePercentageCacheUpdatedIterator is returned from FilterProtocolFeePercentageCacheUpdated and is used to iterate over the raw logs and unpacked data for ProtocolFeePercentageCacheUpdated events raised by the BalancerBasePool contract.

func (*BalancerBasePoolProtocolFeePercentageCacheUpdatedIterator) Close added in v0.1.7

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

func (*BalancerBasePoolProtocolFeePercentageCacheUpdatedIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerBasePoolProtocolFeePercentageCacheUpdatedIterator) Next added in v0.1.7

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 BalancerBasePoolRaw added in v0.1.7

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

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

func (*BalancerBasePoolRaw) Call added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolRaw) 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 (*BalancerBasePoolRaw) Transact added in v0.1.7

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

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

func (*BalancerBasePoolRaw) Transfer added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolRaw) 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 BalancerBasePoolRecoveryModeStateChanged added in v0.1.7

type BalancerBasePoolRecoveryModeStateChanged struct {
	Enabled bool
	Raw     types.Log // Blockchain specific contextual infos
}

BalancerBasePoolRecoveryModeStateChanged represents a RecoveryModeStateChanged event raised by the BalancerBasePool contract.

type BalancerBasePoolRecoveryModeStateChangedIterator added in v0.1.7

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

BalancerBasePoolRecoveryModeStateChangedIterator is returned from FilterRecoveryModeStateChanged and is used to iterate over the raw logs and unpacked data for RecoveryModeStateChanged events raised by the BalancerBasePool contract.

func (*BalancerBasePoolRecoveryModeStateChangedIterator) Close added in v0.1.7

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

func (*BalancerBasePoolRecoveryModeStateChangedIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerBasePoolRecoveryModeStateChangedIterator) Next added in v0.1.7

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 BalancerBasePoolSession added in v0.1.7

type BalancerBasePoolSession struct {
	Contract     *BalancerBasePool // 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
}

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

func (*BalancerBasePoolSession) Allowance added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) 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 (*BalancerBasePoolSession) Approve added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) 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 (*BalancerBasePoolSession) BalanceOf added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) 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 (*BalancerBasePoolSession) DELEGATEPROTOCOLSWAPFEESSENTINEL added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) DELEGATEPROTOCOLSWAPFEESSENTINEL() (*big.Int, error)

DELEGATEPROTOCOLSWAPFEESSENTINEL is a free data retrieval call binding the contract method 0xddf4627b.

Solidity: function DELEGATE_PROTOCOL_SWAP_FEES_SENTINEL() view returns(uint256)

func (*BalancerBasePoolSession) DOMAINSEPARATOR added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*BalancerBasePoolSession) Decimals added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BalancerBasePoolSession) DecreaseAllowance added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) DecreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*BalancerBasePoolSession) DisableRecoveryMode added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) DisableRecoveryMode() (*types.Transaction, error)

DisableRecoveryMode is a paid mutator transaction binding the contract method 0xb7b814fc.

Solidity: function disableRecoveryMode() returns()

func (*BalancerBasePoolSession) EnableRecoveryMode added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) EnableRecoveryMode() (*types.Transaction, error)

EnableRecoveryMode is a paid mutator transaction binding the contract method 0x54a844ba.

Solidity: function enableRecoveryMode() returns()

func (*BalancerBasePoolSession) GetATHRateProduct added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetATHRateProduct() (*big.Int, error)

GetATHRateProduct is a free data retrieval call binding the contract method 0x23ef89ed.

Solidity: function getATHRateProduct() view returns(uint256)

func (*BalancerBasePoolSession) GetActionId added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetActionId(selector [4]byte) ([32]byte, error)

GetActionId is a free data retrieval call binding the contract method 0x851c1bb3.

Solidity: function getActionId(bytes4 selector) view returns(bytes32)

func (*BalancerBasePoolSession) GetActualSupply added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetActualSupply() (*big.Int, error)

GetActualSupply is a free data retrieval call binding the contract method 0x876f303b.

Solidity: function getActualSupply() view returns(uint256)

func (*BalancerBasePoolSession) GetAuthorizer added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetAuthorizer() (common.Address, error)

GetAuthorizer is a free data retrieval call binding the contract method 0xaaabadc5.

Solidity: function getAuthorizer() view returns(address)

func (*BalancerBasePoolSession) GetDomainSeparator added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetDomainSeparator() ([32]byte, error)

GetDomainSeparator is a free data retrieval call binding the contract method 0xed24911d.

Solidity: function getDomainSeparator() view returns(bytes32)

func (*BalancerBasePoolSession) GetInvariant added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetInvariant() (*big.Int, error)

GetInvariant is a free data retrieval call binding the contract method 0xc0ff1a15.

Solidity: function getInvariant() view returns(uint256)

func (*BalancerBasePoolSession) GetLastPostJoinExitInvariant added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetLastPostJoinExitInvariant() (*big.Int, error)

GetLastPostJoinExitInvariant is a free data retrieval call binding the contract method 0xb1096278.

Solidity: function getLastPostJoinExitInvariant() view returns(uint256)

func (*BalancerBasePoolSession) GetNextNonce added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetNextNonce(account common.Address) (*big.Int, error)

GetNextNonce is a free data retrieval call binding the contract method 0x90193b7c.

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

func (*BalancerBasePoolSession) GetNormalizedWeights added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetNormalizedWeights() ([]*big.Int, error)

GetNormalizedWeights is a free data retrieval call binding the contract method 0xf89f27ed.

Solidity: function getNormalizedWeights() view returns(uint256[])

func (*BalancerBasePoolSession) GetOwner added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*BalancerBasePoolSession) GetPausedState added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetPausedState() (struct {
	Paused              bool
	PauseWindowEndTime  *big.Int
	BufferPeriodEndTime *big.Int
}, error)

GetPausedState is a free data retrieval call binding the contract method 0x1c0de051.

Solidity: function getPausedState() view returns(bool paused, uint256 pauseWindowEndTime, uint256 bufferPeriodEndTime)

func (*BalancerBasePoolSession) GetPoolId added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetPoolId() ([32]byte, error)

GetPoolId is a free data retrieval call binding the contract method 0x38fff2d0.

Solidity: function getPoolId() view returns(bytes32)

func (*BalancerBasePoolSession) GetProtocolFeePercentageCache added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetProtocolFeePercentageCache(feeType *big.Int) (*big.Int, error)

GetProtocolFeePercentageCache is a free data retrieval call binding the contract method 0x70464016.

Solidity: function getProtocolFeePercentageCache(uint256 feeType) view returns(uint256)

func (*BalancerBasePoolSession) GetProtocolFeesCollector added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetProtocolFeesCollector() (common.Address, error)

GetProtocolFeesCollector is a free data retrieval call binding the contract method 0xd2946c2b.

Solidity: function getProtocolFeesCollector() view returns(address)

func (*BalancerBasePoolSession) GetProtocolSwapFeeDelegation added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetProtocolSwapFeeDelegation() (bool, error)

GetProtocolSwapFeeDelegation is a free data retrieval call binding the contract method 0x15b0015b.

Solidity: function getProtocolSwapFeeDelegation() view returns(bool)

func (*BalancerBasePoolSession) GetRateProviders added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetRateProviders() ([]common.Address, error)

GetRateProviders is a free data retrieval call binding the contract method 0x238a2d59.

Solidity: function getRateProviders() view returns(address[])

func (*BalancerBasePoolSession) GetScalingFactors added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetScalingFactors() ([]*big.Int, error)

GetScalingFactors is a free data retrieval call binding the contract method 0x1dd746ea.

Solidity: function getScalingFactors() view returns(uint256[])

func (*BalancerBasePoolSession) GetSwapFeePercentage added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetSwapFeePercentage() (*big.Int, error)

GetSwapFeePercentage is a free data retrieval call binding the contract method 0x55c67628.

Solidity: function getSwapFeePercentage() view returns(uint256)

func (*BalancerBasePoolSession) GetVault added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) GetVault() (common.Address, error)

GetVault is a free data retrieval call binding the contract method 0x8d928af8.

Solidity: function getVault() view returns(address)

func (*BalancerBasePoolSession) InRecoveryMode added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) InRecoveryMode() (bool, error)

InRecoveryMode is a free data retrieval call binding the contract method 0xb35056b8.

Solidity: function inRecoveryMode() view returns(bool)

func (*BalancerBasePoolSession) IncreaseAllowance added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) 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 (*BalancerBasePoolSession) Name added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BalancerBasePoolSession) Nonces added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*BalancerBasePoolSession) OnExitPool added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) OnExitPool(poolId [32]byte, sender common.Address, recipient common.Address, balances []*big.Int, lastChangeBlock *big.Int, protocolSwapFeePercentage *big.Int, userData []byte) (*types.Transaction, error)

OnExitPool is a paid mutator transaction binding the contract method 0x74f3b009.

Solidity: function onExitPool(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns(uint256[], uint256[])

func (*BalancerBasePoolSession) OnJoinPool added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) OnJoinPool(poolId [32]byte, sender common.Address, recipient common.Address, balances []*big.Int, lastChangeBlock *big.Int, protocolSwapFeePercentage *big.Int, userData []byte) (*types.Transaction, error)

OnJoinPool is a paid mutator transaction binding the contract method 0xd5c096c4.

Solidity: function onJoinPool(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns(uint256[], uint256[])

func (*BalancerBasePoolSession) OnSwap added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) OnSwap(request IPoolSwapStructsSwapRequest, balanceTokenIn *big.Int, balanceTokenOut *big.Int) (*types.Transaction, error)

OnSwap is a paid mutator transaction binding the contract method 0x9d2c110c.

Solidity: function onSwap((uint8,address,address,uint256,bytes32,uint256,address,address,bytes) request, uint256 balanceTokenIn, uint256 balanceTokenOut) returns(uint256)

func (*BalancerBasePoolSession) Pause added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*BalancerBasePoolSession) Permit added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*BalancerBasePoolSession) QueryExit added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) QueryExit(poolId [32]byte, sender common.Address, recipient common.Address, balances []*big.Int, lastChangeBlock *big.Int, protocolSwapFeePercentage *big.Int, userData []byte) (*types.Transaction, error)

QueryExit is a paid mutator transaction binding the contract method 0x6028bfd4.

Solidity: function queryExit(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns(uint256 bptIn, uint256[] amountsOut)

func (*BalancerBasePoolSession) QueryJoin added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) QueryJoin(poolId [32]byte, sender common.Address, recipient common.Address, balances []*big.Int, lastChangeBlock *big.Int, protocolSwapFeePercentage *big.Int, userData []byte) (*types.Transaction, error)

QueryJoin is a paid mutator transaction binding the contract method 0x87ec6817.

Solidity: function queryJoin(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns(uint256 bptOut, uint256[] amountsIn)

func (*BalancerBasePoolSession) SetAssetManagerPoolConfig added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) SetAssetManagerPoolConfig(token common.Address, poolConfig []byte) (*types.Transaction, error)

SetAssetManagerPoolConfig is a paid mutator transaction binding the contract method 0x50dd6ed9.

Solidity: function setAssetManagerPoolConfig(address token, bytes poolConfig) returns()

func (*BalancerBasePoolSession) SetSwapFeePercentage added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) SetSwapFeePercentage(swapFeePercentage *big.Int) (*types.Transaction, error)

SetSwapFeePercentage is a paid mutator transaction binding the contract method 0x38e9922e.

Solidity: function setSwapFeePercentage(uint256 swapFeePercentage) returns()

func (*BalancerBasePoolSession) Symbol added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BalancerBasePoolSession) TotalSupply added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BalancerBasePoolSession) Transfer added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) 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 (*BalancerBasePoolSession) TransferFrom added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) 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 (*BalancerBasePoolSession) Unpause added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*BalancerBasePoolSession) UpdateProtocolFeePercentageCache added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) UpdateProtocolFeePercentageCache() (*types.Transaction, error)

UpdateProtocolFeePercentageCache is a paid mutator transaction binding the contract method 0x0da0669c.

Solidity: function updateProtocolFeePercentageCache() returns()

func (*BalancerBasePoolSession) Version added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type BalancerBasePoolSwapFeePercentageChanged added in v0.1.7

type BalancerBasePoolSwapFeePercentageChanged struct {
	SwapFeePercentage *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

BalancerBasePoolSwapFeePercentageChanged represents a SwapFeePercentageChanged event raised by the BalancerBasePool contract.

type BalancerBasePoolSwapFeePercentageChangedIterator added in v0.1.7

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

BalancerBasePoolSwapFeePercentageChangedIterator is returned from FilterSwapFeePercentageChanged and is used to iterate over the raw logs and unpacked data for SwapFeePercentageChanged events raised by the BalancerBasePool contract.

func (*BalancerBasePoolSwapFeePercentageChangedIterator) Close added in v0.1.7

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

func (*BalancerBasePoolSwapFeePercentageChangedIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerBasePoolSwapFeePercentageChangedIterator) Next added in v0.1.7

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 BalancerBasePoolTransactor added in v0.1.7

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

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

func NewBalancerBasePoolTransactor added in v0.1.7

func NewBalancerBasePoolTransactor(address common.Address, transactor bind.ContractTransactor) (*BalancerBasePoolTransactor, error)

NewBalancerBasePoolTransactor creates a new write-only instance of BalancerBasePool, bound to a specific deployed contract.

func (*BalancerBasePoolTransactor) Approve added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) 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 (*BalancerBasePoolTransactor) DecreaseAllowance added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*BalancerBasePoolTransactor) DisableRecoveryMode added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) DisableRecoveryMode(opts *bind.TransactOpts) (*types.Transaction, error)

DisableRecoveryMode is a paid mutator transaction binding the contract method 0xb7b814fc.

Solidity: function disableRecoveryMode() returns()

func (*BalancerBasePoolTransactor) EnableRecoveryMode added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) EnableRecoveryMode(opts *bind.TransactOpts) (*types.Transaction, error)

EnableRecoveryMode is a paid mutator transaction binding the contract method 0x54a844ba.

Solidity: function enableRecoveryMode() returns()

func (*BalancerBasePoolTransactor) IncreaseAllowance added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) 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 (*BalancerBasePoolTransactor) OnExitPool added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) OnExitPool(opts *bind.TransactOpts, poolId [32]byte, sender common.Address, recipient common.Address, balances []*big.Int, lastChangeBlock *big.Int, protocolSwapFeePercentage *big.Int, userData []byte) (*types.Transaction, error)

OnExitPool is a paid mutator transaction binding the contract method 0x74f3b009.

Solidity: function onExitPool(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns(uint256[], uint256[])

func (*BalancerBasePoolTransactor) OnJoinPool added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) OnJoinPool(opts *bind.TransactOpts, poolId [32]byte, sender common.Address, recipient common.Address, balances []*big.Int, lastChangeBlock *big.Int, protocolSwapFeePercentage *big.Int, userData []byte) (*types.Transaction, error)

OnJoinPool is a paid mutator transaction binding the contract method 0xd5c096c4.

Solidity: function onJoinPool(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns(uint256[], uint256[])

func (*BalancerBasePoolTransactor) OnSwap added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) OnSwap(opts *bind.TransactOpts, request IPoolSwapStructsSwapRequest, balanceTokenIn *big.Int, balanceTokenOut *big.Int) (*types.Transaction, error)

OnSwap is a paid mutator transaction binding the contract method 0x9d2c110c.

Solidity: function onSwap((uint8,address,address,uint256,bytes32,uint256,address,address,bytes) request, uint256 balanceTokenIn, uint256 balanceTokenOut) returns(uint256)

func (*BalancerBasePoolTransactor) Pause added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*BalancerBasePoolTransactor) Permit added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*BalancerBasePoolTransactor) QueryExit added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) QueryExit(opts *bind.TransactOpts, poolId [32]byte, sender common.Address, recipient common.Address, balances []*big.Int, lastChangeBlock *big.Int, protocolSwapFeePercentage *big.Int, userData []byte) (*types.Transaction, error)

QueryExit is a paid mutator transaction binding the contract method 0x6028bfd4.

Solidity: function queryExit(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns(uint256 bptIn, uint256[] amountsOut)

func (*BalancerBasePoolTransactor) QueryJoin added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) QueryJoin(opts *bind.TransactOpts, poolId [32]byte, sender common.Address, recipient common.Address, balances []*big.Int, lastChangeBlock *big.Int, protocolSwapFeePercentage *big.Int, userData []byte) (*types.Transaction, error)

QueryJoin is a paid mutator transaction binding the contract method 0x87ec6817.

Solidity: function queryJoin(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns(uint256 bptOut, uint256[] amountsIn)

func (*BalancerBasePoolTransactor) SetAssetManagerPoolConfig added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) SetAssetManagerPoolConfig(opts *bind.TransactOpts, token common.Address, poolConfig []byte) (*types.Transaction, error)

SetAssetManagerPoolConfig is a paid mutator transaction binding the contract method 0x50dd6ed9.

Solidity: function setAssetManagerPoolConfig(address token, bytes poolConfig) returns()

func (*BalancerBasePoolTransactor) SetSwapFeePercentage added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) SetSwapFeePercentage(opts *bind.TransactOpts, swapFeePercentage *big.Int) (*types.Transaction, error)

SetSwapFeePercentage is a paid mutator transaction binding the contract method 0x38e9922e.

Solidity: function setSwapFeePercentage(uint256 swapFeePercentage) returns()

func (*BalancerBasePoolTransactor) Transfer added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) 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 (*BalancerBasePoolTransactor) TransferFrom added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) 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 (*BalancerBasePoolTransactor) Unpause added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*BalancerBasePoolTransactor) UpdateProtocolFeePercentageCache added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactor) UpdateProtocolFeePercentageCache(opts *bind.TransactOpts) (*types.Transaction, error)

UpdateProtocolFeePercentageCache is a paid mutator transaction binding the contract method 0x0da0669c.

Solidity: function updateProtocolFeePercentageCache() returns()

type BalancerBasePoolTransactorRaw added in v0.1.7

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

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

func (*BalancerBasePoolTransactorRaw) Transact added in v0.1.7

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

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

func (*BalancerBasePoolTransactorRaw) Transfer added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorRaw) 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 BalancerBasePoolTransactorSession added in v0.1.7

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

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

func (*BalancerBasePoolTransactorSession) Approve added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) 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 (*BalancerBasePoolTransactorSession) DecreaseAllowance added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) DecreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*BalancerBasePoolTransactorSession) DisableRecoveryMode added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) DisableRecoveryMode() (*types.Transaction, error)

DisableRecoveryMode is a paid mutator transaction binding the contract method 0xb7b814fc.

Solidity: function disableRecoveryMode() returns()

func (*BalancerBasePoolTransactorSession) EnableRecoveryMode added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) EnableRecoveryMode() (*types.Transaction, error)

EnableRecoveryMode is a paid mutator transaction binding the contract method 0x54a844ba.

Solidity: function enableRecoveryMode() returns()

func (*BalancerBasePoolTransactorSession) IncreaseAllowance added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) 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 (*BalancerBasePoolTransactorSession) OnExitPool added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) OnExitPool(poolId [32]byte, sender common.Address, recipient common.Address, balances []*big.Int, lastChangeBlock *big.Int, protocolSwapFeePercentage *big.Int, userData []byte) (*types.Transaction, error)

OnExitPool is a paid mutator transaction binding the contract method 0x74f3b009.

Solidity: function onExitPool(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns(uint256[], uint256[])

func (*BalancerBasePoolTransactorSession) OnJoinPool added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) OnJoinPool(poolId [32]byte, sender common.Address, recipient common.Address, balances []*big.Int, lastChangeBlock *big.Int, protocolSwapFeePercentage *big.Int, userData []byte) (*types.Transaction, error)

OnJoinPool is a paid mutator transaction binding the contract method 0xd5c096c4.

Solidity: function onJoinPool(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns(uint256[], uint256[])

func (*BalancerBasePoolTransactorSession) OnSwap added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) OnSwap(request IPoolSwapStructsSwapRequest, balanceTokenIn *big.Int, balanceTokenOut *big.Int) (*types.Transaction, error)

OnSwap is a paid mutator transaction binding the contract method 0x9d2c110c.

Solidity: function onSwap((uint8,address,address,uint256,bytes32,uint256,address,address,bytes) request, uint256 balanceTokenIn, uint256 balanceTokenOut) returns(uint256)

func (*BalancerBasePoolTransactorSession) Pause added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*BalancerBasePoolTransactorSession) Permit added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*BalancerBasePoolTransactorSession) QueryExit added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) QueryExit(poolId [32]byte, sender common.Address, recipient common.Address, balances []*big.Int, lastChangeBlock *big.Int, protocolSwapFeePercentage *big.Int, userData []byte) (*types.Transaction, error)

QueryExit is a paid mutator transaction binding the contract method 0x6028bfd4.

Solidity: function queryExit(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns(uint256 bptIn, uint256[] amountsOut)

func (*BalancerBasePoolTransactorSession) QueryJoin added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) QueryJoin(poolId [32]byte, sender common.Address, recipient common.Address, balances []*big.Int, lastChangeBlock *big.Int, protocolSwapFeePercentage *big.Int, userData []byte) (*types.Transaction, error)

QueryJoin is a paid mutator transaction binding the contract method 0x87ec6817.

Solidity: function queryJoin(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns(uint256 bptOut, uint256[] amountsIn)

func (*BalancerBasePoolTransactorSession) SetAssetManagerPoolConfig added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) SetAssetManagerPoolConfig(token common.Address, poolConfig []byte) (*types.Transaction, error)

SetAssetManagerPoolConfig is a paid mutator transaction binding the contract method 0x50dd6ed9.

Solidity: function setAssetManagerPoolConfig(address token, bytes poolConfig) returns()

func (*BalancerBasePoolTransactorSession) SetSwapFeePercentage added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) SetSwapFeePercentage(swapFeePercentage *big.Int) (*types.Transaction, error)

SetSwapFeePercentage is a paid mutator transaction binding the contract method 0x38e9922e.

Solidity: function setSwapFeePercentage(uint256 swapFeePercentage) returns()

func (*BalancerBasePoolTransactorSession) Transfer added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) 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 (*BalancerBasePoolTransactorSession) TransferFrom added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) 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 (*BalancerBasePoolTransactorSession) Unpause added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*BalancerBasePoolTransactorSession) UpdateProtocolFeePercentageCache added in v0.1.7

func (_BalancerBasePool *BalancerBasePoolTransactorSession) UpdateProtocolFeePercentageCache() (*types.Transaction, error)

UpdateProtocolFeePercentageCache is a paid mutator transaction binding the contract method 0x0da0669c.

Solidity: function updateProtocolFeePercentageCache() returns()

type BalancerBasePoolTransfer added in v0.1.7

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

BalancerBasePoolTransfer represents a Transfer event raised by the BalancerBasePool contract.

type BalancerBasePoolTransferIterator added in v0.1.7

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

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

func (*BalancerBasePoolTransferIterator) Close added in v0.1.7

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

func (*BalancerBasePoolTransferIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerBasePoolTransferIterator) Next added in v0.1.7

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 BalancerVault added in v0.1.7

type BalancerVault struct {
	BalancerVaultCaller     // Read-only binding to the contract
	BalancerVaultTransactor // Write-only binding to the contract
	BalancerVaultFilterer   // Log filterer for contract events
}

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

func NewBalancerVault added in v0.1.7

func NewBalancerVault(address common.Address, backend bind.ContractBackend) (*BalancerVault, error)

NewBalancerVault creates a new instance of BalancerVault, bound to a specific deployed contract.

type BalancerVaultAuthorizerChanged added in v0.1.7

type BalancerVaultAuthorizerChanged struct {
	NewAuthorizer common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BalancerVaultAuthorizerChanged represents a AuthorizerChanged event raised by the BalancerVault contract.

type BalancerVaultAuthorizerChangedIterator added in v0.1.7

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

BalancerVaultAuthorizerChangedIterator is returned from FilterAuthorizerChanged and is used to iterate over the raw logs and unpacked data for AuthorizerChanged events raised by the BalancerVault contract.

func (*BalancerVaultAuthorizerChangedIterator) Close added in v0.1.7

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

func (*BalancerVaultAuthorizerChangedIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultAuthorizerChangedIterator) Next added in v0.1.7

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 BalancerVaultCaller added in v0.1.7

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

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

func NewBalancerVaultCaller added in v0.1.7

func NewBalancerVaultCaller(address common.Address, caller bind.ContractCaller) (*BalancerVaultCaller, error)

NewBalancerVaultCaller creates a new read-only instance of BalancerVault, bound to a specific deployed contract.

func (*BalancerVaultCaller) GetActionId added in v0.1.7

func (_BalancerVault *BalancerVaultCaller) GetActionId(opts *bind.CallOpts, selector [4]byte) ([32]byte, error)

GetActionId is a free data retrieval call binding the contract method 0x851c1bb3.

Solidity: function getActionId(bytes4 selector) view returns(bytes32)

func (*BalancerVaultCaller) GetAuthorizer added in v0.1.7

func (_BalancerVault *BalancerVaultCaller) GetAuthorizer(opts *bind.CallOpts) (common.Address, error)

GetAuthorizer is a free data retrieval call binding the contract method 0xaaabadc5.

Solidity: function getAuthorizer() view returns(address)

func (*BalancerVaultCaller) GetDomainSeparator added in v0.1.7

func (_BalancerVault *BalancerVaultCaller) GetDomainSeparator(opts *bind.CallOpts) ([32]byte, error)

GetDomainSeparator is a free data retrieval call binding the contract method 0xed24911d.

Solidity: function getDomainSeparator() view returns(bytes32)

func (*BalancerVaultCaller) GetInternalBalance added in v0.1.7

func (_BalancerVault *BalancerVaultCaller) GetInternalBalance(opts *bind.CallOpts, user common.Address, tokens []common.Address) ([]*big.Int, error)

GetInternalBalance is a free data retrieval call binding the contract method 0x0f5a6efa.

Solidity: function getInternalBalance(address user, address[] tokens) view returns(uint256[] balances)

func (*BalancerVaultCaller) GetNextNonce added in v0.1.7

func (_BalancerVault *BalancerVaultCaller) GetNextNonce(opts *bind.CallOpts, user common.Address) (*big.Int, error)

GetNextNonce is a free data retrieval call binding the contract method 0x90193b7c.

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

func (*BalancerVaultCaller) GetPausedState added in v0.1.7

func (_BalancerVault *BalancerVaultCaller) GetPausedState(opts *bind.CallOpts) (struct {
	Paused              bool
	PauseWindowEndTime  *big.Int
	BufferPeriodEndTime *big.Int
}, error)

GetPausedState is a free data retrieval call binding the contract method 0x1c0de051.

Solidity: function getPausedState() view returns(bool paused, uint256 pauseWindowEndTime, uint256 bufferPeriodEndTime)

func (*BalancerVaultCaller) GetPool added in v0.1.7

func (_BalancerVault *BalancerVaultCaller) GetPool(opts *bind.CallOpts, poolId [32]byte) (common.Address, uint8, error)

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

Solidity: function getPool(bytes32 poolId) view returns(address, uint8)

func (*BalancerVaultCaller) GetPoolTokenInfo added in v0.1.7

func (_BalancerVault *BalancerVaultCaller) GetPoolTokenInfo(opts *bind.CallOpts, poolId [32]byte, token common.Address) (struct {
	Cash            *big.Int
	Managed         *big.Int
	LastChangeBlock *big.Int
	AssetManager    common.Address
}, error)

GetPoolTokenInfo is a free data retrieval call binding the contract method 0xb05f8e48.

Solidity: function getPoolTokenInfo(bytes32 poolId, address token) view returns(uint256 cash, uint256 managed, uint256 lastChangeBlock, address assetManager)

func (*BalancerVaultCaller) GetPoolTokens added in v0.1.7

func (_BalancerVault *BalancerVaultCaller) GetPoolTokens(opts *bind.CallOpts, poolId [32]byte) (struct {
	Tokens          []common.Address
	Balances        []*big.Int
	LastChangeBlock *big.Int
}, error)

GetPoolTokens is a free data retrieval call binding the contract method 0xf94d4668.

Solidity: function getPoolTokens(bytes32 poolId) view returns(address[] tokens, uint256[] balances, uint256 lastChangeBlock)

func (*BalancerVaultCaller) GetProtocolFeesCollector added in v0.1.7

func (_BalancerVault *BalancerVaultCaller) GetProtocolFeesCollector(opts *bind.CallOpts) (common.Address, error)

GetProtocolFeesCollector is a free data retrieval call binding the contract method 0xd2946c2b.

Solidity: function getProtocolFeesCollector() view returns(address)

func (*BalancerVaultCaller) HasApprovedRelayer added in v0.1.7

func (_BalancerVault *BalancerVaultCaller) HasApprovedRelayer(opts *bind.CallOpts, user common.Address, relayer common.Address) (bool, error)

HasApprovedRelayer is a free data retrieval call binding the contract method 0xfec90d72.

Solidity: function hasApprovedRelayer(address user, address relayer) view returns(bool)

func (*BalancerVaultCaller) WETH added in v0.1.7

func (_BalancerVault *BalancerVaultCaller) WETH(opts *bind.CallOpts) (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type BalancerVaultCallerRaw added in v0.1.7

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

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

func (*BalancerVaultCallerRaw) Call added in v0.1.7

func (_BalancerVault *BalancerVaultCallerRaw) 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 BalancerVaultCallerSession added in v0.1.7

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

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

func (*BalancerVaultCallerSession) GetActionId added in v0.1.7

func (_BalancerVault *BalancerVaultCallerSession) GetActionId(selector [4]byte) ([32]byte, error)

GetActionId is a free data retrieval call binding the contract method 0x851c1bb3.

Solidity: function getActionId(bytes4 selector) view returns(bytes32)

func (*BalancerVaultCallerSession) GetAuthorizer added in v0.1.7

func (_BalancerVault *BalancerVaultCallerSession) GetAuthorizer() (common.Address, error)

GetAuthorizer is a free data retrieval call binding the contract method 0xaaabadc5.

Solidity: function getAuthorizer() view returns(address)

func (*BalancerVaultCallerSession) GetDomainSeparator added in v0.1.7

func (_BalancerVault *BalancerVaultCallerSession) GetDomainSeparator() ([32]byte, error)

GetDomainSeparator is a free data retrieval call binding the contract method 0xed24911d.

Solidity: function getDomainSeparator() view returns(bytes32)

func (*BalancerVaultCallerSession) GetInternalBalance added in v0.1.7

func (_BalancerVault *BalancerVaultCallerSession) GetInternalBalance(user common.Address, tokens []common.Address) ([]*big.Int, error)

GetInternalBalance is a free data retrieval call binding the contract method 0x0f5a6efa.

Solidity: function getInternalBalance(address user, address[] tokens) view returns(uint256[] balances)

func (*BalancerVaultCallerSession) GetNextNonce added in v0.1.7

func (_BalancerVault *BalancerVaultCallerSession) GetNextNonce(user common.Address) (*big.Int, error)

GetNextNonce is a free data retrieval call binding the contract method 0x90193b7c.

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

func (*BalancerVaultCallerSession) GetPausedState added in v0.1.7

func (_BalancerVault *BalancerVaultCallerSession) GetPausedState() (struct {
	Paused              bool
	PauseWindowEndTime  *big.Int
	BufferPeriodEndTime *big.Int
}, error)

GetPausedState is a free data retrieval call binding the contract method 0x1c0de051.

Solidity: function getPausedState() view returns(bool paused, uint256 pauseWindowEndTime, uint256 bufferPeriodEndTime)

func (*BalancerVaultCallerSession) GetPool added in v0.1.7

func (_BalancerVault *BalancerVaultCallerSession) GetPool(poolId [32]byte) (common.Address, uint8, error)

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

Solidity: function getPool(bytes32 poolId) view returns(address, uint8)

func (*BalancerVaultCallerSession) GetPoolTokenInfo added in v0.1.7

func (_BalancerVault *BalancerVaultCallerSession) GetPoolTokenInfo(poolId [32]byte, token common.Address) (struct {
	Cash            *big.Int
	Managed         *big.Int
	LastChangeBlock *big.Int
	AssetManager    common.Address
}, error)

GetPoolTokenInfo is a free data retrieval call binding the contract method 0xb05f8e48.

Solidity: function getPoolTokenInfo(bytes32 poolId, address token) view returns(uint256 cash, uint256 managed, uint256 lastChangeBlock, address assetManager)

func (*BalancerVaultCallerSession) GetPoolTokens added in v0.1.7

func (_BalancerVault *BalancerVaultCallerSession) GetPoolTokens(poolId [32]byte) (struct {
	Tokens          []common.Address
	Balances        []*big.Int
	LastChangeBlock *big.Int
}, error)

GetPoolTokens is a free data retrieval call binding the contract method 0xf94d4668.

Solidity: function getPoolTokens(bytes32 poolId) view returns(address[] tokens, uint256[] balances, uint256 lastChangeBlock)

func (*BalancerVaultCallerSession) GetProtocolFeesCollector added in v0.1.7

func (_BalancerVault *BalancerVaultCallerSession) GetProtocolFeesCollector() (common.Address, error)

GetProtocolFeesCollector is a free data retrieval call binding the contract method 0xd2946c2b.

Solidity: function getProtocolFeesCollector() view returns(address)

func (*BalancerVaultCallerSession) HasApprovedRelayer added in v0.1.7

func (_BalancerVault *BalancerVaultCallerSession) HasApprovedRelayer(user common.Address, relayer common.Address) (bool, error)

HasApprovedRelayer is a free data retrieval call binding the contract method 0xfec90d72.

Solidity: function hasApprovedRelayer(address user, address relayer) view returns(bool)

func (*BalancerVaultCallerSession) WETH added in v0.1.7

func (_BalancerVault *BalancerVaultCallerSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type BalancerVaultExternalBalanceTransfer added in v0.1.7

type BalancerVaultExternalBalanceTransfer struct {
	Token     common.Address
	Sender    common.Address
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

BalancerVaultExternalBalanceTransfer represents a ExternalBalanceTransfer event raised by the BalancerVault contract.

type BalancerVaultExternalBalanceTransferIterator added in v0.1.7

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

BalancerVaultExternalBalanceTransferIterator is returned from FilterExternalBalanceTransfer and is used to iterate over the raw logs and unpacked data for ExternalBalanceTransfer events raised by the BalancerVault contract.

func (*BalancerVaultExternalBalanceTransferIterator) Close added in v0.1.7

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

func (*BalancerVaultExternalBalanceTransferIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultExternalBalanceTransferIterator) Next added in v0.1.7

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 BalancerVaultFilterer added in v0.1.7

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

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

func NewBalancerVaultFilterer added in v0.1.7

func NewBalancerVaultFilterer(address common.Address, filterer bind.ContractFilterer) (*BalancerVaultFilterer, error)

NewBalancerVaultFilterer creates a new log filterer instance of BalancerVault, bound to a specific deployed contract.

func (*BalancerVaultFilterer) FilterAuthorizerChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) FilterAuthorizerChanged(opts *bind.FilterOpts, newAuthorizer []common.Address) (*BalancerVaultAuthorizerChangedIterator, error)

FilterAuthorizerChanged is a free log retrieval operation binding the contract event 0x94b979b6831a51293e2641426f97747feed46f17779fed9cd18d1ecefcfe92ef.

Solidity: event AuthorizerChanged(address indexed newAuthorizer)

func (*BalancerVaultFilterer) FilterExternalBalanceTransfer added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) FilterExternalBalanceTransfer(opts *bind.FilterOpts, token []common.Address, sender []common.Address) (*BalancerVaultExternalBalanceTransferIterator, error)

FilterExternalBalanceTransfer is a free log retrieval operation binding the contract event 0x540a1a3f28340caec336c81d8d7b3df139ee5cdc1839a4f283d7ebb7eaae2d5c.

Solidity: event ExternalBalanceTransfer(address indexed token, address indexed sender, address recipient, uint256 amount)

func (*BalancerVaultFilterer) FilterFlashLoan added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) FilterFlashLoan(opts *bind.FilterOpts, recipient []common.Address, token []common.Address) (*BalancerVaultFlashLoanIterator, error)

FilterFlashLoan is a free log retrieval operation binding the contract event 0x0d7d75e01ab95780d3cd1c8ec0dd6c2ce19e3a20427eec8bf53283b6fb8e95f0.

Solidity: event FlashLoan(address indexed recipient, address indexed token, uint256 amount, uint256 feeAmount)

func (*BalancerVaultFilterer) FilterInternalBalanceChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) FilterInternalBalanceChanged(opts *bind.FilterOpts, user []common.Address, token []common.Address) (*BalancerVaultInternalBalanceChangedIterator, error)

FilterInternalBalanceChanged is a free log retrieval operation binding the contract event 0x18e1ea4139e68413d7d08aa752e71568e36b2c5bf940893314c2c5b01eaa0c42.

Solidity: event InternalBalanceChanged(address indexed user, address indexed token, int256 delta)

func (*BalancerVaultFilterer) FilterPausedStateChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) FilterPausedStateChanged(opts *bind.FilterOpts) (*BalancerVaultPausedStateChangedIterator, error)

FilterPausedStateChanged is a free log retrieval operation binding the contract event 0x9e3a5e37224532dea67b89face185703738a228a6e8a23dee546960180d3be64.

Solidity: event PausedStateChanged(bool paused)

func (*BalancerVaultFilterer) FilterPoolBalanceChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) FilterPoolBalanceChanged(opts *bind.FilterOpts, poolId [][32]byte, liquidityProvider []common.Address) (*BalancerVaultPoolBalanceChangedIterator, error)

FilterPoolBalanceChanged is a free log retrieval operation binding the contract event 0xe5ce249087ce04f05a957192435400fd97868dba0e6a4b4c049abf8af80dae78.

Solidity: event PoolBalanceChanged(bytes32 indexed poolId, address indexed liquidityProvider, address[] tokens, int256[] deltas, uint256[] protocolFeeAmounts)

func (*BalancerVaultFilterer) FilterPoolBalanceManaged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) FilterPoolBalanceManaged(opts *bind.FilterOpts, poolId [][32]byte, assetManager []common.Address, token []common.Address) (*BalancerVaultPoolBalanceManagedIterator, error)

FilterPoolBalanceManaged is a free log retrieval operation binding the contract event 0x6edcaf6241105b4c94c2efdbf3a6b12458eb3d07be3a0e81d24b13c44045fe7a.

Solidity: event PoolBalanceManaged(bytes32 indexed poolId, address indexed assetManager, address indexed token, int256 cashDelta, int256 managedDelta)

func (*BalancerVaultFilterer) FilterPoolRegistered added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) FilterPoolRegistered(opts *bind.FilterOpts, poolId [][32]byte, poolAddress []common.Address) (*BalancerVaultPoolRegisteredIterator, error)

FilterPoolRegistered is a free log retrieval operation binding the contract event 0x3c13bc30b8e878c53fd2a36b679409c073afd75950be43d8858768e956fbc20e.

Solidity: event PoolRegistered(bytes32 indexed poolId, address indexed poolAddress, uint8 specialization)

func (*BalancerVaultFilterer) FilterRelayerApprovalChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) FilterRelayerApprovalChanged(opts *bind.FilterOpts, relayer []common.Address, sender []common.Address) (*BalancerVaultRelayerApprovalChangedIterator, error)

FilterRelayerApprovalChanged is a free log retrieval operation binding the contract event 0x46961fdb4502b646d5095fba7600486a8ac05041d55cdf0f16ed677180b5cad8.

Solidity: event RelayerApprovalChanged(address indexed relayer, address indexed sender, bool approved)

func (*BalancerVaultFilterer) FilterSwap added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) FilterSwap(opts *bind.FilterOpts, poolId [][32]byte, tokenIn []common.Address, tokenOut []common.Address) (*BalancerVaultSwapIterator, error)

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

Solidity: event Swap(bytes32 indexed poolId, address indexed tokenIn, address indexed tokenOut, uint256 amountIn, uint256 amountOut)

func (*BalancerVaultFilterer) FilterTokensDeregistered added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) FilterTokensDeregistered(opts *bind.FilterOpts, poolId [][32]byte) (*BalancerVaultTokensDeregisteredIterator, error)

FilterTokensDeregistered is a free log retrieval operation binding the contract event 0x7dcdc6d02ef40c7c1a7046a011b058bd7f988fa14e20a66344f9d4e60657d610.

Solidity: event TokensDeregistered(bytes32 indexed poolId, address[] tokens)

func (*BalancerVaultFilterer) FilterTokensRegistered added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) FilterTokensRegistered(opts *bind.FilterOpts, poolId [][32]byte) (*BalancerVaultTokensRegisteredIterator, error)

FilterTokensRegistered is a free log retrieval operation binding the contract event 0xf5847d3f2197b16cdcd2098ec95d0905cd1abdaf415f07bb7cef2bba8ac5dec4.

Solidity: event TokensRegistered(bytes32 indexed poolId, address[] tokens, address[] assetManagers)

func (*BalancerVaultFilterer) ParseAuthorizerChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) ParseAuthorizerChanged(log types.Log) (*BalancerVaultAuthorizerChanged, error)

ParseAuthorizerChanged is a log parse operation binding the contract event 0x94b979b6831a51293e2641426f97747feed46f17779fed9cd18d1ecefcfe92ef.

Solidity: event AuthorizerChanged(address indexed newAuthorizer)

func (*BalancerVaultFilterer) ParseExternalBalanceTransfer added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) ParseExternalBalanceTransfer(log types.Log) (*BalancerVaultExternalBalanceTransfer, error)

ParseExternalBalanceTransfer is a log parse operation binding the contract event 0x540a1a3f28340caec336c81d8d7b3df139ee5cdc1839a4f283d7ebb7eaae2d5c.

Solidity: event ExternalBalanceTransfer(address indexed token, address indexed sender, address recipient, uint256 amount)

func (*BalancerVaultFilterer) ParseFlashLoan added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) ParseFlashLoan(log types.Log) (*BalancerVaultFlashLoan, error)

ParseFlashLoan is a log parse operation binding the contract event 0x0d7d75e01ab95780d3cd1c8ec0dd6c2ce19e3a20427eec8bf53283b6fb8e95f0.

Solidity: event FlashLoan(address indexed recipient, address indexed token, uint256 amount, uint256 feeAmount)

func (*BalancerVaultFilterer) ParseInternalBalanceChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) ParseInternalBalanceChanged(log types.Log) (*BalancerVaultInternalBalanceChanged, error)

ParseInternalBalanceChanged is a log parse operation binding the contract event 0x18e1ea4139e68413d7d08aa752e71568e36b2c5bf940893314c2c5b01eaa0c42.

Solidity: event InternalBalanceChanged(address indexed user, address indexed token, int256 delta)

func (*BalancerVaultFilterer) ParsePausedStateChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) ParsePausedStateChanged(log types.Log) (*BalancerVaultPausedStateChanged, error)

ParsePausedStateChanged is a log parse operation binding the contract event 0x9e3a5e37224532dea67b89face185703738a228a6e8a23dee546960180d3be64.

Solidity: event PausedStateChanged(bool paused)

func (*BalancerVaultFilterer) ParsePoolBalanceChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) ParsePoolBalanceChanged(log types.Log) (*BalancerVaultPoolBalanceChanged, error)

ParsePoolBalanceChanged is a log parse operation binding the contract event 0xe5ce249087ce04f05a957192435400fd97868dba0e6a4b4c049abf8af80dae78.

Solidity: event PoolBalanceChanged(bytes32 indexed poolId, address indexed liquidityProvider, address[] tokens, int256[] deltas, uint256[] protocolFeeAmounts)

func (*BalancerVaultFilterer) ParsePoolBalanceManaged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) ParsePoolBalanceManaged(log types.Log) (*BalancerVaultPoolBalanceManaged, error)

ParsePoolBalanceManaged is a log parse operation binding the contract event 0x6edcaf6241105b4c94c2efdbf3a6b12458eb3d07be3a0e81d24b13c44045fe7a.

Solidity: event PoolBalanceManaged(bytes32 indexed poolId, address indexed assetManager, address indexed token, int256 cashDelta, int256 managedDelta)

func (*BalancerVaultFilterer) ParsePoolRegistered added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) ParsePoolRegistered(log types.Log) (*BalancerVaultPoolRegistered, error)

ParsePoolRegistered is a log parse operation binding the contract event 0x3c13bc30b8e878c53fd2a36b679409c073afd75950be43d8858768e956fbc20e.

Solidity: event PoolRegistered(bytes32 indexed poolId, address indexed poolAddress, uint8 specialization)

func (*BalancerVaultFilterer) ParseRelayerApprovalChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) ParseRelayerApprovalChanged(log types.Log) (*BalancerVaultRelayerApprovalChanged, error)

ParseRelayerApprovalChanged is a log parse operation binding the contract event 0x46961fdb4502b646d5095fba7600486a8ac05041d55cdf0f16ed677180b5cad8.

Solidity: event RelayerApprovalChanged(address indexed relayer, address indexed sender, bool approved)

func (*BalancerVaultFilterer) ParseSwap added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) ParseSwap(log types.Log) (*BalancerVaultSwap, error)

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

Solidity: event Swap(bytes32 indexed poolId, address indexed tokenIn, address indexed tokenOut, uint256 amountIn, uint256 amountOut)

func (*BalancerVaultFilterer) ParseTokensDeregistered added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) ParseTokensDeregistered(log types.Log) (*BalancerVaultTokensDeregistered, error)

ParseTokensDeregistered is a log parse operation binding the contract event 0x7dcdc6d02ef40c7c1a7046a011b058bd7f988fa14e20a66344f9d4e60657d610.

Solidity: event TokensDeregistered(bytes32 indexed poolId, address[] tokens)

func (*BalancerVaultFilterer) ParseTokensRegistered added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) ParseTokensRegistered(log types.Log) (*BalancerVaultTokensRegistered, error)

ParseTokensRegistered is a log parse operation binding the contract event 0xf5847d3f2197b16cdcd2098ec95d0905cd1abdaf415f07bb7cef2bba8ac5dec4.

Solidity: event TokensRegistered(bytes32 indexed poolId, address[] tokens, address[] assetManagers)

func (*BalancerVaultFilterer) WatchAuthorizerChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) WatchAuthorizerChanged(opts *bind.WatchOpts, sink chan<- *BalancerVaultAuthorizerChanged, newAuthorizer []common.Address) (event.Subscription, error)

WatchAuthorizerChanged is a free log subscription operation binding the contract event 0x94b979b6831a51293e2641426f97747feed46f17779fed9cd18d1ecefcfe92ef.

Solidity: event AuthorizerChanged(address indexed newAuthorizer)

func (*BalancerVaultFilterer) WatchExternalBalanceTransfer added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) WatchExternalBalanceTransfer(opts *bind.WatchOpts, sink chan<- *BalancerVaultExternalBalanceTransfer, token []common.Address, sender []common.Address) (event.Subscription, error)

WatchExternalBalanceTransfer is a free log subscription operation binding the contract event 0x540a1a3f28340caec336c81d8d7b3df139ee5cdc1839a4f283d7ebb7eaae2d5c.

Solidity: event ExternalBalanceTransfer(address indexed token, address indexed sender, address recipient, uint256 amount)

func (*BalancerVaultFilterer) WatchFlashLoan added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) WatchFlashLoan(opts *bind.WatchOpts, sink chan<- *BalancerVaultFlashLoan, recipient []common.Address, token []common.Address) (event.Subscription, error)

WatchFlashLoan is a free log subscription operation binding the contract event 0x0d7d75e01ab95780d3cd1c8ec0dd6c2ce19e3a20427eec8bf53283b6fb8e95f0.

Solidity: event FlashLoan(address indexed recipient, address indexed token, uint256 amount, uint256 feeAmount)

func (*BalancerVaultFilterer) WatchInternalBalanceChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) WatchInternalBalanceChanged(opts *bind.WatchOpts, sink chan<- *BalancerVaultInternalBalanceChanged, user []common.Address, token []common.Address) (event.Subscription, error)

WatchInternalBalanceChanged is a free log subscription operation binding the contract event 0x18e1ea4139e68413d7d08aa752e71568e36b2c5bf940893314c2c5b01eaa0c42.

Solidity: event InternalBalanceChanged(address indexed user, address indexed token, int256 delta)

func (*BalancerVaultFilterer) WatchPausedStateChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) WatchPausedStateChanged(opts *bind.WatchOpts, sink chan<- *BalancerVaultPausedStateChanged) (event.Subscription, error)

WatchPausedStateChanged is a free log subscription operation binding the contract event 0x9e3a5e37224532dea67b89face185703738a228a6e8a23dee546960180d3be64.

Solidity: event PausedStateChanged(bool paused)

func (*BalancerVaultFilterer) WatchPoolBalanceChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) WatchPoolBalanceChanged(opts *bind.WatchOpts, sink chan<- *BalancerVaultPoolBalanceChanged, poolId [][32]byte, liquidityProvider []common.Address) (event.Subscription, error)

WatchPoolBalanceChanged is a free log subscription operation binding the contract event 0xe5ce249087ce04f05a957192435400fd97868dba0e6a4b4c049abf8af80dae78.

Solidity: event PoolBalanceChanged(bytes32 indexed poolId, address indexed liquidityProvider, address[] tokens, int256[] deltas, uint256[] protocolFeeAmounts)

func (*BalancerVaultFilterer) WatchPoolBalanceManaged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) WatchPoolBalanceManaged(opts *bind.WatchOpts, sink chan<- *BalancerVaultPoolBalanceManaged, poolId [][32]byte, assetManager []common.Address, token []common.Address) (event.Subscription, error)

WatchPoolBalanceManaged is a free log subscription operation binding the contract event 0x6edcaf6241105b4c94c2efdbf3a6b12458eb3d07be3a0e81d24b13c44045fe7a.

Solidity: event PoolBalanceManaged(bytes32 indexed poolId, address indexed assetManager, address indexed token, int256 cashDelta, int256 managedDelta)

func (*BalancerVaultFilterer) WatchPoolRegistered added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) WatchPoolRegistered(opts *bind.WatchOpts, sink chan<- *BalancerVaultPoolRegistered, poolId [][32]byte, poolAddress []common.Address) (event.Subscription, error)

WatchPoolRegistered is a free log subscription operation binding the contract event 0x3c13bc30b8e878c53fd2a36b679409c073afd75950be43d8858768e956fbc20e.

Solidity: event PoolRegistered(bytes32 indexed poolId, address indexed poolAddress, uint8 specialization)

func (*BalancerVaultFilterer) WatchRelayerApprovalChanged added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) WatchRelayerApprovalChanged(opts *bind.WatchOpts, sink chan<- *BalancerVaultRelayerApprovalChanged, relayer []common.Address, sender []common.Address) (event.Subscription, error)

WatchRelayerApprovalChanged is a free log subscription operation binding the contract event 0x46961fdb4502b646d5095fba7600486a8ac05041d55cdf0f16ed677180b5cad8.

Solidity: event RelayerApprovalChanged(address indexed relayer, address indexed sender, bool approved)

func (*BalancerVaultFilterer) WatchSwap added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *BalancerVaultSwap, poolId [][32]byte, tokenIn []common.Address, tokenOut []common.Address) (event.Subscription, error)

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

Solidity: event Swap(bytes32 indexed poolId, address indexed tokenIn, address indexed tokenOut, uint256 amountIn, uint256 amountOut)

func (*BalancerVaultFilterer) WatchTokensDeregistered added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) WatchTokensDeregistered(opts *bind.WatchOpts, sink chan<- *BalancerVaultTokensDeregistered, poolId [][32]byte) (event.Subscription, error)

WatchTokensDeregistered is a free log subscription operation binding the contract event 0x7dcdc6d02ef40c7c1a7046a011b058bd7f988fa14e20a66344f9d4e60657d610.

Solidity: event TokensDeregistered(bytes32 indexed poolId, address[] tokens)

func (*BalancerVaultFilterer) WatchTokensRegistered added in v0.1.7

func (_BalancerVault *BalancerVaultFilterer) WatchTokensRegistered(opts *bind.WatchOpts, sink chan<- *BalancerVaultTokensRegistered, poolId [][32]byte) (event.Subscription, error)

WatchTokensRegistered is a free log subscription operation binding the contract event 0xf5847d3f2197b16cdcd2098ec95d0905cd1abdaf415f07bb7cef2bba8ac5dec4.

Solidity: event TokensRegistered(bytes32 indexed poolId, address[] tokens, address[] assetManagers)

type BalancerVaultFlashLoan added in v0.1.7

type BalancerVaultFlashLoan struct {
	Recipient common.Address
	Token     common.Address
	Amount    *big.Int
	FeeAmount *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

BalancerVaultFlashLoan represents a FlashLoan event raised by the BalancerVault contract.

type BalancerVaultFlashLoanIterator added in v0.1.7

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

BalancerVaultFlashLoanIterator is returned from FilterFlashLoan and is used to iterate over the raw logs and unpacked data for FlashLoan events raised by the BalancerVault contract.

func (*BalancerVaultFlashLoanIterator) Close added in v0.1.7

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

func (*BalancerVaultFlashLoanIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultFlashLoanIterator) Next added in v0.1.7

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 BalancerVaultInternalBalanceChanged added in v0.1.7

type BalancerVaultInternalBalanceChanged struct {
	User  common.Address
	Token common.Address
	Delta *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

BalancerVaultInternalBalanceChanged represents a InternalBalanceChanged event raised by the BalancerVault contract.

type BalancerVaultInternalBalanceChangedIterator added in v0.1.7

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

BalancerVaultInternalBalanceChangedIterator is returned from FilterInternalBalanceChanged and is used to iterate over the raw logs and unpacked data for InternalBalanceChanged events raised by the BalancerVault contract.

func (*BalancerVaultInternalBalanceChangedIterator) Close added in v0.1.7

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

func (*BalancerVaultInternalBalanceChangedIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultInternalBalanceChangedIterator) Next added in v0.1.7

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 BalancerVaultPausedStateChanged added in v0.1.7

type BalancerVaultPausedStateChanged struct {
	Paused bool
	Raw    types.Log // Blockchain specific contextual infos
}

BalancerVaultPausedStateChanged represents a PausedStateChanged event raised by the BalancerVault contract.

type BalancerVaultPausedStateChangedIterator added in v0.1.7

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

BalancerVaultPausedStateChangedIterator is returned from FilterPausedStateChanged and is used to iterate over the raw logs and unpacked data for PausedStateChanged events raised by the BalancerVault contract.

func (*BalancerVaultPausedStateChangedIterator) Close added in v0.1.7

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

func (*BalancerVaultPausedStateChangedIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultPausedStateChangedIterator) Next added in v0.1.7

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 BalancerVaultPoolBalanceChanged added in v0.1.7

type BalancerVaultPoolBalanceChanged struct {
	PoolId             [32]byte
	LiquidityProvider  common.Address
	Tokens             []common.Address
	Deltas             []*big.Int
	ProtocolFeeAmounts []*big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

BalancerVaultPoolBalanceChanged represents a PoolBalanceChanged event raised by the BalancerVault contract.

type BalancerVaultPoolBalanceChangedIterator added in v0.1.7

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

BalancerVaultPoolBalanceChangedIterator is returned from FilterPoolBalanceChanged and is used to iterate over the raw logs and unpacked data for PoolBalanceChanged events raised by the BalancerVault contract.

func (*BalancerVaultPoolBalanceChangedIterator) Close added in v0.1.7

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

func (*BalancerVaultPoolBalanceChangedIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultPoolBalanceChangedIterator) Next added in v0.1.7

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 BalancerVaultPoolBalanceManaged added in v0.1.7

type BalancerVaultPoolBalanceManaged struct {
	PoolId       [32]byte
	AssetManager common.Address
	Token        common.Address
	CashDelta    *big.Int
	ManagedDelta *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

BalancerVaultPoolBalanceManaged represents a PoolBalanceManaged event raised by the BalancerVault contract.

type BalancerVaultPoolBalanceManagedIterator added in v0.1.7

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

BalancerVaultPoolBalanceManagedIterator is returned from FilterPoolBalanceManaged and is used to iterate over the raw logs and unpacked data for PoolBalanceManaged events raised by the BalancerVault contract.

func (*BalancerVaultPoolBalanceManagedIterator) Close added in v0.1.7

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

func (*BalancerVaultPoolBalanceManagedIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultPoolBalanceManagedIterator) Next added in v0.1.7

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 BalancerVaultPoolRegistered added in v0.1.7

type BalancerVaultPoolRegistered struct {
	PoolId         [32]byte
	PoolAddress    common.Address
	Specialization uint8
	Raw            types.Log // Blockchain specific contextual infos
}

BalancerVaultPoolRegistered represents a PoolRegistered event raised by the BalancerVault contract.

type BalancerVaultPoolRegisteredIterator added in v0.1.7

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

BalancerVaultPoolRegisteredIterator is returned from FilterPoolRegistered and is used to iterate over the raw logs and unpacked data for PoolRegistered events raised by the BalancerVault contract.

func (*BalancerVaultPoolRegisteredIterator) Close added in v0.1.7

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

func (*BalancerVaultPoolRegisteredIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultPoolRegisteredIterator) Next added in v0.1.7

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 BalancerVaultRaw added in v0.1.7

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

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

func (*BalancerVaultRaw) Call added in v0.1.7

func (_BalancerVault *BalancerVaultRaw) 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 (*BalancerVaultRaw) Transact added in v0.1.7

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

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

func (*BalancerVaultRaw) Transfer added in v0.1.7

func (_BalancerVault *BalancerVaultRaw) 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 BalancerVaultRelayerApprovalChanged added in v0.1.7

type BalancerVaultRelayerApprovalChanged struct {
	Relayer  common.Address
	Sender   common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

BalancerVaultRelayerApprovalChanged represents a RelayerApprovalChanged event raised by the BalancerVault contract.

type BalancerVaultRelayerApprovalChangedIterator added in v0.1.7

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

BalancerVaultRelayerApprovalChangedIterator is returned from FilterRelayerApprovalChanged and is used to iterate over the raw logs and unpacked data for RelayerApprovalChanged events raised by the BalancerVault contract.

func (*BalancerVaultRelayerApprovalChangedIterator) Close added in v0.1.7

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

func (*BalancerVaultRelayerApprovalChangedIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultRelayerApprovalChangedIterator) Next added in v0.1.7

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 BalancerVaultSession added in v0.1.7

type BalancerVaultSession struct {
	Contract     *BalancerVault    // 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
}

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

func (*BalancerVaultSession) BatchSwap added in v0.1.7

func (_BalancerVault *BalancerVaultSession) BatchSwap(kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, funds IVaultFundManagement, limits []*big.Int, deadline *big.Int) (*types.Transaction, error)

BatchSwap is a paid mutator transaction binding the contract method 0x945bcec9.

Solidity: function batchSwap(uint8 kind, (bytes32,uint256,uint256,uint256,bytes)[] swaps, address[] assets, (address,bool,address,bool) funds, int256[] limits, uint256 deadline) payable returns(int256[] assetDeltas)

func (*BalancerVaultSession) DeregisterTokens added in v0.1.7

func (_BalancerVault *BalancerVaultSession) DeregisterTokens(poolId [32]byte, tokens []common.Address) (*types.Transaction, error)

DeregisterTokens is a paid mutator transaction binding the contract method 0x7d3aeb96.

Solidity: function deregisterTokens(bytes32 poolId, address[] tokens) returns()

func (*BalancerVaultSession) ExitPool added in v0.1.7

func (_BalancerVault *BalancerVaultSession) ExitPool(poolId [32]byte, sender common.Address, recipient common.Address, request IVaultExitPoolRequest) (*types.Transaction, error)

ExitPool is a paid mutator transaction binding the contract method 0x8bdb3913.

Solidity: function exitPool(bytes32 poolId, address sender, address recipient, (address[],uint256[],bytes,bool) request) returns()

func (*BalancerVaultSession) FlashLoan added in v0.1.7

func (_BalancerVault *BalancerVaultSession) FlashLoan(recipient common.Address, tokens []common.Address, amounts []*big.Int, userData []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5c38449e.

Solidity: function flashLoan(address recipient, address[] tokens, uint256[] amounts, bytes userData) returns()

func (*BalancerVaultSession) GetActionId added in v0.1.7

func (_BalancerVault *BalancerVaultSession) GetActionId(selector [4]byte) ([32]byte, error)

GetActionId is a free data retrieval call binding the contract method 0x851c1bb3.

Solidity: function getActionId(bytes4 selector) view returns(bytes32)

func (*BalancerVaultSession) GetAuthorizer added in v0.1.7

func (_BalancerVault *BalancerVaultSession) GetAuthorizer() (common.Address, error)

GetAuthorizer is a free data retrieval call binding the contract method 0xaaabadc5.

Solidity: function getAuthorizer() view returns(address)

func (*BalancerVaultSession) GetDomainSeparator added in v0.1.7

func (_BalancerVault *BalancerVaultSession) GetDomainSeparator() ([32]byte, error)

GetDomainSeparator is a free data retrieval call binding the contract method 0xed24911d.

Solidity: function getDomainSeparator() view returns(bytes32)

func (*BalancerVaultSession) GetInternalBalance added in v0.1.7

func (_BalancerVault *BalancerVaultSession) GetInternalBalance(user common.Address, tokens []common.Address) ([]*big.Int, error)

GetInternalBalance is a free data retrieval call binding the contract method 0x0f5a6efa.

Solidity: function getInternalBalance(address user, address[] tokens) view returns(uint256[] balances)

func (*BalancerVaultSession) GetNextNonce added in v0.1.7

func (_BalancerVault *BalancerVaultSession) GetNextNonce(user common.Address) (*big.Int, error)

GetNextNonce is a free data retrieval call binding the contract method 0x90193b7c.

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

func (*BalancerVaultSession) GetPausedState added in v0.1.7

func (_BalancerVault *BalancerVaultSession) GetPausedState() (struct {
	Paused              bool
	PauseWindowEndTime  *big.Int
	BufferPeriodEndTime *big.Int
}, error)

GetPausedState is a free data retrieval call binding the contract method 0x1c0de051.

Solidity: function getPausedState() view returns(bool paused, uint256 pauseWindowEndTime, uint256 bufferPeriodEndTime)

func (*BalancerVaultSession) GetPool added in v0.1.7

func (_BalancerVault *BalancerVaultSession) GetPool(poolId [32]byte) (common.Address, uint8, error)

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

Solidity: function getPool(bytes32 poolId) view returns(address, uint8)

func (*BalancerVaultSession) GetPoolTokenInfo added in v0.1.7

func (_BalancerVault *BalancerVaultSession) GetPoolTokenInfo(poolId [32]byte, token common.Address) (struct {
	Cash            *big.Int
	Managed         *big.Int
	LastChangeBlock *big.Int
	AssetManager    common.Address
}, error)

GetPoolTokenInfo is a free data retrieval call binding the contract method 0xb05f8e48.

Solidity: function getPoolTokenInfo(bytes32 poolId, address token) view returns(uint256 cash, uint256 managed, uint256 lastChangeBlock, address assetManager)

func (*BalancerVaultSession) GetPoolTokens added in v0.1.7

func (_BalancerVault *BalancerVaultSession) GetPoolTokens(poolId [32]byte) (struct {
	Tokens          []common.Address
	Balances        []*big.Int
	LastChangeBlock *big.Int
}, error)

GetPoolTokens is a free data retrieval call binding the contract method 0xf94d4668.

Solidity: function getPoolTokens(bytes32 poolId) view returns(address[] tokens, uint256[] balances, uint256 lastChangeBlock)

func (*BalancerVaultSession) GetProtocolFeesCollector added in v0.1.7

func (_BalancerVault *BalancerVaultSession) GetProtocolFeesCollector() (common.Address, error)

GetProtocolFeesCollector is a free data retrieval call binding the contract method 0xd2946c2b.

Solidity: function getProtocolFeesCollector() view returns(address)

func (*BalancerVaultSession) HasApprovedRelayer added in v0.1.7

func (_BalancerVault *BalancerVaultSession) HasApprovedRelayer(user common.Address, relayer common.Address) (bool, error)

HasApprovedRelayer is a free data retrieval call binding the contract method 0xfec90d72.

Solidity: function hasApprovedRelayer(address user, address relayer) view returns(bool)

func (*BalancerVaultSession) JoinPool added in v0.1.7

func (_BalancerVault *BalancerVaultSession) JoinPool(poolId [32]byte, sender common.Address, recipient common.Address, request IVaultJoinPoolRequest) (*types.Transaction, error)

JoinPool is a paid mutator transaction binding the contract method 0xb95cac28.

Solidity: function joinPool(bytes32 poolId, address sender, address recipient, (address[],uint256[],bytes,bool) request) payable returns()

func (*BalancerVaultSession) ManagePoolBalance added in v0.1.7

func (_BalancerVault *BalancerVaultSession) ManagePoolBalance(ops []IVaultPoolBalanceOp) (*types.Transaction, error)

ManagePoolBalance is a paid mutator transaction binding the contract method 0xe6c46092.

Solidity: function managePoolBalance((uint8,bytes32,address,uint256)[] ops) returns()

func (*BalancerVaultSession) ManageUserBalance added in v0.1.7

func (_BalancerVault *BalancerVaultSession) ManageUserBalance(ops []IVaultUserBalanceOp) (*types.Transaction, error)

ManageUserBalance is a paid mutator transaction binding the contract method 0x0e8e3e84.

Solidity: function manageUserBalance((uint8,address,uint256,address,address)[] ops) payable returns()

func (*BalancerVaultSession) QueryBatchSwap added in v0.1.7

func (_BalancerVault *BalancerVaultSession) QueryBatchSwap(kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, funds IVaultFundManagement) (*types.Transaction, error)

QueryBatchSwap is a paid mutator transaction binding the contract method 0xf84d066e.

Solidity: function queryBatchSwap(uint8 kind, (bytes32,uint256,uint256,uint256,bytes)[] swaps, address[] assets, (address,bool,address,bool) funds) returns(int256[])

func (*BalancerVaultSession) Receive added in v0.1.7

func (_BalancerVault *BalancerVaultSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*BalancerVaultSession) RegisterPool added in v0.1.7

func (_BalancerVault *BalancerVaultSession) RegisterPool(specialization uint8) (*types.Transaction, error)

RegisterPool is a paid mutator transaction binding the contract method 0x09b2760f.

Solidity: function registerPool(uint8 specialization) returns(bytes32)

func (*BalancerVaultSession) RegisterTokens added in v0.1.7

func (_BalancerVault *BalancerVaultSession) RegisterTokens(poolId [32]byte, tokens []common.Address, assetManagers []common.Address) (*types.Transaction, error)

RegisterTokens is a paid mutator transaction binding the contract method 0x66a9c7d2.

Solidity: function registerTokens(bytes32 poolId, address[] tokens, address[] assetManagers) returns()

func (*BalancerVaultSession) SetAuthorizer added in v0.1.7

func (_BalancerVault *BalancerVaultSession) SetAuthorizer(newAuthorizer common.Address) (*types.Transaction, error)

SetAuthorizer is a paid mutator transaction binding the contract method 0x058a628f.

Solidity: function setAuthorizer(address newAuthorizer) returns()

func (*BalancerVaultSession) SetPaused added in v0.1.7

func (_BalancerVault *BalancerVaultSession) SetPaused(paused bool) (*types.Transaction, error)

SetPaused is a paid mutator transaction binding the contract method 0x16c38b3c.

Solidity: function setPaused(bool paused) returns()

func (*BalancerVaultSession) SetRelayerApproval added in v0.1.7

func (_BalancerVault *BalancerVaultSession) SetRelayerApproval(sender common.Address, relayer common.Address, approved bool) (*types.Transaction, error)

SetRelayerApproval is a paid mutator transaction binding the contract method 0xfa6e671d.

Solidity: function setRelayerApproval(address sender, address relayer, bool approved) returns()

func (*BalancerVaultSession) Swap added in v0.1.7

func (_BalancerVault *BalancerVaultSession) Swap(singleSwap IVaultSingleSwap, funds IVaultFundManagement, limit *big.Int, deadline *big.Int) (*types.Transaction, error)

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

Solidity: function swap((bytes32,uint8,address,address,uint256,bytes) singleSwap, (address,bool,address,bool) funds, uint256 limit, uint256 deadline) payable returns(uint256 amountCalculated)

func (*BalancerVaultSession) WETH added in v0.1.7

func (_BalancerVault *BalancerVaultSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type BalancerVaultSwap added in v0.1.7

type BalancerVaultSwap struct {
	PoolId    [32]byte
	TokenIn   common.Address
	TokenOut  common.Address
	AmountIn  *big.Int
	AmountOut *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

BalancerVaultSwap represents a Swap event raised by the BalancerVault contract.

type BalancerVaultSwapIterator added in v0.1.7

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

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

func (*BalancerVaultSwapIterator) Close added in v0.1.7

func (it *BalancerVaultSwapIterator) Close() error

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

func (*BalancerVaultSwapIterator) Error added in v0.1.7

func (it *BalancerVaultSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultSwapIterator) Next added in v0.1.7

func (it *BalancerVaultSwapIterator) 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 BalancerVaultTokensDeregistered added in v0.1.7

type BalancerVaultTokensDeregistered struct {
	PoolId [32]byte
	Tokens []common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

BalancerVaultTokensDeregistered represents a TokensDeregistered event raised by the BalancerVault contract.

type BalancerVaultTokensDeregisteredIterator added in v0.1.7

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

BalancerVaultTokensDeregisteredIterator is returned from FilterTokensDeregistered and is used to iterate over the raw logs and unpacked data for TokensDeregistered events raised by the BalancerVault contract.

func (*BalancerVaultTokensDeregisteredIterator) Close added in v0.1.7

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

func (*BalancerVaultTokensDeregisteredIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultTokensDeregisteredIterator) Next added in v0.1.7

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 BalancerVaultTokensRegistered added in v0.1.7

type BalancerVaultTokensRegistered struct {
	PoolId        [32]byte
	Tokens        []common.Address
	AssetManagers []common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BalancerVaultTokensRegistered represents a TokensRegistered event raised by the BalancerVault contract.

type BalancerVaultTokensRegisteredIterator added in v0.1.7

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

BalancerVaultTokensRegisteredIterator is returned from FilterTokensRegistered and is used to iterate over the raw logs and unpacked data for TokensRegistered events raised by the BalancerVault contract.

func (*BalancerVaultTokensRegisteredIterator) Close added in v0.1.7

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

func (*BalancerVaultTokensRegisteredIterator) Error added in v0.1.7

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultTokensRegisteredIterator) Next added in v0.1.7

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 BalancerVaultTransactor added in v0.1.7

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

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

func NewBalancerVaultTransactor added in v0.1.7

func NewBalancerVaultTransactor(address common.Address, transactor bind.ContractTransactor) (*BalancerVaultTransactor, error)

NewBalancerVaultTransactor creates a new write-only instance of BalancerVault, bound to a specific deployed contract.

func (*BalancerVaultTransactor) BatchSwap added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) BatchSwap(opts *bind.TransactOpts, kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, funds IVaultFundManagement, limits []*big.Int, deadline *big.Int) (*types.Transaction, error)

BatchSwap is a paid mutator transaction binding the contract method 0x945bcec9.

Solidity: function batchSwap(uint8 kind, (bytes32,uint256,uint256,uint256,bytes)[] swaps, address[] assets, (address,bool,address,bool) funds, int256[] limits, uint256 deadline) payable returns(int256[] assetDeltas)

func (*BalancerVaultTransactor) DeregisterTokens added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) DeregisterTokens(opts *bind.TransactOpts, poolId [32]byte, tokens []common.Address) (*types.Transaction, error)

DeregisterTokens is a paid mutator transaction binding the contract method 0x7d3aeb96.

Solidity: function deregisterTokens(bytes32 poolId, address[] tokens) returns()

func (*BalancerVaultTransactor) ExitPool added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) ExitPool(opts *bind.TransactOpts, poolId [32]byte, sender common.Address, recipient common.Address, request IVaultExitPoolRequest) (*types.Transaction, error)

ExitPool is a paid mutator transaction binding the contract method 0x8bdb3913.

Solidity: function exitPool(bytes32 poolId, address sender, address recipient, (address[],uint256[],bytes,bool) request) returns()

func (*BalancerVaultTransactor) FlashLoan added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) FlashLoan(opts *bind.TransactOpts, recipient common.Address, tokens []common.Address, amounts []*big.Int, userData []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5c38449e.

Solidity: function flashLoan(address recipient, address[] tokens, uint256[] amounts, bytes userData) returns()

func (*BalancerVaultTransactor) JoinPool added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) JoinPool(opts *bind.TransactOpts, poolId [32]byte, sender common.Address, recipient common.Address, request IVaultJoinPoolRequest) (*types.Transaction, error)

JoinPool is a paid mutator transaction binding the contract method 0xb95cac28.

Solidity: function joinPool(bytes32 poolId, address sender, address recipient, (address[],uint256[],bytes,bool) request) payable returns()

func (*BalancerVaultTransactor) ManagePoolBalance added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) ManagePoolBalance(opts *bind.TransactOpts, ops []IVaultPoolBalanceOp) (*types.Transaction, error)

ManagePoolBalance is a paid mutator transaction binding the contract method 0xe6c46092.

Solidity: function managePoolBalance((uint8,bytes32,address,uint256)[] ops) returns()

func (*BalancerVaultTransactor) ManageUserBalance added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) ManageUserBalance(opts *bind.TransactOpts, ops []IVaultUserBalanceOp) (*types.Transaction, error)

ManageUserBalance is a paid mutator transaction binding the contract method 0x0e8e3e84.

Solidity: function manageUserBalance((uint8,address,uint256,address,address)[] ops) payable returns()

func (*BalancerVaultTransactor) QueryBatchSwap added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) QueryBatchSwap(opts *bind.TransactOpts, kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, funds IVaultFundManagement) (*types.Transaction, error)

QueryBatchSwap is a paid mutator transaction binding the contract method 0xf84d066e.

Solidity: function queryBatchSwap(uint8 kind, (bytes32,uint256,uint256,uint256,bytes)[] swaps, address[] assets, (address,bool,address,bool) funds) returns(int256[])

func (*BalancerVaultTransactor) Receive added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*BalancerVaultTransactor) RegisterPool added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) RegisterPool(opts *bind.TransactOpts, specialization uint8) (*types.Transaction, error)

RegisterPool is a paid mutator transaction binding the contract method 0x09b2760f.

Solidity: function registerPool(uint8 specialization) returns(bytes32)

func (*BalancerVaultTransactor) RegisterTokens added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) RegisterTokens(opts *bind.TransactOpts, poolId [32]byte, tokens []common.Address, assetManagers []common.Address) (*types.Transaction, error)

RegisterTokens is a paid mutator transaction binding the contract method 0x66a9c7d2.

Solidity: function registerTokens(bytes32 poolId, address[] tokens, address[] assetManagers) returns()

func (*BalancerVaultTransactor) SetAuthorizer added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) SetAuthorizer(opts *bind.TransactOpts, newAuthorizer common.Address) (*types.Transaction, error)

SetAuthorizer is a paid mutator transaction binding the contract method 0x058a628f.

Solidity: function setAuthorizer(address newAuthorizer) returns()

func (*BalancerVaultTransactor) SetPaused added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) SetPaused(opts *bind.TransactOpts, paused bool) (*types.Transaction, error)

SetPaused is a paid mutator transaction binding the contract method 0x16c38b3c.

Solidity: function setPaused(bool paused) returns()

func (*BalancerVaultTransactor) SetRelayerApproval added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) SetRelayerApproval(opts *bind.TransactOpts, sender common.Address, relayer common.Address, approved bool) (*types.Transaction, error)

SetRelayerApproval is a paid mutator transaction binding the contract method 0xfa6e671d.

Solidity: function setRelayerApproval(address sender, address relayer, bool approved) returns()

func (*BalancerVaultTransactor) Swap added in v0.1.7

func (_BalancerVault *BalancerVaultTransactor) Swap(opts *bind.TransactOpts, singleSwap IVaultSingleSwap, funds IVaultFundManagement, limit *big.Int, deadline *big.Int) (*types.Transaction, error)

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

Solidity: function swap((bytes32,uint8,address,address,uint256,bytes) singleSwap, (address,bool,address,bool) funds, uint256 limit, uint256 deadline) payable returns(uint256 amountCalculated)

type BalancerVaultTransactorRaw added in v0.1.7

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

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

func (*BalancerVaultTransactorRaw) Transact added in v0.1.7

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

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

func (*BalancerVaultTransactorRaw) Transfer added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorRaw) 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 BalancerVaultTransactorSession added in v0.1.7

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

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

func (*BalancerVaultTransactorSession) BatchSwap added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) BatchSwap(kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, funds IVaultFundManagement, limits []*big.Int, deadline *big.Int) (*types.Transaction, error)

BatchSwap is a paid mutator transaction binding the contract method 0x945bcec9.

Solidity: function batchSwap(uint8 kind, (bytes32,uint256,uint256,uint256,bytes)[] swaps, address[] assets, (address,bool,address,bool) funds, int256[] limits, uint256 deadline) payable returns(int256[] assetDeltas)

func (*BalancerVaultTransactorSession) DeregisterTokens added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) DeregisterTokens(poolId [32]byte, tokens []common.Address) (*types.Transaction, error)

DeregisterTokens is a paid mutator transaction binding the contract method 0x7d3aeb96.

Solidity: function deregisterTokens(bytes32 poolId, address[] tokens) returns()

func (*BalancerVaultTransactorSession) ExitPool added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) ExitPool(poolId [32]byte, sender common.Address, recipient common.Address, request IVaultExitPoolRequest) (*types.Transaction, error)

ExitPool is a paid mutator transaction binding the contract method 0x8bdb3913.

Solidity: function exitPool(bytes32 poolId, address sender, address recipient, (address[],uint256[],bytes,bool) request) returns()

func (*BalancerVaultTransactorSession) FlashLoan added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) FlashLoan(recipient common.Address, tokens []common.Address, amounts []*big.Int, userData []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5c38449e.

Solidity: function flashLoan(address recipient, address[] tokens, uint256[] amounts, bytes userData) returns()

func (*BalancerVaultTransactorSession) JoinPool added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) JoinPool(poolId [32]byte, sender common.Address, recipient common.Address, request IVaultJoinPoolRequest) (*types.Transaction, error)

JoinPool is a paid mutator transaction binding the contract method 0xb95cac28.

Solidity: function joinPool(bytes32 poolId, address sender, address recipient, (address[],uint256[],bytes,bool) request) payable returns()

func (*BalancerVaultTransactorSession) ManagePoolBalance added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) ManagePoolBalance(ops []IVaultPoolBalanceOp) (*types.Transaction, error)

ManagePoolBalance is a paid mutator transaction binding the contract method 0xe6c46092.

Solidity: function managePoolBalance((uint8,bytes32,address,uint256)[] ops) returns()

func (*BalancerVaultTransactorSession) ManageUserBalance added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) ManageUserBalance(ops []IVaultUserBalanceOp) (*types.Transaction, error)

ManageUserBalance is a paid mutator transaction binding the contract method 0x0e8e3e84.

Solidity: function manageUserBalance((uint8,address,uint256,address,address)[] ops) payable returns()

func (*BalancerVaultTransactorSession) QueryBatchSwap added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) QueryBatchSwap(kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, funds IVaultFundManagement) (*types.Transaction, error)

QueryBatchSwap is a paid mutator transaction binding the contract method 0xf84d066e.

Solidity: function queryBatchSwap(uint8 kind, (bytes32,uint256,uint256,uint256,bytes)[] swaps, address[] assets, (address,bool,address,bool) funds) returns(int256[])

func (*BalancerVaultTransactorSession) Receive added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*BalancerVaultTransactorSession) RegisterPool added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) RegisterPool(specialization uint8) (*types.Transaction, error)

RegisterPool is a paid mutator transaction binding the contract method 0x09b2760f.

Solidity: function registerPool(uint8 specialization) returns(bytes32)

func (*BalancerVaultTransactorSession) RegisterTokens added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) RegisterTokens(poolId [32]byte, tokens []common.Address, assetManagers []common.Address) (*types.Transaction, error)

RegisterTokens is a paid mutator transaction binding the contract method 0x66a9c7d2.

Solidity: function registerTokens(bytes32 poolId, address[] tokens, address[] assetManagers) returns()

func (*BalancerVaultTransactorSession) SetAuthorizer added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) SetAuthorizer(newAuthorizer common.Address) (*types.Transaction, error)

SetAuthorizer is a paid mutator transaction binding the contract method 0x058a628f.

Solidity: function setAuthorizer(address newAuthorizer) returns()

func (*BalancerVaultTransactorSession) SetPaused added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) SetPaused(paused bool) (*types.Transaction, error)

SetPaused is a paid mutator transaction binding the contract method 0x16c38b3c.

Solidity: function setPaused(bool paused) returns()

func (*BalancerVaultTransactorSession) SetRelayerApproval added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) SetRelayerApproval(sender common.Address, relayer common.Address, approved bool) (*types.Transaction, error)

SetRelayerApproval is a paid mutator transaction binding the contract method 0xfa6e671d.

Solidity: function setRelayerApproval(address sender, address relayer, bool approved) returns()

func (*BalancerVaultTransactorSession) Swap added in v0.1.7

func (_BalancerVault *BalancerVaultTransactorSession) Swap(singleSwap IVaultSingleSwap, funds IVaultFundManagement, limit *big.Int, deadline *big.Int) (*types.Transaction, error)

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

Solidity: function swap((bytes32,uint8,address,address,uint256,bytes) singleSwap, (address,bool,address,bool) funds, uint256 limit, uint256 deadline) payable returns(uint256 amountCalculated)

type CrocLPERC20 added in v0.1.6

type CrocLPERC20 struct {
	CrocLPERC20Caller     // Read-only binding to the contract
	CrocLPERC20Transactor // Write-only binding to the contract
	CrocLPERC20Filterer   // Log filterer for contract events
}

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

func NewCrocLPERC20 added in v0.1.6

func NewCrocLPERC20(address common.Address, backend bind.ContractBackend) (*CrocLPERC20, error)

NewCrocLPERC20 creates a new instance of CrocLPERC20, bound to a specific deployed contract.

type CrocLPERC20Caller added in v0.1.6

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

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

func NewCrocLPERC20Caller added in v0.1.6

func NewCrocLPERC20Caller(address common.Address, caller bind.ContractCaller) (*CrocLPERC20Caller, error)

NewCrocLPERC20Caller creates a new read-only instance of CrocLPERC20, bound to a specific deployed contract.

func (*CrocLPERC20Caller) BaseToken added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20Caller) BaseToken(opts *bind.CallOpts) (common.Address, error)

BaseToken is a free data retrieval call binding the contract method 0xc55dae63.

Solidity: function baseToken() view returns(address)

func (*CrocLPERC20Caller) Factory added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20Caller) Factory(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*CrocLPERC20Caller) PoolHash added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20Caller) PoolHash(opts *bind.CallOpts) ([32]byte, error)

PoolHash is a free data retrieval call binding the contract method 0x9b503daf.

Solidity: function poolHash() view returns(bytes32)

func (*CrocLPERC20Caller) PoolType added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20Caller) PoolType(opts *bind.CallOpts) (*big.Int, error)

PoolType is a free data retrieval call binding the contract method 0xb1dd61b6.

Solidity: function poolType() view returns(uint256)

func (*CrocLPERC20Caller) QuoteToken added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20Caller) QuoteToken(opts *bind.CallOpts) (common.Address, error)

QuoteToken is a free data retrieval call binding the contract method 0x217a4b70.

Solidity: function quoteToken() view returns(address)

type CrocLPERC20CallerRaw added in v0.1.6

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

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

func (*CrocLPERC20CallerRaw) Call added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20CallerRaw) 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 CrocLPERC20CallerSession added in v0.1.6

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

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

func (*CrocLPERC20CallerSession) BaseToken added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20CallerSession) BaseToken() (common.Address, error)

BaseToken is a free data retrieval call binding the contract method 0xc55dae63.

Solidity: function baseToken() view returns(address)

func (*CrocLPERC20CallerSession) Factory added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20CallerSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*CrocLPERC20CallerSession) PoolHash added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20CallerSession) PoolHash() ([32]byte, error)

PoolHash is a free data retrieval call binding the contract method 0x9b503daf.

Solidity: function poolHash() view returns(bytes32)

func (*CrocLPERC20CallerSession) PoolType added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20CallerSession) PoolType() (*big.Int, error)

PoolType is a free data retrieval call binding the contract method 0xb1dd61b6.

Solidity: function poolType() view returns(uint256)

func (*CrocLPERC20CallerSession) QuoteToken added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20CallerSession) QuoteToken() (common.Address, error)

QuoteToken is a free data retrieval call binding the contract method 0x217a4b70.

Solidity: function quoteToken() view returns(address)

type CrocLPERC20Filterer added in v0.1.6

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

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

func NewCrocLPERC20Filterer added in v0.1.6

func NewCrocLPERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*CrocLPERC20Filterer, error)

NewCrocLPERC20Filterer creates a new log filterer instance of CrocLPERC20, bound to a specific deployed contract.

type CrocLPERC20Raw added in v0.1.6

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

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

func (*CrocLPERC20Raw) Call added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20Raw) 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 (*CrocLPERC20Raw) Transact added in v0.1.6

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

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

func (*CrocLPERC20Raw) Transfer added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20Raw) 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 CrocLPERC20Session added in v0.1.6

type CrocLPERC20Session struct {
	Contract     *CrocLPERC20      // 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
}

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

func (*CrocLPERC20Session) BaseToken added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20Session) BaseToken() (common.Address, error)

BaseToken is a free data retrieval call binding the contract method 0xc55dae63.

Solidity: function baseToken() view returns(address)

func (*CrocLPERC20Session) Factory added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20Session) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*CrocLPERC20Session) PoolHash added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20Session) PoolHash() ([32]byte, error)

PoolHash is a free data retrieval call binding the contract method 0x9b503daf.

Solidity: function poolHash() view returns(bytes32)

func (*CrocLPERC20Session) PoolType added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20Session) PoolType() (*big.Int, error)

PoolType is a free data retrieval call binding the contract method 0xb1dd61b6.

Solidity: function poolType() view returns(uint256)

func (*CrocLPERC20Session) QuoteToken added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20Session) QuoteToken() (common.Address, error)

QuoteToken is a free data retrieval call binding the contract method 0x217a4b70.

Solidity: function quoteToken() view returns(address)

type CrocLPERC20Transactor added in v0.1.6

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

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

func NewCrocLPERC20Transactor added in v0.1.6

func NewCrocLPERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*CrocLPERC20Transactor, error)

NewCrocLPERC20Transactor creates a new write-only instance of CrocLPERC20, bound to a specific deployed contract.

type CrocLPERC20TransactorRaw added in v0.1.6

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

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

func (*CrocLPERC20TransactorRaw) Transact added in v0.1.6

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

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

func (*CrocLPERC20TransactorRaw) Transfer added in v0.1.6

func (_CrocLPERC20 *CrocLPERC20TransactorRaw) 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 CrocLPERC20TransactorSession added in v0.1.6

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

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

type CrocQuery added in v0.1.6

type CrocQuery struct {
	CrocQueryCaller     // Read-only binding to the contract
	CrocQueryTransactor // Write-only binding to the contract
	CrocQueryFilterer   // Log filterer for contract events
}

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

func NewCrocQuery added in v0.1.6

func NewCrocQuery(address common.Address, backend bind.ContractBackend) (*CrocQuery, error)

NewCrocQuery creates a new instance of CrocQuery, bound to a specific deployed contract.

type CrocQueryCaller added in v0.1.6

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

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

func NewCrocQueryCaller added in v0.1.6

func NewCrocQueryCaller(address common.Address, caller bind.ContractCaller) (*CrocQueryCaller, error)

NewCrocQueryCaller creates a new read-only instance of CrocQuery, bound to a specific deployed contract.

func (*CrocQueryCaller) Dex added in v0.1.6

func (_CrocQuery *CrocQueryCaller) Dex(opts *bind.CallOpts) (common.Address, error)

Dex is a free data retrieval call binding the contract method 0x87834a0e.

Solidity: function dex_() view returns(address)

func (*CrocQueryCaller) QueryAmbientPosition added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryAmbientPosition(opts *bind.CallOpts, owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int) (struct {
	Seeds     *big.Int
	Timestamp uint32
}, error)

QueryAmbientPosition is a free data retrieval call binding the contract method 0x7f44601a.

Solidity: function queryAmbientPosition(address owner, address base, address quote, uint256 poolIdx) view returns(uint128 seeds, uint32 timestamp)

func (*CrocQueryCaller) QueryAmbientTokens added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryAmbientTokens(opts *bind.CallOpts, owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int) (struct {
	Liq      *big.Int
	BaseQty  *big.Int
	QuoteQty *big.Int
}, error)

QueryAmbientTokens is a free data retrieval call binding the contract method 0xebca95de.

Solidity: function queryAmbientTokens(address owner, address base, address quote, uint256 poolIdx) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty)

func (*CrocQueryCaller) QueryConcRewards added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryConcRewards(opts *bind.CallOpts, owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct {
	LiqRewards   *big.Int
	BaseRewards  *big.Int
	QuoteRewards *big.Int
}, error)

QueryConcRewards is a free data retrieval call binding the contract method 0x3dccd7d7.

Solidity: function queryConcRewards(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liqRewards, uint128 baseRewards, uint128 quoteRewards)

func (*CrocQueryCaller) QueryCurve added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryCurve(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int) (CurveMathCurveState, error)

QueryCurve is a free data retrieval call binding the contract method 0x8e56c1c1.

Solidity: function queryCurve(address base, address quote, uint256 poolIdx) view returns((uint128,uint128,uint128,uint64,uint64) curve)

func (*CrocQueryCaller) QueryCurveTick added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryCurveTick(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)

QueryCurveTick is a free data retrieval call binding the contract method 0xdc91a6ad.

Solidity: function queryCurveTick(address base, address quote, uint256 poolIdx) view returns(int24)

func (*CrocQueryCaller) QueryKnockoutMerkle added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryKnockoutMerkle(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, tick *big.Int) (struct {
	Root  *big.Int
	Pivot uint32
	Fee   uint64
}, error)

QueryKnockoutMerkle is a free data retrieval call binding the contract method 0xab0a9898.

Solidity: function queryKnockoutMerkle(address base, address quote, uint256 poolIdx, bool isBid, int24 tick) view returns(uint160 root, uint32 pivot, uint64 fee)

func (*CrocQueryCaller) QueryKnockoutPivot added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryKnockoutPivot(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, tick *big.Int) (struct {
	Lots  *big.Int
	Pivot uint32
	Range uint16
}, error)

QueryKnockoutPivot is a free data retrieval call binding the contract method 0x10fc74f4.

Solidity: function queryKnockoutPivot(address base, address quote, uint256 poolIdx, bool isBid, int24 tick) view returns(uint96 lots, uint32 pivot, uint16 range)

func (*CrocQueryCaller) QueryKnockoutPos added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryKnockoutPos(opts *bind.CallOpts, owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, pivot uint32, isBid bool, lowerTick *big.Int, upperTick *big.Int) (struct {
	Lots      *big.Int
	Mileage   uint64
	Timestamp uint32
}, error)

QueryKnockoutPos is a free data retrieval call binding the contract method 0x391d582f.

Solidity: function queryKnockoutPos(address owner, address base, address quote, uint256 poolIdx, uint32 pivot, bool isBid, int24 lowerTick, int24 upperTick) view returns(uint96 lots, uint64 mileage, uint32 timestamp)

func (*CrocQueryCaller) QueryKnockoutTokens added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryKnockoutTokens(opts *bind.CallOpts, owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, pivot uint32, isBid bool, lowerTick *big.Int, upperTick *big.Int) (struct {
	Liq        *big.Int
	BaseQty    *big.Int
	QuoteQty   *big.Int
	KnockedOut bool
}, error)

QueryKnockoutTokens is a free data retrieval call binding the contract method 0x93c33a71.

Solidity: function queryKnockoutTokens(address owner, address base, address quote, uint256 poolIdx, uint32 pivot, bool isBid, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty, bool knockedOut)

func (*CrocQueryCaller) QueryLevel added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryLevel(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int, tick *big.Int) (struct {
	BidLots  *big.Int
	AskLots  *big.Int
	Odometer uint64
}, error)

QueryLevel is a free data retrieval call binding the contract method 0x340bfa12.

Solidity: function queryLevel(address base, address quote, uint256 poolIdx, int24 tick) view returns(uint96 bidLots, uint96 askLots, uint64 odometer)

func (*CrocQueryCaller) QueryLiquidity added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryLiquidity(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)

QueryLiquidity is a free data retrieval call binding the contract method 0x338adc67.

Solidity: function queryLiquidity(address base, address quote, uint256 poolIdx) view returns(uint128)

func (*CrocQueryCaller) QueryPoolParams added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryPoolParams(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int) (PoolSpecsPool, error)

QueryPoolParams is a free data retrieval call binding the contract method 0xff163e14.

Solidity: function queryPoolParams(address base, address quote, uint256 poolIdx) view returns((uint8,uint16,uint8,uint16,uint8,uint8,uint8) pool)

func (*CrocQueryCaller) QueryPoolTemplate added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryPoolTemplate(opts *bind.CallOpts, poolIdx *big.Int) (PoolSpecsPool, error)

QueryPoolTemplate is a free data retrieval call binding the contract method 0x2855bcf3.

Solidity: function queryPoolTemplate(uint256 poolIdx) view returns((uint8,uint16,uint8,uint16,uint8,uint8,uint8) pool)

func (*CrocQueryCaller) QueryPrice added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryPrice(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)

QueryPrice is a free data retrieval call binding the contract method 0xf8c7efa7.

Solidity: function queryPrice(address base, address quote, uint256 poolIdx) view returns(uint128)

func (*CrocQueryCaller) QueryProtocolAccum added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryProtocolAccum(opts *bind.CallOpts, token common.Address) (*big.Int, error)

QueryProtocolAccum is a free data retrieval call binding the contract method 0xed8f58f4.

Solidity: function queryProtocolAccum(address token) view returns(uint128)

func (*CrocQueryCaller) QueryRangePosition added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryRangePosition(opts *bind.CallOpts, owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct {
	Liq       *big.Int
	Fee       uint64
	Timestamp uint32
	Atomic    bool
}, error)

QueryRangePosition is a free data retrieval call binding the contract method 0x992236c5.

Solidity: function queryRangePosition(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint64 fee, uint32 timestamp, bool atomic)

func (*CrocQueryCaller) QueryRangeTokens added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryRangeTokens(opts *bind.CallOpts, owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct {
	Liq      *big.Int
	BaseQty  *big.Int
	QuoteQty *big.Int
}, error)

QueryRangeTokens is a free data retrieval call binding the contract method 0xd7fd8d0f.

Solidity: function queryRangeTokens(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty)

func (*CrocQueryCaller) QuerySurplus added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QuerySurplus(opts *bind.CallOpts, owner common.Address, token common.Address) (*big.Int, error)

QuerySurplus is a free data retrieval call binding the contract method 0x56bf0f5b.

Solidity: function querySurplus(address owner, address token) view returns(uint128 surplus)

func (*CrocQueryCaller) QueryVirtual added in v0.1.6

func (_CrocQuery *CrocQueryCaller) QueryVirtual(opts *bind.CallOpts, owner common.Address, tracker common.Address, salt *big.Int) (*big.Int, error)

QueryVirtual is a free data retrieval call binding the contract method 0x6756e9b8.

Solidity: function queryVirtual(address owner, address tracker, uint256 salt) view returns(uint128 surplus)

type CrocQueryCallerRaw added in v0.1.6

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

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

func (*CrocQueryCallerRaw) Call added in v0.1.6

func (_CrocQuery *CrocQueryCallerRaw) 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 CrocQueryCallerSession added in v0.1.6

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

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

func (*CrocQueryCallerSession) Dex added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) Dex() (common.Address, error)

Dex is a free data retrieval call binding the contract method 0x87834a0e.

Solidity: function dex_() view returns(address)

func (*CrocQueryCallerSession) QueryAmbientPosition added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryAmbientPosition(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int) (struct {
	Seeds     *big.Int
	Timestamp uint32
}, error)

QueryAmbientPosition is a free data retrieval call binding the contract method 0x7f44601a.

Solidity: function queryAmbientPosition(address owner, address base, address quote, uint256 poolIdx) view returns(uint128 seeds, uint32 timestamp)

func (*CrocQueryCallerSession) QueryAmbientTokens added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryAmbientTokens(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int) (struct {
	Liq      *big.Int
	BaseQty  *big.Int
	QuoteQty *big.Int
}, error)

QueryAmbientTokens is a free data retrieval call binding the contract method 0xebca95de.

Solidity: function queryAmbientTokens(address owner, address base, address quote, uint256 poolIdx) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty)

func (*CrocQueryCallerSession) QueryConcRewards added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryConcRewards(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct {
	LiqRewards   *big.Int
	BaseRewards  *big.Int
	QuoteRewards *big.Int
}, error)

QueryConcRewards is a free data retrieval call binding the contract method 0x3dccd7d7.

Solidity: function queryConcRewards(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liqRewards, uint128 baseRewards, uint128 quoteRewards)

func (*CrocQueryCallerSession) QueryCurve added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryCurve(base common.Address, quote common.Address, poolIdx *big.Int) (CurveMathCurveState, error)

QueryCurve is a free data retrieval call binding the contract method 0x8e56c1c1.

Solidity: function queryCurve(address base, address quote, uint256 poolIdx) view returns((uint128,uint128,uint128,uint64,uint64) curve)

func (*CrocQueryCallerSession) QueryCurveTick added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryCurveTick(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)

QueryCurveTick is a free data retrieval call binding the contract method 0xdc91a6ad.

Solidity: function queryCurveTick(address base, address quote, uint256 poolIdx) view returns(int24)

func (*CrocQueryCallerSession) QueryKnockoutMerkle added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryKnockoutMerkle(base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, tick *big.Int) (struct {
	Root  *big.Int
	Pivot uint32
	Fee   uint64
}, error)

QueryKnockoutMerkle is a free data retrieval call binding the contract method 0xab0a9898.

Solidity: function queryKnockoutMerkle(address base, address quote, uint256 poolIdx, bool isBid, int24 tick) view returns(uint160 root, uint32 pivot, uint64 fee)

func (*CrocQueryCallerSession) QueryKnockoutPivot added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryKnockoutPivot(base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, tick *big.Int) (struct {
	Lots  *big.Int
	Pivot uint32
	Range uint16
}, error)

QueryKnockoutPivot is a free data retrieval call binding the contract method 0x10fc74f4.

Solidity: function queryKnockoutPivot(address base, address quote, uint256 poolIdx, bool isBid, int24 tick) view returns(uint96 lots, uint32 pivot, uint16 range)

func (*CrocQueryCallerSession) QueryKnockoutPos added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryKnockoutPos(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, pivot uint32, isBid bool, lowerTick *big.Int, upperTick *big.Int) (struct {
	Lots      *big.Int
	Mileage   uint64
	Timestamp uint32
}, error)

QueryKnockoutPos is a free data retrieval call binding the contract method 0x391d582f.

Solidity: function queryKnockoutPos(address owner, address base, address quote, uint256 poolIdx, uint32 pivot, bool isBid, int24 lowerTick, int24 upperTick) view returns(uint96 lots, uint64 mileage, uint32 timestamp)

func (*CrocQueryCallerSession) QueryKnockoutTokens added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryKnockoutTokens(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, pivot uint32, isBid bool, lowerTick *big.Int, upperTick *big.Int) (struct {
	Liq        *big.Int
	BaseQty    *big.Int
	QuoteQty   *big.Int
	KnockedOut bool
}, error)

QueryKnockoutTokens is a free data retrieval call binding the contract method 0x93c33a71.

Solidity: function queryKnockoutTokens(address owner, address base, address quote, uint256 poolIdx, uint32 pivot, bool isBid, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty, bool knockedOut)

func (*CrocQueryCallerSession) QueryLevel added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryLevel(base common.Address, quote common.Address, poolIdx *big.Int, tick *big.Int) (struct {
	BidLots  *big.Int
	AskLots  *big.Int
	Odometer uint64
}, error)

QueryLevel is a free data retrieval call binding the contract method 0x340bfa12.

Solidity: function queryLevel(address base, address quote, uint256 poolIdx, int24 tick) view returns(uint96 bidLots, uint96 askLots, uint64 odometer)

func (*CrocQueryCallerSession) QueryLiquidity added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryLiquidity(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)

QueryLiquidity is a free data retrieval call binding the contract method 0x338adc67.

Solidity: function queryLiquidity(address base, address quote, uint256 poolIdx) view returns(uint128)

func (*CrocQueryCallerSession) QueryPoolParams added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryPoolParams(base common.Address, quote common.Address, poolIdx *big.Int) (PoolSpecsPool, error)

QueryPoolParams is a free data retrieval call binding the contract method 0xff163e14.

Solidity: function queryPoolParams(address base, address quote, uint256 poolIdx) view returns((uint8,uint16,uint8,uint16,uint8,uint8,uint8) pool)

func (*CrocQueryCallerSession) QueryPoolTemplate added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryPoolTemplate(poolIdx *big.Int) (PoolSpecsPool, error)

QueryPoolTemplate is a free data retrieval call binding the contract method 0x2855bcf3.

Solidity: function queryPoolTemplate(uint256 poolIdx) view returns((uint8,uint16,uint8,uint16,uint8,uint8,uint8) pool)

func (*CrocQueryCallerSession) QueryPrice added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryPrice(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)

QueryPrice is a free data retrieval call binding the contract method 0xf8c7efa7.

Solidity: function queryPrice(address base, address quote, uint256 poolIdx) view returns(uint128)

func (*CrocQueryCallerSession) QueryProtocolAccum added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryProtocolAccum(token common.Address) (*big.Int, error)

QueryProtocolAccum is a free data retrieval call binding the contract method 0xed8f58f4.

Solidity: function queryProtocolAccum(address token) view returns(uint128)

func (*CrocQueryCallerSession) QueryRangePosition added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryRangePosition(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct {
	Liq       *big.Int
	Fee       uint64
	Timestamp uint32
	Atomic    bool
}, error)

QueryRangePosition is a free data retrieval call binding the contract method 0x992236c5.

Solidity: function queryRangePosition(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint64 fee, uint32 timestamp, bool atomic)

func (*CrocQueryCallerSession) QueryRangeTokens added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryRangeTokens(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct {
	Liq      *big.Int
	BaseQty  *big.Int
	QuoteQty *big.Int
}, error)

QueryRangeTokens is a free data retrieval call binding the contract method 0xd7fd8d0f.

Solidity: function queryRangeTokens(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty)

func (*CrocQueryCallerSession) QuerySurplus added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QuerySurplus(owner common.Address, token common.Address) (*big.Int, error)

QuerySurplus is a free data retrieval call binding the contract method 0x56bf0f5b.

Solidity: function querySurplus(address owner, address token) view returns(uint128 surplus)

func (*CrocQueryCallerSession) QueryVirtual added in v0.1.6

func (_CrocQuery *CrocQueryCallerSession) QueryVirtual(owner common.Address, tracker common.Address, salt *big.Int) (*big.Int, error)

QueryVirtual is a free data retrieval call binding the contract method 0x6756e9b8.

Solidity: function queryVirtual(address owner, address tracker, uint256 salt) view returns(uint128 surplus)

type CrocQueryFilterer added in v0.1.6

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

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

func NewCrocQueryFilterer added in v0.1.6

func NewCrocQueryFilterer(address common.Address, filterer bind.ContractFilterer) (*CrocQueryFilterer, error)

NewCrocQueryFilterer creates a new log filterer instance of CrocQuery, bound to a specific deployed contract.

type CrocQueryRaw added in v0.1.6

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

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

func (*CrocQueryRaw) Call added in v0.1.6

func (_CrocQuery *CrocQueryRaw) 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 (*CrocQueryRaw) Transact added in v0.1.6

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

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

func (*CrocQueryRaw) Transfer added in v0.1.6

func (_CrocQuery *CrocQueryRaw) 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 CrocQuerySession added in v0.1.6

type CrocQuerySession struct {
	Contract     *CrocQuery        // 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
}

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

func (*CrocQuerySession) Dex added in v0.1.6

func (_CrocQuery *CrocQuerySession) Dex() (common.Address, error)

Dex is a free data retrieval call binding the contract method 0x87834a0e.

Solidity: function dex_() view returns(address)

func (*CrocQuerySession) QueryAmbientPosition added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryAmbientPosition(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int) (struct {
	Seeds     *big.Int
	Timestamp uint32
}, error)

QueryAmbientPosition is a free data retrieval call binding the contract method 0x7f44601a.

Solidity: function queryAmbientPosition(address owner, address base, address quote, uint256 poolIdx) view returns(uint128 seeds, uint32 timestamp)

func (*CrocQuerySession) QueryAmbientTokens added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryAmbientTokens(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int) (struct {
	Liq      *big.Int
	BaseQty  *big.Int
	QuoteQty *big.Int
}, error)

QueryAmbientTokens is a free data retrieval call binding the contract method 0xebca95de.

Solidity: function queryAmbientTokens(address owner, address base, address quote, uint256 poolIdx) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty)

func (*CrocQuerySession) QueryConcRewards added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryConcRewards(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct {
	LiqRewards   *big.Int
	BaseRewards  *big.Int
	QuoteRewards *big.Int
}, error)

QueryConcRewards is a free data retrieval call binding the contract method 0x3dccd7d7.

Solidity: function queryConcRewards(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liqRewards, uint128 baseRewards, uint128 quoteRewards)

func (*CrocQuerySession) QueryCurve added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryCurve(base common.Address, quote common.Address, poolIdx *big.Int) (CurveMathCurveState, error)

QueryCurve is a free data retrieval call binding the contract method 0x8e56c1c1.

Solidity: function queryCurve(address base, address quote, uint256 poolIdx) view returns((uint128,uint128,uint128,uint64,uint64) curve)

func (*CrocQuerySession) QueryCurveTick added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryCurveTick(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)

QueryCurveTick is a free data retrieval call binding the contract method 0xdc91a6ad.

Solidity: function queryCurveTick(address base, address quote, uint256 poolIdx) view returns(int24)

func (*CrocQuerySession) QueryKnockoutMerkle added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryKnockoutMerkle(base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, tick *big.Int) (struct {
	Root  *big.Int
	Pivot uint32
	Fee   uint64
}, error)

QueryKnockoutMerkle is a free data retrieval call binding the contract method 0xab0a9898.

Solidity: function queryKnockoutMerkle(address base, address quote, uint256 poolIdx, bool isBid, int24 tick) view returns(uint160 root, uint32 pivot, uint64 fee)

func (*CrocQuerySession) QueryKnockoutPivot added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryKnockoutPivot(base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, tick *big.Int) (struct {
	Lots  *big.Int
	Pivot uint32
	Range uint16
}, error)

QueryKnockoutPivot is a free data retrieval call binding the contract method 0x10fc74f4.

Solidity: function queryKnockoutPivot(address base, address quote, uint256 poolIdx, bool isBid, int24 tick) view returns(uint96 lots, uint32 pivot, uint16 range)

func (*CrocQuerySession) QueryKnockoutPos added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryKnockoutPos(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, pivot uint32, isBid bool, lowerTick *big.Int, upperTick *big.Int) (struct {
	Lots      *big.Int
	Mileage   uint64
	Timestamp uint32
}, error)

QueryKnockoutPos is a free data retrieval call binding the contract method 0x391d582f.

Solidity: function queryKnockoutPos(address owner, address base, address quote, uint256 poolIdx, uint32 pivot, bool isBid, int24 lowerTick, int24 upperTick) view returns(uint96 lots, uint64 mileage, uint32 timestamp)

func (*CrocQuerySession) QueryKnockoutTokens added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryKnockoutTokens(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, pivot uint32, isBid bool, lowerTick *big.Int, upperTick *big.Int) (struct {
	Liq        *big.Int
	BaseQty    *big.Int
	QuoteQty   *big.Int
	KnockedOut bool
}, error)

QueryKnockoutTokens is a free data retrieval call binding the contract method 0x93c33a71.

Solidity: function queryKnockoutTokens(address owner, address base, address quote, uint256 poolIdx, uint32 pivot, bool isBid, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty, bool knockedOut)

func (*CrocQuerySession) QueryLevel added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryLevel(base common.Address, quote common.Address, poolIdx *big.Int, tick *big.Int) (struct {
	BidLots  *big.Int
	AskLots  *big.Int
	Odometer uint64
}, error)

QueryLevel is a free data retrieval call binding the contract method 0x340bfa12.

Solidity: function queryLevel(address base, address quote, uint256 poolIdx, int24 tick) view returns(uint96 bidLots, uint96 askLots, uint64 odometer)

func (*CrocQuerySession) QueryLiquidity added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryLiquidity(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)

QueryLiquidity is a free data retrieval call binding the contract method 0x338adc67.

Solidity: function queryLiquidity(address base, address quote, uint256 poolIdx) view returns(uint128)

func (*CrocQuerySession) QueryPoolParams added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryPoolParams(base common.Address, quote common.Address, poolIdx *big.Int) (PoolSpecsPool, error)

QueryPoolParams is a free data retrieval call binding the contract method 0xff163e14.

Solidity: function queryPoolParams(address base, address quote, uint256 poolIdx) view returns((uint8,uint16,uint8,uint16,uint8,uint8,uint8) pool)

func (*CrocQuerySession) QueryPoolTemplate added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryPoolTemplate(poolIdx *big.Int) (PoolSpecsPool, error)

QueryPoolTemplate is a free data retrieval call binding the contract method 0x2855bcf3.

Solidity: function queryPoolTemplate(uint256 poolIdx) view returns((uint8,uint16,uint8,uint16,uint8,uint8,uint8) pool)

func (*CrocQuerySession) QueryPrice added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryPrice(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)

QueryPrice is a free data retrieval call binding the contract method 0xf8c7efa7.

Solidity: function queryPrice(address base, address quote, uint256 poolIdx) view returns(uint128)

func (*CrocQuerySession) QueryProtocolAccum added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryProtocolAccum(token common.Address) (*big.Int, error)

QueryProtocolAccum is a free data retrieval call binding the contract method 0xed8f58f4.

Solidity: function queryProtocolAccum(address token) view returns(uint128)

func (*CrocQuerySession) QueryRangePosition added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryRangePosition(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct {
	Liq       *big.Int
	Fee       uint64
	Timestamp uint32
	Atomic    bool
}, error)

QueryRangePosition is a free data retrieval call binding the contract method 0x992236c5.

Solidity: function queryRangePosition(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint64 fee, uint32 timestamp, bool atomic)

func (*CrocQuerySession) QueryRangeTokens added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryRangeTokens(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct {
	Liq      *big.Int
	BaseQty  *big.Int
	QuoteQty *big.Int
}, error)

QueryRangeTokens is a free data retrieval call binding the contract method 0xd7fd8d0f.

Solidity: function queryRangeTokens(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty)

func (*CrocQuerySession) QuerySurplus added in v0.1.6

func (_CrocQuery *CrocQuerySession) QuerySurplus(owner common.Address, token common.Address) (*big.Int, error)

QuerySurplus is a free data retrieval call binding the contract method 0x56bf0f5b.

Solidity: function querySurplus(address owner, address token) view returns(uint128 surplus)

func (*CrocQuerySession) QueryVirtual added in v0.1.6

func (_CrocQuery *CrocQuerySession) QueryVirtual(owner common.Address, tracker common.Address, salt *big.Int) (*big.Int, error)

QueryVirtual is a free data retrieval call binding the contract method 0x6756e9b8.

Solidity: function queryVirtual(address owner, address tracker, uint256 salt) view returns(uint128 surplus)

type CrocQueryTransactor added in v0.1.6

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

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

func NewCrocQueryTransactor added in v0.1.6

func NewCrocQueryTransactor(address common.Address, transactor bind.ContractTransactor) (*CrocQueryTransactor, error)

NewCrocQueryTransactor creates a new write-only instance of CrocQuery, bound to a specific deployed contract.

type CrocQueryTransactorRaw added in v0.1.6

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

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

func (*CrocQueryTransactorRaw) Transact added in v0.1.6

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

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

func (*CrocQueryTransactorRaw) Transfer added in v0.1.6

func (_CrocQuery *CrocQueryTransactorRaw) 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 CrocQueryTransactorSession added in v0.1.6

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

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

type CurveMathCurveState added in v0.1.6

type CurveMathCurveState struct {
	PriceRoot    *big.Int
	AmbientSeeds *big.Int
	ConcLiq      *big.Int
	SeedDeflator uint64
	ConcGrowth   uint64
}

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

type ERC20 added in v0.1.6

type ERC20 struct {
	ERC20Caller     // Read-only binding to the contract
	ERC20Transactor // Write-only binding to the contract
	ERC20Filterer   // Log filterer for contract events
}

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

func NewERC20 added in v0.1.6

func NewERC20(address common.Address, backend bind.ContractBackend) (*ERC20, error)

NewERC20 creates a new instance of ERC20, bound to a specific deployed contract.

type ERC20Approval added in v0.1.6

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

ERC20Approval represents a Approval event raised by the ERC20 contract.

type ERC20ApprovalIterator added in v0.1.6

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

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

func (*ERC20ApprovalIterator) Close added in v0.1.6

func (it *ERC20ApprovalIterator) Close() error

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

func (*ERC20ApprovalIterator) Error added in v0.1.6

func (it *ERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20ApprovalIterator) Next added in v0.1.6

func (it *ERC20ApprovalIterator) 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 ERC20Caller added in v0.1.6

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

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

func NewERC20Caller added in v0.1.6

func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)

NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Caller) Allowance added in v0.1.6

func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

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

func (*ERC20Caller) BalanceOf added in v0.1.6

func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

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

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

func (*ERC20Caller) DOMAINSEPARATOR added in v0.1.6

func (_ERC20 *ERC20Caller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*ERC20Caller) Decimals added in v0.1.6

func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) Name added in v0.1.6

func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) Nonces added in v0.1.6

func (_ERC20 *ERC20Caller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*ERC20Caller) Symbol added in v0.1.6

func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) TotalSupply added in v0.1.6

func (_ERC20 *ERC20Caller) 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 ERC20CallerRaw added in v0.1.6

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

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

func (*ERC20CallerRaw) Call added in v0.1.6

func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession added in v0.1.6

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

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

func (*ERC20CallerSession) Allowance added in v0.1.6

func (_ERC20 *ERC20CallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

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

func (*ERC20CallerSession) BalanceOf added in v0.1.6

func (_ERC20 *ERC20CallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

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

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

func (*ERC20CallerSession) DOMAINSEPARATOR added in v0.1.6

func (_ERC20 *ERC20CallerSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*ERC20CallerSession) Decimals added in v0.1.6

func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ERC20CallerSession) Name added in v0.1.6

func (_ERC20 *ERC20CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC20CallerSession) Nonces added in v0.1.6

func (_ERC20 *ERC20CallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*ERC20CallerSession) Symbol added in v0.1.6

func (_ERC20 *ERC20CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC20CallerSession) TotalSupply added in v0.1.6

func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20Filterer added in v0.1.6

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

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

func NewERC20Filterer added in v0.1.6

func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)

NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.

func (*ERC20Filterer) FilterApproval added in v0.1.6

func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

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

func (*ERC20Filterer) FilterTransfer added in v0.1.6

func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

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

func (*ERC20Filterer) ParseApproval added in v0.1.6

func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)

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

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

func (*ERC20Filterer) ParseTransfer added in v0.1.6

func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)

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

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

func (*ERC20Filterer) WatchApproval added in v0.1.6

func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, 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 amount)

func (*ERC20Filterer) WatchTransfer added in v0.1.6

func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, 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 amount)

type ERC20Raw added in v0.1.6

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

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

func (*ERC20Raw) Call added in v0.1.6

func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact added in v0.1.6

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

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

func (*ERC20Raw) Transfer added in v0.1.6

func (_ERC20 *ERC20Raw) 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 ERC20Session added in v0.1.6

type ERC20Session struct {
	Contract     *ERC20            // 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
}

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

func (*ERC20Session) Allowance added in v0.1.6

func (_ERC20 *ERC20Session) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

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

func (*ERC20Session) Approve added in v0.1.6

func (_ERC20 *ERC20Session) 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 (*ERC20Session) BalanceOf added in v0.1.6

func (_ERC20 *ERC20Session) BalanceOf(arg0 common.Address) (*big.Int, error)

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

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

func (*ERC20Session) DOMAINSEPARATOR added in v0.1.6

func (_ERC20 *ERC20Session) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*ERC20Session) Decimals added in v0.1.6

func (_ERC20 *ERC20Session) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ERC20Session) Name added in v0.1.6

func (_ERC20 *ERC20Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC20Session) Nonces added in v0.1.6

func (_ERC20 *ERC20Session) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*ERC20Session) Permit added in v0.1.6

func (_ERC20 *ERC20Session) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*ERC20Session) Symbol added in v0.1.6

func (_ERC20 *ERC20Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC20Session) TotalSupply added in v0.1.6

func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ERC20Session) Transfer added in v0.1.6

func (_ERC20 *ERC20Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*ERC20Session) TransferFrom added in v0.1.6

func (_ERC20 *ERC20Session) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type ERC20Transactor added in v0.1.6

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

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

func NewERC20Transactor added in v0.1.6

func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)

NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Transactor) Approve added in v0.1.6

func (_ERC20 *ERC20Transactor) 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 (*ERC20Transactor) Permit added in v0.1.6

func (_ERC20 *ERC20Transactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*ERC20Transactor) Transfer added in v0.1.6

func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*ERC20Transactor) TransferFrom added in v0.1.6

func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type ERC20TransactorRaw added in v0.1.6

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

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

func (*ERC20TransactorRaw) Transact added in v0.1.6

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

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

func (*ERC20TransactorRaw) Transfer added in v0.1.6

func (_ERC20 *ERC20TransactorRaw) 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 ERC20TransactorSession added in v0.1.6

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

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

func (*ERC20TransactorSession) Approve added in v0.1.6

func (_ERC20 *ERC20TransactorSession) 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 (*ERC20TransactorSession) Permit added in v0.1.6

func (_ERC20 *ERC20TransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*ERC20TransactorSession) Transfer added in v0.1.6

func (_ERC20 *ERC20TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*ERC20TransactorSession) TransferFrom added in v0.1.6

func (_ERC20 *ERC20TransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type ERC20Transfer added in v0.1.6

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

ERC20Transfer represents a Transfer event raised by the ERC20 contract.

type ERC20TransferIterator added in v0.1.6

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

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

func (*ERC20TransferIterator) Close added in v0.1.6

func (it *ERC20TransferIterator) Close() error

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

func (*ERC20TransferIterator) Error added in v0.1.6

func (it *ERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TransferIterator) Next added in v0.1.6

func (it *ERC20TransferIterator) 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 IPoolSwapStructsSwapRequest added in v0.1.7

type IPoolSwapStructsSwapRequest struct {
	Kind            uint8
	TokenIn         common.Address
	TokenOut        common.Address
	Amount          *big.Int
	PoolId          [32]byte
	LastChangeBlock *big.Int
	From            common.Address
	To              common.Address
	UserData        []byte
}

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

type IVaultBatchSwapStep added in v0.1.7

type IVaultBatchSwapStep struct {
	PoolId        [32]byte
	AssetInIndex  *big.Int
	AssetOutIndex *big.Int
	Amount        *big.Int
	UserData      []byte
}

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

type IVaultExitPoolRequest added in v0.1.7

type IVaultExitPoolRequest struct {
	Assets            []common.Address
	MinAmountsOut     []*big.Int
	UserData          []byte
	ToInternalBalance bool
}

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

type IVaultFundManagement added in v0.1.7

type IVaultFundManagement struct {
	Sender              common.Address
	FromInternalBalance bool
	Recipient           common.Address
	ToInternalBalance   bool
}

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

type IVaultJoinPoolRequest added in v0.1.7

type IVaultJoinPoolRequest struct {
	Assets              []common.Address
	MaxAmountsIn        []*big.Int
	UserData            []byte
	FromInternalBalance bool
}

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

type IVaultPoolBalanceOp added in v0.1.7

type IVaultPoolBalanceOp struct {
	Kind   uint8
	PoolId [32]byte
	Token  common.Address
	Amount *big.Int
}

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

type IVaultSingleSwap added in v0.1.7

type IVaultSingleSwap struct {
	PoolId   [32]byte
	Kind     uint8
	AssetIn  common.Address
	AssetOut common.Address
	Amount   *big.Int
	UserData []byte
}

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

type IVaultUserBalanceOp added in v0.1.7

type IVaultUserBalanceOp struct {
	Kind      uint8
	Asset     common.Address
	Amount    *big.Int
	Sender    common.Address
	Recipient common.Address
}

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

type KodiakV1

type KodiakV1 struct {
	KodiakV1Caller     // Read-only binding to the contract
	KodiakV1Transactor // Write-only binding to the contract
	KodiakV1Filterer   // Log filterer for contract events
}

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

func NewKodiakV1

func NewKodiakV1(address common.Address, backend bind.ContractBackend) (*KodiakV1, error)

NewKodiakV1 creates a new instance of KodiakV1, bound to a specific deployed contract.

type KodiakV1Approval

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

KodiakV1Approval represents a Approval event raised by the KodiakV1 contract.

type KodiakV1ApprovalIterator

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

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

func (*KodiakV1ApprovalIterator) Close

func (it *KodiakV1ApprovalIterator) Close() error

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

func (*KodiakV1ApprovalIterator) Error

func (it *KodiakV1ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakV1ApprovalIterator) Next

func (it *KodiakV1ApprovalIterator) 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 KodiakV1Burned

type KodiakV1Burned struct {
	Receiver        common.Address
	BurnAmount      *big.Int
	Amount0Out      *big.Int
	Amount1Out      *big.Int
	LiquidityBurned *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

KodiakV1Burned represents a Burned event raised by the KodiakV1 contract.

type KodiakV1BurnedIterator

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

KodiakV1BurnedIterator is returned from FilterBurned and is used to iterate over the raw logs and unpacked data for Burned events raised by the KodiakV1 contract.

func (*KodiakV1BurnedIterator) Close

func (it *KodiakV1BurnedIterator) Close() error

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

func (*KodiakV1BurnedIterator) Error

func (it *KodiakV1BurnedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakV1BurnedIterator) Next

func (it *KodiakV1BurnedIterator) 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 KodiakV1Caller

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

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

func NewKodiakV1Caller

func NewKodiakV1Caller(address common.Address, caller bind.ContractCaller) (*KodiakV1Caller, error)

NewKodiakV1Caller creates a new read-only instance of KodiakV1, bound to a specific deployed contract.

func (*KodiakV1Caller) Allowance

func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) BalanceOf

func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) Decimals

func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) GELATO

func (_KodiakV1 *KodiakV1Caller) GELATO(opts *bind.CallOpts) (common.Address, error)

GELATO is a free data retrieval call binding the contract method 0xeff557a7.

Solidity: function GELATO() view returns(address)

func (*KodiakV1Caller) GelatoRebalanceBPS

func (_KodiakV1 *KodiakV1Caller) GelatoRebalanceBPS(opts *bind.CallOpts) (uint16, error)

GelatoRebalanceBPS is a free data retrieval call binding the contract method 0xa50b1fe7.

Solidity: function gelatoRebalanceBPS() view returns(uint16)

func (*KodiakV1Caller) GelatoSlippageBPS

func (_KodiakV1 *KodiakV1Caller) GelatoSlippageBPS(opts *bind.CallOpts) (uint16, error)

GelatoSlippageBPS is a free data retrieval call binding the contract method 0xd6e7ff39.

Solidity: function gelatoSlippageBPS() view returns(uint16)

func (*KodiakV1Caller) GelatoSlippageInterval

func (_KodiakV1 *KodiakV1Caller) GelatoSlippageInterval(opts *bind.CallOpts) (uint32, error)

GelatoSlippageInterval is a free data retrieval call binding the contract method 0x672152bd.

Solidity: function gelatoSlippageInterval() view returns(uint32)

func (*KodiakV1Caller) GetMintAmounts

func (_KodiakV1 *KodiakV1Caller) GetMintAmounts(opts *bind.CallOpts, amount0Max *big.Int, amount1Max *big.Int) (struct {
	Amount0    *big.Int
	Amount1    *big.Int
	MintAmount *big.Int
}, error)

GetMintAmounts is a free data retrieval call binding the contract method 0x9894f21a.

Solidity: function getMintAmounts(uint256 amount0Max, uint256 amount1Max) view returns(uint256 amount0, uint256 amount1, uint256 mintAmount)

func (*KodiakV1Caller) GetPositionID

func (_KodiakV1 *KodiakV1Caller) GetPositionID(opts *bind.CallOpts) ([32]byte, error)

GetPositionID is a free data retrieval call binding the contract method 0xdf28408a.

Solidity: function getPositionID() view returns(bytes32 positionID)

func (*KodiakV1Caller) GetUnderlyingBalances

func (_KodiakV1 *KodiakV1Caller) GetUnderlyingBalances(opts *bind.CallOpts) (struct {
	Amount0Current *big.Int
	Amount1Current *big.Int
}, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x1322d954.

Solidity: function getUnderlyingBalances() view returns(uint256 amount0Current, uint256 amount1Current)

func (*KodiakV1Caller) GetUnderlyingBalancesAtPrice

func (_KodiakV1 *KodiakV1Caller) GetUnderlyingBalancesAtPrice(opts *bind.CallOpts, sqrtRatioX96 *big.Int) (struct {
	Amount0Current *big.Int
	Amount1Current *big.Int
}, error)

GetUnderlyingBalancesAtPrice is a free data retrieval call binding the contract method 0xb670ed7d.

Solidity: function getUnderlyingBalancesAtPrice(uint160 sqrtRatioX96) view returns(uint256 amount0Current, uint256 amount1Current)

func (*KodiakV1Caller) KodiakBalance0

func (_KodiakV1 *KodiakV1Caller) KodiakBalance0(opts *bind.CallOpts) (*big.Int, error)

KodiakBalance0 is a free data retrieval call binding the contract method 0xd8d24145.

Solidity: function kodiakBalance0() view returns(uint256)

func (*KodiakV1Caller) KodiakBalance1

func (_KodiakV1 *KodiakV1Caller) KodiakBalance1(opts *bind.CallOpts) (*big.Int, error)

KodiakBalance1 is a free data retrieval call binding the contract method 0xf5338bcf.

Solidity: function kodiakBalance1() view returns(uint256)

func (*KodiakV1Caller) KodiakFeeBPS

func (_KodiakV1 *KodiakV1Caller) KodiakFeeBPS(opts *bind.CallOpts) (uint16, error)

KodiakFeeBPS is a free data retrieval call binding the contract method 0xce311070.

Solidity: function kodiakFeeBPS() view returns(uint16)

func (*KodiakV1Caller) KodiakTreasury

func (_KodiakV1 *KodiakV1Caller) KodiakTreasury(opts *bind.CallOpts) (common.Address, error)

KodiakTreasury is a free data retrieval call binding the contract method 0x94a113ec.

Solidity: function kodiakTreasury() view returns(address)

func (*KodiakV1Caller) LowerTick

func (_KodiakV1 *KodiakV1Caller) LowerTick(opts *bind.CallOpts) (*big.Int, error)

LowerTick is a free data retrieval call binding the contract method 0x9b1344ac.

Solidity: function lowerTick() view returns(int24)

func (*KodiakV1Caller) Manager

func (_KodiakV1 *KodiakV1Caller) Manager(opts *bind.CallOpts) (common.Address, error)

Manager is a free data retrieval call binding the contract method 0x481c6a75.

Solidity: function manager() view returns(address)

func (*KodiakV1Caller) ManagerBalance0

func (_KodiakV1 *KodiakV1Caller) ManagerBalance0(opts *bind.CallOpts) (*big.Int, error)

ManagerBalance0 is a free data retrieval call binding the contract method 0x065756db.

Solidity: function managerBalance0() view returns(uint256)

func (*KodiakV1Caller) ManagerBalance1

func (_KodiakV1 *KodiakV1Caller) ManagerBalance1(opts *bind.CallOpts) (*big.Int, error)

ManagerBalance1 is a free data retrieval call binding the contract method 0x42fb9d44.

Solidity: function managerBalance1() view returns(uint256)

func (*KodiakV1Caller) ManagerFeeBPS

func (_KodiakV1 *KodiakV1Caller) ManagerFeeBPS(opts *bind.CallOpts) (uint16, error)

ManagerFeeBPS is a free data retrieval call binding the contract method 0xccdf7a02.

Solidity: function managerFeeBPS() view returns(uint16)

func (*KodiakV1Caller) ManagerTreasury

func (_KodiakV1 *KodiakV1Caller) ManagerTreasury(opts *bind.CallOpts) (common.Address, error)

ManagerTreasury is a free data retrieval call binding the contract method 0xcc95353e.

Solidity: function managerTreasury() view returns(address)

func (*KodiakV1Caller) Name

func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) Pool

func (_KodiakV1 *KodiakV1Caller) Pool(opts *bind.CallOpts) (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*KodiakV1Caller) RESTRICTEDMINTENABLED

func (_KodiakV1 *KodiakV1Caller) RESTRICTEDMINTENABLED(opts *bind.CallOpts) (uint16, error)

RESTRICTEDMINTENABLED is a free data retrieval call binding the contract method 0xd839fb3f.

Solidity: function RESTRICTED_MINT_ENABLED() view returns(uint16)

func (*KodiakV1Caller) RestrictedMintToggle

func (_KodiakV1 *KodiakV1Caller) RestrictedMintToggle(opts *bind.CallOpts) (uint16, error)

RestrictedMintToggle is a free data retrieval call binding the contract method 0xdd40e322.

Solidity: function restrictedMintToggle() view returns(uint16)

func (*KodiakV1Caller) Symbol

func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) Token0

func (_KodiakV1 *KodiakV1Caller) Token0(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*KodiakV1Caller) Token1

func (_KodiakV1 *KodiakV1Caller) Token1(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*KodiakV1Caller) TotalSupply

func (_KodiakV1 *KodiakV1Caller) 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)

func (*KodiakV1Caller) UpperTick

func (_KodiakV1 *KodiakV1Caller) UpperTick(opts *bind.CallOpts) (*big.Int, error)

UpperTick is a free data retrieval call binding the contract method 0x727dd228.

Solidity: function upperTick() view returns(int24)

func (*KodiakV1Caller) Version

func (_KodiakV1 *KodiakV1Caller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type KodiakV1CallerRaw

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

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

func (*KodiakV1CallerRaw) Call

func (_KodiakV1 *KodiakV1CallerRaw) 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 KodiakV1CallerSession

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

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

func (*KodiakV1CallerSession) Allowance

func (_KodiakV1 *KodiakV1CallerSession) 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 (*KodiakV1CallerSession) BalanceOf

func (_KodiakV1 *KodiakV1CallerSession) 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 (*KodiakV1CallerSession) Decimals

func (_KodiakV1 *KodiakV1CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*KodiakV1CallerSession) GELATO

func (_KodiakV1 *KodiakV1CallerSession) GELATO() (common.Address, error)

GELATO is a free data retrieval call binding the contract method 0xeff557a7.

Solidity: function GELATO() view returns(address)

func (*KodiakV1CallerSession) GelatoRebalanceBPS

func (_KodiakV1 *KodiakV1CallerSession) GelatoRebalanceBPS() (uint16, error)

GelatoRebalanceBPS is a free data retrieval call binding the contract method 0xa50b1fe7.

Solidity: function gelatoRebalanceBPS() view returns(uint16)

func (*KodiakV1CallerSession) GelatoSlippageBPS

func (_KodiakV1 *KodiakV1CallerSession) GelatoSlippageBPS() (uint16, error)

GelatoSlippageBPS is a free data retrieval call binding the contract method 0xd6e7ff39.

Solidity: function gelatoSlippageBPS() view returns(uint16)

func (*KodiakV1CallerSession) GelatoSlippageInterval

func (_KodiakV1 *KodiakV1CallerSession) GelatoSlippageInterval() (uint32, error)

GelatoSlippageInterval is a free data retrieval call binding the contract method 0x672152bd.

Solidity: function gelatoSlippageInterval() view returns(uint32)

func (*KodiakV1CallerSession) GetMintAmounts

func (_KodiakV1 *KodiakV1CallerSession) GetMintAmounts(amount0Max *big.Int, amount1Max *big.Int) (struct {
	Amount0    *big.Int
	Amount1    *big.Int
	MintAmount *big.Int
}, error)

GetMintAmounts is a free data retrieval call binding the contract method 0x9894f21a.

Solidity: function getMintAmounts(uint256 amount0Max, uint256 amount1Max) view returns(uint256 amount0, uint256 amount1, uint256 mintAmount)

func (*KodiakV1CallerSession) GetPositionID

func (_KodiakV1 *KodiakV1CallerSession) GetPositionID() ([32]byte, error)

GetPositionID is a free data retrieval call binding the contract method 0xdf28408a.

Solidity: function getPositionID() view returns(bytes32 positionID)

func (*KodiakV1CallerSession) GetUnderlyingBalances

func (_KodiakV1 *KodiakV1CallerSession) GetUnderlyingBalances() (struct {
	Amount0Current *big.Int
	Amount1Current *big.Int
}, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x1322d954.

Solidity: function getUnderlyingBalances() view returns(uint256 amount0Current, uint256 amount1Current)

func (*KodiakV1CallerSession) GetUnderlyingBalancesAtPrice

func (_KodiakV1 *KodiakV1CallerSession) GetUnderlyingBalancesAtPrice(sqrtRatioX96 *big.Int) (struct {
	Amount0Current *big.Int
	Amount1Current *big.Int
}, error)

GetUnderlyingBalancesAtPrice is a free data retrieval call binding the contract method 0xb670ed7d.

Solidity: function getUnderlyingBalancesAtPrice(uint160 sqrtRatioX96) view returns(uint256 amount0Current, uint256 amount1Current)

func (*KodiakV1CallerSession) KodiakBalance0

func (_KodiakV1 *KodiakV1CallerSession) KodiakBalance0() (*big.Int, error)

KodiakBalance0 is a free data retrieval call binding the contract method 0xd8d24145.

Solidity: function kodiakBalance0() view returns(uint256)

func (*KodiakV1CallerSession) KodiakBalance1

func (_KodiakV1 *KodiakV1CallerSession) KodiakBalance1() (*big.Int, error)

KodiakBalance1 is a free data retrieval call binding the contract method 0xf5338bcf.

Solidity: function kodiakBalance1() view returns(uint256)

func (*KodiakV1CallerSession) KodiakFeeBPS

func (_KodiakV1 *KodiakV1CallerSession) KodiakFeeBPS() (uint16, error)

KodiakFeeBPS is a free data retrieval call binding the contract method 0xce311070.

Solidity: function kodiakFeeBPS() view returns(uint16)

func (*KodiakV1CallerSession) KodiakTreasury

func (_KodiakV1 *KodiakV1CallerSession) KodiakTreasury() (common.Address, error)

KodiakTreasury is a free data retrieval call binding the contract method 0x94a113ec.

Solidity: function kodiakTreasury() view returns(address)

func (*KodiakV1CallerSession) LowerTick

func (_KodiakV1 *KodiakV1CallerSession) LowerTick() (*big.Int, error)

LowerTick is a free data retrieval call binding the contract method 0x9b1344ac.

Solidity: function lowerTick() view returns(int24)

func (*KodiakV1CallerSession) Manager

func (_KodiakV1 *KodiakV1CallerSession) Manager() (common.Address, error)

Manager is a free data retrieval call binding the contract method 0x481c6a75.

Solidity: function manager() view returns(address)

func (*KodiakV1CallerSession) ManagerBalance0

func (_KodiakV1 *KodiakV1CallerSession) ManagerBalance0() (*big.Int, error)

ManagerBalance0 is a free data retrieval call binding the contract method 0x065756db.

Solidity: function managerBalance0() view returns(uint256)

func (*KodiakV1CallerSession) ManagerBalance1

func (_KodiakV1 *KodiakV1CallerSession) ManagerBalance1() (*big.Int, error)

ManagerBalance1 is a free data retrieval call binding the contract method 0x42fb9d44.

Solidity: function managerBalance1() view returns(uint256)

func (*KodiakV1CallerSession) ManagerFeeBPS

func (_KodiakV1 *KodiakV1CallerSession) ManagerFeeBPS() (uint16, error)

ManagerFeeBPS is a free data retrieval call binding the contract method 0xccdf7a02.

Solidity: function managerFeeBPS() view returns(uint16)

func (*KodiakV1CallerSession) ManagerTreasury

func (_KodiakV1 *KodiakV1CallerSession) ManagerTreasury() (common.Address, error)

ManagerTreasury is a free data retrieval call binding the contract method 0xcc95353e.

Solidity: function managerTreasury() view returns(address)

func (*KodiakV1CallerSession) Name

func (_KodiakV1 *KodiakV1CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*KodiakV1CallerSession) Pool

func (_KodiakV1 *KodiakV1CallerSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*KodiakV1CallerSession) RESTRICTEDMINTENABLED

func (_KodiakV1 *KodiakV1CallerSession) RESTRICTEDMINTENABLED() (uint16, error)

RESTRICTEDMINTENABLED is a free data retrieval call binding the contract method 0xd839fb3f.

Solidity: function RESTRICTED_MINT_ENABLED() view returns(uint16)

func (*KodiakV1CallerSession) RestrictedMintToggle

func (_KodiakV1 *KodiakV1CallerSession) RestrictedMintToggle() (uint16, error)

RestrictedMintToggle is a free data retrieval call binding the contract method 0xdd40e322.

Solidity: function restrictedMintToggle() view returns(uint16)

func (*KodiakV1CallerSession) Symbol

func (_KodiakV1 *KodiakV1CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*KodiakV1CallerSession) Token0

func (_KodiakV1 *KodiakV1CallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*KodiakV1CallerSession) Token1

func (_KodiakV1 *KodiakV1CallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*KodiakV1CallerSession) TotalSupply

func (_KodiakV1 *KodiakV1CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*KodiakV1CallerSession) UpperTick

func (_KodiakV1 *KodiakV1CallerSession) UpperTick() (*big.Int, error)

UpperTick is a free data retrieval call binding the contract method 0x727dd228.

Solidity: function upperTick() view returns(int24)

func (*KodiakV1CallerSession) Version

func (_KodiakV1 *KodiakV1CallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type KodiakV1FeesEarned

type KodiakV1FeesEarned struct {
	FeesEarned0 *big.Int
	FeesEarned1 *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

KodiakV1FeesEarned represents a FeesEarned event raised by the KodiakV1 contract.

type KodiakV1FeesEarnedIterator

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

KodiakV1FeesEarnedIterator is returned from FilterFeesEarned and is used to iterate over the raw logs and unpacked data for FeesEarned events raised by the KodiakV1 contract.

func (*KodiakV1FeesEarnedIterator) Close

func (it *KodiakV1FeesEarnedIterator) Close() error

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

func (*KodiakV1FeesEarnedIterator) Error

func (it *KodiakV1FeesEarnedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakV1FeesEarnedIterator) Next

func (it *KodiakV1FeesEarnedIterator) 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 KodiakV1Filterer

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

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

func NewKodiakV1Filterer

func NewKodiakV1Filterer(address common.Address, filterer bind.ContractFilterer) (*KodiakV1Filterer, error)

NewKodiakV1Filterer creates a new log filterer instance of KodiakV1, bound to a specific deployed contract.

func (*KodiakV1Filterer) FilterApproval

func (_KodiakV1 *KodiakV1Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*KodiakV1ApprovalIterator, 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 (*KodiakV1Filterer) FilterBurned

func (_KodiakV1 *KodiakV1Filterer) FilterBurned(opts *bind.FilterOpts) (*KodiakV1BurnedIterator, error)

FilterBurned is a free log retrieval operation binding the contract event 0x7239dff1718b550db7f36cbf69c665cfeb56d0e96b4fb76a5cba712961b65509.

Solidity: event Burned(address receiver, uint256 burnAmount, uint256 amount0Out, uint256 amount1Out, uint128 liquidityBurned)

func (*KodiakV1Filterer) FilterFeesEarned

func (_KodiakV1 *KodiakV1Filterer) FilterFeesEarned(opts *bind.FilterOpts) (*KodiakV1FeesEarnedIterator, error)

FilterFeesEarned is a free log retrieval operation binding the contract event 0xc28ad1de9c0c32e5394ba60323e44d8d9536312236a47231772e448a3e49de42.

Solidity: event FeesEarned(uint256 feesEarned0, uint256 feesEarned1)

func (*KodiakV1Filterer) FilterMinted

func (_KodiakV1 *KodiakV1Filterer) FilterMinted(opts *bind.FilterOpts) (*KodiakV1MintedIterator, error)

FilterMinted is a free log retrieval operation binding the contract event 0x55801cfe493000b734571da1694b21e7f66b11e8ce9fdaa0524ecb59105e73e7.

Solidity: event Minted(address receiver, uint256 mintAmount, uint256 amount0In, uint256 amount1In, uint128 liquidityMinted)

func (*KodiakV1Filterer) FilterOwnershipTransferred

func (_KodiakV1 *KodiakV1Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousManager []common.Address, newManager []common.Address) (*KodiakV1OwnershipTransferredIterator, error)

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

Solidity: event OwnershipTransferred(address indexed previousManager, address indexed newManager)

func (*KodiakV1Filterer) FilterRebalance

func (_KodiakV1 *KodiakV1Filterer) FilterRebalance(opts *bind.FilterOpts) (*KodiakV1RebalanceIterator, error)

FilterRebalance is a free log retrieval operation binding the contract event 0xc749f9ae947d4734cf1569606a8a347391ae94a063478aa853aeff48ac5f99e8.

Solidity: event Rebalance(int24 lowerTick_, int24 upperTick_, uint128 liquidityBefore, uint128 liquidityAfter)

func (*KodiakV1Filterer) FilterTransfer

func (_KodiakV1 *KodiakV1Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*KodiakV1TransferIterator, 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 (*KodiakV1Filterer) FilterUpdateManagerParams

func (_KodiakV1 *KodiakV1Filterer) FilterUpdateManagerParams(opts *bind.FilterOpts) (*KodiakV1UpdateManagerParamsIterator, error)

FilterUpdateManagerParams is a free log retrieval operation binding the contract event 0xf459b381c988c676562c20a01f42f488c5560ed2e3957b0f27f26573418b6193.

Solidity: event UpdateManagerParams(uint16 managerFeeBPS, address managerTreasury, uint16 gelatoRebalanceBPS, uint16 gelatoSlippageBPS, uint32 gelatoSlippageInterval)

func (*KodiakV1Filterer) ParseApproval

func (_KodiakV1 *KodiakV1Filterer) ParseApproval(log types.Log) (*KodiakV1Approval, error)

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

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

func (*KodiakV1Filterer) ParseBurned

func (_KodiakV1 *KodiakV1Filterer) ParseBurned(log types.Log) (*KodiakV1Burned, error)

ParseBurned is a log parse operation binding the contract event 0x7239dff1718b550db7f36cbf69c665cfeb56d0e96b4fb76a5cba712961b65509.

Solidity: event Burned(address receiver, uint256 burnAmount, uint256 amount0Out, uint256 amount1Out, uint128 liquidityBurned)

func (*KodiakV1Filterer) ParseFeesEarned

func (_KodiakV1 *KodiakV1Filterer) ParseFeesEarned(log types.Log) (*KodiakV1FeesEarned, error)

ParseFeesEarned is a log parse operation binding the contract event 0xc28ad1de9c0c32e5394ba60323e44d8d9536312236a47231772e448a3e49de42.

Solidity: event FeesEarned(uint256 feesEarned0, uint256 feesEarned1)

func (*KodiakV1Filterer) ParseMinted

func (_KodiakV1 *KodiakV1Filterer) ParseMinted(log types.Log) (*KodiakV1Minted, error)

ParseMinted is a log parse operation binding the contract event 0x55801cfe493000b734571da1694b21e7f66b11e8ce9fdaa0524ecb59105e73e7.

Solidity: event Minted(address receiver, uint256 mintAmount, uint256 amount0In, uint256 amount1In, uint128 liquidityMinted)

func (*KodiakV1Filterer) ParseOwnershipTransferred

func (_KodiakV1 *KodiakV1Filterer) ParseOwnershipTransferred(log types.Log) (*KodiakV1OwnershipTransferred, error)

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

Solidity: event OwnershipTransferred(address indexed previousManager, address indexed newManager)

func (*KodiakV1Filterer) ParseRebalance

func (_KodiakV1 *KodiakV1Filterer) ParseRebalance(log types.Log) (*KodiakV1Rebalance, error)

ParseRebalance is a log parse operation binding the contract event 0xc749f9ae947d4734cf1569606a8a347391ae94a063478aa853aeff48ac5f99e8.

Solidity: event Rebalance(int24 lowerTick_, int24 upperTick_, uint128 liquidityBefore, uint128 liquidityAfter)

func (*KodiakV1Filterer) ParseTransfer

func (_KodiakV1 *KodiakV1Filterer) ParseTransfer(log types.Log) (*KodiakV1Transfer, error)

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

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

func (*KodiakV1Filterer) ParseUpdateManagerParams

func (_KodiakV1 *KodiakV1Filterer) ParseUpdateManagerParams(log types.Log) (*KodiakV1UpdateManagerParams, error)

ParseUpdateManagerParams is a log parse operation binding the contract event 0xf459b381c988c676562c20a01f42f488c5560ed2e3957b0f27f26573418b6193.

Solidity: event UpdateManagerParams(uint16 managerFeeBPS, address managerTreasury, uint16 gelatoRebalanceBPS, uint16 gelatoSlippageBPS, uint32 gelatoSlippageInterval)

func (*KodiakV1Filterer) WatchApproval

func (_KodiakV1 *KodiakV1Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *KodiakV1Approval, 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 (*KodiakV1Filterer) WatchBurned

func (_KodiakV1 *KodiakV1Filterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *KodiakV1Burned) (event.Subscription, error)

WatchBurned is a free log subscription operation binding the contract event 0x7239dff1718b550db7f36cbf69c665cfeb56d0e96b4fb76a5cba712961b65509.

Solidity: event Burned(address receiver, uint256 burnAmount, uint256 amount0Out, uint256 amount1Out, uint128 liquidityBurned)

func (*KodiakV1Filterer) WatchFeesEarned

func (_KodiakV1 *KodiakV1Filterer) WatchFeesEarned(opts *bind.WatchOpts, sink chan<- *KodiakV1FeesEarned) (event.Subscription, error)

WatchFeesEarned is a free log subscription operation binding the contract event 0xc28ad1de9c0c32e5394ba60323e44d8d9536312236a47231772e448a3e49de42.

Solidity: event FeesEarned(uint256 feesEarned0, uint256 feesEarned1)

func (*KodiakV1Filterer) WatchMinted

func (_KodiakV1 *KodiakV1Filterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *KodiakV1Minted) (event.Subscription, error)

WatchMinted is a free log subscription operation binding the contract event 0x55801cfe493000b734571da1694b21e7f66b11e8ce9fdaa0524ecb59105e73e7.

Solidity: event Minted(address receiver, uint256 mintAmount, uint256 amount0In, uint256 amount1In, uint128 liquidityMinted)

func (*KodiakV1Filterer) WatchOwnershipTransferred

func (_KodiakV1 *KodiakV1Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *KodiakV1OwnershipTransferred, previousManager []common.Address, newManager []common.Address) (event.Subscription, error)

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

Solidity: event OwnershipTransferred(address indexed previousManager, address indexed newManager)

func (*KodiakV1Filterer) WatchRebalance

func (_KodiakV1 *KodiakV1Filterer) WatchRebalance(opts *bind.WatchOpts, sink chan<- *KodiakV1Rebalance) (event.Subscription, error)

WatchRebalance is a free log subscription operation binding the contract event 0xc749f9ae947d4734cf1569606a8a347391ae94a063478aa853aeff48ac5f99e8.

Solidity: event Rebalance(int24 lowerTick_, int24 upperTick_, uint128 liquidityBefore, uint128 liquidityAfter)

func (*KodiakV1Filterer) WatchTransfer

func (_KodiakV1 *KodiakV1Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *KodiakV1Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

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

func (*KodiakV1Filterer) WatchUpdateManagerParams

func (_KodiakV1 *KodiakV1Filterer) WatchUpdateManagerParams(opts *bind.WatchOpts, sink chan<- *KodiakV1UpdateManagerParams) (event.Subscription, error)

WatchUpdateManagerParams is a free log subscription operation binding the contract event 0xf459b381c988c676562c20a01f42f488c5560ed2e3957b0f27f26573418b6193.

Solidity: event UpdateManagerParams(uint16 managerFeeBPS, address managerTreasury, uint16 gelatoRebalanceBPS, uint16 gelatoSlippageBPS, uint32 gelatoSlippageInterval)

type KodiakV1Minted

type KodiakV1Minted struct {
	Receiver        common.Address
	MintAmount      *big.Int
	Amount0In       *big.Int
	Amount1In       *big.Int
	LiquidityMinted *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

KodiakV1Minted represents a Minted event raised by the KodiakV1 contract.

type KodiakV1MintedIterator

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

KodiakV1MintedIterator is returned from FilterMinted and is used to iterate over the raw logs and unpacked data for Minted events raised by the KodiakV1 contract.

func (*KodiakV1MintedIterator) Close

func (it *KodiakV1MintedIterator) Close() error

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

func (*KodiakV1MintedIterator) Error

func (it *KodiakV1MintedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakV1MintedIterator) Next

func (it *KodiakV1MintedIterator) 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 KodiakV1OwnershipTransferred

type KodiakV1OwnershipTransferred struct {
	PreviousManager common.Address
	NewManager      common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

KodiakV1OwnershipTransferred represents a OwnershipTransferred event raised by the KodiakV1 contract.

type KodiakV1OwnershipTransferredIterator

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

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

func (*KodiakV1OwnershipTransferredIterator) Close

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

func (*KodiakV1OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakV1OwnershipTransferredIterator) 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 KodiakV1Raw

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

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

func (*KodiakV1Raw) Call

func (_KodiakV1 *KodiakV1Raw) 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 (*KodiakV1Raw) Transact

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

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

func (*KodiakV1Raw) Transfer

func (_KodiakV1 *KodiakV1Raw) 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 KodiakV1Rebalance

type KodiakV1Rebalance struct {
	LowerTick       *big.Int
	UpperTick       *big.Int
	LiquidityBefore *big.Int
	LiquidityAfter  *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

KodiakV1Rebalance represents a Rebalance event raised by the KodiakV1 contract.

type KodiakV1RebalanceIterator

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

KodiakV1RebalanceIterator is returned from FilterRebalance and is used to iterate over the raw logs and unpacked data for Rebalance events raised by the KodiakV1 contract.

func (*KodiakV1RebalanceIterator) Close

func (it *KodiakV1RebalanceIterator) Close() error

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

func (*KodiakV1RebalanceIterator) Error

func (it *KodiakV1RebalanceIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakV1RebalanceIterator) Next

func (it *KodiakV1RebalanceIterator) 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 KodiakV1Session

type KodiakV1Session struct {
	Contract     *KodiakV1         // 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
}

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

func (*KodiakV1Session) Allowance

func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) Approve

func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) BalanceOf

func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) Burn

func (_KodiakV1 *KodiakV1Session) Burn(burnAmount *big.Int, receiver common.Address) (*types.Transaction, error)

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

Solidity: function burn(uint256 burnAmount, address receiver) returns(uint256 amount0, uint256 amount1, uint128 liquidityBurned)

func (*KodiakV1Session) Decimals

func (_KodiakV1 *KodiakV1Session) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*KodiakV1Session) DecreaseAllowance

func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) ExecutiveRebalance

func (_KodiakV1 *KodiakV1Session) ExecutiveRebalance(newLowerTick *big.Int, newUpperTick *big.Int, swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool) (*types.Transaction, error)

ExecutiveRebalance is a paid mutator transaction binding the contract method 0x24b8fd1b.

Solidity: function executiveRebalance(int24 newLowerTick, int24 newUpperTick, uint160 swapThresholdPrice, uint256 swapAmountBPS, bool zeroForOne) returns()

func (*KodiakV1Session) GELATO

func (_KodiakV1 *KodiakV1Session) GELATO() (common.Address, error)

GELATO is a free data retrieval call binding the contract method 0xeff557a7.

Solidity: function GELATO() view returns(address)

func (*KodiakV1Session) GelatoRebalanceBPS

func (_KodiakV1 *KodiakV1Session) GelatoRebalanceBPS() (uint16, error)

GelatoRebalanceBPS is a free data retrieval call binding the contract method 0xa50b1fe7.

Solidity: function gelatoRebalanceBPS() view returns(uint16)

func (*KodiakV1Session) GelatoSlippageBPS

func (_KodiakV1 *KodiakV1Session) GelatoSlippageBPS() (uint16, error)

GelatoSlippageBPS is a free data retrieval call binding the contract method 0xd6e7ff39.

Solidity: function gelatoSlippageBPS() view returns(uint16)

func (*KodiakV1Session) GelatoSlippageInterval

func (_KodiakV1 *KodiakV1Session) GelatoSlippageInterval() (uint32, error)

GelatoSlippageInterval is a free data retrieval call binding the contract method 0x672152bd.

Solidity: function gelatoSlippageInterval() view returns(uint32)

func (*KodiakV1Session) GetMintAmounts

func (_KodiakV1 *KodiakV1Session) GetMintAmounts(amount0Max *big.Int, amount1Max *big.Int) (struct {
	Amount0    *big.Int
	Amount1    *big.Int
	MintAmount *big.Int
}, error)

GetMintAmounts is a free data retrieval call binding the contract method 0x9894f21a.

Solidity: function getMintAmounts(uint256 amount0Max, uint256 amount1Max) view returns(uint256 amount0, uint256 amount1, uint256 mintAmount)

func (*KodiakV1Session) GetPositionID

func (_KodiakV1 *KodiakV1Session) GetPositionID() ([32]byte, error)

GetPositionID is a free data retrieval call binding the contract method 0xdf28408a.

Solidity: function getPositionID() view returns(bytes32 positionID)

func (*KodiakV1Session) GetUnderlyingBalances

func (_KodiakV1 *KodiakV1Session) GetUnderlyingBalances() (struct {
	Amount0Current *big.Int
	Amount1Current *big.Int
}, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x1322d954.

Solidity: function getUnderlyingBalances() view returns(uint256 amount0Current, uint256 amount1Current)

func (*KodiakV1Session) GetUnderlyingBalancesAtPrice

func (_KodiakV1 *KodiakV1Session) GetUnderlyingBalancesAtPrice(sqrtRatioX96 *big.Int) (struct {
	Amount0Current *big.Int
	Amount1Current *big.Int
}, error)

GetUnderlyingBalancesAtPrice is a free data retrieval call binding the contract method 0xb670ed7d.

Solidity: function getUnderlyingBalancesAtPrice(uint160 sqrtRatioX96) view returns(uint256 amount0Current, uint256 amount1Current)

func (*KodiakV1Session) IncreaseAllowance

func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) Initialize

func (_KodiakV1 *KodiakV1Session) Initialize(_name string, _symbol string, _pool common.Address, _managerFeeBPS uint16, _lowerTick *big.Int, _upperTick *big.Int, _manager_ common.Address) (*types.Transaction, error)

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

Solidity: function initialize(string _name, string _symbol, address _pool, uint16 _managerFeeBPS, int24 _lowerTick, int24 _upperTick, address _manager_) returns()

func (*KodiakV1Session) KodiakBalance0

func (_KodiakV1 *KodiakV1Session) KodiakBalance0() (*big.Int, error)

KodiakBalance0 is a free data retrieval call binding the contract method 0xd8d24145.

Solidity: function kodiakBalance0() view returns(uint256)

func (*KodiakV1Session) KodiakBalance1

func (_KodiakV1 *KodiakV1Session) KodiakBalance1() (*big.Int, error)

KodiakBalance1 is a free data retrieval call binding the contract method 0xf5338bcf.

Solidity: function kodiakBalance1() view returns(uint256)

func (*KodiakV1Session) KodiakFeeBPS

func (_KodiakV1 *KodiakV1Session) KodiakFeeBPS() (uint16, error)

KodiakFeeBPS is a free data retrieval call binding the contract method 0xce311070.

Solidity: function kodiakFeeBPS() view returns(uint16)

func (*KodiakV1Session) KodiakTreasury

func (_KodiakV1 *KodiakV1Session) KodiakTreasury() (common.Address, error)

KodiakTreasury is a free data retrieval call binding the contract method 0x94a113ec.

Solidity: function kodiakTreasury() view returns(address)

func (*KodiakV1Session) LowerTick

func (_KodiakV1 *KodiakV1Session) LowerTick() (*big.Int, error)

LowerTick is a free data retrieval call binding the contract method 0x9b1344ac.

Solidity: function lowerTick() view returns(int24)

func (*KodiakV1Session) Manager

func (_KodiakV1 *KodiakV1Session) Manager() (common.Address, error)

Manager is a free data retrieval call binding the contract method 0x481c6a75.

Solidity: function manager() view returns(address)

func (*KodiakV1Session) ManagerBalance0

func (_KodiakV1 *KodiakV1Session) ManagerBalance0() (*big.Int, error)

ManagerBalance0 is a free data retrieval call binding the contract method 0x065756db.

Solidity: function managerBalance0() view returns(uint256)

func (*KodiakV1Session) ManagerBalance1

func (_KodiakV1 *KodiakV1Session) ManagerBalance1() (*big.Int, error)

ManagerBalance1 is a free data retrieval call binding the contract method 0x42fb9d44.

Solidity: function managerBalance1() view returns(uint256)

func (*KodiakV1Session) ManagerFeeBPS

func (_KodiakV1 *KodiakV1Session) ManagerFeeBPS() (uint16, error)

ManagerFeeBPS is a free data retrieval call binding the contract method 0xccdf7a02.

Solidity: function managerFeeBPS() view returns(uint16)

func (*KodiakV1Session) ManagerTreasury

func (_KodiakV1 *KodiakV1Session) ManagerTreasury() (common.Address, error)

ManagerTreasury is a free data retrieval call binding the contract method 0xcc95353e.

Solidity: function managerTreasury() view returns(address)

func (*KodiakV1Session) Mint

func (_KodiakV1 *KodiakV1Session) Mint(mintAmount *big.Int, receiver common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 mintAmount, address receiver) returns(uint256 amount0, uint256 amount1, uint128 liquidityMinted)

func (*KodiakV1Session) Name

func (_KodiakV1 *KodiakV1Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*KodiakV1Session) Pool

func (_KodiakV1 *KodiakV1Session) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*KodiakV1Session) RESTRICTEDMINTENABLED

func (_KodiakV1 *KodiakV1Session) RESTRICTEDMINTENABLED() (uint16, error)

RESTRICTEDMINTENABLED is a free data retrieval call binding the contract method 0xd839fb3f.

Solidity: function RESTRICTED_MINT_ENABLED() view returns(uint16)

func (*KodiakV1Session) Rebalance

func (_KodiakV1 *KodiakV1Session) Rebalance(swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool, feeAmount *big.Int, paymentToken common.Address) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0xb135c99f.

Solidity: function rebalance(uint160 swapThresholdPrice, uint256 swapAmountBPS, bool zeroForOne, uint256 feeAmount, address paymentToken) returns()

func (*KodiakV1Session) RenounceOwnership

func (_KodiakV1 *KodiakV1Session) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*KodiakV1Session) RestrictedMintToggle

func (_KodiakV1 *KodiakV1Session) RestrictedMintToggle() (uint16, error)

RestrictedMintToggle is a free data retrieval call binding the contract method 0xdd40e322.

Solidity: function restrictedMintToggle() view returns(uint16)

func (*KodiakV1Session) Symbol

func (_KodiakV1 *KodiakV1Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*KodiakV1Session) ToggleRestrictMint

func (_KodiakV1 *KodiakV1Session) ToggleRestrictMint() (*types.Transaction, error)

ToggleRestrictMint is a paid mutator transaction binding the contract method 0x5f59dce5.

Solidity: function toggleRestrictMint() returns()

func (*KodiakV1Session) Token0

func (_KodiakV1 *KodiakV1Session) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*KodiakV1Session) Token1

func (_KodiakV1 *KodiakV1Session) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*KodiakV1Session) TotalSupply

func (_KodiakV1 *KodiakV1Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*KodiakV1Session) Transfer

func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) TransferFrom

func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) TransferOwnership

func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) UniswapV3MintCallback

func (_KodiakV1 *KodiakV1Session) UniswapV3MintCallback(amount0Owed *big.Int, amount1Owed *big.Int, arg2 []byte) (*types.Transaction, error)

UniswapV3MintCallback is a paid mutator transaction binding the contract method 0xd3487997.

Solidity: function uniswapV3MintCallback(uint256 amount0Owed, uint256 amount1Owed, bytes ) returns()

func (*KodiakV1Session) UniswapV3SwapCallback

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

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

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

func (*KodiakV1Session) UpdateManagerParams

func (_KodiakV1 *KodiakV1Session) UpdateManagerParams(newManagerFeeBPS int16, newManagerTreasury common.Address, newRebalanceBPS int16, newSlippageBPS int16, newSlippageInterval int32) (*types.Transaction, error)

UpdateManagerParams is a paid mutator transaction binding the contract method 0xc540e483.

Solidity: function updateManagerParams(int16 newManagerFeeBPS, address newManagerTreasury, int16 newRebalanceBPS, int16 newSlippageBPS, int32 newSlippageInterval) returns()

func (*KodiakV1Session) UpperTick

func (_KodiakV1 *KodiakV1Session) UpperTick() (*big.Int, error)

UpperTick is a free data retrieval call binding the contract method 0x727dd228.

Solidity: function upperTick() view returns(int24)

func (*KodiakV1Session) Version

func (_KodiakV1 *KodiakV1Session) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*KodiakV1Session) WithdrawKodiakBalance

func (_KodiakV1 *KodiakV1Session) WithdrawKodiakBalance() (*types.Transaction, error)

WithdrawKodiakBalance is a paid mutator transaction binding the contract method 0xd83bfb90.

Solidity: function withdrawKodiakBalance() returns()

func (*KodiakV1Session) WithdrawManagerBalance

func (_KodiakV1 *KodiakV1Session) WithdrawManagerBalance() (*types.Transaction, error)

WithdrawManagerBalance is a paid mutator transaction binding the contract method 0x7ecd6717.

Solidity: function withdrawManagerBalance() returns()

type KodiakV1Transactor

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

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

func NewKodiakV1Transactor

func NewKodiakV1Transactor(address common.Address, transactor bind.ContractTransactor) (*KodiakV1Transactor, error)

NewKodiakV1Transactor creates a new write-only instance of KodiakV1, bound to a specific deployed contract.

func (*KodiakV1Transactor) Approve

func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) Burn

func (_KodiakV1 *KodiakV1Transactor) Burn(opts *bind.TransactOpts, burnAmount *big.Int, receiver common.Address) (*types.Transaction, error)

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

Solidity: function burn(uint256 burnAmount, address receiver) returns(uint256 amount0, uint256 amount1, uint128 liquidityBurned)

func (*KodiakV1Transactor) DecreaseAllowance

func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) ExecutiveRebalance

func (_KodiakV1 *KodiakV1Transactor) ExecutiveRebalance(opts *bind.TransactOpts, newLowerTick *big.Int, newUpperTick *big.Int, swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool) (*types.Transaction, error)

ExecutiveRebalance is a paid mutator transaction binding the contract method 0x24b8fd1b.

Solidity: function executiveRebalance(int24 newLowerTick, int24 newUpperTick, uint160 swapThresholdPrice, uint256 swapAmountBPS, bool zeroForOne) returns()

func (*KodiakV1Transactor) IncreaseAllowance

func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) Initialize

func (_KodiakV1 *KodiakV1Transactor) Initialize(opts *bind.TransactOpts, _name string, _symbol string, _pool common.Address, _managerFeeBPS uint16, _lowerTick *big.Int, _upperTick *big.Int, _manager_ common.Address) (*types.Transaction, error)

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

Solidity: function initialize(string _name, string _symbol, address _pool, uint16 _managerFeeBPS, int24 _lowerTick, int24 _upperTick, address _manager_) returns()

func (*KodiakV1Transactor) Mint

func (_KodiakV1 *KodiakV1Transactor) Mint(opts *bind.TransactOpts, mintAmount *big.Int, receiver common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 mintAmount, address receiver) returns(uint256 amount0, uint256 amount1, uint128 liquidityMinted)

func (*KodiakV1Transactor) Rebalance

func (_KodiakV1 *KodiakV1Transactor) Rebalance(opts *bind.TransactOpts, swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool, feeAmount *big.Int, paymentToken common.Address) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0xb135c99f.

Solidity: function rebalance(uint160 swapThresholdPrice, uint256 swapAmountBPS, bool zeroForOne, uint256 feeAmount, address paymentToken) returns()

func (*KodiakV1Transactor) RenounceOwnership

func (_KodiakV1 *KodiakV1Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*KodiakV1Transactor) ToggleRestrictMint

func (_KodiakV1 *KodiakV1Transactor) ToggleRestrictMint(opts *bind.TransactOpts) (*types.Transaction, error)

ToggleRestrictMint is a paid mutator transaction binding the contract method 0x5f59dce5.

Solidity: function toggleRestrictMint() returns()

func (*KodiakV1Transactor) Transfer

func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) TransferFrom

func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) TransferOwnership

func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) UniswapV3MintCallback

func (_KodiakV1 *KodiakV1Transactor) UniswapV3MintCallback(opts *bind.TransactOpts, amount0Owed *big.Int, amount1Owed *big.Int, arg2 []byte) (*types.Transaction, error)

UniswapV3MintCallback is a paid mutator transaction binding the contract method 0xd3487997.

Solidity: function uniswapV3MintCallback(uint256 amount0Owed, uint256 amount1Owed, bytes ) returns()

func (*KodiakV1Transactor) UniswapV3SwapCallback

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

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

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

func (*KodiakV1Transactor) UpdateManagerParams

func (_KodiakV1 *KodiakV1Transactor) UpdateManagerParams(opts *bind.TransactOpts, newManagerFeeBPS int16, newManagerTreasury common.Address, newRebalanceBPS int16, newSlippageBPS int16, newSlippageInterval int32) (*types.Transaction, error)

UpdateManagerParams is a paid mutator transaction binding the contract method 0xc540e483.

Solidity: function updateManagerParams(int16 newManagerFeeBPS, address newManagerTreasury, int16 newRebalanceBPS, int16 newSlippageBPS, int32 newSlippageInterval) returns()

func (*KodiakV1Transactor) WithdrawKodiakBalance

func (_KodiakV1 *KodiakV1Transactor) WithdrawKodiakBalance(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawKodiakBalance is a paid mutator transaction binding the contract method 0xd83bfb90.

Solidity: function withdrawKodiakBalance() returns()

func (*KodiakV1Transactor) WithdrawManagerBalance

func (_KodiakV1 *KodiakV1Transactor) WithdrawManagerBalance(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawManagerBalance is a paid mutator transaction binding the contract method 0x7ecd6717.

Solidity: function withdrawManagerBalance() returns()

type KodiakV1TransactorRaw

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

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

func (*KodiakV1TransactorRaw) Transact

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

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

func (*KodiakV1TransactorRaw) Transfer

func (_KodiakV1 *KodiakV1TransactorRaw) 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 KodiakV1TransactorSession

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

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

func (*KodiakV1TransactorSession) Approve

func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) Burn

func (_KodiakV1 *KodiakV1TransactorSession) Burn(burnAmount *big.Int, receiver common.Address) (*types.Transaction, error)

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

Solidity: function burn(uint256 burnAmount, address receiver) returns(uint256 amount0, uint256 amount1, uint128 liquidityBurned)

func (*KodiakV1TransactorSession) DecreaseAllowance

func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) ExecutiveRebalance

func (_KodiakV1 *KodiakV1TransactorSession) ExecutiveRebalance(newLowerTick *big.Int, newUpperTick *big.Int, swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool) (*types.Transaction, error)

ExecutiveRebalance is a paid mutator transaction binding the contract method 0x24b8fd1b.

Solidity: function executiveRebalance(int24 newLowerTick, int24 newUpperTick, uint160 swapThresholdPrice, uint256 swapAmountBPS, bool zeroForOne) returns()

func (*KodiakV1TransactorSession) IncreaseAllowance

func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) Initialize

func (_KodiakV1 *KodiakV1TransactorSession) Initialize(_name string, _symbol string, _pool common.Address, _managerFeeBPS uint16, _lowerTick *big.Int, _upperTick *big.Int, _manager_ common.Address) (*types.Transaction, error)

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

Solidity: function initialize(string _name, string _symbol, address _pool, uint16 _managerFeeBPS, int24 _lowerTick, int24 _upperTick, address _manager_) returns()

func (*KodiakV1TransactorSession) Mint

func (_KodiakV1 *KodiakV1TransactorSession) Mint(mintAmount *big.Int, receiver common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 mintAmount, address receiver) returns(uint256 amount0, uint256 amount1, uint128 liquidityMinted)

func (*KodiakV1TransactorSession) Rebalance

func (_KodiakV1 *KodiakV1TransactorSession) Rebalance(swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool, feeAmount *big.Int, paymentToken common.Address) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0xb135c99f.

Solidity: function rebalance(uint160 swapThresholdPrice, uint256 swapAmountBPS, bool zeroForOne, uint256 feeAmount, address paymentToken) returns()

func (*KodiakV1TransactorSession) RenounceOwnership

func (_KodiakV1 *KodiakV1TransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*KodiakV1TransactorSession) ToggleRestrictMint

func (_KodiakV1 *KodiakV1TransactorSession) ToggleRestrictMint() (*types.Transaction, error)

ToggleRestrictMint is a paid mutator transaction binding the contract method 0x5f59dce5.

Solidity: function toggleRestrictMint() returns()

func (*KodiakV1TransactorSession) Transfer

func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) TransferFrom

func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) TransferOwnership

func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) UniswapV3MintCallback

func (_KodiakV1 *KodiakV1TransactorSession) UniswapV3MintCallback(amount0Owed *big.Int, amount1Owed *big.Int, arg2 []byte) (*types.Transaction, error)

UniswapV3MintCallback is a paid mutator transaction binding the contract method 0xd3487997.

Solidity: function uniswapV3MintCallback(uint256 amount0Owed, uint256 amount1Owed, bytes ) returns()

func (*KodiakV1TransactorSession) UniswapV3SwapCallback

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

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

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

func (*KodiakV1TransactorSession) UpdateManagerParams

func (_KodiakV1 *KodiakV1TransactorSession) UpdateManagerParams(newManagerFeeBPS int16, newManagerTreasury common.Address, newRebalanceBPS int16, newSlippageBPS int16, newSlippageInterval int32) (*types.Transaction, error)

UpdateManagerParams is a paid mutator transaction binding the contract method 0xc540e483.

Solidity: function updateManagerParams(int16 newManagerFeeBPS, address newManagerTreasury, int16 newRebalanceBPS, int16 newSlippageBPS, int32 newSlippageInterval) returns()

func (*KodiakV1TransactorSession) WithdrawKodiakBalance

func (_KodiakV1 *KodiakV1TransactorSession) WithdrawKodiakBalance() (*types.Transaction, error)

WithdrawKodiakBalance is a paid mutator transaction binding the contract method 0xd83bfb90.

Solidity: function withdrawKodiakBalance() returns()

func (*KodiakV1TransactorSession) WithdrawManagerBalance

func (_KodiakV1 *KodiakV1TransactorSession) WithdrawManagerBalance() (*types.Transaction, error)

WithdrawManagerBalance is a paid mutator transaction binding the contract method 0x7ecd6717.

Solidity: function withdrawManagerBalance() returns()

type KodiakV1Transfer

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

KodiakV1Transfer represents a Transfer event raised by the KodiakV1 contract.

type KodiakV1TransferIterator

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

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

func (*KodiakV1TransferIterator) Close

func (it *KodiakV1TransferIterator) Close() error

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

func (*KodiakV1TransferIterator) Error

func (it *KodiakV1TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakV1TransferIterator) Next

func (it *KodiakV1TransferIterator) 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 KodiakV1UpdateManagerParams

type KodiakV1UpdateManagerParams struct {
	ManagerFeeBPS          uint16
	ManagerTreasury        common.Address
	GelatoRebalanceBPS     uint16
	GelatoSlippageBPS      uint16
	GelatoSlippageInterval uint32
	Raw                    types.Log // Blockchain specific contextual infos
}

KodiakV1UpdateManagerParams represents a UpdateManagerParams event raised by the KodiakV1 contract.

type KodiakV1UpdateManagerParamsIterator

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

KodiakV1UpdateManagerParamsIterator is returned from FilterUpdateManagerParams and is used to iterate over the raw logs and unpacked data for UpdateManagerParams events raised by the KodiakV1 contract.

func (*KodiakV1UpdateManagerParamsIterator) Close

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

func (*KodiakV1UpdateManagerParamsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakV1UpdateManagerParamsIterator) 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 PoolSpecsPool added in v0.1.6

type PoolSpecsPool struct {
	Schema       uint8
	FeeRate      uint16
	ProtocolTake uint8
	TickSize     uint16
	JitThresh    uint8
	KnockoutBits uint8
	OracleFlags  uint8
}

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

type WeightedPoolNewPoolParams added in v0.1.7

type WeightedPoolNewPoolParams struct {
	Name              string
	Symbol            string
	Tokens            []common.Address
	NormalizedWeights []*big.Int
	RateProviders     []common.Address
	AssetManagers     []common.Address
	SwapFeePercentage *big.Int
}

WeightedPoolNewPoolParams 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