sc

package
v1.0.20 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AggregatorV3ABI = AggregatorV3MetaData.ABI

AggregatorV3ABI is the input ABI used to generate the binding from. Deprecated: Use AggregatorV3MetaData.ABI instead.

View Source
var AggregatorV3MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestRoundData\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"roundId\",\"type\":\"uint80\"},{\"internalType\":\"int256\",\"name\":\"answer\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint80\",\"name\":\"answeredInRound\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

AggregatorV3MetaData contains all meta data concerning the AggregatorV3 contract.

View Source
var AquaBeraABI = AquaBeraMetaData.ABI

AquaBeraABI is the input ABI used to generate the binding from. Deprecated: Use AquaBeraMetaData.ABI instead.

View Source
var AquaBeraMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_pool\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_allowToken0\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"_allowToken1\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"__owner\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_twapPeriod\",\"type\":\"uint32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"affiliate\",\"type\":\"address\"}],\"name\":\"Affiliate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"ammFeeRecipient\",\"type\":\"address\"}],\"name\":\"AmmFeeRecipient\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount1\",\"type\":\"uint256\"}],\"name\":\"CollectFees\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"allowToken0\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"allowToken1\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"twapPeriod\",\"type\":\"uint256\"}],\"name\":\"DeployICHIVault\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deposit0Max\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deposit1Max\",\"type\":\"uint256\"}],\"name\":\"DepositMax\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"hysteresis\",\"type\":\"uint256\"}],\"name\":\"Hysteresis\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAmount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAmount1\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount1\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalSupply\",\"type\":\"uint256\"}],\"name\":\"Rebalance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"newAuxTwapPeriod\",\"type\":\"uint32\"}],\"name\":\"SetAuxTwapPeriod\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"newTwapPeriod\",\"type\":\"uint32\"}],\"name\":\"SetTwapPeriod\",\"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\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"PRECISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"affiliate\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allowToken0\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allowToken1\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":[],\"name\":\"ammFeeRecipient\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":[],\"name\":\"auxTwapPeriod\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseLower\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseUpper\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collectFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"fees0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fees1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentTick\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"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\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deposit0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deposit1\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit0Max\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit1Max\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBasePosition\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLimitPosition\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"total0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"total1\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"hysteresis\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ichiVaultFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"limitLower\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"limitUpper\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"_baseLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"_baseUpper\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"_limitLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"_limitUpper\",\"type\":\"int24\"},{\"internalType\":\"int256\",\"name\":\"swapQuantity\",\"type\":\"int256\"}],\"name\":\"rebalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_affiliate\",\"type\":\"address\"}],\"name\":\"setAffiliate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ammFeeRecipient\",\"type\":\"address\"}],\"name\":\"setAmmFeeRecipient\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"newAuxTwapPeriod\",\"type\":\"uint32\"}],\"name\":\"setAuxTwapPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_deposit0Max\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_deposit1Max\",\"type\":\"uint256\"}],\"name\":\"setDepositMax\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_hysteresis\",\"type\":\"uint256\"}],\"name\":\"setHysteresis\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"newTwapPeriod\",\"type\":\"uint32\"}],\"name\":\"setTwapPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":[],\"name\":\"twapPeriod\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"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\":\"data\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

AquaBeraMetaData contains all meta data concerning the AquaBera contract.

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 BeraBorrowCICVABI = BeraBorrowCICVMetaData.ABI

BeraBorrowCICVABI is the input ABI used to generate the binding from. Deprecated: Use BeraBorrowCICVMetaData.ABI instead.

View Source
var BeraBorrowCICVMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"AmountCannotBeZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxDeposit\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxMint\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxRedeem\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxWithdraw\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmissionRateExceedsMax\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UUPSUnauthorizedCallContext\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"UUPSUnsupportedProxiableUUID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawingLockedEmissions\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"EmissionsAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"unlockRatePerSecond\",\"type\":\"uint64\"}],\"name\":\"NewUnlockRatePerSecond\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"PerformanceFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sentCurrency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sent\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sentValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"receivedValue\",\"type\":\"uint256\"}],\"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\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"UPGRADE_INTERFACE_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"_convertToValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"asset\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"assetDecimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"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\":\"shares\",\"type\":\"uint256\"}],\"name\":\"convertToAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"convertToShares\",\"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\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getBalanceOfWithFutureEmissions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getFullProfitUnlockTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getLockedEmissions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMetaBeraborrowCore\",\"outputs\":[{\"internalType\":\"contractIMetaBeraborrowCore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPerformanceFee\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPriceFeed\",\"outputs\":[{\"internalType\":\"contractIPriceFeed\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getWithdrawFee\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"iRedToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ibgt\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ibgtVault\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"infraredVault\",\"outputs\":[{\"internalType\":\"contractIInfraredVault\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"_minWithdrawFee\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_maxWithdrawFee\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_withdrawFee\",\"type\":\"uint16\"},{\"internalType\":\"contractIMetaBeraborrowCore\",\"name\":\"_metaBeraborrowCore\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"_asset\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_sharesName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_sharesSymbol\",\"type\":\"string\"}],\"internalType\":\"structIBaseCollateralVault.BaseInitParams\",\"name\":\"_baseParams\",\"type\":\"tuple\"},{\"internalType\":\"uint16\",\"name\":\"_minPerformanceFee\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_maxPerformanceFee\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_performanceFee\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"_iRedToken\",\"type\":\"address\"},{\"internalType\":\"contractIInfraredVault\",\"name\":\"_infraredVault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_ibgtVault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_infraredWrapper\",\"type\":\"address\"}],\"internalType\":\"structIInfraredCollateralVault.InfraredInitParams\",\"name\":\"baseParams\",\"type\":\"tuple\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint128[]\",\"name\":\"amounts\",\"type\":\"uint128[]\"}],\"name\":\"internalizeDonations\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"maxWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sentCurrency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sentAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"internalType\":\"structIInfraredCollateralVault.RebalanceParams\",\"name\":\"p\",\"type\":\"tuple\"}],\"name\":\"rebalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"receiveDonations\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardedTokens\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_iRedToken\",\"type\":\"address\"}],\"name\":\"setIRED\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"thresholdInBP\",\"type\":\"uint256\"}],\"name\":\"setPairThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_performanceFee\",\"type\":\"uint16\"}],\"name\":\"setPerformanceFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_unlockRatePerSecond\",\"type\":\"uint64\"}],\"name\":\"setUnlockRatePerSecond\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_withdrawFee\",\"type\":\"uint16\"}],\"name\":\"setWithdrawFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountInAsset\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"unlockRatePerSecond\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

BeraBorrowCICVMetaData contains all meta data concerning the BeraBorrowCICV contract.

View Source
var BeraBorrowIWABI = BeraBorrowIWMetaData.ABI

BeraBorrowIWABI is the input ABI used to generate the binding from. Deprecated: Use BeraBorrowIWMetaData.ABI instead.

View Source
var BeraBorrowIWMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_underlying\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_shareName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_shareSymbol\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_metaBeraborrowCore\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_infraredCollVault\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"OnlyOwner\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"depositFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"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\":\"infraredCollVault\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"metaBeraborrowCore\",\"outputs\":[{\"internalType\":\"contractIMetaBeraborrowCore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"recover\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"underlying\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

BeraBorrowIWMetaData contains all meta data concerning the BeraBorrowIW contract.

View Source
var BeraBorrowSNECTABI = BeraBorrowSNECTMetaData.ABI

BeraBorrowSNECTABI is the input ABI used to generate the binding from. Deprecated: Use BeraBorrowSNECTMetaData.ABI instead.

View Source
var BeraBorrowSNECTMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AddressZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountCannotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BalanceRemaining\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BelowThreshold\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BootstrapPeriod\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotFactory\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotLM\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CollateralIsSunsetting\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CollateralMustBeSunset\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DuplicateToken\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxDeposit\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxMint\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxRedeem\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxWithdraw\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmissionRateExceedsMax\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExistingCollateral\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FactoryAlreadyRegistered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FactoryNotRegistered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidArrayLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidThreshold\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LMAlreadyRegistered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LMNotRegistered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LastTokenMustBeNect\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoPriceFeed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Paused\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SameTokens\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenCannotBeExtraAsset\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenCannotBeNect\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenIsVesting\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenMustBeExtraAsset\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UUPSUnauthorizedCallContext\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"UUPSUnsupportedProxiableUUID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawingLockedEmissions\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroTotalSupply\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"AssetsWithdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldCollateral\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newCollateral\",\"type\":\"address\"}],\"name\":\"CollateralOverwritten\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"EmissionsAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"EmissionsSub\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"ExtraAssetAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"ExtraAssetRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"unlockRatePerSecond\",\"type\":\"uint64\"}],\"name\":\"NewUnlockRatePerSecond\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"collateral\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"debtToOffset\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collToAdd\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collSurplusAmount\",\"type\":\"uint256\"}],\"name\":\"Offset\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"factoryRemoved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"LMremoved\",\"type\":\"address\"}],\"name\":\"ProtocolBlacklisted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"liquidationManager\",\"type\":\"address\"}],\"name\":\"ProtocolRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sentCurrency\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receivedCurrency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sentAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"receivedAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sentValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"receivedValue\",\"type\":\"uint256\"}],\"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\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"SUNSET_DURATION\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADE_INTERFACE_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_unlockRatePerSecond\",\"type\":\"uint64\"}],\"name\":\"addNewExtraAsset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"asset\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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\":\"shares\",\"type\":\"uint256\"}],\"name\":\"convertToAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"convertToShares\",\"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\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_collateral\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_unlockRatePerSecond\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"forceThroughBalanceCheck\",\"type\":\"bool\"}],\"name\":\"enableCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"slots\",\"type\":\"bytes32[]\"}],\"name\":\"extSloads\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"res\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCollateralTokens\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getLockedEmissions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"scaledPriceInUsdWad\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalDebtTokenDeposits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"contractIERC20\",\"name\":\"_asset\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_sharesName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_sharesSymbol\",\"type\":\"string\"},{\"internalType\":\"contractIMetaBeraborrowCore\",\"name\":\"_metaBeraborrowCore\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_liquidationManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_feeReceiver\",\"type\":\"address\"}],\"internalType\":\"structILiquidStabilityPool.InitParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"int256\",\"name\":\"amount\",\"type\":\"int256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"linearVestingExtraAssets\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"maxWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"collateral\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_debtToOffset\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_collToAdd\",\"type\":\"uint256\"}],\"name\":\"offset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"netShares\",\"type\":\"uint256\"}],\"name\":\"previewMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sentCurrency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sentAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receivedCurrency\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"internalType\":\"structILiquidStabilityPool.RebalanceParams\",\"name\":\"p\",\"type\":\"tuple\"}],\"name\":\"rebalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"preferredUnderlyingTokens\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"removeExtraAsset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_boycoVaults\",\"type\":\"address[]\"},{\"internalType\":\"bool[]\",\"name\":\"enable\",\"type\":\"bool[]\"}],\"name\":\"setBoycoVaults\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"thresholdInBP\",\"type\":\"uint256\"}],\"name\":\"setPairThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_unlockRatePerSecond\",\"type\":\"uint64\"}],\"name\":\"setUnlockRatePerSecond\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"collateral\",\"type\":\"address\"}],\"name\":\"startCollateralSunset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountInNect\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_liquidationManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_register\",\"type\":\"bool\"}],\"name\":\"updateProtocol\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"preferredUnderlyingTokens\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

BeraBorrowSNECTMetaData contains all meta data concerning the BeraBorrowSNECT contract.

View Source
var BullaABI = BullaMetaData.ABI

BullaABI is the input ABI used to generate the binding from. Deprecated: Use BullaMetaData.ABI instead.

View Source
var BullaMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_pool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"tickOutOfRange\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAmount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAmount1\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount1\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalSupply\",\"type\":\"uint256\"}],\"name\":\"Rebalance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"newFee\",\"type\":\"uint8\"}],\"name\":\"SetFee\",\"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\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"fee\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fees0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fees1\",\"type\":\"uint256\"}],\"name\":\"ZeroBurn\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PRECISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"uint256[2]\",\"name\":\"inMin\",\"type\":\"uint256[2]\"}],\"name\":\"addLiquidity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"algebraMintCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"baseLower\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseUpper\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[4]\",\"name\":\"inMin\",\"type\":\"uint256[4]\"}],\"name\":\"compound\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"baseToken0Owed\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"baseToken1Owed\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"limitToken0Owed\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"limitToken1Owed\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentTick\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"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\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deposit0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deposit1\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256[4]\",\"name\":\"inMin\",\"type\":\"uint256[4]\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit0Max\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit1Max\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"directDeposit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeRecipient\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBasePosition\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLimitPosition\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"total0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"total1\",\"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\":[],\"name\":\"limitLower\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"limitUpper\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"contractIAlgebraPool\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"shares\",\"type\":\"uint128\"},{\"internalType\":\"uint256[2]\",\"name\":\"amountMin\",\"type\":\"uint256[2]\"}],\"name\":\"pullLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"_baseLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"_baseUpper\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"_limitLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"_limitUpper\",\"type\":\"int24\"},{\"internalType\":\"address\",\"name\":\"_feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint256[4]\",\"name\":\"inMin\",\"type\":\"uint256[4]\"},{\"internalType\":\"uint256[4]\",\"name\":\"outMin\",\"type\":\"uint256[4]\"}],\"name\":\"rebalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"removeWhitelisted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newFee\",\"type\":\"uint8\"}],\"name\":\"setFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"newTickSpacing\",\"type\":\"int24\"}],\"name\":\"setTickSpacing\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setWhitelist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"toggleDirectDeposit\",\"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\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"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\":[],\"name\":\"whitelistedAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256[4]\",\"name\":\"minAmounts\",\"type\":\"uint256[4]\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"zeroBurn\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"baseLiquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"limitLiquidity\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

BullaMetaData contains all meta data concerning the Bulla 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 D8xPoolManagerABI = D8xPoolManagerMetaData.ABI

D8xPoolManagerABI is the input ABI used to generate the binding from. Deprecated: Use D8xPoolManagerMetaData.ABI instead.

View Source
var D8xPoolManagerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_poolId\",\"type\":\"uint8\"}],\"name\":\"getShareTokenPriceD18\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_poolId\",\"type\":\"uint8\"}],\"name\":\"getLiquidityPool\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"isRunning\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"iPerpetualCount\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"id\",\"type\":\"uint8\"},{\"internalType\":\"int32\",\"name\":\"fCeilPnLShare\",\"type\":\"int32\"},{\"internalType\":\"uint8\",\"name\":\"marginTokenDecimals\",\"type\":\"uint8\"},{\"internalType\":\"uint16\",\"name\":\"iTargetPoolSizeUpdateTime\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"marginTokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"prevAnchor\",\"type\":\"uint64\"},{\"internalType\":\"int128\",\"name\":\"fRedemptionRate\",\"type\":\"int128\"},{\"internalType\":\"address\",\"name\":\"shareTokenAddress\",\"type\":\"address\"},{\"internalType\":\"int128\",\"name\":\"fPnLparticipantsCashCC\",\"type\":\"int128\"},{\"internalType\":\"int128\",\"name\":\"fTargetAMMFundSize\",\"type\":\"int128\"},{\"internalType\":\"int128\",\"name\":\"fDefaultFundCashCC\",\"type\":\"int128\"},{\"internalType\":\"int128\",\"name\":\"fTargetDFSize\",\"type\":\"int128\"},{\"internalType\":\"int128\",\"name\":\"fBrokerCollateralLotSize\",\"type\":\"int128\"},{\"internalType\":\"uint128\",\"name\":\"prevTokenAmount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"nextTokenAmount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"totalSupplyShareToken\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"fBrokerFundCashCC\",\"type\":\"int128\"}],\"internalType\":\"structLiquidityPoolData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

D8xPoolManagerMetaData contains all meta data concerning the D8xPoolManager contract.

View Source
var D8xShareTokenABI = D8xShareTokenMetaData.ABI

D8xShareTokenABI is the input ABI used to generate the binding from. Deprecated: Use D8xShareTokenMetaData.ABI instead.

View Source
var D8xShareTokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_poolId\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"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\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountD18\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"priceD18\",\"type\":\"uint256\"}],\"name\":\"P2PTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolId\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"setTransferRestricted\",\"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\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"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\"}]",
}

D8xShareTokenMetaData contains all meta data concerning the D8xShareToken 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 ERC4626ABI = ERC4626MetaData.ABI

ERC4626ABI is the input ABI used to generate the binding from. Deprecated: Use ERC4626MetaData.ABI instead.

View Source
var ERC4626MetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"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\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOLOMITE_MARGIN\",\"outputs\":[{\"internalType\":\"contractIDolomiteMargin\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOLOMITE_MARGIN_OWNER\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":[],\"name\":\"asset\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"convertToAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assets\",\"type\":\"uint256\"}],\"name\":\"convertToShares\",\"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\":\"uint256\",\"name\":\"_assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"dolomiteRegistry\",\"outputs\":[{\"internalType\":\"contractIDolomiteRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"_decimals\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"_marketId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_dolomiteRegistry\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"}],\"name\":\"isValidReceiver\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"marketId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"maxRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"maxWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assets\",\"type\":\"uint256\"}],\"name\":\"previewDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"previewMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"previewRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assets\",\"type\":\"uint256\"}],\"name\":\"previewWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ERC4626MetaData contains all meta data concerning the ERC4626 contract.

View Source
var KodiakIslandABI = KodiakIslandMetaData.ABI

KodiakIslandABI is the input ABI used to generate the binding from. Deprecated: Use KodiakIslandMetaData.ABI instead.

View Source
var KodiakIslandMetaData = &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\"}]",
}

KodiakIslandMetaData contains all meta data concerning the KodiakIsland contract.

View Source
var UniswapV2ABI = UniswapV2MetaData.ABI

UniswapV2ABI is the input ABI used to generate the binding from. Deprecated: Use UniswapV2MetaData.ABI instead.

View Source
var UniswapV2MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint112\",\"name\":\"reserve0\",\"type\":\"uint112\"},{\"indexed\":false,\"internalType\":\"uint112\",\"name\":\"reserve1\",\"type\":\"uint112\"}],\"name\":\"Sync\",\"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\"},{\"constant\":true,\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"MINIMUM_LIQUIDITY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getReserves\",\"outputs\":[{\"internalType\":\"uint112\",\"name\":\"_reserve0\",\"type\":\"uint112\"},{\"internalType\":\"uint112\",\"name\":\"_reserve1\",\"type\":\"uint112\"},{\"internalType\":\"uint32\",\"name\":\"_blockTimestampLast\",\"type\":\"uint32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token1\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"kLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"price0CumulativeLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"price1CumulativeLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"skim\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"sync\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

UniswapV2MetaData contains all meta data concerning the UniswapV2 contract.

View Source
var WasabeeVaultABI = WasabeeVaultMetaData.ABI

WasabeeVaultABI is the input ABI used to generate the binding from. Deprecated: Use WasabeeVaultMetaData.ABI instead.

View Source
var WasabeeVaultMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_pool\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_allowToken0\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"_allowToken1\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"__owner\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_twapPeriod\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"_vaultIndex\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"affiliate\",\"type\":\"address\"}],\"name\":\"Affiliate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"ammFeeRecipient\",\"type\":\"address\"}],\"name\":\"AmmFeeRecipient\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount1\",\"type\":\"uint256\"}],\"name\":\"CollectFees\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"allowToken0\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"allowToken1\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"twapPeriod\",\"type\":\"uint256\"}],\"name\":\"DeployICHIVault\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deposit0Max\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deposit1Max\",\"type\":\"uint256\"}],\"name\":\"DepositMax\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"hysteresis\",\"type\":\"uint256\"}],\"name\":\"Hysteresis\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAmount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAmount1\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount1\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalSupply\",\"type\":\"uint256\"}],\"name\":\"Rebalance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"newAuxTwapPeriod\",\"type\":\"uint32\"}],\"name\":\"SetAuxTwapPeriod\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"newTwapPeriod\",\"type\":\"uint32\"}],\"name\":\"SetTwapPeriod\",\"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\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"PRECISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"affiliate\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"algebraMintCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"algebraSwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allowToken0\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allowToken1\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":[],\"name\":\"ammFeeRecipient\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":[],\"name\":\"auxTwapPeriod\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseLower\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseUpper\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collectFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"fees0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fees1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentTick\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"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\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deposit0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deposit1\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit0Max\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit1Max\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"fee_\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBasePosition\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLimitPosition\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"total0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"total1\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"hysteresis\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ichiVaultFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"limitLower\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"limitUpper\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"_baseLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"_baseUpper\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"_limitLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"_limitUpper\",\"type\":\"int24\"},{\"internalType\":\"int256\",\"name\":\"swapQuantity\",\"type\":\"int256\"}],\"name\":\"rebalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_affiliate\",\"type\":\"address\"}],\"name\":\"setAffiliate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ammFeeRecipient\",\"type\":\"address\"}],\"name\":\"setAmmFeeRecipient\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"newAuxTwapPeriod\",\"type\":\"uint32\"}],\"name\":\"setAuxTwapPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_deposit0Max\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_deposit1Max\",\"type\":\"uint256\"}],\"name\":\"setDepositMax\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_hysteresis\",\"type\":\"uint256\"}],\"name\":\"setHysteresis\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"newTwapPeriod\",\"type\":\"uint32\"}],\"name\":\"setTwapPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"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\":[],\"name\":\"twapPeriod\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

WasabeeVaultMetaData contains all meta data concerning the WasabeeVault contract.

View Source
var WeberaVaultABI = WeberaVaultMetaData.ABI

WeberaVaultABI is the input ABI used to generate the binding from. Deprecated: Use WeberaVaultMetaData.ABI instead.

View Source
var WeberaVaultMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxDeposit\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxMint\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxRedeem\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxWithdraw\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MathOverflowedMulDiv\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldDebt\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newDebt\",\"type\":\"uint256\"}],\"name\":\"DebtUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"profit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"loss\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentDebt\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalFees\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalRefunds\",\"type\":\"uint256\"}],\"name\":\"Harvest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"StrategyAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"}],\"name\":\"StrategyRevoked\",\"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\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"oldStrategyQueue\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"newStrategyQueue\",\"type\":\"address[]\"}],\"name\":\"WithdrawQueueUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MAX_BPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_BPS_EXTENDED\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_STRATEGIES\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"accountant\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxDebt\",\"type\":\"uint256\"}],\"name\":\"addStrategy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"asset\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"closeVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"convertToAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"convertToShares\",\"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\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"strategy_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxLoss_\",\"type\":\"uint256\"}],\"name\":\"emergencyStrategy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"emergencyVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxLoss_\",\"type\":\"uint256\"}],\"name\":\"emergencyWithdrawAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fullProfitUnlockTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getHarvester\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStrategies\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getWithdrawQueue\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"strategy_\",\"type\":\"address\"}],\"name\":\"harvest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"harvestAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"harvester\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset_\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"vaultTokenName_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"vaultTokenSymbol_\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"vaultFactory_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"profitMaxUnlockTime_\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isOpened\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastProfitHarvest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minTotalIdleAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"openVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"profitMaxUnlockTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"profitUnlockingRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"}],\"name\":\"revokeStrategy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"harvester_\",\"type\":\"address\"}],\"name\":\"setHarvester\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"profitMaxUnlockTime_\",\"type\":\"uint256\"}],\"name\":\"setProfitMaxUnlockTime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"vaultRouter_\",\"type\":\"address\"}],\"name\":\"setVaultRouter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"queue\",\"type\":\"address[]\"}],\"name\":\"setWithdrawQueue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"strategies\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"strategiesLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"strategy_\",\"type\":\"address\"}],\"name\":\"strategyParams\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"isActivated\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"lastHarvest\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentDebt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxDebt\",\"type\":\"uint256\"}],\"internalType\":\"structVault.StrategyParams\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalIdleAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalOutstandingDebt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"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\":[],\"name\":\"unlockedShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"strategy_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"targetDebt_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxLoss_\",\"type\":\"uint256\"}],\"name\":\"updateDebt\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"strategy_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxDebt_\",\"type\":\"uint256\"}],\"name\":\"updateStrategyMaxDebt\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vaultRouter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdrawQueue\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawQueueLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

WeberaVaultMetaData contains all meta data concerning the WeberaVault contract.

Functions

This section is empty.

Types

type AggregatorV3 added in v0.1.14

type AggregatorV3 struct {
	AggregatorV3Caller     // Read-only binding to the contract
	AggregatorV3Transactor // Write-only binding to the contract
	AggregatorV3Filterer   // Log filterer for contract events
}

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

func NewAggregatorV3 added in v0.1.14

func NewAggregatorV3(address common.Address, backend bind.ContractBackend) (*AggregatorV3, error)

NewAggregatorV3 creates a new instance of AggregatorV3, bound to a specific deployed contract.

type AggregatorV3Caller added in v0.1.14

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

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

func NewAggregatorV3Caller added in v0.1.14

func NewAggregatorV3Caller(address common.Address, caller bind.ContractCaller) (*AggregatorV3Caller, error)

NewAggregatorV3Caller creates a new read-only instance of AggregatorV3, bound to a specific deployed contract.

func (*AggregatorV3Caller) Decimals added in v0.1.14

func (_AggregatorV3 *AggregatorV3Caller) 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 (*AggregatorV3Caller) LatestRoundData added in v0.1.14

func (_AggregatorV3 *AggregatorV3Caller) LatestRoundData(opts *bind.CallOpts) (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

LatestRoundData is a free data retrieval call binding the contract method 0xfeaf968c.

Solidity: function latestRoundData() view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

type AggregatorV3CallerRaw added in v0.1.14

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

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

func (*AggregatorV3CallerRaw) Call added in v0.1.14

func (_AggregatorV3 *AggregatorV3CallerRaw) 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 AggregatorV3CallerSession added in v0.1.14

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

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

func (*AggregatorV3CallerSession) Decimals added in v0.1.14

func (_AggregatorV3 *AggregatorV3CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*AggregatorV3CallerSession) LatestRoundData added in v0.1.14

func (_AggregatorV3 *AggregatorV3CallerSession) LatestRoundData() (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

LatestRoundData is a free data retrieval call binding the contract method 0xfeaf968c.

Solidity: function latestRoundData() view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

type AggregatorV3Filterer added in v0.1.14

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

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

func NewAggregatorV3Filterer added in v0.1.14

func NewAggregatorV3Filterer(address common.Address, filterer bind.ContractFilterer) (*AggregatorV3Filterer, error)

NewAggregatorV3Filterer creates a new log filterer instance of AggregatorV3, bound to a specific deployed contract.

type AggregatorV3Raw added in v0.1.14

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

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

func (*AggregatorV3Raw) Call added in v0.1.14

func (_AggregatorV3 *AggregatorV3Raw) 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 (*AggregatorV3Raw) Transact added in v0.1.14

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

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

func (*AggregatorV3Raw) Transfer added in v0.1.14

func (_AggregatorV3 *AggregatorV3Raw) 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 AggregatorV3Session added in v0.1.14

type AggregatorV3Session struct {
	Contract     *AggregatorV3     // 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
}

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

func (*AggregatorV3Session) Decimals added in v0.1.14

func (_AggregatorV3 *AggregatorV3Session) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*AggregatorV3Session) LatestRoundData added in v0.1.14

func (_AggregatorV3 *AggregatorV3Session) LatestRoundData() (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

LatestRoundData is a free data retrieval call binding the contract method 0xfeaf968c.

Solidity: function latestRoundData() view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

type AggregatorV3Transactor added in v0.1.14

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

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

func NewAggregatorV3Transactor added in v0.1.14

func NewAggregatorV3Transactor(address common.Address, transactor bind.ContractTransactor) (*AggregatorV3Transactor, error)

NewAggregatorV3Transactor creates a new write-only instance of AggregatorV3, bound to a specific deployed contract.

type AggregatorV3TransactorRaw added in v0.1.14

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

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

func (*AggregatorV3TransactorRaw) Transact added in v0.1.14

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

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

func (*AggregatorV3TransactorRaw) Transfer added in v0.1.14

func (_AggregatorV3 *AggregatorV3TransactorRaw) 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 AggregatorV3TransactorSession added in v0.1.14

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

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

type AquaBera added in v0.1.12

type AquaBera struct {
	AquaBeraCaller     // Read-only binding to the contract
	AquaBeraTransactor // Write-only binding to the contract
	AquaBeraFilterer   // Log filterer for contract events
}

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

func NewAquaBera added in v0.1.12

func NewAquaBera(address common.Address, backend bind.ContractBackend) (*AquaBera, error)

NewAquaBera creates a new instance of AquaBera, bound to a specific deployed contract.

type AquaBeraAffiliate added in v0.1.12

type AquaBeraAffiliate struct {
	Sender    common.Address
	Affiliate common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

AquaBeraAffiliate represents a Affiliate event raised by the AquaBera contract.

type AquaBeraAffiliateIterator added in v0.1.12

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

AquaBeraAffiliateIterator is returned from FilterAffiliate and is used to iterate over the raw logs and unpacked data for Affiliate events raised by the AquaBera contract.

func (*AquaBeraAffiliateIterator) Close added in v0.1.12

func (it *AquaBeraAffiliateIterator) Close() error

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

func (*AquaBeraAffiliateIterator) Error added in v0.1.12

func (it *AquaBeraAffiliateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AquaBeraAffiliateIterator) Next added in v0.1.12

func (it *AquaBeraAffiliateIterator) 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 AquaBeraAmmFeeRecipient added in v0.1.12

type AquaBeraAmmFeeRecipient struct {
	Sender          common.Address
	AmmFeeRecipient common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

AquaBeraAmmFeeRecipient represents a AmmFeeRecipient event raised by the AquaBera contract.

type AquaBeraAmmFeeRecipientIterator added in v0.1.12

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

AquaBeraAmmFeeRecipientIterator is returned from FilterAmmFeeRecipient and is used to iterate over the raw logs and unpacked data for AmmFeeRecipient events raised by the AquaBera contract.

func (*AquaBeraAmmFeeRecipientIterator) Close added in v0.1.12

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

func (*AquaBeraAmmFeeRecipientIterator) Error added in v0.1.12

Error returns any retrieval or parsing error occurred during filtering.

func (*AquaBeraAmmFeeRecipientIterator) Next added in v0.1.12

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 AquaBeraApproval added in v0.1.12

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

AquaBeraApproval represents a Approval event raised by the AquaBera contract.

type AquaBeraApprovalIterator added in v0.1.12

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

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

func (*AquaBeraApprovalIterator) Close added in v0.1.12

func (it *AquaBeraApprovalIterator) Close() error

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

func (*AquaBeraApprovalIterator) Error added in v0.1.12

func (it *AquaBeraApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AquaBeraApprovalIterator) Next added in v0.1.12

func (it *AquaBeraApprovalIterator) 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 AquaBeraCaller added in v0.1.12

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

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

func NewAquaBeraCaller added in v0.1.12

func NewAquaBeraCaller(address common.Address, caller bind.ContractCaller) (*AquaBeraCaller, error)

NewAquaBeraCaller creates a new read-only instance of AquaBera, bound to a specific deployed contract.

func (*AquaBeraCaller) Affiliate added in v0.1.12

func (_AquaBera *AquaBeraCaller) Affiliate(opts *bind.CallOpts) (common.Address, error)

Affiliate is a free data retrieval call binding the contract method 0x45e05f43.

Solidity: function affiliate() view returns(address)

func (*AquaBeraCaller) AllowToken0 added in v0.1.12

func (_AquaBera *AquaBeraCaller) AllowToken0(opts *bind.CallOpts) (bool, error)

AllowToken0 is a free data retrieval call binding the contract method 0x7f7a1eec.

Solidity: function allowToken0() view returns(bool)

func (*AquaBeraCaller) AllowToken1 added in v0.1.12

func (_AquaBera *AquaBeraCaller) AllowToken1(opts *bind.CallOpts) (bool, error)

AllowToken1 is a free data retrieval call binding the contract method 0x37e41b40.

Solidity: function allowToken1() view returns(bool)

func (*AquaBeraCaller) Allowance added in v0.1.12

func (_AquaBera *AquaBeraCaller) 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 (*AquaBeraCaller) AmmFeeRecipient added in v0.1.12

func (_AquaBera *AquaBeraCaller) AmmFeeRecipient(opts *bind.CallOpts) (common.Address, error)

AmmFeeRecipient is a free data retrieval call binding the contract method 0x897f078c.

Solidity: function ammFeeRecipient() view returns(address)

func (*AquaBeraCaller) AuxTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraCaller) AuxTwapPeriod(opts *bind.CallOpts) (uint32, error)

AuxTwapPeriod is a free data retrieval call binding the contract method 0x91563d32.

Solidity: function auxTwapPeriod() view returns(uint32)

func (*AquaBeraCaller) BalanceOf added in v0.1.12

func (_AquaBera *AquaBeraCaller) 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 (*AquaBeraCaller) BaseLower added in v0.1.12

func (_AquaBera *AquaBeraCaller) BaseLower(opts *bind.CallOpts) (*big.Int, error)

BaseLower is a free data retrieval call binding the contract method 0xfa082743.

Solidity: function baseLower() view returns(int24)

func (*AquaBeraCaller) BaseUpper added in v0.1.12

func (_AquaBera *AquaBeraCaller) BaseUpper(opts *bind.CallOpts) (*big.Int, error)

BaseUpper is a free data retrieval call binding the contract method 0x888a9134.

Solidity: function baseUpper() view returns(int24)

func (*AquaBeraCaller) CurrentTick added in v0.1.12

func (_AquaBera *AquaBeraCaller) CurrentTick(opts *bind.CallOpts) (*big.Int, error)

CurrentTick is a free data retrieval call binding the contract method 0x065e5360.

Solidity: function currentTick() view returns(int24 tick)

func (*AquaBeraCaller) Decimals added in v0.1.12

func (_AquaBera *AquaBeraCaller) 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 (*AquaBeraCaller) Deposit0Max added in v0.1.12

func (_AquaBera *AquaBeraCaller) Deposit0Max(opts *bind.CallOpts) (*big.Int, error)

Deposit0Max is a free data retrieval call binding the contract method 0x648cab85.

Solidity: function deposit0Max() view returns(uint256)

func (*AquaBeraCaller) Deposit1Max added in v0.1.12

func (_AquaBera *AquaBeraCaller) Deposit1Max(opts *bind.CallOpts) (*big.Int, error)

Deposit1Max is a free data retrieval call binding the contract method 0x4d461fbb.

Solidity: function deposit1Max() view returns(uint256)

func (*AquaBeraCaller) Fee added in v0.1.12

func (_AquaBera *AquaBeraCaller) Fee(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function fee() view returns(uint24)

func (*AquaBeraCaller) GetBasePosition added in v0.1.12

func (_AquaBera *AquaBeraCaller) GetBasePosition(opts *bind.CallOpts) (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetBasePosition is a free data retrieval call binding the contract method 0xd2eabcfc.

Solidity: function getBasePosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*AquaBeraCaller) GetLimitPosition added in v0.1.12

func (_AquaBera *AquaBeraCaller) GetLimitPosition(opts *bind.CallOpts) (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetLimitPosition is a free data retrieval call binding the contract method 0xa049de6b.

Solidity: function getLimitPosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*AquaBeraCaller) GetTotalAmounts added in v0.1.12

func (_AquaBera *AquaBeraCaller) GetTotalAmounts(opts *bind.CallOpts) (struct {
	Total0 *big.Int
	Total1 *big.Int
}, error)

GetTotalAmounts is a free data retrieval call binding the contract method 0xc4a7761e.

Solidity: function getTotalAmounts() view returns(uint256 total0, uint256 total1)

func (*AquaBeraCaller) Hysteresis added in v0.1.12

func (_AquaBera *AquaBeraCaller) Hysteresis(opts *bind.CallOpts) (*big.Int, error)

Hysteresis is a free data retrieval call binding the contract method 0x7aea5309.

Solidity: function hysteresis() view returns(uint256)

func (*AquaBeraCaller) IchiVaultFactory added in v0.1.12

func (_AquaBera *AquaBeraCaller) IchiVaultFactory(opts *bind.CallOpts) (common.Address, error)

IchiVaultFactory is a free data retrieval call binding the contract method 0xdd81fa63.

Solidity: function ichiVaultFactory() view returns(address)

func (*AquaBeraCaller) LimitLower added in v0.1.12

func (_AquaBera *AquaBeraCaller) LimitLower(opts *bind.CallOpts) (*big.Int, error)

LimitLower is a free data retrieval call binding the contract method 0x51e87af7.

Solidity: function limitLower() view returns(int24)

func (*AquaBeraCaller) LimitUpper added in v0.1.12

func (_AquaBera *AquaBeraCaller) LimitUpper(opts *bind.CallOpts) (*big.Int, error)

LimitUpper is a free data retrieval call binding the contract method 0x0f35bcac.

Solidity: function limitUpper() view returns(int24)

func (*AquaBeraCaller) Name added in v0.1.12

func (_AquaBera *AquaBeraCaller) 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 (*AquaBeraCaller) Owner added in v0.1.12

func (_AquaBera *AquaBeraCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AquaBeraCaller) PRECISION added in v0.1.12

func (_AquaBera *AquaBeraCaller) PRECISION(opts *bind.CallOpts) (*big.Int, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(uint256)

func (*AquaBeraCaller) Pool added in v0.1.12

func (_AquaBera *AquaBeraCaller) 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 (*AquaBeraCaller) Symbol added in v0.1.12

func (_AquaBera *AquaBeraCaller) 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 (*AquaBeraCaller) TickSpacing added in v0.1.12

func (_AquaBera *AquaBeraCaller) TickSpacing(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function tickSpacing() view returns(int24)

func (*AquaBeraCaller) Token0 added in v0.1.12

func (_AquaBera *AquaBeraCaller) 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 (*AquaBeraCaller) Token1 added in v0.1.12

func (_AquaBera *AquaBeraCaller) 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 (*AquaBeraCaller) TotalSupply added in v0.1.12

func (_AquaBera *AquaBeraCaller) 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 (*AquaBeraCaller) TwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraCaller) TwapPeriod(opts *bind.CallOpts) (uint32, error)

TwapPeriod is a free data retrieval call binding the contract method 0xf6207326.

Solidity: function twapPeriod() view returns(uint32)

type AquaBeraCallerRaw added in v0.1.12

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

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

func (*AquaBeraCallerRaw) Call added in v0.1.12

func (_AquaBera *AquaBeraCallerRaw) 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 AquaBeraCallerSession added in v0.1.12

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

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

func (*AquaBeraCallerSession) Affiliate added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) Affiliate() (common.Address, error)

Affiliate is a free data retrieval call binding the contract method 0x45e05f43.

Solidity: function affiliate() view returns(address)

func (*AquaBeraCallerSession) AllowToken0 added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) AllowToken0() (bool, error)

AllowToken0 is a free data retrieval call binding the contract method 0x7f7a1eec.

Solidity: function allowToken0() view returns(bool)

func (*AquaBeraCallerSession) AllowToken1 added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) AllowToken1() (bool, error)

AllowToken1 is a free data retrieval call binding the contract method 0x37e41b40.

Solidity: function allowToken1() view returns(bool)

func (*AquaBeraCallerSession) Allowance added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) 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 (*AquaBeraCallerSession) AmmFeeRecipient added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) AmmFeeRecipient() (common.Address, error)

AmmFeeRecipient is a free data retrieval call binding the contract method 0x897f078c.

Solidity: function ammFeeRecipient() view returns(address)

func (*AquaBeraCallerSession) AuxTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) AuxTwapPeriod() (uint32, error)

AuxTwapPeriod is a free data retrieval call binding the contract method 0x91563d32.

Solidity: function auxTwapPeriod() view returns(uint32)

func (*AquaBeraCallerSession) BalanceOf added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) 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 (*AquaBeraCallerSession) BaseLower added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) BaseLower() (*big.Int, error)

BaseLower is a free data retrieval call binding the contract method 0xfa082743.

Solidity: function baseLower() view returns(int24)

func (*AquaBeraCallerSession) BaseUpper added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) BaseUpper() (*big.Int, error)

BaseUpper is a free data retrieval call binding the contract method 0x888a9134.

Solidity: function baseUpper() view returns(int24)

func (*AquaBeraCallerSession) CurrentTick added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) CurrentTick() (*big.Int, error)

CurrentTick is a free data retrieval call binding the contract method 0x065e5360.

Solidity: function currentTick() view returns(int24 tick)

func (*AquaBeraCallerSession) Decimals added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*AquaBeraCallerSession) Deposit0Max added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) Deposit0Max() (*big.Int, error)

Deposit0Max is a free data retrieval call binding the contract method 0x648cab85.

Solidity: function deposit0Max() view returns(uint256)

func (*AquaBeraCallerSession) Deposit1Max added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) Deposit1Max() (*big.Int, error)

Deposit1Max is a free data retrieval call binding the contract method 0x4d461fbb.

Solidity: function deposit1Max() view returns(uint256)

func (*AquaBeraCallerSession) Fee added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) Fee() (*big.Int, error)

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

Solidity: function fee() view returns(uint24)

func (*AquaBeraCallerSession) GetBasePosition added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) GetBasePosition() (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetBasePosition is a free data retrieval call binding the contract method 0xd2eabcfc.

Solidity: function getBasePosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*AquaBeraCallerSession) GetLimitPosition added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) GetLimitPosition() (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetLimitPosition is a free data retrieval call binding the contract method 0xa049de6b.

Solidity: function getLimitPosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*AquaBeraCallerSession) GetTotalAmounts added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) GetTotalAmounts() (struct {
	Total0 *big.Int
	Total1 *big.Int
}, error)

GetTotalAmounts is a free data retrieval call binding the contract method 0xc4a7761e.

Solidity: function getTotalAmounts() view returns(uint256 total0, uint256 total1)

func (*AquaBeraCallerSession) Hysteresis added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) Hysteresis() (*big.Int, error)

Hysteresis is a free data retrieval call binding the contract method 0x7aea5309.

Solidity: function hysteresis() view returns(uint256)

func (*AquaBeraCallerSession) IchiVaultFactory added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) IchiVaultFactory() (common.Address, error)

IchiVaultFactory is a free data retrieval call binding the contract method 0xdd81fa63.

Solidity: function ichiVaultFactory() view returns(address)

func (*AquaBeraCallerSession) LimitLower added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) LimitLower() (*big.Int, error)

LimitLower is a free data retrieval call binding the contract method 0x51e87af7.

Solidity: function limitLower() view returns(int24)

func (*AquaBeraCallerSession) LimitUpper added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) LimitUpper() (*big.Int, error)

LimitUpper is a free data retrieval call binding the contract method 0x0f35bcac.

Solidity: function limitUpper() view returns(int24)

func (*AquaBeraCallerSession) Name added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*AquaBeraCallerSession) Owner added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AquaBeraCallerSession) PRECISION added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) PRECISION() (*big.Int, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(uint256)

func (*AquaBeraCallerSession) Pool added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*AquaBeraCallerSession) Symbol added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*AquaBeraCallerSession) TickSpacing added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) TickSpacing() (*big.Int, error)

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

Solidity: function tickSpacing() view returns(int24)

func (*AquaBeraCallerSession) Token0 added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*AquaBeraCallerSession) Token1 added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*AquaBeraCallerSession) TotalSupply added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*AquaBeraCallerSession) TwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraCallerSession) TwapPeriod() (uint32, error)

TwapPeriod is a free data retrieval call binding the contract method 0xf6207326.

Solidity: function twapPeriod() view returns(uint32)

type AquaBeraCollectFees added in v0.1.12

type AquaBeraCollectFees struct {
	Sender     common.Address
	FeeAmount0 *big.Int
	FeeAmount1 *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

AquaBeraCollectFees represents a CollectFees event raised by the AquaBera contract.

type AquaBeraCollectFeesIterator added in v0.1.12

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

AquaBeraCollectFeesIterator is returned from FilterCollectFees and is used to iterate over the raw logs and unpacked data for CollectFees events raised by the AquaBera contract.

func (*AquaBeraCollectFeesIterator) Close added in v0.1.12

func (it *AquaBeraCollectFeesIterator) Close() error

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

func (*AquaBeraCollectFeesIterator) Error added in v0.1.12

func (it *AquaBeraCollectFeesIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AquaBeraCollectFeesIterator) Next added in v0.1.12

func (it *AquaBeraCollectFeesIterator) 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 AquaBeraDeployICHIVault added in v0.1.12

type AquaBeraDeployICHIVault struct {
	Sender      common.Address
	Pool        common.Address
	AllowToken0 bool
	AllowToken1 bool
	Owner       common.Address
	TwapPeriod  *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

AquaBeraDeployICHIVault represents a DeployICHIVault event raised by the AquaBera contract.

type AquaBeraDeployICHIVaultIterator added in v0.1.12

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

AquaBeraDeployICHIVaultIterator is returned from FilterDeployICHIVault and is used to iterate over the raw logs and unpacked data for DeployICHIVault events raised by the AquaBera contract.

func (*AquaBeraDeployICHIVaultIterator) Close added in v0.1.12

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

func (*AquaBeraDeployICHIVaultIterator) Error added in v0.1.12

Error returns any retrieval or parsing error occurred during filtering.

func (*AquaBeraDeployICHIVaultIterator) Next added in v0.1.12

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 AquaBeraDeposit added in v0.1.12

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

AquaBeraDeposit represents a Deposit event raised by the AquaBera contract.

type AquaBeraDepositIterator added in v0.1.12

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

AquaBeraDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the AquaBera contract.

func (*AquaBeraDepositIterator) Close added in v0.1.12

func (it *AquaBeraDepositIterator) Close() error

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

func (*AquaBeraDepositIterator) Error added in v0.1.12

func (it *AquaBeraDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AquaBeraDepositIterator) Next added in v0.1.12

func (it *AquaBeraDepositIterator) 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 AquaBeraDepositMax added in v0.1.12

type AquaBeraDepositMax struct {
	Sender      common.Address
	Deposit0Max *big.Int
	Deposit1Max *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

AquaBeraDepositMax represents a DepositMax event raised by the AquaBera contract.

type AquaBeraDepositMaxIterator added in v0.1.12

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

AquaBeraDepositMaxIterator is returned from FilterDepositMax and is used to iterate over the raw logs and unpacked data for DepositMax events raised by the AquaBera contract.

func (*AquaBeraDepositMaxIterator) Close added in v0.1.12

func (it *AquaBeraDepositMaxIterator) Close() error

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

func (*AquaBeraDepositMaxIterator) Error added in v0.1.12

func (it *AquaBeraDepositMaxIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AquaBeraDepositMaxIterator) Next added in v0.1.12

func (it *AquaBeraDepositMaxIterator) 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 AquaBeraFilterer added in v0.1.12

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

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

func NewAquaBeraFilterer added in v0.1.12

func NewAquaBeraFilterer(address common.Address, filterer bind.ContractFilterer) (*AquaBeraFilterer, error)

NewAquaBeraFilterer creates a new log filterer instance of AquaBera, bound to a specific deployed contract.

func (*AquaBeraFilterer) FilterAffiliate added in v0.1.12

func (_AquaBera *AquaBeraFilterer) FilterAffiliate(opts *bind.FilterOpts, sender []common.Address) (*AquaBeraAffiliateIterator, error)

FilterAffiliate is a free log retrieval operation binding the contract event 0x3066ef5dd340e8b2ea28d62f5a8391eb7a82d3ee87532724a1ca4386d34f7523.

Solidity: event Affiliate(address indexed sender, address affiliate)

func (*AquaBeraFilterer) FilterAmmFeeRecipient added in v0.1.12

func (_AquaBera *AquaBeraFilterer) FilterAmmFeeRecipient(opts *bind.FilterOpts, sender []common.Address) (*AquaBeraAmmFeeRecipientIterator, error)

FilterAmmFeeRecipient is a free log retrieval operation binding the contract event 0xbb78b7c13893a913fa8c9ecb9fdaf97597aa412a39c778bf976790555f0942f7.

Solidity: event AmmFeeRecipient(address indexed sender, address ammFeeRecipient)

func (*AquaBeraFilterer) FilterApproval added in v0.1.12

func (_AquaBera *AquaBeraFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*AquaBeraApprovalIterator, 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 (*AquaBeraFilterer) FilterCollectFees added in v0.1.12

func (_AquaBera *AquaBeraFilterer) FilterCollectFees(opts *bind.FilterOpts, sender []common.Address) (*AquaBeraCollectFeesIterator, error)

FilterCollectFees is a free log retrieval operation binding the contract event 0xec8208dd791fa8ffdc0d7427f3ba9c0ed06f1bce9a86254e6940c10cc1802fef.

Solidity: event CollectFees(address indexed sender, uint256 feeAmount0, uint256 feeAmount1)

func (*AquaBeraFilterer) FilterDeployICHIVault added in v0.1.12

func (_AquaBera *AquaBeraFilterer) FilterDeployICHIVault(opts *bind.FilterOpts, sender []common.Address, pool []common.Address) (*AquaBeraDeployICHIVaultIterator, error)

FilterDeployICHIVault is a free log retrieval operation binding the contract event 0x3e708ccf7d0e6de8558e020ea36189511cb3435bbfec54e721a48ee4df0d4f8c.

Solidity: event DeployICHIVault(address indexed sender, address indexed pool, bool allowToken0, bool allowToken1, address owner, uint256 twapPeriod)

func (*AquaBeraFilterer) FilterDeposit added in v0.1.12

func (_AquaBera *AquaBeraFilterer) FilterDeposit(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*AquaBeraDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x4e2ca0515ed1aef1395f66b5303bb5d6f1bf9d61a353fa53f73f8ac9973fa9f6.

Solidity: event Deposit(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*AquaBeraFilterer) FilterDepositMax added in v0.1.12

func (_AquaBera *AquaBeraFilterer) FilterDepositMax(opts *bind.FilterOpts, sender []common.Address) (*AquaBeraDepositMaxIterator, error)

FilterDepositMax is a free log retrieval operation binding the contract event 0xafd3b05a4086b378b6f291200a528d8aed8c5e0317af77436b001f1bec28821a.

Solidity: event DepositMax(address indexed sender, uint256 deposit0Max, uint256 deposit1Max)

func (*AquaBeraFilterer) FilterHysteresis added in v0.1.12

func (_AquaBera *AquaBeraFilterer) FilterHysteresis(opts *bind.FilterOpts, sender []common.Address) (*AquaBeraHysteresisIterator, error)

FilterHysteresis is a free log retrieval operation binding the contract event 0x529698f34660760dcb172def5c99d62e1b5b74b444df322e8f7da31f2bd0a86b.

Solidity: event Hysteresis(address indexed sender, uint256 hysteresis)

func (*AquaBeraFilterer) FilterOwnershipTransferred added in v0.1.12

func (_AquaBera *AquaBeraFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AquaBeraOwnershipTransferredIterator, error)

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

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

func (*AquaBeraFilterer) FilterRebalance added in v0.1.12

func (_AquaBera *AquaBeraFilterer) FilterRebalance(opts *bind.FilterOpts) (*AquaBeraRebalanceIterator, error)

FilterRebalance is a free log retrieval operation binding the contract event 0xbc4c20ad04f161d631d9ce94d27659391196415aa3c42f6a71c62e905ece782d.

Solidity: event Rebalance(int24 tick, uint256 totalAmount0, uint256 totalAmount1, uint256 feeAmount0, uint256 feeAmount1, uint256 totalSupply)

func (*AquaBeraFilterer) FilterSetAuxTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraFilterer) FilterSetAuxTwapPeriod(opts *bind.FilterOpts) (*AquaBeraSetAuxTwapPeriodIterator, error)

FilterSetAuxTwapPeriod is a free log retrieval operation binding the contract event 0x39da19f5960a3f182ced1ff1853b7be54f37150799b3003a40bf4e0d4c740c85.

Solidity: event SetAuxTwapPeriod(address sender, uint32 newAuxTwapPeriod)

func (*AquaBeraFilterer) FilterSetTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraFilterer) FilterSetTwapPeriod(opts *bind.FilterOpts) (*AquaBeraSetTwapPeriodIterator, error)

FilterSetTwapPeriod is a free log retrieval operation binding the contract event 0xe4c60f4984caeb7f45b0cfe6d4233c115601ab11d141bc2cbf68b48346cdef38.

Solidity: event SetTwapPeriod(address sender, uint32 newTwapPeriod)

func (*AquaBeraFilterer) FilterTransfer added in v0.1.12

func (_AquaBera *AquaBeraFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*AquaBeraTransferIterator, 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 (*AquaBeraFilterer) FilterWithdraw added in v0.1.12

func (_AquaBera *AquaBeraFilterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*AquaBeraWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xebff2602b3f468259e1e99f613fed6691f3a6526effe6ef3e768ba7ae7a36c4f.

Solidity: event Withdraw(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*AquaBeraFilterer) ParseAffiliate added in v0.1.12

func (_AquaBera *AquaBeraFilterer) ParseAffiliate(log types.Log) (*AquaBeraAffiliate, error)

ParseAffiliate is a log parse operation binding the contract event 0x3066ef5dd340e8b2ea28d62f5a8391eb7a82d3ee87532724a1ca4386d34f7523.

Solidity: event Affiliate(address indexed sender, address affiliate)

func (*AquaBeraFilterer) ParseAmmFeeRecipient added in v0.1.12

func (_AquaBera *AquaBeraFilterer) ParseAmmFeeRecipient(log types.Log) (*AquaBeraAmmFeeRecipient, error)

ParseAmmFeeRecipient is a log parse operation binding the contract event 0xbb78b7c13893a913fa8c9ecb9fdaf97597aa412a39c778bf976790555f0942f7.

Solidity: event AmmFeeRecipient(address indexed sender, address ammFeeRecipient)

func (*AquaBeraFilterer) ParseApproval added in v0.1.12

func (_AquaBera *AquaBeraFilterer) ParseApproval(log types.Log) (*AquaBeraApproval, error)

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

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

func (*AquaBeraFilterer) ParseCollectFees added in v0.1.12

func (_AquaBera *AquaBeraFilterer) ParseCollectFees(log types.Log) (*AquaBeraCollectFees, error)

ParseCollectFees is a log parse operation binding the contract event 0xec8208dd791fa8ffdc0d7427f3ba9c0ed06f1bce9a86254e6940c10cc1802fef.

Solidity: event CollectFees(address indexed sender, uint256 feeAmount0, uint256 feeAmount1)

func (*AquaBeraFilterer) ParseDeployICHIVault added in v0.1.12

func (_AquaBera *AquaBeraFilterer) ParseDeployICHIVault(log types.Log) (*AquaBeraDeployICHIVault, error)

ParseDeployICHIVault is a log parse operation binding the contract event 0x3e708ccf7d0e6de8558e020ea36189511cb3435bbfec54e721a48ee4df0d4f8c.

Solidity: event DeployICHIVault(address indexed sender, address indexed pool, bool allowToken0, bool allowToken1, address owner, uint256 twapPeriod)

func (*AquaBeraFilterer) ParseDeposit added in v0.1.12

func (_AquaBera *AquaBeraFilterer) ParseDeposit(log types.Log) (*AquaBeraDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0x4e2ca0515ed1aef1395f66b5303bb5d6f1bf9d61a353fa53f73f8ac9973fa9f6.

Solidity: event Deposit(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*AquaBeraFilterer) ParseDepositMax added in v0.1.12

func (_AquaBera *AquaBeraFilterer) ParseDepositMax(log types.Log) (*AquaBeraDepositMax, error)

ParseDepositMax is a log parse operation binding the contract event 0xafd3b05a4086b378b6f291200a528d8aed8c5e0317af77436b001f1bec28821a.

Solidity: event DepositMax(address indexed sender, uint256 deposit0Max, uint256 deposit1Max)

func (*AquaBeraFilterer) ParseHysteresis added in v0.1.12

func (_AquaBera *AquaBeraFilterer) ParseHysteresis(log types.Log) (*AquaBeraHysteresis, error)

ParseHysteresis is a log parse operation binding the contract event 0x529698f34660760dcb172def5c99d62e1b5b74b444df322e8f7da31f2bd0a86b.

Solidity: event Hysteresis(address indexed sender, uint256 hysteresis)

func (*AquaBeraFilterer) ParseOwnershipTransferred added in v0.1.12

func (_AquaBera *AquaBeraFilterer) ParseOwnershipTransferred(log types.Log) (*AquaBeraOwnershipTransferred, error)

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

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

func (*AquaBeraFilterer) ParseRebalance added in v0.1.12

func (_AquaBera *AquaBeraFilterer) ParseRebalance(log types.Log) (*AquaBeraRebalance, error)

ParseRebalance is a log parse operation binding the contract event 0xbc4c20ad04f161d631d9ce94d27659391196415aa3c42f6a71c62e905ece782d.

Solidity: event Rebalance(int24 tick, uint256 totalAmount0, uint256 totalAmount1, uint256 feeAmount0, uint256 feeAmount1, uint256 totalSupply)

func (*AquaBeraFilterer) ParseSetAuxTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraFilterer) ParseSetAuxTwapPeriod(log types.Log) (*AquaBeraSetAuxTwapPeriod, error)

ParseSetAuxTwapPeriod is a log parse operation binding the contract event 0x39da19f5960a3f182ced1ff1853b7be54f37150799b3003a40bf4e0d4c740c85.

Solidity: event SetAuxTwapPeriod(address sender, uint32 newAuxTwapPeriod)

func (*AquaBeraFilterer) ParseSetTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraFilterer) ParseSetTwapPeriod(log types.Log) (*AquaBeraSetTwapPeriod, error)

ParseSetTwapPeriod is a log parse operation binding the contract event 0xe4c60f4984caeb7f45b0cfe6d4233c115601ab11d141bc2cbf68b48346cdef38.

Solidity: event SetTwapPeriod(address sender, uint32 newTwapPeriod)

func (*AquaBeraFilterer) ParseTransfer added in v0.1.12

func (_AquaBera *AquaBeraFilterer) ParseTransfer(log types.Log) (*AquaBeraTransfer, error)

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

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

func (*AquaBeraFilterer) ParseWithdraw added in v0.1.12

func (_AquaBera *AquaBeraFilterer) ParseWithdraw(log types.Log) (*AquaBeraWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xebff2602b3f468259e1e99f613fed6691f3a6526effe6ef3e768ba7ae7a36c4f.

Solidity: event Withdraw(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*AquaBeraFilterer) WatchAffiliate added in v0.1.12

func (_AquaBera *AquaBeraFilterer) WatchAffiliate(opts *bind.WatchOpts, sink chan<- *AquaBeraAffiliate, sender []common.Address) (event.Subscription, error)

WatchAffiliate is a free log subscription operation binding the contract event 0x3066ef5dd340e8b2ea28d62f5a8391eb7a82d3ee87532724a1ca4386d34f7523.

Solidity: event Affiliate(address indexed sender, address affiliate)

func (*AquaBeraFilterer) WatchAmmFeeRecipient added in v0.1.12

func (_AquaBera *AquaBeraFilterer) WatchAmmFeeRecipient(opts *bind.WatchOpts, sink chan<- *AquaBeraAmmFeeRecipient, sender []common.Address) (event.Subscription, error)

WatchAmmFeeRecipient is a free log subscription operation binding the contract event 0xbb78b7c13893a913fa8c9ecb9fdaf97597aa412a39c778bf976790555f0942f7.

Solidity: event AmmFeeRecipient(address indexed sender, address ammFeeRecipient)

func (*AquaBeraFilterer) WatchApproval added in v0.1.12

func (_AquaBera *AquaBeraFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *AquaBeraApproval, 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 (*AquaBeraFilterer) WatchCollectFees added in v0.1.12

func (_AquaBera *AquaBeraFilterer) WatchCollectFees(opts *bind.WatchOpts, sink chan<- *AquaBeraCollectFees, sender []common.Address) (event.Subscription, error)

WatchCollectFees is a free log subscription operation binding the contract event 0xec8208dd791fa8ffdc0d7427f3ba9c0ed06f1bce9a86254e6940c10cc1802fef.

Solidity: event CollectFees(address indexed sender, uint256 feeAmount0, uint256 feeAmount1)

func (*AquaBeraFilterer) WatchDeployICHIVault added in v0.1.12

func (_AquaBera *AquaBeraFilterer) WatchDeployICHIVault(opts *bind.WatchOpts, sink chan<- *AquaBeraDeployICHIVault, sender []common.Address, pool []common.Address) (event.Subscription, error)

WatchDeployICHIVault is a free log subscription operation binding the contract event 0x3e708ccf7d0e6de8558e020ea36189511cb3435bbfec54e721a48ee4df0d4f8c.

Solidity: event DeployICHIVault(address indexed sender, address indexed pool, bool allowToken0, bool allowToken1, address owner, uint256 twapPeriod)

func (*AquaBeraFilterer) WatchDeposit added in v0.1.12

func (_AquaBera *AquaBeraFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *AquaBeraDeposit, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x4e2ca0515ed1aef1395f66b5303bb5d6f1bf9d61a353fa53f73f8ac9973fa9f6.

Solidity: event Deposit(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*AquaBeraFilterer) WatchDepositMax added in v0.1.12

func (_AquaBera *AquaBeraFilterer) WatchDepositMax(opts *bind.WatchOpts, sink chan<- *AquaBeraDepositMax, sender []common.Address) (event.Subscription, error)

WatchDepositMax is a free log subscription operation binding the contract event 0xafd3b05a4086b378b6f291200a528d8aed8c5e0317af77436b001f1bec28821a.

Solidity: event DepositMax(address indexed sender, uint256 deposit0Max, uint256 deposit1Max)

func (*AquaBeraFilterer) WatchHysteresis added in v0.1.12

func (_AquaBera *AquaBeraFilterer) WatchHysteresis(opts *bind.WatchOpts, sink chan<- *AquaBeraHysteresis, sender []common.Address) (event.Subscription, error)

WatchHysteresis is a free log subscription operation binding the contract event 0x529698f34660760dcb172def5c99d62e1b5b74b444df322e8f7da31f2bd0a86b.

Solidity: event Hysteresis(address indexed sender, uint256 hysteresis)

func (*AquaBeraFilterer) WatchOwnershipTransferred added in v0.1.12

func (_AquaBera *AquaBeraFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AquaBeraOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*AquaBeraFilterer) WatchRebalance added in v0.1.12

func (_AquaBera *AquaBeraFilterer) WatchRebalance(opts *bind.WatchOpts, sink chan<- *AquaBeraRebalance) (event.Subscription, error)

WatchRebalance is a free log subscription operation binding the contract event 0xbc4c20ad04f161d631d9ce94d27659391196415aa3c42f6a71c62e905ece782d.

Solidity: event Rebalance(int24 tick, uint256 totalAmount0, uint256 totalAmount1, uint256 feeAmount0, uint256 feeAmount1, uint256 totalSupply)

func (*AquaBeraFilterer) WatchSetAuxTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraFilterer) WatchSetAuxTwapPeriod(opts *bind.WatchOpts, sink chan<- *AquaBeraSetAuxTwapPeriod) (event.Subscription, error)

WatchSetAuxTwapPeriod is a free log subscription operation binding the contract event 0x39da19f5960a3f182ced1ff1853b7be54f37150799b3003a40bf4e0d4c740c85.

Solidity: event SetAuxTwapPeriod(address sender, uint32 newAuxTwapPeriod)

func (*AquaBeraFilterer) WatchSetTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraFilterer) WatchSetTwapPeriod(opts *bind.WatchOpts, sink chan<- *AquaBeraSetTwapPeriod) (event.Subscription, error)

WatchSetTwapPeriod is a free log subscription operation binding the contract event 0xe4c60f4984caeb7f45b0cfe6d4233c115601ab11d141bc2cbf68b48346cdef38.

Solidity: event SetTwapPeriod(address sender, uint32 newTwapPeriod)

func (*AquaBeraFilterer) WatchTransfer added in v0.1.12

func (_AquaBera *AquaBeraFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *AquaBeraTransfer, 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 (*AquaBeraFilterer) WatchWithdraw added in v0.1.12

func (_AquaBera *AquaBeraFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *AquaBeraWithdraw, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xebff2602b3f468259e1e99f613fed6691f3a6526effe6ef3e768ba7ae7a36c4f.

Solidity: event Withdraw(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

type AquaBeraHysteresis added in v0.1.12

type AquaBeraHysteresis struct {
	Sender     common.Address
	Hysteresis *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

AquaBeraHysteresis represents a Hysteresis event raised by the AquaBera contract.

type AquaBeraHysteresisIterator added in v0.1.12

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

AquaBeraHysteresisIterator is returned from FilterHysteresis and is used to iterate over the raw logs and unpacked data for Hysteresis events raised by the AquaBera contract.

func (*AquaBeraHysteresisIterator) Close added in v0.1.12

func (it *AquaBeraHysteresisIterator) Close() error

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

func (*AquaBeraHysteresisIterator) Error added in v0.1.12

func (it *AquaBeraHysteresisIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AquaBeraHysteresisIterator) Next added in v0.1.12

func (it *AquaBeraHysteresisIterator) 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 AquaBeraOwnershipTransferred added in v0.1.12

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

AquaBeraOwnershipTransferred represents a OwnershipTransferred event raised by the AquaBera contract.

type AquaBeraOwnershipTransferredIterator added in v0.1.12

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

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

func (*AquaBeraOwnershipTransferredIterator) Close added in v0.1.12

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

func (*AquaBeraOwnershipTransferredIterator) Error added in v0.1.12

Error returns any retrieval or parsing error occurred during filtering.

func (*AquaBeraOwnershipTransferredIterator) Next added in v0.1.12

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 AquaBeraRaw added in v0.1.12

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

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

func (*AquaBeraRaw) Call added in v0.1.12

func (_AquaBera *AquaBeraRaw) 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 (*AquaBeraRaw) Transact added in v0.1.12

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

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

func (*AquaBeraRaw) Transfer added in v0.1.12

func (_AquaBera *AquaBeraRaw) 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 AquaBeraRebalance added in v0.1.12

type AquaBeraRebalance struct {
	Tick         *big.Int
	TotalAmount0 *big.Int
	TotalAmount1 *big.Int
	FeeAmount0   *big.Int
	FeeAmount1   *big.Int
	TotalSupply  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

AquaBeraRebalance represents a Rebalance event raised by the AquaBera contract.

type AquaBeraRebalanceIterator added in v0.1.12

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

AquaBeraRebalanceIterator is returned from FilterRebalance and is used to iterate over the raw logs and unpacked data for Rebalance events raised by the AquaBera contract.

func (*AquaBeraRebalanceIterator) Close added in v0.1.12

func (it *AquaBeraRebalanceIterator) Close() error

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

func (*AquaBeraRebalanceIterator) Error added in v0.1.12

func (it *AquaBeraRebalanceIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AquaBeraRebalanceIterator) Next added in v0.1.12

func (it *AquaBeraRebalanceIterator) 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 AquaBeraSession added in v0.1.12

type AquaBeraSession struct {
	Contract     *AquaBera         // 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
}

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

func (*AquaBeraSession) Affiliate added in v0.1.12

func (_AquaBera *AquaBeraSession) Affiliate() (common.Address, error)

Affiliate is a free data retrieval call binding the contract method 0x45e05f43.

Solidity: function affiliate() view returns(address)

func (*AquaBeraSession) AllowToken0 added in v0.1.12

func (_AquaBera *AquaBeraSession) AllowToken0() (bool, error)

AllowToken0 is a free data retrieval call binding the contract method 0x7f7a1eec.

Solidity: function allowToken0() view returns(bool)

func (*AquaBeraSession) AllowToken1 added in v0.1.12

func (_AquaBera *AquaBeraSession) AllowToken1() (bool, error)

AllowToken1 is a free data retrieval call binding the contract method 0x37e41b40.

Solidity: function allowToken1() view returns(bool)

func (*AquaBeraSession) Allowance added in v0.1.12

func (_AquaBera *AquaBeraSession) 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 (*AquaBeraSession) AmmFeeRecipient added in v0.1.12

func (_AquaBera *AquaBeraSession) AmmFeeRecipient() (common.Address, error)

AmmFeeRecipient is a free data retrieval call binding the contract method 0x897f078c.

Solidity: function ammFeeRecipient() view returns(address)

func (*AquaBeraSession) Approve added in v0.1.12

func (_AquaBera *AquaBeraSession) 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 (*AquaBeraSession) AuxTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraSession) AuxTwapPeriod() (uint32, error)

AuxTwapPeriod is a free data retrieval call binding the contract method 0x91563d32.

Solidity: function auxTwapPeriod() view returns(uint32)

func (*AquaBeraSession) BalanceOf added in v0.1.12

func (_AquaBera *AquaBeraSession) 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 (*AquaBeraSession) BaseLower added in v0.1.12

func (_AquaBera *AquaBeraSession) BaseLower() (*big.Int, error)

BaseLower is a free data retrieval call binding the contract method 0xfa082743.

Solidity: function baseLower() view returns(int24)

func (*AquaBeraSession) BaseUpper added in v0.1.12

func (_AquaBera *AquaBeraSession) BaseUpper() (*big.Int, error)

BaseUpper is a free data retrieval call binding the contract method 0x888a9134.

Solidity: function baseUpper() view returns(int24)

func (*AquaBeraSession) CollectFees added in v0.1.12

func (_AquaBera *AquaBeraSession) CollectFees() (*types.Transaction, error)

CollectFees is a paid mutator transaction binding the contract method 0xc8796572.

Solidity: function collectFees() returns(uint256 fees0, uint256 fees1)

func (*AquaBeraSession) CurrentTick added in v0.1.12

func (_AquaBera *AquaBeraSession) CurrentTick() (*big.Int, error)

CurrentTick is a free data retrieval call binding the contract method 0x065e5360.

Solidity: function currentTick() view returns(int24 tick)

func (*AquaBeraSession) Decimals added in v0.1.12

func (_AquaBera *AquaBeraSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*AquaBeraSession) DecreaseAllowance added in v0.1.12

func (_AquaBera *AquaBeraSession) 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 (*AquaBeraSession) Deposit added in v0.1.12

func (_AquaBera *AquaBeraSession) Deposit(deposit0 *big.Int, deposit1 *big.Int, to common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8dbdbe6d.

Solidity: function deposit(uint256 deposit0, uint256 deposit1, address to) returns(uint256 shares)

func (*AquaBeraSession) Deposit0Max added in v0.1.12

func (_AquaBera *AquaBeraSession) Deposit0Max() (*big.Int, error)

Deposit0Max is a free data retrieval call binding the contract method 0x648cab85.

Solidity: function deposit0Max() view returns(uint256)

func (*AquaBeraSession) Deposit1Max added in v0.1.12

func (_AquaBera *AquaBeraSession) Deposit1Max() (*big.Int, error)

Deposit1Max is a free data retrieval call binding the contract method 0x4d461fbb.

Solidity: function deposit1Max() view returns(uint256)

func (*AquaBeraSession) Fee added in v0.1.12

func (_AquaBera *AquaBeraSession) Fee() (*big.Int, error)

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

Solidity: function fee() view returns(uint24)

func (*AquaBeraSession) GetBasePosition added in v0.1.12

func (_AquaBera *AquaBeraSession) GetBasePosition() (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetBasePosition is a free data retrieval call binding the contract method 0xd2eabcfc.

Solidity: function getBasePosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*AquaBeraSession) GetLimitPosition added in v0.1.12

func (_AquaBera *AquaBeraSession) GetLimitPosition() (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetLimitPosition is a free data retrieval call binding the contract method 0xa049de6b.

Solidity: function getLimitPosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*AquaBeraSession) GetTotalAmounts added in v0.1.12

func (_AquaBera *AquaBeraSession) GetTotalAmounts() (struct {
	Total0 *big.Int
	Total1 *big.Int
}, error)

GetTotalAmounts is a free data retrieval call binding the contract method 0xc4a7761e.

Solidity: function getTotalAmounts() view returns(uint256 total0, uint256 total1)

func (*AquaBeraSession) Hysteresis added in v0.1.12

func (_AquaBera *AquaBeraSession) Hysteresis() (*big.Int, error)

Hysteresis is a free data retrieval call binding the contract method 0x7aea5309.

Solidity: function hysteresis() view returns(uint256)

func (*AquaBeraSession) IchiVaultFactory added in v0.1.12

func (_AquaBera *AquaBeraSession) IchiVaultFactory() (common.Address, error)

IchiVaultFactory is a free data retrieval call binding the contract method 0xdd81fa63.

Solidity: function ichiVaultFactory() view returns(address)

func (*AquaBeraSession) IncreaseAllowance added in v0.1.12

func (_AquaBera *AquaBeraSession) 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 (*AquaBeraSession) LimitLower added in v0.1.12

func (_AquaBera *AquaBeraSession) LimitLower() (*big.Int, error)

LimitLower is a free data retrieval call binding the contract method 0x51e87af7.

Solidity: function limitLower() view returns(int24)

func (*AquaBeraSession) LimitUpper added in v0.1.12

func (_AquaBera *AquaBeraSession) LimitUpper() (*big.Int, error)

LimitUpper is a free data retrieval call binding the contract method 0x0f35bcac.

Solidity: function limitUpper() view returns(int24)

func (*AquaBeraSession) Name added in v0.1.12

func (_AquaBera *AquaBeraSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*AquaBeraSession) Owner added in v0.1.12

func (_AquaBera *AquaBeraSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AquaBeraSession) PRECISION added in v0.1.12

func (_AquaBera *AquaBeraSession) PRECISION() (*big.Int, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(uint256)

func (*AquaBeraSession) Pool added in v0.1.12

func (_AquaBera *AquaBeraSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*AquaBeraSession) Rebalance added in v0.1.12

func (_AquaBera *AquaBeraSession) Rebalance(_baseLower *big.Int, _baseUpper *big.Int, _limitLower *big.Int, _limitUpper *big.Int, swapQuantity *big.Int) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0xd87346aa.

Solidity: function rebalance(int24 _baseLower, int24 _baseUpper, int24 _limitLower, int24 _limitUpper, int256 swapQuantity) returns()

func (*AquaBeraSession) RenounceOwnership added in v0.1.12

func (_AquaBera *AquaBeraSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AquaBeraSession) SetAffiliate added in v0.1.12

func (_AquaBera *AquaBeraSession) SetAffiliate(_affiliate common.Address) (*types.Transaction, error)

SetAffiliate is a paid mutator transaction binding the contract method 0x2bbb56d9.

Solidity: function setAffiliate(address _affiliate) returns()

func (*AquaBeraSession) SetAmmFeeRecipient added in v0.1.12

func (_AquaBera *AquaBeraSession) SetAmmFeeRecipient(_ammFeeRecipient common.Address) (*types.Transaction, error)

SetAmmFeeRecipient is a paid mutator transaction binding the contract method 0x81de128b.

Solidity: function setAmmFeeRecipient(address _ammFeeRecipient) returns()

func (*AquaBeraSession) SetAuxTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraSession) SetAuxTwapPeriod(newAuxTwapPeriod uint32) (*types.Transaction, error)

SetAuxTwapPeriod is a paid mutator transaction binding the contract method 0x400f0ceb.

Solidity: function setAuxTwapPeriod(uint32 newAuxTwapPeriod) returns()

func (*AquaBeraSession) SetDepositMax added in v0.1.12

func (_AquaBera *AquaBeraSession) SetDepositMax(_deposit0Max *big.Int, _deposit1Max *big.Int) (*types.Transaction, error)

SetDepositMax is a paid mutator transaction binding the contract method 0x3e091ee9.

Solidity: function setDepositMax(uint256 _deposit0Max, uint256 _deposit1Max) returns()

func (*AquaBeraSession) SetHysteresis added in v0.1.12

func (_AquaBera *AquaBeraSession) SetHysteresis(_hysteresis *big.Int) (*types.Transaction, error)

SetHysteresis is a paid mutator transaction binding the contract method 0x5ffc1ff7.

Solidity: function setHysteresis(uint256 _hysteresis) returns()

func (*AquaBeraSession) SetTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraSession) SetTwapPeriod(newTwapPeriod uint32) (*types.Transaction, error)

SetTwapPeriod is a paid mutator transaction binding the contract method 0xf9c95d46.

Solidity: function setTwapPeriod(uint32 newTwapPeriod) returns()

func (*AquaBeraSession) Symbol added in v0.1.12

func (_AquaBera *AquaBeraSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*AquaBeraSession) TickSpacing added in v0.1.12

func (_AquaBera *AquaBeraSession) TickSpacing() (*big.Int, error)

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

Solidity: function tickSpacing() view returns(int24)

func (*AquaBeraSession) Token0 added in v0.1.12

func (_AquaBera *AquaBeraSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*AquaBeraSession) Token1 added in v0.1.12

func (_AquaBera *AquaBeraSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*AquaBeraSession) TotalSupply added in v0.1.12

func (_AquaBera *AquaBeraSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*AquaBeraSession) Transfer added in v0.1.12

func (_AquaBera *AquaBeraSession) 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 (*AquaBeraSession) TransferFrom added in v0.1.12

func (_AquaBera *AquaBeraSession) 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 (*AquaBeraSession) TransferOwnership added in v0.1.12

func (_AquaBera *AquaBeraSession) 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 (*AquaBeraSession) TwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraSession) TwapPeriod() (uint32, error)

TwapPeriod is a free data retrieval call binding the contract method 0xf6207326.

Solidity: function twapPeriod() view returns(uint32)

func (*AquaBeraSession) UniswapV3MintCallback added in v0.1.12

func (_AquaBera *AquaBeraSession) UniswapV3MintCallback(amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

UniswapV3MintCallback is a paid mutator transaction binding the contract method 0xd3487997.

Solidity: function uniswapV3MintCallback(uint256 amount0, uint256 amount1, bytes data) returns()

func (*AquaBeraSession) UniswapV3SwapCallback added in v0.1.12

func (_AquaBera *AquaBeraSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, data []byte) (*types.Transaction, error)

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

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

func (*AquaBeraSession) Withdraw added in v0.1.12

func (_AquaBera *AquaBeraSession) Withdraw(shares *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x00f714ce.

Solidity: function withdraw(uint256 shares, address to) returns(uint256 amount0, uint256 amount1)

type AquaBeraSetAuxTwapPeriod added in v0.1.12

type AquaBeraSetAuxTwapPeriod struct {
	Sender           common.Address
	NewAuxTwapPeriod uint32
	Raw              types.Log // Blockchain specific contextual infos
}

AquaBeraSetAuxTwapPeriod represents a SetAuxTwapPeriod event raised by the AquaBera contract.

type AquaBeraSetAuxTwapPeriodIterator added in v0.1.12

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

AquaBeraSetAuxTwapPeriodIterator is returned from FilterSetAuxTwapPeriod and is used to iterate over the raw logs and unpacked data for SetAuxTwapPeriod events raised by the AquaBera contract.

func (*AquaBeraSetAuxTwapPeriodIterator) Close added in v0.1.12

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

func (*AquaBeraSetAuxTwapPeriodIterator) Error added in v0.1.12

Error returns any retrieval or parsing error occurred during filtering.

func (*AquaBeraSetAuxTwapPeriodIterator) Next added in v0.1.12

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 AquaBeraSetTwapPeriod added in v0.1.12

type AquaBeraSetTwapPeriod struct {
	Sender        common.Address
	NewTwapPeriod uint32
	Raw           types.Log // Blockchain specific contextual infos
}

AquaBeraSetTwapPeriod represents a SetTwapPeriod event raised by the AquaBera contract.

type AquaBeraSetTwapPeriodIterator added in v0.1.12

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

AquaBeraSetTwapPeriodIterator is returned from FilterSetTwapPeriod and is used to iterate over the raw logs and unpacked data for SetTwapPeriod events raised by the AquaBera contract.

func (*AquaBeraSetTwapPeriodIterator) Close added in v0.1.12

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

func (*AquaBeraSetTwapPeriodIterator) Error added in v0.1.12

Error returns any retrieval or parsing error occurred during filtering.

func (*AquaBeraSetTwapPeriodIterator) Next added in v0.1.12

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 AquaBeraTransactor added in v0.1.12

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

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

func NewAquaBeraTransactor added in v0.1.12

func NewAquaBeraTransactor(address common.Address, transactor bind.ContractTransactor) (*AquaBeraTransactor, error)

NewAquaBeraTransactor creates a new write-only instance of AquaBera, bound to a specific deployed contract.

func (*AquaBeraTransactor) Approve added in v0.1.12

func (_AquaBera *AquaBeraTransactor) 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 (*AquaBeraTransactor) CollectFees added in v0.1.12

func (_AquaBera *AquaBeraTransactor) CollectFees(opts *bind.TransactOpts) (*types.Transaction, error)

CollectFees is a paid mutator transaction binding the contract method 0xc8796572.

Solidity: function collectFees() returns(uint256 fees0, uint256 fees1)

func (*AquaBeraTransactor) DecreaseAllowance added in v0.1.12

func (_AquaBera *AquaBeraTransactor) 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 (*AquaBeraTransactor) Deposit added in v0.1.12

func (_AquaBera *AquaBeraTransactor) Deposit(opts *bind.TransactOpts, deposit0 *big.Int, deposit1 *big.Int, to common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8dbdbe6d.

Solidity: function deposit(uint256 deposit0, uint256 deposit1, address to) returns(uint256 shares)

func (*AquaBeraTransactor) IncreaseAllowance added in v0.1.12

func (_AquaBera *AquaBeraTransactor) 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 (*AquaBeraTransactor) Rebalance added in v0.1.12

func (_AquaBera *AquaBeraTransactor) Rebalance(opts *bind.TransactOpts, _baseLower *big.Int, _baseUpper *big.Int, _limitLower *big.Int, _limitUpper *big.Int, swapQuantity *big.Int) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0xd87346aa.

Solidity: function rebalance(int24 _baseLower, int24 _baseUpper, int24 _limitLower, int24 _limitUpper, int256 swapQuantity) returns()

func (*AquaBeraTransactor) RenounceOwnership added in v0.1.12

func (_AquaBera *AquaBeraTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AquaBeraTransactor) SetAffiliate added in v0.1.12

func (_AquaBera *AquaBeraTransactor) SetAffiliate(opts *bind.TransactOpts, _affiliate common.Address) (*types.Transaction, error)

SetAffiliate is a paid mutator transaction binding the contract method 0x2bbb56d9.

Solidity: function setAffiliate(address _affiliate) returns()

func (*AquaBeraTransactor) SetAmmFeeRecipient added in v0.1.12

func (_AquaBera *AquaBeraTransactor) SetAmmFeeRecipient(opts *bind.TransactOpts, _ammFeeRecipient common.Address) (*types.Transaction, error)

SetAmmFeeRecipient is a paid mutator transaction binding the contract method 0x81de128b.

Solidity: function setAmmFeeRecipient(address _ammFeeRecipient) returns()

func (*AquaBeraTransactor) SetAuxTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraTransactor) SetAuxTwapPeriod(opts *bind.TransactOpts, newAuxTwapPeriod uint32) (*types.Transaction, error)

SetAuxTwapPeriod is a paid mutator transaction binding the contract method 0x400f0ceb.

Solidity: function setAuxTwapPeriod(uint32 newAuxTwapPeriod) returns()

func (*AquaBeraTransactor) SetDepositMax added in v0.1.12

func (_AquaBera *AquaBeraTransactor) SetDepositMax(opts *bind.TransactOpts, _deposit0Max *big.Int, _deposit1Max *big.Int) (*types.Transaction, error)

SetDepositMax is a paid mutator transaction binding the contract method 0x3e091ee9.

Solidity: function setDepositMax(uint256 _deposit0Max, uint256 _deposit1Max) returns()

func (*AquaBeraTransactor) SetHysteresis added in v0.1.12

func (_AquaBera *AquaBeraTransactor) SetHysteresis(opts *bind.TransactOpts, _hysteresis *big.Int) (*types.Transaction, error)

SetHysteresis is a paid mutator transaction binding the contract method 0x5ffc1ff7.

Solidity: function setHysteresis(uint256 _hysteresis) returns()

func (*AquaBeraTransactor) SetTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraTransactor) SetTwapPeriod(opts *bind.TransactOpts, newTwapPeriod uint32) (*types.Transaction, error)

SetTwapPeriod is a paid mutator transaction binding the contract method 0xf9c95d46.

Solidity: function setTwapPeriod(uint32 newTwapPeriod) returns()

func (*AquaBeraTransactor) Transfer added in v0.1.12

func (_AquaBera *AquaBeraTransactor) 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 (*AquaBeraTransactor) TransferFrom added in v0.1.12

func (_AquaBera *AquaBeraTransactor) 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 (*AquaBeraTransactor) TransferOwnership added in v0.1.12

func (_AquaBera *AquaBeraTransactor) 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 (*AquaBeraTransactor) UniswapV3MintCallback added in v0.1.12

func (_AquaBera *AquaBeraTransactor) UniswapV3MintCallback(opts *bind.TransactOpts, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

UniswapV3MintCallback is a paid mutator transaction binding the contract method 0xd3487997.

Solidity: function uniswapV3MintCallback(uint256 amount0, uint256 amount1, bytes data) returns()

func (*AquaBeraTransactor) UniswapV3SwapCallback added in v0.1.12

func (_AquaBera *AquaBeraTransactor) UniswapV3SwapCallback(opts *bind.TransactOpts, amount0Delta *big.Int, amount1Delta *big.Int, data []byte) (*types.Transaction, error)

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

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

func (*AquaBeraTransactor) Withdraw added in v0.1.12

func (_AquaBera *AquaBeraTransactor) Withdraw(opts *bind.TransactOpts, shares *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x00f714ce.

Solidity: function withdraw(uint256 shares, address to) returns(uint256 amount0, uint256 amount1)

type AquaBeraTransactorRaw added in v0.1.12

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

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

func (*AquaBeraTransactorRaw) Transact added in v0.1.12

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

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

func (*AquaBeraTransactorRaw) Transfer added in v0.1.12

func (_AquaBera *AquaBeraTransactorRaw) 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 AquaBeraTransactorSession added in v0.1.12

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

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

func (*AquaBeraTransactorSession) Approve added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) 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 (*AquaBeraTransactorSession) CollectFees added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) CollectFees() (*types.Transaction, error)

CollectFees is a paid mutator transaction binding the contract method 0xc8796572.

Solidity: function collectFees() returns(uint256 fees0, uint256 fees1)

func (*AquaBeraTransactorSession) DecreaseAllowance added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) 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 (*AquaBeraTransactorSession) Deposit added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) Deposit(deposit0 *big.Int, deposit1 *big.Int, to common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8dbdbe6d.

Solidity: function deposit(uint256 deposit0, uint256 deposit1, address to) returns(uint256 shares)

func (*AquaBeraTransactorSession) IncreaseAllowance added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) 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 (*AquaBeraTransactorSession) Rebalance added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) Rebalance(_baseLower *big.Int, _baseUpper *big.Int, _limitLower *big.Int, _limitUpper *big.Int, swapQuantity *big.Int) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0xd87346aa.

Solidity: function rebalance(int24 _baseLower, int24 _baseUpper, int24 _limitLower, int24 _limitUpper, int256 swapQuantity) returns()

func (*AquaBeraTransactorSession) RenounceOwnership added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AquaBeraTransactorSession) SetAffiliate added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) SetAffiliate(_affiliate common.Address) (*types.Transaction, error)

SetAffiliate is a paid mutator transaction binding the contract method 0x2bbb56d9.

Solidity: function setAffiliate(address _affiliate) returns()

func (*AquaBeraTransactorSession) SetAmmFeeRecipient added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) SetAmmFeeRecipient(_ammFeeRecipient common.Address) (*types.Transaction, error)

SetAmmFeeRecipient is a paid mutator transaction binding the contract method 0x81de128b.

Solidity: function setAmmFeeRecipient(address _ammFeeRecipient) returns()

func (*AquaBeraTransactorSession) SetAuxTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) SetAuxTwapPeriod(newAuxTwapPeriod uint32) (*types.Transaction, error)

SetAuxTwapPeriod is a paid mutator transaction binding the contract method 0x400f0ceb.

Solidity: function setAuxTwapPeriod(uint32 newAuxTwapPeriod) returns()

func (*AquaBeraTransactorSession) SetDepositMax added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) SetDepositMax(_deposit0Max *big.Int, _deposit1Max *big.Int) (*types.Transaction, error)

SetDepositMax is a paid mutator transaction binding the contract method 0x3e091ee9.

Solidity: function setDepositMax(uint256 _deposit0Max, uint256 _deposit1Max) returns()

func (*AquaBeraTransactorSession) SetHysteresis added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) SetHysteresis(_hysteresis *big.Int) (*types.Transaction, error)

SetHysteresis is a paid mutator transaction binding the contract method 0x5ffc1ff7.

Solidity: function setHysteresis(uint256 _hysteresis) returns()

func (*AquaBeraTransactorSession) SetTwapPeriod added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) SetTwapPeriod(newTwapPeriod uint32) (*types.Transaction, error)

SetTwapPeriod is a paid mutator transaction binding the contract method 0xf9c95d46.

Solidity: function setTwapPeriod(uint32 newTwapPeriod) returns()

func (*AquaBeraTransactorSession) Transfer added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) 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 (*AquaBeraTransactorSession) TransferFrom added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) 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 (*AquaBeraTransactorSession) TransferOwnership added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) 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 (*AquaBeraTransactorSession) UniswapV3MintCallback added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) UniswapV3MintCallback(amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

UniswapV3MintCallback is a paid mutator transaction binding the contract method 0xd3487997.

Solidity: function uniswapV3MintCallback(uint256 amount0, uint256 amount1, bytes data) returns()

func (*AquaBeraTransactorSession) UniswapV3SwapCallback added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, data []byte) (*types.Transaction, error)

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

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

func (*AquaBeraTransactorSession) Withdraw added in v0.1.12

func (_AquaBera *AquaBeraTransactorSession) Withdraw(shares *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x00f714ce.

Solidity: function withdraw(uint256 shares, address to) returns(uint256 amount0, uint256 amount1)

type AquaBeraTransfer added in v0.1.12

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

AquaBeraTransfer represents a Transfer event raised by the AquaBera contract.

type AquaBeraTransferIterator added in v0.1.12

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

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

func (*AquaBeraTransferIterator) Close added in v0.1.12

func (it *AquaBeraTransferIterator) Close() error

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

func (*AquaBeraTransferIterator) Error added in v0.1.12

func (it *AquaBeraTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AquaBeraTransferIterator) Next added in v0.1.12

func (it *AquaBeraTransferIterator) 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 AquaBeraWithdraw added in v0.1.12

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

AquaBeraWithdraw represents a Withdraw event raised by the AquaBera contract.

type AquaBeraWithdrawIterator added in v0.1.12

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

AquaBeraWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the AquaBera contract.

func (*AquaBeraWithdrawIterator) Close added in v0.1.12

func (it *AquaBeraWithdrawIterator) Close() error

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

func (*AquaBeraWithdrawIterator) Error added in v0.1.12

func (it *AquaBeraWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AquaBeraWithdrawIterator) Next added in v0.1.12

func (it *AquaBeraWithdrawIterator) 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 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 BeraBorrowCICV added in v0.1.9

type BeraBorrowCICV struct {
	BeraBorrowCICVCaller     // Read-only binding to the contract
	BeraBorrowCICVTransactor // Write-only binding to the contract
	BeraBorrowCICVFilterer   // Log filterer for contract events
}

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

func NewBeraBorrowCICV added in v0.1.9

func NewBeraBorrowCICV(address common.Address, backend bind.ContractBackend) (*BeraBorrowCICV, error)

NewBeraBorrowCICV creates a new instance of BeraBorrowCICV, bound to a specific deployed contract.

type BeraBorrowCICVApproval added in v0.1.9

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

BeraBorrowCICVApproval represents a Approval event raised by the BeraBorrowCICV contract.

type BeraBorrowCICVApprovalIterator added in v0.1.9

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

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

func (*BeraBorrowCICVApprovalIterator) Close added in v0.1.9

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

func (*BeraBorrowCICVApprovalIterator) Error added in v0.1.9

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowCICVApprovalIterator) Next added in v0.1.9

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 BeraBorrowCICVCaller added in v0.1.9

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

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

func NewBeraBorrowCICVCaller added in v0.1.9

func NewBeraBorrowCICVCaller(address common.Address, caller bind.ContractCaller) (*BeraBorrowCICVCaller, error)

NewBeraBorrowCICVCaller creates a new read-only instance of BeraBorrowCICV, bound to a specific deployed contract.

func (*BeraBorrowCICVCaller) Allowance added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) 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 (*BeraBorrowCICVCaller) Asset added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) Asset(opts *bind.CallOpts) (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*BeraBorrowCICVCaller) AssetDecimals added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) AssetDecimals(opts *bind.CallOpts) (uint8, error)

AssetDecimals is a free data retrieval call binding the contract method 0xc2d41601.

Solidity: function assetDecimals() view returns(uint8)

func (*BeraBorrowCICVCaller) BalanceOf added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) 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 (*BeraBorrowCICVCaller) ConvertToAssets added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) ConvertToAssets(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares) view returns(uint256)

func (*BeraBorrowCICVCaller) ConvertToShares added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) ConvertToShares(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets) view returns(uint256)

func (*BeraBorrowCICVCaller) ConvertToValue added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) ConvertToValue(opts *bind.CallOpts, token common.Address) (*big.Int, error)

ConvertToValue is a free data retrieval call binding the contract method 0xec05c341.

Solidity: function _convertToValue(address token) view returns(uint256)

func (*BeraBorrowCICVCaller) Decimals added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) 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 (*BeraBorrowCICVCaller) FetchPrice added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) FetchPrice(opts *bind.CallOpts) (*big.Int, error)

FetchPrice is a free data retrieval call binding the contract method 0x0fdb11cf.

Solidity: function fetchPrice() view returns(uint256)

func (*BeraBorrowCICVCaller) GetBalance added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) GetBalance(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xf8b2cb4f.

Solidity: function getBalance(address token) view returns(uint256)

func (*BeraBorrowCICVCaller) GetBalanceOfWithFutureEmissions added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) GetBalanceOfWithFutureEmissions(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetBalanceOfWithFutureEmissions is a free data retrieval call binding the contract method 0x29d78c88.

Solidity: function getBalanceOfWithFutureEmissions(address token) view returns(uint256)

func (*BeraBorrowCICVCaller) GetFullProfitUnlockTimestamp added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) GetFullProfitUnlockTimestamp(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetFullProfitUnlockTimestamp is a free data retrieval call binding the contract method 0xd5c16d79.

Solidity: function getFullProfitUnlockTimestamp(address token) view returns(uint256)

func (*BeraBorrowCICVCaller) GetLockedEmissions added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) GetLockedEmissions(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetLockedEmissions is a free data retrieval call binding the contract method 0x403dd3bc.

Solidity: function getLockedEmissions(address token) view returns(uint256)

func (*BeraBorrowCICVCaller) GetMetaBeraborrowCore added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) GetMetaBeraborrowCore(opts *bind.CallOpts) (common.Address, error)

GetMetaBeraborrowCore is a free data retrieval call binding the contract method 0x221085d7.

Solidity: function getMetaBeraborrowCore() view returns(address)

func (*BeraBorrowCICVCaller) GetPerformanceFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) GetPerformanceFee(opts *bind.CallOpts) (uint16, error)

GetPerformanceFee is a free data retrieval call binding the contract method 0x235c3603.

Solidity: function getPerformanceFee() view returns(uint16)

func (*BeraBorrowCICVCaller) GetPrice added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) GetPrice(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetPrice is a free data retrieval call binding the contract method 0x41976e09.

Solidity: function getPrice(address token) view returns(uint256)

func (*BeraBorrowCICVCaller) GetPriceFeed added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) GetPriceFeed(opts *bind.CallOpts) (common.Address, error)

GetPriceFeed is a free data retrieval call binding the contract method 0x9e87a5cd.

Solidity: function getPriceFeed() view returns(address)

func (*BeraBorrowCICVCaller) GetWithdrawFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) GetWithdrawFee(opts *bind.CallOpts) (uint16, error)

GetWithdrawFee is a free data retrieval call binding the contract method 0x1540aa89.

Solidity: function getWithdrawFee() view returns(uint16)

func (*BeraBorrowCICVCaller) IRedToken added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) IRedToken(opts *bind.CallOpts) (common.Address, error)

IRedToken is a free data retrieval call binding the contract method 0xe993e7ed.

Solidity: function iRedToken() view returns(address)

func (*BeraBorrowCICVCaller) Ibgt added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) Ibgt(opts *bind.CallOpts) (common.Address, error)

Ibgt is a free data retrieval call binding the contract method 0x3dafa4f3.

Solidity: function ibgt() view returns(address)

func (*BeraBorrowCICVCaller) IbgtVault added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) IbgtVault(opts *bind.CallOpts) (common.Address, error)

IbgtVault is a free data retrieval call binding the contract method 0xfd64c377.

Solidity: function ibgtVault() view returns(address)

func (*BeraBorrowCICVCaller) InfraredVault added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) InfraredVault(opts *bind.CallOpts) (common.Address, error)

InfraredVault is a free data retrieval call binding the contract method 0x6ab3b0e5.

Solidity: function infraredVault() view returns(address)

func (*BeraBorrowCICVCaller) MaxDeposit added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) MaxDeposit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*BeraBorrowCICVCaller) MaxMint added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) MaxMint(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

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

func (*BeraBorrowCICVCaller) MaxRedeem added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) MaxRedeem(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

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

func (*BeraBorrowCICVCaller) MaxWithdraw added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) MaxWithdraw(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address _owner) view returns(uint256)

func (*BeraBorrowCICVCaller) Name added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) 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 (*BeraBorrowCICVCaller) PreviewDeposit added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) PreviewDeposit(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets) view returns(uint256)

func (*BeraBorrowCICVCaller) PreviewMint added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) PreviewMint(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 shares) view returns(uint256)

func (*BeraBorrowCICVCaller) PreviewRedeem added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) PreviewRedeem(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256)

func (*BeraBorrowCICVCaller) PreviewWithdraw added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) PreviewWithdraw(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256)

func (*BeraBorrowCICVCaller) ProxiableUUID added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*BeraBorrowCICVCaller) RewardedTokens added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) RewardedTokens(opts *bind.CallOpts) ([]common.Address, error)

RewardedTokens is a free data retrieval call binding the contract method 0xaaffe076.

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

func (*BeraBorrowCICVCaller) Symbol added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) 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 (*BeraBorrowCICVCaller) TotalAssets added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) TotalAssets(opts *bind.CallOpts) (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256 amountInAsset)

func (*BeraBorrowCICVCaller) TotalSupply added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) 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 (*BeraBorrowCICVCaller) UPGRADEINTERFACEVERSION added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) UPGRADEINTERFACEVERSION(opts *bind.CallOpts) (string, error)

UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.

Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)

func (*BeraBorrowCICVCaller) UnlockRatePerSecond added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCaller) UnlockRatePerSecond(opts *bind.CallOpts, token common.Address) (*big.Int, error)

UnlockRatePerSecond is a free data retrieval call binding the contract method 0xd9c00197.

Solidity: function unlockRatePerSecond(address token) view returns(uint256)

type BeraBorrowCICVCallerRaw added in v0.1.9

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

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

func (*BeraBorrowCICVCallerRaw) Call added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerRaw) 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 BeraBorrowCICVCallerSession added in v0.1.9

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

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

func (*BeraBorrowCICVCallerSession) Allowance added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) 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 (*BeraBorrowCICVCallerSession) Asset added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) Asset() (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*BeraBorrowCICVCallerSession) AssetDecimals added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) AssetDecimals() (uint8, error)

AssetDecimals is a free data retrieval call binding the contract method 0xc2d41601.

Solidity: function assetDecimals() view returns(uint8)

func (*BeraBorrowCICVCallerSession) BalanceOf added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) 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 (*BeraBorrowCICVCallerSession) ConvertToAssets added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) ConvertToAssets(shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares) view returns(uint256)

func (*BeraBorrowCICVCallerSession) ConvertToShares added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) ConvertToShares(assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets) view returns(uint256)

func (*BeraBorrowCICVCallerSession) ConvertToValue added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) ConvertToValue(token common.Address) (*big.Int, error)

ConvertToValue is a free data retrieval call binding the contract method 0xec05c341.

Solidity: function _convertToValue(address token) view returns(uint256)

func (*BeraBorrowCICVCallerSession) Decimals added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BeraBorrowCICVCallerSession) FetchPrice added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) FetchPrice() (*big.Int, error)

FetchPrice is a free data retrieval call binding the contract method 0x0fdb11cf.

Solidity: function fetchPrice() view returns(uint256)

func (*BeraBorrowCICVCallerSession) GetBalance added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) GetBalance(token common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xf8b2cb4f.

Solidity: function getBalance(address token) view returns(uint256)

func (*BeraBorrowCICVCallerSession) GetBalanceOfWithFutureEmissions added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) GetBalanceOfWithFutureEmissions(token common.Address) (*big.Int, error)

GetBalanceOfWithFutureEmissions is a free data retrieval call binding the contract method 0x29d78c88.

Solidity: function getBalanceOfWithFutureEmissions(address token) view returns(uint256)

func (*BeraBorrowCICVCallerSession) GetFullProfitUnlockTimestamp added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) GetFullProfitUnlockTimestamp(token common.Address) (*big.Int, error)

GetFullProfitUnlockTimestamp is a free data retrieval call binding the contract method 0xd5c16d79.

Solidity: function getFullProfitUnlockTimestamp(address token) view returns(uint256)

func (*BeraBorrowCICVCallerSession) GetLockedEmissions added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) GetLockedEmissions(token common.Address) (*big.Int, error)

GetLockedEmissions is a free data retrieval call binding the contract method 0x403dd3bc.

Solidity: function getLockedEmissions(address token) view returns(uint256)

func (*BeraBorrowCICVCallerSession) GetMetaBeraborrowCore added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) GetMetaBeraborrowCore() (common.Address, error)

GetMetaBeraborrowCore is a free data retrieval call binding the contract method 0x221085d7.

Solidity: function getMetaBeraborrowCore() view returns(address)

func (*BeraBorrowCICVCallerSession) GetPerformanceFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) GetPerformanceFee() (uint16, error)

GetPerformanceFee is a free data retrieval call binding the contract method 0x235c3603.

Solidity: function getPerformanceFee() view returns(uint16)

func (*BeraBorrowCICVCallerSession) GetPrice added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) GetPrice(token common.Address) (*big.Int, error)

GetPrice is a free data retrieval call binding the contract method 0x41976e09.

Solidity: function getPrice(address token) view returns(uint256)

func (*BeraBorrowCICVCallerSession) GetPriceFeed added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) GetPriceFeed() (common.Address, error)

GetPriceFeed is a free data retrieval call binding the contract method 0x9e87a5cd.

Solidity: function getPriceFeed() view returns(address)

func (*BeraBorrowCICVCallerSession) GetWithdrawFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) GetWithdrawFee() (uint16, error)

GetWithdrawFee is a free data retrieval call binding the contract method 0x1540aa89.

Solidity: function getWithdrawFee() view returns(uint16)

func (*BeraBorrowCICVCallerSession) IRedToken added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) IRedToken() (common.Address, error)

IRedToken is a free data retrieval call binding the contract method 0xe993e7ed.

Solidity: function iRedToken() view returns(address)

func (*BeraBorrowCICVCallerSession) Ibgt added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) Ibgt() (common.Address, error)

Ibgt is a free data retrieval call binding the contract method 0x3dafa4f3.

Solidity: function ibgt() view returns(address)

func (*BeraBorrowCICVCallerSession) IbgtVault added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) IbgtVault() (common.Address, error)

IbgtVault is a free data retrieval call binding the contract method 0xfd64c377.

Solidity: function ibgtVault() view returns(address)

func (*BeraBorrowCICVCallerSession) InfraredVault added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) InfraredVault() (common.Address, error)

InfraredVault is a free data retrieval call binding the contract method 0x6ab3b0e5.

Solidity: function infraredVault() view returns(address)

func (*BeraBorrowCICVCallerSession) MaxDeposit added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) MaxDeposit(arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*BeraBorrowCICVCallerSession) MaxMint added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) MaxMint(arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

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

func (*BeraBorrowCICVCallerSession) MaxRedeem added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) MaxRedeem(owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

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

func (*BeraBorrowCICVCallerSession) MaxWithdraw added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) MaxWithdraw(_owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address _owner) view returns(uint256)

func (*BeraBorrowCICVCallerSession) Name added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BeraBorrowCICVCallerSession) PreviewDeposit added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) PreviewDeposit(assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets) view returns(uint256)

func (*BeraBorrowCICVCallerSession) PreviewMint added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) PreviewMint(shares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 shares) view returns(uint256)

func (*BeraBorrowCICVCallerSession) PreviewRedeem added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) PreviewRedeem(shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256)

func (*BeraBorrowCICVCallerSession) PreviewWithdraw added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) PreviewWithdraw(assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256)

func (*BeraBorrowCICVCallerSession) ProxiableUUID added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*BeraBorrowCICVCallerSession) RewardedTokens added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) RewardedTokens() ([]common.Address, error)

RewardedTokens is a free data retrieval call binding the contract method 0xaaffe076.

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

func (*BeraBorrowCICVCallerSession) Symbol added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BeraBorrowCICVCallerSession) TotalAssets added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) TotalAssets() (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256 amountInAsset)

func (*BeraBorrowCICVCallerSession) TotalSupply added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BeraBorrowCICVCallerSession) UPGRADEINTERFACEVERSION added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) UPGRADEINTERFACEVERSION() (string, error)

UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.

Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)

func (*BeraBorrowCICVCallerSession) UnlockRatePerSecond added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVCallerSession) UnlockRatePerSecond(token common.Address) (*big.Int, error)

UnlockRatePerSecond is a free data retrieval call binding the contract method 0xd9c00197.

Solidity: function unlockRatePerSecond(address token) view returns(uint256)

type BeraBorrowCICVDeposit added in v0.1.9

type BeraBorrowCICVDeposit struct {
	Sender common.Address
	Owner  common.Address
	Assets *big.Int
	Shares *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BeraBorrowCICVDeposit represents a Deposit event raised by the BeraBorrowCICV contract.

type BeraBorrowCICVDepositIterator added in v0.1.9

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

BeraBorrowCICVDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the BeraBorrowCICV contract.

func (*BeraBorrowCICVDepositIterator) Close added in v0.1.9

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

func (*BeraBorrowCICVDepositIterator) Error added in v0.1.9

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowCICVDepositIterator) Next added in v0.1.9

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 BeraBorrowCICVEmissionsAdded added in v0.1.9

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

BeraBorrowCICVEmissionsAdded represents a EmissionsAdded event raised by the BeraBorrowCICV contract.

type BeraBorrowCICVEmissionsAddedIterator added in v0.1.9

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

BeraBorrowCICVEmissionsAddedIterator is returned from FilterEmissionsAdded and is used to iterate over the raw logs and unpacked data for EmissionsAdded events raised by the BeraBorrowCICV contract.

func (*BeraBorrowCICVEmissionsAddedIterator) Close added in v0.1.9

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

func (*BeraBorrowCICVEmissionsAddedIterator) Error added in v0.1.9

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowCICVEmissionsAddedIterator) Next added in v0.1.9

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 BeraBorrowCICVFilterer added in v0.1.9

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

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

func NewBeraBorrowCICVFilterer added in v0.1.9

func NewBeraBorrowCICVFilterer(address common.Address, filterer bind.ContractFilterer) (*BeraBorrowCICVFilterer, error)

NewBeraBorrowCICVFilterer creates a new log filterer instance of BeraBorrowCICV, bound to a specific deployed contract.

func (*BeraBorrowCICVFilterer) FilterApproval added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BeraBorrowCICVApprovalIterator, 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 (*BeraBorrowCICVFilterer) FilterDeposit added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) FilterDeposit(opts *bind.FilterOpts, sender []common.Address, owner []common.Address) (*BeraBorrowCICVDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)

func (*BeraBorrowCICVFilterer) FilterEmissionsAdded added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) FilterEmissionsAdded(opts *bind.FilterOpts, token []common.Address) (*BeraBorrowCICVEmissionsAddedIterator, error)

FilterEmissionsAdded is a free log retrieval operation binding the contract event 0x693ffe037fd29f4846b006bd3ada57d4fd4c3622277227342f0e4fed9011dc20.

Solidity: event EmissionsAdded(address indexed token, uint128 amount)

func (*BeraBorrowCICVFilterer) FilterInitialized added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) FilterInitialized(opts *bind.FilterOpts) (*BeraBorrowCICVInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*BeraBorrowCICVFilterer) FilterNewUnlockRatePerSecond added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) FilterNewUnlockRatePerSecond(opts *bind.FilterOpts, token []common.Address) (*BeraBorrowCICVNewUnlockRatePerSecondIterator, error)

FilterNewUnlockRatePerSecond is a free log retrieval operation binding the contract event 0x5577d4c8f6e5397effa5c71df8fe221e1162e18aaa0aabe87026cfb0c6762150.

Solidity: event NewUnlockRatePerSecond(address indexed token, uint64 unlockRatePerSecond)

func (*BeraBorrowCICVFilterer) FilterPerformanceFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) FilterPerformanceFee(opts *bind.FilterOpts, token []common.Address) (*BeraBorrowCICVPerformanceFeeIterator, error)

FilterPerformanceFee is a free log retrieval operation binding the contract event 0x620154c7367c3805aa5a57be3421bcd8ae0de705b07bb7880c7ebdd1eff84237.

Solidity: event PerformanceFee(address indexed token, uint256 amount)

func (*BeraBorrowCICVFilterer) FilterRebalance added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) FilterRebalance(opts *bind.FilterOpts, sentCurrency []common.Address) (*BeraBorrowCICVRebalanceIterator, error)

FilterRebalance is a free log retrieval operation binding the contract event 0x90fea00fe6e24ccfd7c40b40e07486e8b69ada2a3ad693dd908b6479cac36b6b.

Solidity: event Rebalance(address indexed sentCurrency, uint256 sent, uint256 received, uint256 sentValue, uint256 receivedValue)

func (*BeraBorrowCICVFilterer) FilterTransfer added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BeraBorrowCICVTransferIterator, 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 (*BeraBorrowCICVFilterer) FilterUpgraded added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*BeraBorrowCICVUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*BeraBorrowCICVFilterer) FilterWithdraw added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address, receiver []common.Address, owner []common.Address) (*BeraBorrowCICVWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

func (*BeraBorrowCICVFilterer) ParseApproval added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) ParseApproval(log types.Log) (*BeraBorrowCICVApproval, error)

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

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

func (*BeraBorrowCICVFilterer) ParseDeposit added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) ParseDeposit(log types.Log) (*BeraBorrowCICVDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)

func (*BeraBorrowCICVFilterer) ParseEmissionsAdded added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) ParseEmissionsAdded(log types.Log) (*BeraBorrowCICVEmissionsAdded, error)

ParseEmissionsAdded is a log parse operation binding the contract event 0x693ffe037fd29f4846b006bd3ada57d4fd4c3622277227342f0e4fed9011dc20.

Solidity: event EmissionsAdded(address indexed token, uint128 amount)

func (*BeraBorrowCICVFilterer) ParseInitialized added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) ParseInitialized(log types.Log) (*BeraBorrowCICVInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*BeraBorrowCICVFilterer) ParseNewUnlockRatePerSecond added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) ParseNewUnlockRatePerSecond(log types.Log) (*BeraBorrowCICVNewUnlockRatePerSecond, error)

ParseNewUnlockRatePerSecond is a log parse operation binding the contract event 0x5577d4c8f6e5397effa5c71df8fe221e1162e18aaa0aabe87026cfb0c6762150.

Solidity: event NewUnlockRatePerSecond(address indexed token, uint64 unlockRatePerSecond)

func (*BeraBorrowCICVFilterer) ParsePerformanceFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) ParsePerformanceFee(log types.Log) (*BeraBorrowCICVPerformanceFee, error)

ParsePerformanceFee is a log parse operation binding the contract event 0x620154c7367c3805aa5a57be3421bcd8ae0de705b07bb7880c7ebdd1eff84237.

Solidity: event PerformanceFee(address indexed token, uint256 amount)

func (*BeraBorrowCICVFilterer) ParseRebalance added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) ParseRebalance(log types.Log) (*BeraBorrowCICVRebalance, error)

ParseRebalance is a log parse operation binding the contract event 0x90fea00fe6e24ccfd7c40b40e07486e8b69ada2a3ad693dd908b6479cac36b6b.

Solidity: event Rebalance(address indexed sentCurrency, uint256 sent, uint256 received, uint256 sentValue, uint256 receivedValue)

func (*BeraBorrowCICVFilterer) ParseTransfer added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) ParseTransfer(log types.Log) (*BeraBorrowCICVTransfer, error)

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

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

func (*BeraBorrowCICVFilterer) ParseUpgraded added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) ParseUpgraded(log types.Log) (*BeraBorrowCICVUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*BeraBorrowCICVFilterer) ParseWithdraw added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) ParseWithdraw(log types.Log) (*BeraBorrowCICVWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

func (*BeraBorrowCICVFilterer) WatchApproval added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BeraBorrowCICVApproval, 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 (*BeraBorrowCICVFilterer) WatchDeposit added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *BeraBorrowCICVDeposit, sender []common.Address, owner []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)

func (*BeraBorrowCICVFilterer) WatchEmissionsAdded added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) WatchEmissionsAdded(opts *bind.WatchOpts, sink chan<- *BeraBorrowCICVEmissionsAdded, token []common.Address) (event.Subscription, error)

WatchEmissionsAdded is a free log subscription operation binding the contract event 0x693ffe037fd29f4846b006bd3ada57d4fd4c3622277227342f0e4fed9011dc20.

Solidity: event EmissionsAdded(address indexed token, uint128 amount)

func (*BeraBorrowCICVFilterer) WatchInitialized added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BeraBorrowCICVInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*BeraBorrowCICVFilterer) WatchNewUnlockRatePerSecond added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) WatchNewUnlockRatePerSecond(opts *bind.WatchOpts, sink chan<- *BeraBorrowCICVNewUnlockRatePerSecond, token []common.Address) (event.Subscription, error)

WatchNewUnlockRatePerSecond is a free log subscription operation binding the contract event 0x5577d4c8f6e5397effa5c71df8fe221e1162e18aaa0aabe87026cfb0c6762150.

Solidity: event NewUnlockRatePerSecond(address indexed token, uint64 unlockRatePerSecond)

func (*BeraBorrowCICVFilterer) WatchPerformanceFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) WatchPerformanceFee(opts *bind.WatchOpts, sink chan<- *BeraBorrowCICVPerformanceFee, token []common.Address) (event.Subscription, error)

WatchPerformanceFee is a free log subscription operation binding the contract event 0x620154c7367c3805aa5a57be3421bcd8ae0de705b07bb7880c7ebdd1eff84237.

Solidity: event PerformanceFee(address indexed token, uint256 amount)

func (*BeraBorrowCICVFilterer) WatchRebalance added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) WatchRebalance(opts *bind.WatchOpts, sink chan<- *BeraBorrowCICVRebalance, sentCurrency []common.Address) (event.Subscription, error)

WatchRebalance is a free log subscription operation binding the contract event 0x90fea00fe6e24ccfd7c40b40e07486e8b69ada2a3ad693dd908b6479cac36b6b.

Solidity: event Rebalance(address indexed sentCurrency, uint256 sent, uint256 received, uint256 sentValue, uint256 receivedValue)

func (*BeraBorrowCICVFilterer) WatchTransfer added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BeraBorrowCICVTransfer, 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 (*BeraBorrowCICVFilterer) WatchUpgraded added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *BeraBorrowCICVUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*BeraBorrowCICVFilterer) WatchWithdraw added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *BeraBorrowCICVWithdraw, sender []common.Address, receiver []common.Address, owner []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

type BeraBorrowCICVInitialized added in v0.1.9

type BeraBorrowCICVInitialized struct {
	Version uint64
	Raw     types.Log // Blockchain specific contextual infos
}

BeraBorrowCICVInitialized represents a Initialized event raised by the BeraBorrowCICV contract.

type BeraBorrowCICVInitializedIterator added in v0.1.9

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

BeraBorrowCICVInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the BeraBorrowCICV contract.

func (*BeraBorrowCICVInitializedIterator) Close added in v0.1.9

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

func (*BeraBorrowCICVInitializedIterator) Error added in v0.1.9

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowCICVInitializedIterator) Next added in v0.1.9

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 BeraBorrowCICVNewUnlockRatePerSecond added in v0.1.9

type BeraBorrowCICVNewUnlockRatePerSecond struct {
	Token               common.Address
	UnlockRatePerSecond uint64
	Raw                 types.Log // Blockchain specific contextual infos
}

BeraBorrowCICVNewUnlockRatePerSecond represents a NewUnlockRatePerSecond event raised by the BeraBorrowCICV contract.

type BeraBorrowCICVNewUnlockRatePerSecondIterator added in v0.1.9

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

BeraBorrowCICVNewUnlockRatePerSecondIterator is returned from FilterNewUnlockRatePerSecond and is used to iterate over the raw logs and unpacked data for NewUnlockRatePerSecond events raised by the BeraBorrowCICV contract.

func (*BeraBorrowCICVNewUnlockRatePerSecondIterator) Close added in v0.1.9

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

func (*BeraBorrowCICVNewUnlockRatePerSecondIterator) Error added in v0.1.9

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowCICVNewUnlockRatePerSecondIterator) Next added in v0.1.9

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 BeraBorrowCICVPerformanceFee added in v0.1.9

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

BeraBorrowCICVPerformanceFee represents a PerformanceFee event raised by the BeraBorrowCICV contract.

type BeraBorrowCICVPerformanceFeeIterator added in v0.1.9

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

BeraBorrowCICVPerformanceFeeIterator is returned from FilterPerformanceFee and is used to iterate over the raw logs and unpacked data for PerformanceFee events raised by the BeraBorrowCICV contract.

func (*BeraBorrowCICVPerformanceFeeIterator) Close added in v0.1.9

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

func (*BeraBorrowCICVPerformanceFeeIterator) Error added in v0.1.9

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowCICVPerformanceFeeIterator) Next added in v0.1.9

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 BeraBorrowCICVRaw added in v0.1.9

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

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

func (*BeraBorrowCICVRaw) Call added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVRaw) 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 (*BeraBorrowCICVRaw) Transact added in v0.1.9

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

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

func (*BeraBorrowCICVRaw) Transfer added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVRaw) 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 BeraBorrowCICVRebalance added in v0.1.9

type BeraBorrowCICVRebalance struct {
	SentCurrency  common.Address
	Sent          *big.Int
	Received      *big.Int
	SentValue     *big.Int
	ReceivedValue *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

BeraBorrowCICVRebalance represents a Rebalance event raised by the BeraBorrowCICV contract.

type BeraBorrowCICVRebalanceIterator added in v0.1.9

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

BeraBorrowCICVRebalanceIterator is returned from FilterRebalance and is used to iterate over the raw logs and unpacked data for Rebalance events raised by the BeraBorrowCICV contract.

func (*BeraBorrowCICVRebalanceIterator) Close added in v0.1.9

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

func (*BeraBorrowCICVRebalanceIterator) Error added in v0.1.9

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowCICVRebalanceIterator) Next added in v0.1.9

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 BeraBorrowCICVSession added in v0.1.9

type BeraBorrowCICVSession struct {
	Contract     *BeraBorrowCICV   // 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
}

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

func (*BeraBorrowCICVSession) Allowance added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) 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 (*BeraBorrowCICVSession) Approve added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*BeraBorrowCICVSession) Asset added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) Asset() (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*BeraBorrowCICVSession) AssetDecimals added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) AssetDecimals() (uint8, error)

AssetDecimals is a free data retrieval call binding the contract method 0xc2d41601.

Solidity: function assetDecimals() view returns(uint8)

func (*BeraBorrowCICVSession) BalanceOf added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) 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 (*BeraBorrowCICVSession) ConvertToAssets added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) ConvertToAssets(shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares) view returns(uint256)

func (*BeraBorrowCICVSession) ConvertToShares added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) ConvertToShares(assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets) view returns(uint256)

func (*BeraBorrowCICVSession) ConvertToValue added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) ConvertToValue(token common.Address) (*big.Int, error)

ConvertToValue is a free data retrieval call binding the contract method 0xec05c341.

Solidity: function _convertToValue(address token) view returns(uint256)

func (*BeraBorrowCICVSession) Decimals added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BeraBorrowCICVSession) Deposit added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)

func (*BeraBorrowCICVSession) FetchPrice added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) FetchPrice() (*big.Int, error)

FetchPrice is a free data retrieval call binding the contract method 0x0fdb11cf.

Solidity: function fetchPrice() view returns(uint256)

func (*BeraBorrowCICVSession) GetBalance added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) GetBalance(token common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xf8b2cb4f.

Solidity: function getBalance(address token) view returns(uint256)

func (*BeraBorrowCICVSession) GetBalanceOfWithFutureEmissions added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) GetBalanceOfWithFutureEmissions(token common.Address) (*big.Int, error)

GetBalanceOfWithFutureEmissions is a free data retrieval call binding the contract method 0x29d78c88.

Solidity: function getBalanceOfWithFutureEmissions(address token) view returns(uint256)

func (*BeraBorrowCICVSession) GetFullProfitUnlockTimestamp added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) GetFullProfitUnlockTimestamp(token common.Address) (*big.Int, error)

GetFullProfitUnlockTimestamp is a free data retrieval call binding the contract method 0xd5c16d79.

Solidity: function getFullProfitUnlockTimestamp(address token) view returns(uint256)

func (*BeraBorrowCICVSession) GetLockedEmissions added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) GetLockedEmissions(token common.Address) (*big.Int, error)

GetLockedEmissions is a free data retrieval call binding the contract method 0x403dd3bc.

Solidity: function getLockedEmissions(address token) view returns(uint256)

func (*BeraBorrowCICVSession) GetMetaBeraborrowCore added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) GetMetaBeraborrowCore() (common.Address, error)

GetMetaBeraborrowCore is a free data retrieval call binding the contract method 0x221085d7.

Solidity: function getMetaBeraborrowCore() view returns(address)

func (*BeraBorrowCICVSession) GetPerformanceFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) GetPerformanceFee() (uint16, error)

GetPerformanceFee is a free data retrieval call binding the contract method 0x235c3603.

Solidity: function getPerformanceFee() view returns(uint16)

func (*BeraBorrowCICVSession) GetPrice added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) GetPrice(token common.Address) (*big.Int, error)

GetPrice is a free data retrieval call binding the contract method 0x41976e09.

Solidity: function getPrice(address token) view returns(uint256)

func (*BeraBorrowCICVSession) GetPriceFeed added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) GetPriceFeed() (common.Address, error)

GetPriceFeed is a free data retrieval call binding the contract method 0x9e87a5cd.

Solidity: function getPriceFeed() view returns(address)

func (*BeraBorrowCICVSession) GetWithdrawFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) GetWithdrawFee() (uint16, error)

GetWithdrawFee is a free data retrieval call binding the contract method 0x1540aa89.

Solidity: function getWithdrawFee() view returns(uint16)

func (*BeraBorrowCICVSession) IRedToken added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) IRedToken() (common.Address, error)

IRedToken is a free data retrieval call binding the contract method 0xe993e7ed.

Solidity: function iRedToken() view returns(address)

func (*BeraBorrowCICVSession) Ibgt added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) Ibgt() (common.Address, error)

Ibgt is a free data retrieval call binding the contract method 0x3dafa4f3.

Solidity: function ibgt() view returns(address)

func (*BeraBorrowCICVSession) IbgtVault added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) IbgtVault() (common.Address, error)

IbgtVault is a free data retrieval call binding the contract method 0xfd64c377.

Solidity: function ibgtVault() view returns(address)

func (*BeraBorrowCICVSession) InfraredVault added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) InfraredVault() (common.Address, error)

InfraredVault is a free data retrieval call binding the contract method 0x6ab3b0e5.

Solidity: function infraredVault() view returns(address)

func (*BeraBorrowCICVSession) Initialize added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) Initialize(baseParams IInfraredCollateralVaultInfraredInitParams) (*types.Transaction, error)

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

Solidity: function initialize(((uint16,uint16,uint16,address,address,string,string),uint16,uint16,uint16,address,address,address,address) baseParams) returns()

func (*BeraBorrowCICVSession) InternalizeDonations added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) InternalizeDonations(tokens []common.Address, amounts []*big.Int) (*types.Transaction, error)

InternalizeDonations is a paid mutator transaction binding the contract method 0x3e92f95b.

Solidity: function internalizeDonations(address[] tokens, uint128[] amounts) returns()

func (*BeraBorrowCICVSession) MaxDeposit added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) MaxDeposit(arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*BeraBorrowCICVSession) MaxMint added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) MaxMint(arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

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

func (*BeraBorrowCICVSession) MaxRedeem added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) MaxRedeem(owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

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

func (*BeraBorrowCICVSession) MaxWithdraw added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) MaxWithdraw(_owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address _owner) view returns(uint256)

func (*BeraBorrowCICVSession) Mint added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)

func (*BeraBorrowCICVSession) Name added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BeraBorrowCICVSession) PreviewDeposit added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) PreviewDeposit(assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets) view returns(uint256)

func (*BeraBorrowCICVSession) PreviewMint added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) PreviewMint(shares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 shares) view returns(uint256)

func (*BeraBorrowCICVSession) PreviewRedeem added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) PreviewRedeem(shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256)

func (*BeraBorrowCICVSession) PreviewWithdraw added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) PreviewWithdraw(assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256)

func (*BeraBorrowCICVSession) ProxiableUUID added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*BeraBorrowCICVSession) Rebalance added in v0.1.9

Rebalance is a paid mutator transaction binding the contract method 0xb2c06ba0.

Solidity: function rebalance((address,uint256,address,bytes) p) returns()

func (*BeraBorrowCICVSession) ReceiveDonations added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) ReceiveDonations(tokens []common.Address, amounts []*big.Int, receiver common.Address) (*types.Transaction, error)

ReceiveDonations is a paid mutator transaction binding the contract method 0x32e1fef2.

Solidity: function receiveDonations(address[] tokens, uint256[] amounts, address receiver) returns()

func (*BeraBorrowCICVSession) Redeem added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) Redeem(shares *big.Int, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares, address receiver, address _owner) returns(uint256 assets)

func (*BeraBorrowCICVSession) RewardedTokens added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) RewardedTokens() ([]common.Address, error)

RewardedTokens is a free data retrieval call binding the contract method 0xaaffe076.

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

func (*BeraBorrowCICVSession) SetIRED added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) SetIRED(_iRedToken common.Address) (*types.Transaction, error)

SetIRED is a paid mutator transaction binding the contract method 0x41519a65.

Solidity: function setIRED(address _iRedToken) returns()

func (*BeraBorrowCICVSession) SetPairThreshold added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) SetPairThreshold(tokenIn common.Address, thresholdInBP *big.Int) (*types.Transaction, error)

SetPairThreshold is a paid mutator transaction binding the contract method 0x9a400b0f.

Solidity: function setPairThreshold(address tokenIn, uint256 thresholdInBP) returns()

func (*BeraBorrowCICVSession) SetPerformanceFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) SetPerformanceFee(_performanceFee uint16) (*types.Transaction, error)

SetPerformanceFee is a paid mutator transaction binding the contract method 0xaa290e6d.

Solidity: function setPerformanceFee(uint16 _performanceFee) returns()

func (*BeraBorrowCICVSession) SetUnlockRatePerSecond added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) SetUnlockRatePerSecond(token common.Address, _unlockRatePerSecond uint64) (*types.Transaction, error)

SetUnlockRatePerSecond is a paid mutator transaction binding the contract method 0x0b983a74.

Solidity: function setUnlockRatePerSecond(address token, uint64 _unlockRatePerSecond) returns()

func (*BeraBorrowCICVSession) SetWithdrawFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) SetWithdrawFee(_withdrawFee uint16) (*types.Transaction, error)

SetWithdrawFee is a paid mutator transaction binding the contract method 0x322ce8f0.

Solidity: function setWithdrawFee(uint16 _withdrawFee) returns()

func (*BeraBorrowCICVSession) Symbol added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BeraBorrowCICVSession) TotalAssets added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) TotalAssets() (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256 amountInAsset)

func (*BeraBorrowCICVSession) TotalSupply added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BeraBorrowCICVSession) Transfer added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*BeraBorrowCICVSession) TransferFrom added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*BeraBorrowCICVSession) UPGRADEINTERFACEVERSION added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) UPGRADEINTERFACEVERSION() (string, error)

UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.

Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)

func (*BeraBorrowCICVSession) UnlockRatePerSecond added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) UnlockRatePerSecond(token common.Address) (*big.Int, error)

UnlockRatePerSecond is a free data retrieval call binding the contract method 0xd9c00197.

Solidity: function unlockRatePerSecond(address token) view returns(uint256)

func (*BeraBorrowCICVSession) UpgradeToAndCall added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*BeraBorrowCICVSession) Withdraw added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVSession) Withdraw(assets *big.Int, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 assets, address receiver, address _owner) returns(uint256 shares)

type BeraBorrowCICVTransactor added in v0.1.9

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

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

func NewBeraBorrowCICVTransactor added in v0.1.9

func NewBeraBorrowCICVTransactor(address common.Address, transactor bind.ContractTransactor) (*BeraBorrowCICVTransactor, error)

NewBeraBorrowCICVTransactor creates a new write-only instance of BeraBorrowCICV, bound to a specific deployed contract.

func (*BeraBorrowCICVTransactor) Approve added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*BeraBorrowCICVTransactor) Deposit added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) Deposit(opts *bind.TransactOpts, assets *big.Int, receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)

func (*BeraBorrowCICVTransactor) Initialize added in v0.1.9

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

Solidity: function initialize(((uint16,uint16,uint16,address,address,string,string),uint16,uint16,uint16,address,address,address,address) baseParams) returns()

func (*BeraBorrowCICVTransactor) InternalizeDonations added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) InternalizeDonations(opts *bind.TransactOpts, tokens []common.Address, amounts []*big.Int) (*types.Transaction, error)

InternalizeDonations is a paid mutator transaction binding the contract method 0x3e92f95b.

Solidity: function internalizeDonations(address[] tokens, uint128[] amounts) returns()

func (*BeraBorrowCICVTransactor) Mint added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) Mint(opts *bind.TransactOpts, shares *big.Int, receiver common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)

func (*BeraBorrowCICVTransactor) Rebalance added in v0.1.9

Rebalance is a paid mutator transaction binding the contract method 0xb2c06ba0.

Solidity: function rebalance((address,uint256,address,bytes) p) returns()

func (*BeraBorrowCICVTransactor) ReceiveDonations added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) ReceiveDonations(opts *bind.TransactOpts, tokens []common.Address, amounts []*big.Int, receiver common.Address) (*types.Transaction, error)

ReceiveDonations is a paid mutator transaction binding the contract method 0x32e1fef2.

Solidity: function receiveDonations(address[] tokens, uint256[] amounts, address receiver) returns()

func (*BeraBorrowCICVTransactor) Redeem added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) Redeem(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares, address receiver, address _owner) returns(uint256 assets)

func (*BeraBorrowCICVTransactor) SetIRED added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) SetIRED(opts *bind.TransactOpts, _iRedToken common.Address) (*types.Transaction, error)

SetIRED is a paid mutator transaction binding the contract method 0x41519a65.

Solidity: function setIRED(address _iRedToken) returns()

func (*BeraBorrowCICVTransactor) SetPairThreshold added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) SetPairThreshold(opts *bind.TransactOpts, tokenIn common.Address, thresholdInBP *big.Int) (*types.Transaction, error)

SetPairThreshold is a paid mutator transaction binding the contract method 0x9a400b0f.

Solidity: function setPairThreshold(address tokenIn, uint256 thresholdInBP) returns()

func (*BeraBorrowCICVTransactor) SetPerformanceFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) SetPerformanceFee(opts *bind.TransactOpts, _performanceFee uint16) (*types.Transaction, error)

SetPerformanceFee is a paid mutator transaction binding the contract method 0xaa290e6d.

Solidity: function setPerformanceFee(uint16 _performanceFee) returns()

func (*BeraBorrowCICVTransactor) SetUnlockRatePerSecond added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) SetUnlockRatePerSecond(opts *bind.TransactOpts, token common.Address, _unlockRatePerSecond uint64) (*types.Transaction, error)

SetUnlockRatePerSecond is a paid mutator transaction binding the contract method 0x0b983a74.

Solidity: function setUnlockRatePerSecond(address token, uint64 _unlockRatePerSecond) returns()

func (*BeraBorrowCICVTransactor) SetWithdrawFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) SetWithdrawFee(opts *bind.TransactOpts, _withdrawFee uint16) (*types.Transaction, error)

SetWithdrawFee is a paid mutator transaction binding the contract method 0x322ce8f0.

Solidity: function setWithdrawFee(uint16 _withdrawFee) returns()

func (*BeraBorrowCICVTransactor) Transfer added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*BeraBorrowCICVTransactor) TransferFrom added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*BeraBorrowCICVTransactor) UpgradeToAndCall added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*BeraBorrowCICVTransactor) Withdraw added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactor) Withdraw(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 assets, address receiver, address _owner) returns(uint256 shares)

type BeraBorrowCICVTransactorRaw added in v0.1.9

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

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

func (*BeraBorrowCICVTransactorRaw) Transact added in v0.1.9

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

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

func (*BeraBorrowCICVTransactorRaw) Transfer added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorRaw) 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 BeraBorrowCICVTransactorSession added in v0.1.9

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

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

func (*BeraBorrowCICVTransactorSession) Approve added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*BeraBorrowCICVTransactorSession) Deposit added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)

func (*BeraBorrowCICVTransactorSession) Initialize added in v0.1.9

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

Solidity: function initialize(((uint16,uint16,uint16,address,address,string,string),uint16,uint16,uint16,address,address,address,address) baseParams) returns()

func (*BeraBorrowCICVTransactorSession) InternalizeDonations added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) InternalizeDonations(tokens []common.Address, amounts []*big.Int) (*types.Transaction, error)

InternalizeDonations is a paid mutator transaction binding the contract method 0x3e92f95b.

Solidity: function internalizeDonations(address[] tokens, uint128[] amounts) returns()

func (*BeraBorrowCICVTransactorSession) Mint added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)

func (*BeraBorrowCICVTransactorSession) Rebalance added in v0.1.9

Rebalance is a paid mutator transaction binding the contract method 0xb2c06ba0.

Solidity: function rebalance((address,uint256,address,bytes) p) returns()

func (*BeraBorrowCICVTransactorSession) ReceiveDonations added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) ReceiveDonations(tokens []common.Address, amounts []*big.Int, receiver common.Address) (*types.Transaction, error)

ReceiveDonations is a paid mutator transaction binding the contract method 0x32e1fef2.

Solidity: function receiveDonations(address[] tokens, uint256[] amounts, address receiver) returns()

func (*BeraBorrowCICVTransactorSession) Redeem added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) Redeem(shares *big.Int, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares, address receiver, address _owner) returns(uint256 assets)

func (*BeraBorrowCICVTransactorSession) SetIRED added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) SetIRED(_iRedToken common.Address) (*types.Transaction, error)

SetIRED is a paid mutator transaction binding the contract method 0x41519a65.

Solidity: function setIRED(address _iRedToken) returns()

func (*BeraBorrowCICVTransactorSession) SetPairThreshold added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) SetPairThreshold(tokenIn common.Address, thresholdInBP *big.Int) (*types.Transaction, error)

SetPairThreshold is a paid mutator transaction binding the contract method 0x9a400b0f.

Solidity: function setPairThreshold(address tokenIn, uint256 thresholdInBP) returns()

func (*BeraBorrowCICVTransactorSession) SetPerformanceFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) SetPerformanceFee(_performanceFee uint16) (*types.Transaction, error)

SetPerformanceFee is a paid mutator transaction binding the contract method 0xaa290e6d.

Solidity: function setPerformanceFee(uint16 _performanceFee) returns()

func (*BeraBorrowCICVTransactorSession) SetUnlockRatePerSecond added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) SetUnlockRatePerSecond(token common.Address, _unlockRatePerSecond uint64) (*types.Transaction, error)

SetUnlockRatePerSecond is a paid mutator transaction binding the contract method 0x0b983a74.

Solidity: function setUnlockRatePerSecond(address token, uint64 _unlockRatePerSecond) returns()

func (*BeraBorrowCICVTransactorSession) SetWithdrawFee added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) SetWithdrawFee(_withdrawFee uint16) (*types.Transaction, error)

SetWithdrawFee is a paid mutator transaction binding the contract method 0x322ce8f0.

Solidity: function setWithdrawFee(uint16 _withdrawFee) returns()

func (*BeraBorrowCICVTransactorSession) Transfer added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*BeraBorrowCICVTransactorSession) TransferFrom added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*BeraBorrowCICVTransactorSession) UpgradeToAndCall added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*BeraBorrowCICVTransactorSession) Withdraw added in v0.1.9

func (_BeraBorrowCICV *BeraBorrowCICVTransactorSession) Withdraw(assets *big.Int, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 assets, address receiver, address _owner) returns(uint256 shares)

type BeraBorrowCICVTransfer added in v0.1.9

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

BeraBorrowCICVTransfer represents a Transfer event raised by the BeraBorrowCICV contract.

type BeraBorrowCICVTransferIterator added in v0.1.9

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

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

func (*BeraBorrowCICVTransferIterator) Close added in v0.1.9

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

func (*BeraBorrowCICVTransferIterator) Error added in v0.1.9

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowCICVTransferIterator) Next added in v0.1.9

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 BeraBorrowCICVUpgraded added in v0.1.9

type BeraBorrowCICVUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

BeraBorrowCICVUpgraded represents a Upgraded event raised by the BeraBorrowCICV contract.

type BeraBorrowCICVUpgradedIterator added in v0.1.9

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

BeraBorrowCICVUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the BeraBorrowCICV contract.

func (*BeraBorrowCICVUpgradedIterator) Close added in v0.1.9

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

func (*BeraBorrowCICVUpgradedIterator) Error added in v0.1.9

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowCICVUpgradedIterator) Next added in v0.1.9

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 BeraBorrowCICVWithdraw added in v0.1.9

type BeraBorrowCICVWithdraw struct {
	Sender   common.Address
	Receiver common.Address
	Owner    common.Address
	Assets   *big.Int
	Shares   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

BeraBorrowCICVWithdraw represents a Withdraw event raised by the BeraBorrowCICV contract.

type BeraBorrowCICVWithdrawIterator added in v0.1.9

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

BeraBorrowCICVWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the BeraBorrowCICV contract.

func (*BeraBorrowCICVWithdrawIterator) Close added in v0.1.9

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

func (*BeraBorrowCICVWithdrawIterator) Error added in v0.1.9

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowCICVWithdrawIterator) Next added in v0.1.9

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 BeraBorrowIW added in v0.1.9

type BeraBorrowIW struct {
	BeraBorrowIWCaller     // Read-only binding to the contract
	BeraBorrowIWTransactor // Write-only binding to the contract
	BeraBorrowIWFilterer   // Log filterer for contract events
}

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

func NewBeraBorrowIW added in v0.1.9

func NewBeraBorrowIW(address common.Address, backend bind.ContractBackend) (*BeraBorrowIW, error)

NewBeraBorrowIW creates a new instance of BeraBorrowIW, bound to a specific deployed contract.

type BeraBorrowIWApproval added in v0.1.9

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

BeraBorrowIWApproval represents a Approval event raised by the BeraBorrowIW contract.

type BeraBorrowIWApprovalIterator added in v0.1.9

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

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

func (*BeraBorrowIWApprovalIterator) Close added in v0.1.9

func (it *BeraBorrowIWApprovalIterator) Close() error

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

func (*BeraBorrowIWApprovalIterator) Error added in v0.1.9

func (it *BeraBorrowIWApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowIWApprovalIterator) Next added in v0.1.9

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 BeraBorrowIWCaller added in v0.1.9

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

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

func NewBeraBorrowIWCaller added in v0.1.9

func NewBeraBorrowIWCaller(address common.Address, caller bind.ContractCaller) (*BeraBorrowIWCaller, error)

NewBeraBorrowIWCaller creates a new read-only instance of BeraBorrowIW, bound to a specific deployed contract.

func (*BeraBorrowIWCaller) Allowance added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCaller) 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 (*BeraBorrowIWCaller) BalanceOf added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCaller) 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 (*BeraBorrowIWCaller) Decimals added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCaller) 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 (*BeraBorrowIWCaller) InfraredCollVault added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCaller) InfraredCollVault(opts *bind.CallOpts) (common.Address, error)

InfraredCollVault is a free data retrieval call binding the contract method 0xac22c86d.

Solidity: function infraredCollVault() view returns(address)

func (*BeraBorrowIWCaller) MetaBeraborrowCore added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCaller) MetaBeraborrowCore(opts *bind.CallOpts) (common.Address, error)

MetaBeraborrowCore is a free data retrieval call binding the contract method 0xaf068f4f.

Solidity: function metaBeraborrowCore() view returns(address)

func (*BeraBorrowIWCaller) Name added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCaller) 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 (*BeraBorrowIWCaller) Symbol added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCaller) 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 (*BeraBorrowIWCaller) TotalSupply added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCaller) 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 (*BeraBorrowIWCaller) Underlying added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCaller) Underlying(opts *bind.CallOpts) (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() view returns(address)

type BeraBorrowIWCallerRaw added in v0.1.9

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

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

func (*BeraBorrowIWCallerRaw) Call added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCallerRaw) 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 BeraBorrowIWCallerSession added in v0.1.9

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

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

func (*BeraBorrowIWCallerSession) Allowance added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCallerSession) 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 (*BeraBorrowIWCallerSession) BalanceOf added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCallerSession) 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 (*BeraBorrowIWCallerSession) Decimals added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BeraBorrowIWCallerSession) InfraredCollVault added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCallerSession) InfraredCollVault() (common.Address, error)

InfraredCollVault is a free data retrieval call binding the contract method 0xac22c86d.

Solidity: function infraredCollVault() view returns(address)

func (*BeraBorrowIWCallerSession) MetaBeraborrowCore added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCallerSession) MetaBeraborrowCore() (common.Address, error)

MetaBeraborrowCore is a free data retrieval call binding the contract method 0xaf068f4f.

Solidity: function metaBeraborrowCore() view returns(address)

func (*BeraBorrowIWCallerSession) Name added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BeraBorrowIWCallerSession) Symbol added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BeraBorrowIWCallerSession) TotalSupply added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BeraBorrowIWCallerSession) Underlying added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWCallerSession) Underlying() (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() view returns(address)

type BeraBorrowIWFilterer added in v0.1.9

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

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

func NewBeraBorrowIWFilterer added in v0.1.9

func NewBeraBorrowIWFilterer(address common.Address, filterer bind.ContractFilterer) (*BeraBorrowIWFilterer, error)

NewBeraBorrowIWFilterer creates a new log filterer instance of BeraBorrowIW, bound to a specific deployed contract.

func (*BeraBorrowIWFilterer) FilterApproval added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BeraBorrowIWApprovalIterator, 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 (*BeraBorrowIWFilterer) FilterTransfer added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BeraBorrowIWTransferIterator, 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 (*BeraBorrowIWFilterer) ParseApproval added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWFilterer) ParseApproval(log types.Log) (*BeraBorrowIWApproval, error)

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

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

func (*BeraBorrowIWFilterer) ParseTransfer added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWFilterer) ParseTransfer(log types.Log) (*BeraBorrowIWTransfer, error)

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

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

func (*BeraBorrowIWFilterer) WatchApproval added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BeraBorrowIWApproval, 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 (*BeraBorrowIWFilterer) WatchTransfer added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BeraBorrowIWTransfer, 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 BeraBorrowIWRaw added in v0.1.9

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

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

func (*BeraBorrowIWRaw) Call added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWRaw) 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 (*BeraBorrowIWRaw) Transact added in v0.1.9

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

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

func (*BeraBorrowIWRaw) Transfer added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWRaw) 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 BeraBorrowIWSession added in v0.1.9

type BeraBorrowIWSession struct {
	Contract     *BeraBorrowIW     // 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
}

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

func (*BeraBorrowIWSession) Allowance added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) 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 (*BeraBorrowIWSession) Approve added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) 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 (*BeraBorrowIWSession) BalanceOf added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) 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 (*BeraBorrowIWSession) Decimals added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BeraBorrowIWSession) DecreaseAllowance added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) 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 (*BeraBorrowIWSession) DepositFor added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) DepositFor(account common.Address, amount *big.Int) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x2f4f21e2.

Solidity: function depositFor(address account, uint256 amount) returns(bool)

func (*BeraBorrowIWSession) IncreaseAllowance added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) 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 (*BeraBorrowIWSession) InfraredCollVault added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) InfraredCollVault() (common.Address, error)

InfraredCollVault is a free data retrieval call binding the contract method 0xac22c86d.

Solidity: function infraredCollVault() view returns(address)

func (*BeraBorrowIWSession) MetaBeraborrowCore added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) MetaBeraborrowCore() (common.Address, error)

MetaBeraborrowCore is a free data retrieval call binding the contract method 0xaf068f4f.

Solidity: function metaBeraborrowCore() view returns(address)

func (*BeraBorrowIWSession) Name added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BeraBorrowIWSession) Recover added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) Recover(account common.Address) (*types.Transaction, error)

Recover is a paid mutator transaction binding the contract method 0x0cd865ec.

Solidity: function recover(address account) returns(uint256)

func (*BeraBorrowIWSession) Symbol added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BeraBorrowIWSession) TotalSupply added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BeraBorrowIWSession) Transfer added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) 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 (*BeraBorrowIWSession) TransferFrom added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) 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)

func (*BeraBorrowIWSession) Underlying added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) Underlying() (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() view returns(address)

func (*BeraBorrowIWSession) WithdrawTo added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWSession) WithdrawTo(account common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.

Solidity: function withdrawTo(address account, uint256 amount) returns(bool)

type BeraBorrowIWTransactor added in v0.1.9

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

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

func NewBeraBorrowIWTransactor added in v0.1.9

func NewBeraBorrowIWTransactor(address common.Address, transactor bind.ContractTransactor) (*BeraBorrowIWTransactor, error)

NewBeraBorrowIWTransactor creates a new write-only instance of BeraBorrowIW, bound to a specific deployed contract.

func (*BeraBorrowIWTransactor) Approve added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactor) 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 (*BeraBorrowIWTransactor) DecreaseAllowance added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactor) 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 (*BeraBorrowIWTransactor) DepositFor added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactor) DepositFor(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x2f4f21e2.

Solidity: function depositFor(address account, uint256 amount) returns(bool)

func (*BeraBorrowIWTransactor) IncreaseAllowance added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactor) 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 (*BeraBorrowIWTransactor) Recover added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactor) Recover(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

Recover is a paid mutator transaction binding the contract method 0x0cd865ec.

Solidity: function recover(address account) returns(uint256)

func (*BeraBorrowIWTransactor) Transfer added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactor) 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 (*BeraBorrowIWTransactor) TransferFrom added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactor) 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)

func (*BeraBorrowIWTransactor) WithdrawTo added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactor) WithdrawTo(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.

Solidity: function withdrawTo(address account, uint256 amount) returns(bool)

type BeraBorrowIWTransactorRaw added in v0.1.9

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

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

func (*BeraBorrowIWTransactorRaw) Transact added in v0.1.9

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

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

func (*BeraBorrowIWTransactorRaw) Transfer added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactorRaw) 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 BeraBorrowIWTransactorSession added in v0.1.9

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

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

func (*BeraBorrowIWTransactorSession) Approve added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactorSession) 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 (*BeraBorrowIWTransactorSession) DecreaseAllowance added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactorSession) 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 (*BeraBorrowIWTransactorSession) DepositFor added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactorSession) DepositFor(account common.Address, amount *big.Int) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x2f4f21e2.

Solidity: function depositFor(address account, uint256 amount) returns(bool)

func (*BeraBorrowIWTransactorSession) IncreaseAllowance added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactorSession) 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 (*BeraBorrowIWTransactorSession) Recover added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactorSession) Recover(account common.Address) (*types.Transaction, error)

Recover is a paid mutator transaction binding the contract method 0x0cd865ec.

Solidity: function recover(address account) returns(uint256)

func (*BeraBorrowIWTransactorSession) Transfer added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactorSession) 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 (*BeraBorrowIWTransactorSession) TransferFrom added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactorSession) 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)

func (*BeraBorrowIWTransactorSession) WithdrawTo added in v0.1.9

func (_BeraBorrowIW *BeraBorrowIWTransactorSession) WithdrawTo(account common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.

Solidity: function withdrawTo(address account, uint256 amount) returns(bool)

type BeraBorrowIWTransfer added in v0.1.9

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

BeraBorrowIWTransfer represents a Transfer event raised by the BeraBorrowIW contract.

type BeraBorrowIWTransferIterator added in v0.1.9

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

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

func (*BeraBorrowIWTransferIterator) Close added in v0.1.9

func (it *BeraBorrowIWTransferIterator) Close() error

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

func (*BeraBorrowIWTransferIterator) Error added in v0.1.9

func (it *BeraBorrowIWTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowIWTransferIterator) Next added in v0.1.9

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 BeraBorrowSNECT added in v0.1.16

type BeraBorrowSNECT struct {
	BeraBorrowSNECTCaller     // Read-only binding to the contract
	BeraBorrowSNECTTransactor // Write-only binding to the contract
	BeraBorrowSNECTFilterer   // Log filterer for contract events
}

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

func NewBeraBorrowSNECT added in v0.1.16

func NewBeraBorrowSNECT(address common.Address, backend bind.ContractBackend) (*BeraBorrowSNECT, error)

NewBeraBorrowSNECT creates a new instance of BeraBorrowSNECT, bound to a specific deployed contract.

type BeraBorrowSNECTApproval added in v0.1.16

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

BeraBorrowSNECTApproval represents a Approval event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTApprovalIterator added in v0.1.16

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

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

func (*BeraBorrowSNECTApprovalIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTApprovalIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTApprovalIterator) Next added in v0.1.16

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 BeraBorrowSNECTAssetsWithdraw added in v0.1.16

type BeraBorrowSNECTAssetsWithdraw struct {
	Receiver common.Address
	Shares   *big.Int
	Tokens   []common.Address
	Amounts  []*big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

BeraBorrowSNECTAssetsWithdraw represents a AssetsWithdraw event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTAssetsWithdrawIterator added in v0.1.16

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

BeraBorrowSNECTAssetsWithdrawIterator is returned from FilterAssetsWithdraw and is used to iterate over the raw logs and unpacked data for AssetsWithdraw events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTAssetsWithdrawIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTAssetsWithdrawIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTAssetsWithdrawIterator) Next added in v0.1.16

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 BeraBorrowSNECTCaller added in v0.1.16

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

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

func NewBeraBorrowSNECTCaller added in v0.1.16

func NewBeraBorrowSNECTCaller(address common.Address, caller bind.ContractCaller) (*BeraBorrowSNECTCaller, error)

NewBeraBorrowSNECTCaller creates a new read-only instance of BeraBorrowSNECT, bound to a specific deployed contract.

func (*BeraBorrowSNECTCaller) Allowance added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) 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 (*BeraBorrowSNECTCaller) Asset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) Asset(opts *bind.CallOpts) (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*BeraBorrowSNECTCaller) BalanceOf added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) 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 (*BeraBorrowSNECTCaller) ConvertToAssets added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) ConvertToAssets(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares) view returns(uint256)

func (*BeraBorrowSNECTCaller) ConvertToShares added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) ConvertToShares(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets) view returns(uint256)

func (*BeraBorrowSNECTCaller) Decimals added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) 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 (*BeraBorrowSNECTCaller) ExtSloads added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) ExtSloads(opts *bind.CallOpts, slots [][32]byte) ([][32]byte, error)

ExtSloads is a free data retrieval call binding the contract method 0x7784c685.

Solidity: function extSloads(bytes32[] slots) view returns(bytes32[] res)

func (*BeraBorrowSNECTCaller) GetCollateralTokens added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) GetCollateralTokens(opts *bind.CallOpts) ([]common.Address, error)

GetCollateralTokens is a free data retrieval call binding the contract method 0xb58eb63f.

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

func (*BeraBorrowSNECTCaller) GetLockedEmissions added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) GetLockedEmissions(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetLockedEmissions is a free data retrieval call binding the contract method 0x403dd3bc.

Solidity: function getLockedEmissions(address token) view returns(uint256)

func (*BeraBorrowSNECTCaller) GetPrice added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) GetPrice(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetPrice is a free data retrieval call binding the contract method 0x41976e09.

Solidity: function getPrice(address token) view returns(uint256 scaledPriceInUsdWad)

func (*BeraBorrowSNECTCaller) GetTotalDebtTokenDeposits added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) GetTotalDebtTokenDeposits(opts *bind.CallOpts) (*big.Int, error)

GetTotalDebtTokenDeposits is a free data retrieval call binding the contract method 0x0d9a6b35.

Solidity: function getTotalDebtTokenDeposits() view returns(uint256)

func (*BeraBorrowSNECTCaller) MaxDeposit added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) MaxDeposit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*BeraBorrowSNECTCaller) MaxMint added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) MaxMint(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

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

func (*BeraBorrowSNECTCaller) MaxRedeem added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) MaxRedeem(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

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

func (*BeraBorrowSNECTCaller) MaxWithdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) MaxWithdraw(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address _owner) view returns(uint256)

func (*BeraBorrowSNECTCaller) Name added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) 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 (*BeraBorrowSNECTCaller) PreviewDeposit added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) PreviewDeposit(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets) view returns(uint256)

func (*BeraBorrowSNECTCaller) PreviewMint added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) PreviewMint(opts *bind.CallOpts, netShares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 netShares) view returns(uint256)

func (*BeraBorrowSNECTCaller) PreviewRedeem added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) PreviewRedeem(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256)

func (*BeraBorrowSNECTCaller) PreviewWithdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) PreviewWithdraw(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256)

func (*BeraBorrowSNECTCaller) ProxiableUUID added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*BeraBorrowSNECTCaller) SUNSETDURATION added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) SUNSETDURATION(opts *bind.CallOpts) (*big.Int, error)

SUNSETDURATION is a free data retrieval call binding the contract method 0xa7528a03.

Solidity: function SUNSET_DURATION() view returns(uint128)

func (*BeraBorrowSNECTCaller) Symbol added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) 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 (*BeraBorrowSNECTCaller) TotalAssets added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) TotalAssets(opts *bind.CallOpts) (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256 amountInNect)

func (*BeraBorrowSNECTCaller) TotalSupply added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) 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 (*BeraBorrowSNECTCaller) UPGRADEINTERFACEVERSION added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCaller) UPGRADEINTERFACEVERSION(opts *bind.CallOpts) (string, error)

UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.

Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)

type BeraBorrowSNECTCallerRaw added in v0.1.16

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

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

func (*BeraBorrowSNECTCallerRaw) Call added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerRaw) 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 BeraBorrowSNECTCallerSession added in v0.1.16

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

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

func (*BeraBorrowSNECTCallerSession) Allowance added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) 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 (*BeraBorrowSNECTCallerSession) Asset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) Asset() (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*BeraBorrowSNECTCallerSession) BalanceOf added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) 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 (*BeraBorrowSNECTCallerSession) ConvertToAssets added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) ConvertToAssets(shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares) view returns(uint256)

func (*BeraBorrowSNECTCallerSession) ConvertToShares added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) ConvertToShares(assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets) view returns(uint256)

func (*BeraBorrowSNECTCallerSession) Decimals added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BeraBorrowSNECTCallerSession) ExtSloads added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) ExtSloads(slots [][32]byte) ([][32]byte, error)

ExtSloads is a free data retrieval call binding the contract method 0x7784c685.

Solidity: function extSloads(bytes32[] slots) view returns(bytes32[] res)

func (*BeraBorrowSNECTCallerSession) GetCollateralTokens added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) GetCollateralTokens() ([]common.Address, error)

GetCollateralTokens is a free data retrieval call binding the contract method 0xb58eb63f.

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

func (*BeraBorrowSNECTCallerSession) GetLockedEmissions added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) GetLockedEmissions(token common.Address) (*big.Int, error)

GetLockedEmissions is a free data retrieval call binding the contract method 0x403dd3bc.

Solidity: function getLockedEmissions(address token) view returns(uint256)

func (*BeraBorrowSNECTCallerSession) GetPrice added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) GetPrice(token common.Address) (*big.Int, error)

GetPrice is a free data retrieval call binding the contract method 0x41976e09.

Solidity: function getPrice(address token) view returns(uint256 scaledPriceInUsdWad)

func (*BeraBorrowSNECTCallerSession) GetTotalDebtTokenDeposits added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) GetTotalDebtTokenDeposits() (*big.Int, error)

GetTotalDebtTokenDeposits is a free data retrieval call binding the contract method 0x0d9a6b35.

Solidity: function getTotalDebtTokenDeposits() view returns(uint256)

func (*BeraBorrowSNECTCallerSession) MaxDeposit added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) MaxDeposit(arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*BeraBorrowSNECTCallerSession) MaxMint added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) MaxMint(arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

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

func (*BeraBorrowSNECTCallerSession) MaxRedeem added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) MaxRedeem(owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

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

func (*BeraBorrowSNECTCallerSession) MaxWithdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) MaxWithdraw(_owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address _owner) view returns(uint256)

func (*BeraBorrowSNECTCallerSession) Name added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BeraBorrowSNECTCallerSession) PreviewDeposit added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) PreviewDeposit(assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets) view returns(uint256)

func (*BeraBorrowSNECTCallerSession) PreviewMint added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) PreviewMint(netShares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 netShares) view returns(uint256)

func (*BeraBorrowSNECTCallerSession) PreviewRedeem added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) PreviewRedeem(shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256)

func (*BeraBorrowSNECTCallerSession) PreviewWithdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) PreviewWithdraw(assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256)

func (*BeraBorrowSNECTCallerSession) ProxiableUUID added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*BeraBorrowSNECTCallerSession) SUNSETDURATION added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) SUNSETDURATION() (*big.Int, error)

SUNSETDURATION is a free data retrieval call binding the contract method 0xa7528a03.

Solidity: function SUNSET_DURATION() view returns(uint128)

func (*BeraBorrowSNECTCallerSession) Symbol added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BeraBorrowSNECTCallerSession) TotalAssets added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) TotalAssets() (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256 amountInNect)

func (*BeraBorrowSNECTCallerSession) TotalSupply added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BeraBorrowSNECTCallerSession) UPGRADEINTERFACEVERSION added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTCallerSession) UPGRADEINTERFACEVERSION() (string, error)

UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.

Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)

type BeraBorrowSNECTCollateralOverwritten added in v0.1.16

type BeraBorrowSNECTCollateralOverwritten struct {
	OldCollateral common.Address
	NewCollateral common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BeraBorrowSNECTCollateralOverwritten represents a CollateralOverwritten event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTCollateralOverwrittenIterator added in v0.1.16

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

BeraBorrowSNECTCollateralOverwrittenIterator is returned from FilterCollateralOverwritten and is used to iterate over the raw logs and unpacked data for CollateralOverwritten events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTCollateralOverwrittenIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTCollateralOverwrittenIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTCollateralOverwrittenIterator) Next added in v0.1.16

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 BeraBorrowSNECTDeposit added in v0.1.16

type BeraBorrowSNECTDeposit struct {
	Sender common.Address
	Owner  common.Address
	Assets *big.Int
	Shares *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BeraBorrowSNECTDeposit represents a Deposit event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTDepositIterator added in v0.1.16

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

BeraBorrowSNECTDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTDepositIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTDepositIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTDepositIterator) Next added in v0.1.16

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 BeraBorrowSNECTEmissionsAdded added in v0.1.16

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

BeraBorrowSNECTEmissionsAdded represents a EmissionsAdded event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTEmissionsAddedIterator added in v0.1.16

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

BeraBorrowSNECTEmissionsAddedIterator is returned from FilterEmissionsAdded and is used to iterate over the raw logs and unpacked data for EmissionsAdded events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTEmissionsAddedIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTEmissionsAddedIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTEmissionsAddedIterator) Next added in v0.1.16

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 BeraBorrowSNECTEmissionsSub added in v0.1.16

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

BeraBorrowSNECTEmissionsSub represents a EmissionsSub event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTEmissionsSubIterator added in v0.1.16

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

BeraBorrowSNECTEmissionsSubIterator is returned from FilterEmissionsSub and is used to iterate over the raw logs and unpacked data for EmissionsSub events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTEmissionsSubIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTEmissionsSubIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTEmissionsSubIterator) Next added in v0.1.16

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 BeraBorrowSNECTExtraAssetAdded added in v0.1.16

type BeraBorrowSNECTExtraAssetAdded struct {
	Token common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

BeraBorrowSNECTExtraAssetAdded represents a ExtraAssetAdded event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTExtraAssetAddedIterator added in v0.1.16

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

BeraBorrowSNECTExtraAssetAddedIterator is returned from FilterExtraAssetAdded and is used to iterate over the raw logs and unpacked data for ExtraAssetAdded events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTExtraAssetAddedIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTExtraAssetAddedIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTExtraAssetAddedIterator) Next added in v0.1.16

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 BeraBorrowSNECTExtraAssetRemoved added in v0.1.16

type BeraBorrowSNECTExtraAssetRemoved struct {
	Token common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

BeraBorrowSNECTExtraAssetRemoved represents a ExtraAssetRemoved event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTExtraAssetRemovedIterator added in v0.1.16

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

BeraBorrowSNECTExtraAssetRemovedIterator is returned from FilterExtraAssetRemoved and is used to iterate over the raw logs and unpacked data for ExtraAssetRemoved events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTExtraAssetRemovedIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTExtraAssetRemovedIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTExtraAssetRemovedIterator) Next added in v0.1.16

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 BeraBorrowSNECTFilterer added in v0.1.16

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

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

func NewBeraBorrowSNECTFilterer added in v0.1.16

func NewBeraBorrowSNECTFilterer(address common.Address, filterer bind.ContractFilterer) (*BeraBorrowSNECTFilterer, error)

NewBeraBorrowSNECTFilterer creates a new log filterer instance of BeraBorrowSNECT, bound to a specific deployed contract.

func (*BeraBorrowSNECTFilterer) FilterApproval added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BeraBorrowSNECTApprovalIterator, 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 (*BeraBorrowSNECTFilterer) FilterAssetsWithdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterAssetsWithdraw(opts *bind.FilterOpts, receiver []common.Address) (*BeraBorrowSNECTAssetsWithdrawIterator, error)

FilterAssetsWithdraw is a free log retrieval operation binding the contract event 0x86bcb277da75a9fbb738b8bb82beb731d82a0a89516b848730df92849f966bf0.

Solidity: event AssetsWithdraw(address indexed receiver, uint256 shares, address[] tokens, uint256[] amounts)

func (*BeraBorrowSNECTFilterer) FilterCollateralOverwritten added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterCollateralOverwritten(opts *bind.FilterOpts) (*BeraBorrowSNECTCollateralOverwrittenIterator, error)

FilterCollateralOverwritten is a free log retrieval operation binding the contract event 0x9e147d339c63698deb55c3d0d44ed3eba29bac2a068a88c4bc5bde17d6331e19.

Solidity: event CollateralOverwritten(address oldCollateral, address newCollateral)

func (*BeraBorrowSNECTFilterer) FilterDeposit added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterDeposit(opts *bind.FilterOpts, sender []common.Address, owner []common.Address) (*BeraBorrowSNECTDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)

func (*BeraBorrowSNECTFilterer) FilterEmissionsAdded added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterEmissionsAdded(opts *bind.FilterOpts, token []common.Address) (*BeraBorrowSNECTEmissionsAddedIterator, error)

FilterEmissionsAdded is a free log retrieval operation binding the contract event 0x693ffe037fd29f4846b006bd3ada57d4fd4c3622277227342f0e4fed9011dc20.

Solidity: event EmissionsAdded(address indexed token, uint128 amount)

func (*BeraBorrowSNECTFilterer) FilterEmissionsSub added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterEmissionsSub(opts *bind.FilterOpts, token []common.Address) (*BeraBorrowSNECTEmissionsSubIterator, error)

FilterEmissionsSub is a free log retrieval operation binding the contract event 0x5f4e7177e0f8e013ddb6d29e468fa7a45f8df4e00e7895b7f20c5979cab21c6c.

Solidity: event EmissionsSub(address indexed token, uint128 amount)

func (*BeraBorrowSNECTFilterer) FilterExtraAssetAdded added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterExtraAssetAdded(opts *bind.FilterOpts) (*BeraBorrowSNECTExtraAssetAddedIterator, error)

FilterExtraAssetAdded is a free log retrieval operation binding the contract event 0x252fb22f1e5dcdba04908f13259852204aead54fea1342d028eb2f49510bee97.

Solidity: event ExtraAssetAdded(address token)

func (*BeraBorrowSNECTFilterer) FilterExtraAssetRemoved added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterExtraAssetRemoved(opts *bind.FilterOpts) (*BeraBorrowSNECTExtraAssetRemovedIterator, error)

FilterExtraAssetRemoved is a free log retrieval operation binding the contract event 0xfc9138846a97b86614d19b78419b88e555c50bbd80b03feffd6264cd43064380.

Solidity: event ExtraAssetRemoved(address token)

func (*BeraBorrowSNECTFilterer) FilterInitialized added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterInitialized(opts *bind.FilterOpts) (*BeraBorrowSNECTInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*BeraBorrowSNECTFilterer) FilterNewUnlockRatePerSecond added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterNewUnlockRatePerSecond(opts *bind.FilterOpts, token []common.Address) (*BeraBorrowSNECTNewUnlockRatePerSecondIterator, error)

FilterNewUnlockRatePerSecond is a free log retrieval operation binding the contract event 0x5577d4c8f6e5397effa5c71df8fe221e1162e18aaa0aabe87026cfb0c6762150.

Solidity: event NewUnlockRatePerSecond(address indexed token, uint64 unlockRatePerSecond)

func (*BeraBorrowSNECTFilterer) FilterOffset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterOffset(opts *bind.FilterOpts) (*BeraBorrowSNECTOffsetIterator, error)

FilterOffset is a free log retrieval operation binding the contract event 0xc659bef2facfde65b659c8c5160cf21ac8232b38f8331aac0cea195e1d929665.

Solidity: event Offset(address collateral, uint256 debtToOffset, uint256 collToAdd, uint256 collSurplusAmount)

func (*BeraBorrowSNECTFilterer) FilterProtocolBlacklisted added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterProtocolBlacklisted(opts *bind.FilterOpts, factoryRemoved []common.Address, LMremoved []common.Address) (*BeraBorrowSNECTProtocolBlacklistedIterator, error)

FilterProtocolBlacklisted is a free log retrieval operation binding the contract event 0x88ecee496061ddc38d88503f7cf6a1f4f6ade60ee216c946c5a0e8de6049595c.

Solidity: event ProtocolBlacklisted(address indexed factoryRemoved, address indexed LMremoved)

func (*BeraBorrowSNECTFilterer) FilterProtocolRegistered added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterProtocolRegistered(opts *bind.FilterOpts, factory []common.Address, liquidationManager []common.Address) (*BeraBorrowSNECTProtocolRegisteredIterator, error)

FilterProtocolRegistered is a free log retrieval operation binding the contract event 0xd6c91941062a66dc4c4344f6b10af4b565b256816a2f9080ba7f83e1d6a2bdc6.

Solidity: event ProtocolRegistered(address indexed factory, address indexed liquidationManager)

func (*BeraBorrowSNECTFilterer) FilterRebalance added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterRebalance(opts *bind.FilterOpts, sentCurrency []common.Address, receivedCurrency []common.Address) (*BeraBorrowSNECTRebalanceIterator, error)

FilterRebalance is a free log retrieval operation binding the contract event 0xb8c3fd52c06cd7e35d81a3fc31542187d197c9deef253587a27e0214677d0f6b.

Solidity: event Rebalance(address indexed sentCurrency, address indexed receivedCurrency, uint256 sentAmount, uint256 receivedAmount, uint256 sentValue, uint256 receivedValue)

func (*BeraBorrowSNECTFilterer) FilterTransfer added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BeraBorrowSNECTTransferIterator, 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 (*BeraBorrowSNECTFilterer) FilterUpgraded added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*BeraBorrowSNECTUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*BeraBorrowSNECTFilterer) FilterWithdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address, receiver []common.Address, owner []common.Address) (*BeraBorrowSNECTWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

func (*BeraBorrowSNECTFilterer) ParseApproval added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseApproval(log types.Log) (*BeraBorrowSNECTApproval, error)

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

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

func (*BeraBorrowSNECTFilterer) ParseAssetsWithdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseAssetsWithdraw(log types.Log) (*BeraBorrowSNECTAssetsWithdraw, error)

ParseAssetsWithdraw is a log parse operation binding the contract event 0x86bcb277da75a9fbb738b8bb82beb731d82a0a89516b848730df92849f966bf0.

Solidity: event AssetsWithdraw(address indexed receiver, uint256 shares, address[] tokens, uint256[] amounts)

func (*BeraBorrowSNECTFilterer) ParseCollateralOverwritten added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseCollateralOverwritten(log types.Log) (*BeraBorrowSNECTCollateralOverwritten, error)

ParseCollateralOverwritten is a log parse operation binding the contract event 0x9e147d339c63698deb55c3d0d44ed3eba29bac2a068a88c4bc5bde17d6331e19.

Solidity: event CollateralOverwritten(address oldCollateral, address newCollateral)

func (*BeraBorrowSNECTFilterer) ParseDeposit added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseDeposit(log types.Log) (*BeraBorrowSNECTDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)

func (*BeraBorrowSNECTFilterer) ParseEmissionsAdded added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseEmissionsAdded(log types.Log) (*BeraBorrowSNECTEmissionsAdded, error)

ParseEmissionsAdded is a log parse operation binding the contract event 0x693ffe037fd29f4846b006bd3ada57d4fd4c3622277227342f0e4fed9011dc20.

Solidity: event EmissionsAdded(address indexed token, uint128 amount)

func (*BeraBorrowSNECTFilterer) ParseEmissionsSub added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseEmissionsSub(log types.Log) (*BeraBorrowSNECTEmissionsSub, error)

ParseEmissionsSub is a log parse operation binding the contract event 0x5f4e7177e0f8e013ddb6d29e468fa7a45f8df4e00e7895b7f20c5979cab21c6c.

Solidity: event EmissionsSub(address indexed token, uint128 amount)

func (*BeraBorrowSNECTFilterer) ParseExtraAssetAdded added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseExtraAssetAdded(log types.Log) (*BeraBorrowSNECTExtraAssetAdded, error)

ParseExtraAssetAdded is a log parse operation binding the contract event 0x252fb22f1e5dcdba04908f13259852204aead54fea1342d028eb2f49510bee97.

Solidity: event ExtraAssetAdded(address token)

func (*BeraBorrowSNECTFilterer) ParseExtraAssetRemoved added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseExtraAssetRemoved(log types.Log) (*BeraBorrowSNECTExtraAssetRemoved, error)

ParseExtraAssetRemoved is a log parse operation binding the contract event 0xfc9138846a97b86614d19b78419b88e555c50bbd80b03feffd6264cd43064380.

Solidity: event ExtraAssetRemoved(address token)

func (*BeraBorrowSNECTFilterer) ParseInitialized added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseInitialized(log types.Log) (*BeraBorrowSNECTInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*BeraBorrowSNECTFilterer) ParseNewUnlockRatePerSecond added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseNewUnlockRatePerSecond(log types.Log) (*BeraBorrowSNECTNewUnlockRatePerSecond, error)

ParseNewUnlockRatePerSecond is a log parse operation binding the contract event 0x5577d4c8f6e5397effa5c71df8fe221e1162e18aaa0aabe87026cfb0c6762150.

Solidity: event NewUnlockRatePerSecond(address indexed token, uint64 unlockRatePerSecond)

func (*BeraBorrowSNECTFilterer) ParseOffset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseOffset(log types.Log) (*BeraBorrowSNECTOffset, error)

ParseOffset is a log parse operation binding the contract event 0xc659bef2facfde65b659c8c5160cf21ac8232b38f8331aac0cea195e1d929665.

Solidity: event Offset(address collateral, uint256 debtToOffset, uint256 collToAdd, uint256 collSurplusAmount)

func (*BeraBorrowSNECTFilterer) ParseProtocolBlacklisted added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseProtocolBlacklisted(log types.Log) (*BeraBorrowSNECTProtocolBlacklisted, error)

ParseProtocolBlacklisted is a log parse operation binding the contract event 0x88ecee496061ddc38d88503f7cf6a1f4f6ade60ee216c946c5a0e8de6049595c.

Solidity: event ProtocolBlacklisted(address indexed factoryRemoved, address indexed LMremoved)

func (*BeraBorrowSNECTFilterer) ParseProtocolRegistered added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseProtocolRegistered(log types.Log) (*BeraBorrowSNECTProtocolRegistered, error)

ParseProtocolRegistered is a log parse operation binding the contract event 0xd6c91941062a66dc4c4344f6b10af4b565b256816a2f9080ba7f83e1d6a2bdc6.

Solidity: event ProtocolRegistered(address indexed factory, address indexed liquidationManager)

func (*BeraBorrowSNECTFilterer) ParseRebalance added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseRebalance(log types.Log) (*BeraBorrowSNECTRebalance, error)

ParseRebalance is a log parse operation binding the contract event 0xb8c3fd52c06cd7e35d81a3fc31542187d197c9deef253587a27e0214677d0f6b.

Solidity: event Rebalance(address indexed sentCurrency, address indexed receivedCurrency, uint256 sentAmount, uint256 receivedAmount, uint256 sentValue, uint256 receivedValue)

func (*BeraBorrowSNECTFilterer) ParseTransfer added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseTransfer(log types.Log) (*BeraBorrowSNECTTransfer, error)

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

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

func (*BeraBorrowSNECTFilterer) ParseUpgraded added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseUpgraded(log types.Log) (*BeraBorrowSNECTUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*BeraBorrowSNECTFilterer) ParseWithdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) ParseWithdraw(log types.Log) (*BeraBorrowSNECTWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

func (*BeraBorrowSNECTFilterer) WatchApproval added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTApproval, 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 (*BeraBorrowSNECTFilterer) WatchAssetsWithdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchAssetsWithdraw(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTAssetsWithdraw, receiver []common.Address) (event.Subscription, error)

WatchAssetsWithdraw is a free log subscription operation binding the contract event 0x86bcb277da75a9fbb738b8bb82beb731d82a0a89516b848730df92849f966bf0.

Solidity: event AssetsWithdraw(address indexed receiver, uint256 shares, address[] tokens, uint256[] amounts)

func (*BeraBorrowSNECTFilterer) WatchCollateralOverwritten added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchCollateralOverwritten(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTCollateralOverwritten) (event.Subscription, error)

WatchCollateralOverwritten is a free log subscription operation binding the contract event 0x9e147d339c63698deb55c3d0d44ed3eba29bac2a068a88c4bc5bde17d6331e19.

Solidity: event CollateralOverwritten(address oldCollateral, address newCollateral)

func (*BeraBorrowSNECTFilterer) WatchDeposit added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTDeposit, sender []common.Address, owner []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)

func (*BeraBorrowSNECTFilterer) WatchEmissionsAdded added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchEmissionsAdded(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTEmissionsAdded, token []common.Address) (event.Subscription, error)

WatchEmissionsAdded is a free log subscription operation binding the contract event 0x693ffe037fd29f4846b006bd3ada57d4fd4c3622277227342f0e4fed9011dc20.

Solidity: event EmissionsAdded(address indexed token, uint128 amount)

func (*BeraBorrowSNECTFilterer) WatchEmissionsSub added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchEmissionsSub(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTEmissionsSub, token []common.Address) (event.Subscription, error)

WatchEmissionsSub is a free log subscription operation binding the contract event 0x5f4e7177e0f8e013ddb6d29e468fa7a45f8df4e00e7895b7f20c5979cab21c6c.

Solidity: event EmissionsSub(address indexed token, uint128 amount)

func (*BeraBorrowSNECTFilterer) WatchExtraAssetAdded added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchExtraAssetAdded(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTExtraAssetAdded) (event.Subscription, error)

WatchExtraAssetAdded is a free log subscription operation binding the contract event 0x252fb22f1e5dcdba04908f13259852204aead54fea1342d028eb2f49510bee97.

Solidity: event ExtraAssetAdded(address token)

func (*BeraBorrowSNECTFilterer) WatchExtraAssetRemoved added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchExtraAssetRemoved(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTExtraAssetRemoved) (event.Subscription, error)

WatchExtraAssetRemoved is a free log subscription operation binding the contract event 0xfc9138846a97b86614d19b78419b88e555c50bbd80b03feffd6264cd43064380.

Solidity: event ExtraAssetRemoved(address token)

func (*BeraBorrowSNECTFilterer) WatchInitialized added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*BeraBorrowSNECTFilterer) WatchNewUnlockRatePerSecond added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchNewUnlockRatePerSecond(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTNewUnlockRatePerSecond, token []common.Address) (event.Subscription, error)

WatchNewUnlockRatePerSecond is a free log subscription operation binding the contract event 0x5577d4c8f6e5397effa5c71df8fe221e1162e18aaa0aabe87026cfb0c6762150.

Solidity: event NewUnlockRatePerSecond(address indexed token, uint64 unlockRatePerSecond)

func (*BeraBorrowSNECTFilterer) WatchOffset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchOffset(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTOffset) (event.Subscription, error)

WatchOffset is a free log subscription operation binding the contract event 0xc659bef2facfde65b659c8c5160cf21ac8232b38f8331aac0cea195e1d929665.

Solidity: event Offset(address collateral, uint256 debtToOffset, uint256 collToAdd, uint256 collSurplusAmount)

func (*BeraBorrowSNECTFilterer) WatchProtocolBlacklisted added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchProtocolBlacklisted(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTProtocolBlacklisted, factoryRemoved []common.Address, LMremoved []common.Address) (event.Subscription, error)

WatchProtocolBlacklisted is a free log subscription operation binding the contract event 0x88ecee496061ddc38d88503f7cf6a1f4f6ade60ee216c946c5a0e8de6049595c.

Solidity: event ProtocolBlacklisted(address indexed factoryRemoved, address indexed LMremoved)

func (*BeraBorrowSNECTFilterer) WatchProtocolRegistered added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchProtocolRegistered(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTProtocolRegistered, factory []common.Address, liquidationManager []common.Address) (event.Subscription, error)

WatchProtocolRegistered is a free log subscription operation binding the contract event 0xd6c91941062a66dc4c4344f6b10af4b565b256816a2f9080ba7f83e1d6a2bdc6.

Solidity: event ProtocolRegistered(address indexed factory, address indexed liquidationManager)

func (*BeraBorrowSNECTFilterer) WatchRebalance added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchRebalance(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTRebalance, sentCurrency []common.Address, receivedCurrency []common.Address) (event.Subscription, error)

WatchRebalance is a free log subscription operation binding the contract event 0xb8c3fd52c06cd7e35d81a3fc31542187d197c9deef253587a27e0214677d0f6b.

Solidity: event Rebalance(address indexed sentCurrency, address indexed receivedCurrency, uint256 sentAmount, uint256 receivedAmount, uint256 sentValue, uint256 receivedValue)

func (*BeraBorrowSNECTFilterer) WatchTransfer added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTTransfer, 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 (*BeraBorrowSNECTFilterer) WatchUpgraded added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*BeraBorrowSNECTFilterer) WatchWithdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *BeraBorrowSNECTWithdraw, sender []common.Address, receiver []common.Address, owner []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

type BeraBorrowSNECTInitialized added in v0.1.16

type BeraBorrowSNECTInitialized struct {
	Version uint64
	Raw     types.Log // Blockchain specific contextual infos
}

BeraBorrowSNECTInitialized represents a Initialized event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTInitializedIterator added in v0.1.16

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

BeraBorrowSNECTInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTInitializedIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTInitializedIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTInitializedIterator) Next added in v0.1.16

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 BeraBorrowSNECTNewUnlockRatePerSecond added in v0.1.16

type BeraBorrowSNECTNewUnlockRatePerSecond struct {
	Token               common.Address
	UnlockRatePerSecond uint64
	Raw                 types.Log // Blockchain specific contextual infos
}

BeraBorrowSNECTNewUnlockRatePerSecond represents a NewUnlockRatePerSecond event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTNewUnlockRatePerSecondIterator added in v0.1.16

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

BeraBorrowSNECTNewUnlockRatePerSecondIterator is returned from FilterNewUnlockRatePerSecond and is used to iterate over the raw logs and unpacked data for NewUnlockRatePerSecond events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTNewUnlockRatePerSecondIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTNewUnlockRatePerSecondIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTNewUnlockRatePerSecondIterator) Next added in v0.1.16

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 BeraBorrowSNECTOffset added in v0.1.16

type BeraBorrowSNECTOffset struct {
	Collateral        common.Address
	DebtToOffset      *big.Int
	CollToAdd         *big.Int
	CollSurplusAmount *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

BeraBorrowSNECTOffset represents a Offset event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTOffsetIterator added in v0.1.16

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

BeraBorrowSNECTOffsetIterator is returned from FilterOffset and is used to iterate over the raw logs and unpacked data for Offset events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTOffsetIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTOffsetIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTOffsetIterator) Next added in v0.1.16

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 BeraBorrowSNECTProtocolBlacklisted added in v0.1.16

type BeraBorrowSNECTProtocolBlacklisted struct {
	FactoryRemoved common.Address
	LMremoved      common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

BeraBorrowSNECTProtocolBlacklisted represents a ProtocolBlacklisted event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTProtocolBlacklistedIterator added in v0.1.16

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

BeraBorrowSNECTProtocolBlacklistedIterator is returned from FilterProtocolBlacklisted and is used to iterate over the raw logs and unpacked data for ProtocolBlacklisted events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTProtocolBlacklistedIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTProtocolBlacklistedIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTProtocolBlacklistedIterator) Next added in v0.1.16

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 BeraBorrowSNECTProtocolRegistered added in v0.1.16

type BeraBorrowSNECTProtocolRegistered struct {
	Factory            common.Address
	LiquidationManager common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

BeraBorrowSNECTProtocolRegistered represents a ProtocolRegistered event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTProtocolRegisteredIterator added in v0.1.16

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

BeraBorrowSNECTProtocolRegisteredIterator is returned from FilterProtocolRegistered and is used to iterate over the raw logs and unpacked data for ProtocolRegistered events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTProtocolRegisteredIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTProtocolRegisteredIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTProtocolRegisteredIterator) Next added in v0.1.16

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 BeraBorrowSNECTRaw added in v0.1.16

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

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

func (*BeraBorrowSNECTRaw) Call added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTRaw) 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 (*BeraBorrowSNECTRaw) Transact added in v0.1.16

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

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

func (*BeraBorrowSNECTRaw) Transfer added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTRaw) 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 BeraBorrowSNECTRebalance added in v0.1.16

type BeraBorrowSNECTRebalance struct {
	SentCurrency     common.Address
	ReceivedCurrency common.Address
	SentAmount       *big.Int
	ReceivedAmount   *big.Int
	SentValue        *big.Int
	ReceivedValue    *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

BeraBorrowSNECTRebalance represents a Rebalance event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTRebalanceIterator added in v0.1.16

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

BeraBorrowSNECTRebalanceIterator is returned from FilterRebalance and is used to iterate over the raw logs and unpacked data for Rebalance events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTRebalanceIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTRebalanceIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTRebalanceIterator) Next added in v0.1.16

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 BeraBorrowSNECTSession added in v0.1.16

type BeraBorrowSNECTSession struct {
	Contract     *BeraBorrowSNECT  // 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
}

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

func (*BeraBorrowSNECTSession) AddNewExtraAsset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) AddNewExtraAsset(token common.Address, _unlockRatePerSecond uint64) (*types.Transaction, error)

AddNewExtraAsset is a paid mutator transaction binding the contract method 0xfcb99905.

Solidity: function addNewExtraAsset(address token, uint64 _unlockRatePerSecond) returns()

func (*BeraBorrowSNECTSession) Allowance added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) 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 (*BeraBorrowSNECTSession) Approve added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*BeraBorrowSNECTSession) Asset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) Asset() (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*BeraBorrowSNECTSession) BalanceOf added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) 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 (*BeraBorrowSNECTSession) ConvertToAssets added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) ConvertToAssets(shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares) view returns(uint256)

func (*BeraBorrowSNECTSession) ConvertToShares added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) ConvertToShares(assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets) view returns(uint256)

func (*BeraBorrowSNECTSession) Decimals added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BeraBorrowSNECTSession) Deposit added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)

func (*BeraBorrowSNECTSession) EnableCollateral added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) EnableCollateral(_collateral common.Address, _unlockRatePerSecond uint64, forceThroughBalanceCheck bool) (*types.Transaction, error)

EnableCollateral is a paid mutator transaction binding the contract method 0x602ecae5.

Solidity: function enableCollateral(address _collateral, uint64 _unlockRatePerSecond, bool forceThroughBalanceCheck) returns()

func (*BeraBorrowSNECTSession) ExtSloads added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) ExtSloads(slots [][32]byte) ([][32]byte, error)

ExtSloads is a free data retrieval call binding the contract method 0x7784c685.

Solidity: function extSloads(bytes32[] slots) view returns(bytes32[] res)

func (*BeraBorrowSNECTSession) GetCollateralTokens added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) GetCollateralTokens() ([]common.Address, error)

GetCollateralTokens is a free data retrieval call binding the contract method 0xb58eb63f.

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

func (*BeraBorrowSNECTSession) GetLockedEmissions added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) GetLockedEmissions(token common.Address) (*big.Int, error)

GetLockedEmissions is a free data retrieval call binding the contract method 0x403dd3bc.

Solidity: function getLockedEmissions(address token) view returns(uint256)

func (*BeraBorrowSNECTSession) GetPrice added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) GetPrice(token common.Address) (*big.Int, error)

GetPrice is a free data retrieval call binding the contract method 0x41976e09.

Solidity: function getPrice(address token) view returns(uint256 scaledPriceInUsdWad)

func (*BeraBorrowSNECTSession) GetTotalDebtTokenDeposits added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) GetTotalDebtTokenDeposits() (*big.Int, error)

GetTotalDebtTokenDeposits is a free data retrieval call binding the contract method 0x0d9a6b35.

Solidity: function getTotalDebtTokenDeposits() view returns(uint256)

func (*BeraBorrowSNECTSession) Initialize added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) Initialize(params ILiquidStabilityPoolInitParams) (*types.Transaction, error)

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

Solidity: function initialize((address,string,string,address,address,address,address) params) returns()

func (*BeraBorrowSNECTSession) LinearVestingExtraAssets added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) LinearVestingExtraAssets(token common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)

LinearVestingExtraAssets is a paid mutator transaction binding the contract method 0xc5e6a767.

Solidity: function linearVestingExtraAssets(address token, int256 amount, address recipient) returns()

func (*BeraBorrowSNECTSession) MaxDeposit added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) MaxDeposit(arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*BeraBorrowSNECTSession) MaxMint added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) MaxMint(arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

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

func (*BeraBorrowSNECTSession) MaxRedeem added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) MaxRedeem(owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

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

func (*BeraBorrowSNECTSession) MaxWithdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) MaxWithdraw(_owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address _owner) view returns(uint256)

func (*BeraBorrowSNECTSession) Mint added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)

func (*BeraBorrowSNECTSession) Name added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BeraBorrowSNECTSession) Offset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) Offset(collateral common.Address, _debtToOffset *big.Int, _collToAdd *big.Int) (*types.Transaction, error)

Offset is a paid mutator transaction binding the contract method 0xe6666733.

Solidity: function offset(address collateral, uint256 _debtToOffset, uint256 _collToAdd) returns()

func (*BeraBorrowSNECTSession) PreviewDeposit added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) PreviewDeposit(assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets) view returns(uint256)

func (*BeraBorrowSNECTSession) PreviewMint added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) PreviewMint(netShares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 netShares) view returns(uint256)

func (*BeraBorrowSNECTSession) PreviewRedeem added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) PreviewRedeem(shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256)

func (*BeraBorrowSNECTSession) PreviewWithdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) PreviewWithdraw(assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256)

func (*BeraBorrowSNECTSession) ProxiableUUID added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*BeraBorrowSNECTSession) Rebalance added in v0.1.16

Rebalance is a paid mutator transaction binding the contract method 0x7facd79b.

Solidity: function rebalance((address,uint256,address,address,bytes) p) returns()

func (*BeraBorrowSNECTSession) Redeem added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) Redeem(shares *big.Int, preferredUnderlyingTokens []common.Address, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x31e95162.

Solidity: function redeem(uint256 shares, address[] preferredUnderlyingTokens, address receiver, address _owner) returns(uint256 assets)

func (*BeraBorrowSNECTSession) Redeem0 added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) Redeem0(shares *big.Int, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Redeem0 is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares, address receiver, address _owner) returns(uint256 assets)

func (*BeraBorrowSNECTSession) RemoveExtraAsset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) RemoveExtraAsset(token common.Address) (*types.Transaction, error)

RemoveExtraAsset is a paid mutator transaction binding the contract method 0x6cd611be.

Solidity: function removeExtraAsset(address token) returns()

func (*BeraBorrowSNECTSession) SUNSETDURATION added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) SUNSETDURATION() (*big.Int, error)

SUNSETDURATION is a free data retrieval call binding the contract method 0xa7528a03.

Solidity: function SUNSET_DURATION() view returns(uint128)

func (*BeraBorrowSNECTSession) SetBoycoVaults added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) SetBoycoVaults(_boycoVaults []common.Address, enable []bool) (*types.Transaction, error)

SetBoycoVaults is a paid mutator transaction binding the contract method 0x7d4601c0.

Solidity: function setBoycoVaults(address[] _boycoVaults, bool[] enable) returns()

func (*BeraBorrowSNECTSession) SetPairThreshold added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) SetPairThreshold(tokenIn common.Address, tokenOut common.Address, thresholdInBP *big.Int) (*types.Transaction, error)

SetPairThreshold is a paid mutator transaction binding the contract method 0xbadd8b2d.

Solidity: function setPairThreshold(address tokenIn, address tokenOut, uint256 thresholdInBP) returns()

func (*BeraBorrowSNECTSession) SetUnlockRatePerSecond added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) SetUnlockRatePerSecond(token common.Address, _unlockRatePerSecond uint64) (*types.Transaction, error)

SetUnlockRatePerSecond is a paid mutator transaction binding the contract method 0x0b983a74.

Solidity: function setUnlockRatePerSecond(address token, uint64 _unlockRatePerSecond) returns()

func (*BeraBorrowSNECTSession) StartCollateralSunset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) StartCollateralSunset(collateral common.Address) (*types.Transaction, error)

StartCollateralSunset is a paid mutator transaction binding the contract method 0x19f27b3b.

Solidity: function startCollateralSunset(address collateral) returns()

func (*BeraBorrowSNECTSession) Symbol added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BeraBorrowSNECTSession) TotalAssets added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) TotalAssets() (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256 amountInNect)

func (*BeraBorrowSNECTSession) TotalSupply added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BeraBorrowSNECTSession) Transfer added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*BeraBorrowSNECTSession) TransferFrom added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*BeraBorrowSNECTSession) UPGRADEINTERFACEVERSION added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) UPGRADEINTERFACEVERSION() (string, error)

UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.

Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)

func (*BeraBorrowSNECTSession) UpdateProtocol added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) UpdateProtocol(_liquidationManager common.Address, _factory common.Address, _register bool) (*types.Transaction, error)

UpdateProtocol is a paid mutator transaction binding the contract method 0x7b8b8b74.

Solidity: function updateProtocol(address _liquidationManager, address _factory, bool _register) returns()

func (*BeraBorrowSNECTSession) UpgradeToAndCall added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*BeraBorrowSNECTSession) Withdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) Withdraw(assets *big.Int, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 assets, address receiver, address _owner) returns(uint256 shares)

func (*BeraBorrowSNECTSession) Withdraw0 added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTSession) Withdraw0(assets *big.Int, preferredUnderlyingTokens []common.Address, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Withdraw0 is a paid mutator transaction binding the contract method 0xddda679b.

Solidity: function withdraw(uint256 assets, address[] preferredUnderlyingTokens, address receiver, address _owner) returns(uint256 shares)

type BeraBorrowSNECTTransactor added in v0.1.16

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

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

func NewBeraBorrowSNECTTransactor added in v0.1.16

func NewBeraBorrowSNECTTransactor(address common.Address, transactor bind.ContractTransactor) (*BeraBorrowSNECTTransactor, error)

NewBeraBorrowSNECTTransactor creates a new write-only instance of BeraBorrowSNECT, bound to a specific deployed contract.

func (*BeraBorrowSNECTTransactor) AddNewExtraAsset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) AddNewExtraAsset(opts *bind.TransactOpts, token common.Address, _unlockRatePerSecond uint64) (*types.Transaction, error)

AddNewExtraAsset is a paid mutator transaction binding the contract method 0xfcb99905.

Solidity: function addNewExtraAsset(address token, uint64 _unlockRatePerSecond) returns()

func (*BeraBorrowSNECTTransactor) Approve added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*BeraBorrowSNECTTransactor) Deposit added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) Deposit(opts *bind.TransactOpts, assets *big.Int, receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)

func (*BeraBorrowSNECTTransactor) EnableCollateral added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) EnableCollateral(opts *bind.TransactOpts, _collateral common.Address, _unlockRatePerSecond uint64, forceThroughBalanceCheck bool) (*types.Transaction, error)

EnableCollateral is a paid mutator transaction binding the contract method 0x602ecae5.

Solidity: function enableCollateral(address _collateral, uint64 _unlockRatePerSecond, bool forceThroughBalanceCheck) returns()

func (*BeraBorrowSNECTTransactor) Initialize added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) Initialize(opts *bind.TransactOpts, params ILiquidStabilityPoolInitParams) (*types.Transaction, error)

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

Solidity: function initialize((address,string,string,address,address,address,address) params) returns()

func (*BeraBorrowSNECTTransactor) LinearVestingExtraAssets added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) LinearVestingExtraAssets(opts *bind.TransactOpts, token common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)

LinearVestingExtraAssets is a paid mutator transaction binding the contract method 0xc5e6a767.

Solidity: function linearVestingExtraAssets(address token, int256 amount, address recipient) returns()

func (*BeraBorrowSNECTTransactor) Mint added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) Mint(opts *bind.TransactOpts, shares *big.Int, receiver common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)

func (*BeraBorrowSNECTTransactor) Offset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) Offset(opts *bind.TransactOpts, collateral common.Address, _debtToOffset *big.Int, _collToAdd *big.Int) (*types.Transaction, error)

Offset is a paid mutator transaction binding the contract method 0xe6666733.

Solidity: function offset(address collateral, uint256 _debtToOffset, uint256 _collToAdd) returns()

func (*BeraBorrowSNECTTransactor) Rebalance added in v0.1.16

Rebalance is a paid mutator transaction binding the contract method 0x7facd79b.

Solidity: function rebalance((address,uint256,address,address,bytes) p) returns()

func (*BeraBorrowSNECTTransactor) Redeem added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) Redeem(opts *bind.TransactOpts, shares *big.Int, preferredUnderlyingTokens []common.Address, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x31e95162.

Solidity: function redeem(uint256 shares, address[] preferredUnderlyingTokens, address receiver, address _owner) returns(uint256 assets)

func (*BeraBorrowSNECTTransactor) Redeem0 added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) Redeem0(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Redeem0 is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares, address receiver, address _owner) returns(uint256 assets)

func (*BeraBorrowSNECTTransactor) RemoveExtraAsset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) RemoveExtraAsset(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

RemoveExtraAsset is a paid mutator transaction binding the contract method 0x6cd611be.

Solidity: function removeExtraAsset(address token) returns()

func (*BeraBorrowSNECTTransactor) SetBoycoVaults added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) SetBoycoVaults(opts *bind.TransactOpts, _boycoVaults []common.Address, enable []bool) (*types.Transaction, error)

SetBoycoVaults is a paid mutator transaction binding the contract method 0x7d4601c0.

Solidity: function setBoycoVaults(address[] _boycoVaults, bool[] enable) returns()

func (*BeraBorrowSNECTTransactor) SetPairThreshold added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) SetPairThreshold(opts *bind.TransactOpts, tokenIn common.Address, tokenOut common.Address, thresholdInBP *big.Int) (*types.Transaction, error)

SetPairThreshold is a paid mutator transaction binding the contract method 0xbadd8b2d.

Solidity: function setPairThreshold(address tokenIn, address tokenOut, uint256 thresholdInBP) returns()

func (*BeraBorrowSNECTTransactor) SetUnlockRatePerSecond added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) SetUnlockRatePerSecond(opts *bind.TransactOpts, token common.Address, _unlockRatePerSecond uint64) (*types.Transaction, error)

SetUnlockRatePerSecond is a paid mutator transaction binding the contract method 0x0b983a74.

Solidity: function setUnlockRatePerSecond(address token, uint64 _unlockRatePerSecond) returns()

func (*BeraBorrowSNECTTransactor) StartCollateralSunset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) StartCollateralSunset(opts *bind.TransactOpts, collateral common.Address) (*types.Transaction, error)

StartCollateralSunset is a paid mutator transaction binding the contract method 0x19f27b3b.

Solidity: function startCollateralSunset(address collateral) returns()

func (*BeraBorrowSNECTTransactor) Transfer added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*BeraBorrowSNECTTransactor) TransferFrom added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*BeraBorrowSNECTTransactor) UpdateProtocol added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) UpdateProtocol(opts *bind.TransactOpts, _liquidationManager common.Address, _factory common.Address, _register bool) (*types.Transaction, error)

UpdateProtocol is a paid mutator transaction binding the contract method 0x7b8b8b74.

Solidity: function updateProtocol(address _liquidationManager, address _factory, bool _register) returns()

func (*BeraBorrowSNECTTransactor) UpgradeToAndCall added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*BeraBorrowSNECTTransactor) Withdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) Withdraw(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 assets, address receiver, address _owner) returns(uint256 shares)

func (*BeraBorrowSNECTTransactor) Withdraw0 added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactor) Withdraw0(opts *bind.TransactOpts, assets *big.Int, preferredUnderlyingTokens []common.Address, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Withdraw0 is a paid mutator transaction binding the contract method 0xddda679b.

Solidity: function withdraw(uint256 assets, address[] preferredUnderlyingTokens, address receiver, address _owner) returns(uint256 shares)

type BeraBorrowSNECTTransactorRaw added in v0.1.16

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

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

func (*BeraBorrowSNECTTransactorRaw) Transact added in v0.1.16

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

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

func (*BeraBorrowSNECTTransactorRaw) Transfer added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorRaw) 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 BeraBorrowSNECTTransactorSession added in v0.1.16

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

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

func (*BeraBorrowSNECTTransactorSession) AddNewExtraAsset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) AddNewExtraAsset(token common.Address, _unlockRatePerSecond uint64) (*types.Transaction, error)

AddNewExtraAsset is a paid mutator transaction binding the contract method 0xfcb99905.

Solidity: function addNewExtraAsset(address token, uint64 _unlockRatePerSecond) returns()

func (*BeraBorrowSNECTTransactorSession) Approve added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*BeraBorrowSNECTTransactorSession) Deposit added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)

func (*BeraBorrowSNECTTransactorSession) EnableCollateral added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) EnableCollateral(_collateral common.Address, _unlockRatePerSecond uint64, forceThroughBalanceCheck bool) (*types.Transaction, error)

EnableCollateral is a paid mutator transaction binding the contract method 0x602ecae5.

Solidity: function enableCollateral(address _collateral, uint64 _unlockRatePerSecond, bool forceThroughBalanceCheck) returns()

func (*BeraBorrowSNECTTransactorSession) Initialize added in v0.1.16

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

Solidity: function initialize((address,string,string,address,address,address,address) params) returns()

func (*BeraBorrowSNECTTransactorSession) LinearVestingExtraAssets added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) LinearVestingExtraAssets(token common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)

LinearVestingExtraAssets is a paid mutator transaction binding the contract method 0xc5e6a767.

Solidity: function linearVestingExtraAssets(address token, int256 amount, address recipient) returns()

func (*BeraBorrowSNECTTransactorSession) Mint added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)

func (*BeraBorrowSNECTTransactorSession) Offset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) Offset(collateral common.Address, _debtToOffset *big.Int, _collToAdd *big.Int) (*types.Transaction, error)

Offset is a paid mutator transaction binding the contract method 0xe6666733.

Solidity: function offset(address collateral, uint256 _debtToOffset, uint256 _collToAdd) returns()

func (*BeraBorrowSNECTTransactorSession) Rebalance added in v0.1.16

Rebalance is a paid mutator transaction binding the contract method 0x7facd79b.

Solidity: function rebalance((address,uint256,address,address,bytes) p) returns()

func (*BeraBorrowSNECTTransactorSession) Redeem added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) Redeem(shares *big.Int, preferredUnderlyingTokens []common.Address, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x31e95162.

Solidity: function redeem(uint256 shares, address[] preferredUnderlyingTokens, address receiver, address _owner) returns(uint256 assets)

func (*BeraBorrowSNECTTransactorSession) Redeem0 added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) Redeem0(shares *big.Int, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Redeem0 is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares, address receiver, address _owner) returns(uint256 assets)

func (*BeraBorrowSNECTTransactorSession) RemoveExtraAsset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) RemoveExtraAsset(token common.Address) (*types.Transaction, error)

RemoveExtraAsset is a paid mutator transaction binding the contract method 0x6cd611be.

Solidity: function removeExtraAsset(address token) returns()

func (*BeraBorrowSNECTTransactorSession) SetBoycoVaults added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) SetBoycoVaults(_boycoVaults []common.Address, enable []bool) (*types.Transaction, error)

SetBoycoVaults is a paid mutator transaction binding the contract method 0x7d4601c0.

Solidity: function setBoycoVaults(address[] _boycoVaults, bool[] enable) returns()

func (*BeraBorrowSNECTTransactorSession) SetPairThreshold added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) SetPairThreshold(tokenIn common.Address, tokenOut common.Address, thresholdInBP *big.Int) (*types.Transaction, error)

SetPairThreshold is a paid mutator transaction binding the contract method 0xbadd8b2d.

Solidity: function setPairThreshold(address tokenIn, address tokenOut, uint256 thresholdInBP) returns()

func (*BeraBorrowSNECTTransactorSession) SetUnlockRatePerSecond added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) SetUnlockRatePerSecond(token common.Address, _unlockRatePerSecond uint64) (*types.Transaction, error)

SetUnlockRatePerSecond is a paid mutator transaction binding the contract method 0x0b983a74.

Solidity: function setUnlockRatePerSecond(address token, uint64 _unlockRatePerSecond) returns()

func (*BeraBorrowSNECTTransactorSession) StartCollateralSunset added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) StartCollateralSunset(collateral common.Address) (*types.Transaction, error)

StartCollateralSunset is a paid mutator transaction binding the contract method 0x19f27b3b.

Solidity: function startCollateralSunset(address collateral) returns()

func (*BeraBorrowSNECTTransactorSession) Transfer added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*BeraBorrowSNECTTransactorSession) TransferFrom added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*BeraBorrowSNECTTransactorSession) UpdateProtocol added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) UpdateProtocol(_liquidationManager common.Address, _factory common.Address, _register bool) (*types.Transaction, error)

UpdateProtocol is a paid mutator transaction binding the contract method 0x7b8b8b74.

Solidity: function updateProtocol(address _liquidationManager, address _factory, bool _register) returns()

func (*BeraBorrowSNECTTransactorSession) UpgradeToAndCall added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*BeraBorrowSNECTTransactorSession) Withdraw added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) Withdraw(assets *big.Int, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 assets, address receiver, address _owner) returns(uint256 shares)

func (*BeraBorrowSNECTTransactorSession) Withdraw0 added in v0.1.16

func (_BeraBorrowSNECT *BeraBorrowSNECTTransactorSession) Withdraw0(assets *big.Int, preferredUnderlyingTokens []common.Address, receiver common.Address, _owner common.Address) (*types.Transaction, error)

Withdraw0 is a paid mutator transaction binding the contract method 0xddda679b.

Solidity: function withdraw(uint256 assets, address[] preferredUnderlyingTokens, address receiver, address _owner) returns(uint256 shares)

type BeraBorrowSNECTTransfer added in v0.1.16

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

BeraBorrowSNECTTransfer represents a Transfer event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTTransferIterator added in v0.1.16

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

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

func (*BeraBorrowSNECTTransferIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTTransferIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTTransferIterator) Next added in v0.1.16

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 BeraBorrowSNECTUpgraded added in v0.1.16

type BeraBorrowSNECTUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

BeraBorrowSNECTUpgraded represents a Upgraded event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTUpgradedIterator added in v0.1.16

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

BeraBorrowSNECTUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTUpgradedIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTUpgradedIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTUpgradedIterator) Next added in v0.1.16

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 BeraBorrowSNECTWithdraw added in v0.1.16

type BeraBorrowSNECTWithdraw struct {
	Sender   common.Address
	Receiver common.Address
	Owner    common.Address
	Assets   *big.Int
	Shares   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

BeraBorrowSNECTWithdraw represents a Withdraw event raised by the BeraBorrowSNECT contract.

type BeraBorrowSNECTWithdrawIterator added in v0.1.16

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

BeraBorrowSNECTWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the BeraBorrowSNECT contract.

func (*BeraBorrowSNECTWithdrawIterator) Close added in v0.1.16

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

func (*BeraBorrowSNECTWithdrawIterator) Error added in v0.1.16

Error returns any retrieval or parsing error occurred during filtering.

func (*BeraBorrowSNECTWithdrawIterator) Next added in v0.1.16

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 Bulla added in v0.1.10

type Bulla struct {
	BullaCaller     // Read-only binding to the contract
	BullaTransactor // Write-only binding to the contract
	BullaFilterer   // Log filterer for contract events
}

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

func NewBulla added in v0.1.10

func NewBulla(address common.Address, backend bind.ContractBackend) (*Bulla, error)

NewBulla creates a new instance of Bulla, bound to a specific deployed contract.

type BullaApproval added in v0.1.10

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

BullaApproval represents a Approval event raised by the Bulla contract.

type BullaApprovalIterator added in v0.1.10

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

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

func (*BullaApprovalIterator) Close added in v0.1.10

func (it *BullaApprovalIterator) Close() error

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

func (*BullaApprovalIterator) Error added in v0.1.10

func (it *BullaApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BullaApprovalIterator) Next added in v0.1.10

func (it *BullaApprovalIterator) 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 BullaCaller added in v0.1.10

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

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

func NewBullaCaller added in v0.1.10

func NewBullaCaller(address common.Address, caller bind.ContractCaller) (*BullaCaller, error)

NewBullaCaller creates a new read-only instance of Bulla, bound to a specific deployed contract.

func (*BullaCaller) Allowance added in v0.1.10

func (_Bulla *BullaCaller) 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 (*BullaCaller) BalanceOf added in v0.1.10

func (_Bulla *BullaCaller) 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 (*BullaCaller) BaseLower added in v0.1.10

func (_Bulla *BullaCaller) BaseLower(opts *bind.CallOpts) (*big.Int, error)

BaseLower is a free data retrieval call binding the contract method 0xfa082743.

Solidity: function baseLower() view returns(int24)

func (*BullaCaller) BaseUpper added in v0.1.10

func (_Bulla *BullaCaller) BaseUpper(opts *bind.CallOpts) (*big.Int, error)

BaseUpper is a free data retrieval call binding the contract method 0x888a9134.

Solidity: function baseUpper() view returns(int24)

func (*BullaCaller) CurrentTick added in v0.1.10

func (_Bulla *BullaCaller) CurrentTick(opts *bind.CallOpts) (*big.Int, error)

CurrentTick is a free data retrieval call binding the contract method 0x065e5360.

Solidity: function currentTick() view returns(int24 tick)

func (*BullaCaller) DOMAINSEPARATOR added in v0.1.10

func (_Bulla *BullaCaller) 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 (*BullaCaller) Decimals added in v0.1.10

func (_Bulla *BullaCaller) 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 (*BullaCaller) Deposit0Max added in v0.1.10

func (_Bulla *BullaCaller) Deposit0Max(opts *bind.CallOpts) (*big.Int, error)

Deposit0Max is a free data retrieval call binding the contract method 0x648cab85.

Solidity: function deposit0Max() view returns(uint256)

func (*BullaCaller) Deposit1Max added in v0.1.10

func (_Bulla *BullaCaller) Deposit1Max(opts *bind.CallOpts) (*big.Int, error)

Deposit1Max is a free data retrieval call binding the contract method 0x4d461fbb.

Solidity: function deposit1Max() view returns(uint256)

func (*BullaCaller) DirectDeposit added in v0.1.10

func (_Bulla *BullaCaller) DirectDeposit(opts *bind.CallOpts) (bool, error)

DirectDeposit is a free data retrieval call binding the contract method 0x6d90a39c.

Solidity: function directDeposit() view returns(bool)

func (*BullaCaller) Eip712Domain added in v0.1.10

func (_Bulla *BullaCaller) Eip712Domain(opts *bind.CallOpts) (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*BullaCaller) Fee added in v0.1.10

func (_Bulla *BullaCaller) Fee(opts *bind.CallOpts) (uint8, error)

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

Solidity: function fee() view returns(uint8)

func (*BullaCaller) FeeRecipient added in v0.1.10

func (_Bulla *BullaCaller) FeeRecipient(opts *bind.CallOpts) (common.Address, error)

FeeRecipient is a free data retrieval call binding the contract method 0x46904840.

Solidity: function feeRecipient() view returns(address)

func (*BullaCaller) GetBasePosition added in v0.1.10

func (_Bulla *BullaCaller) GetBasePosition(opts *bind.CallOpts) (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetBasePosition is a free data retrieval call binding the contract method 0xd2eabcfc.

Solidity: function getBasePosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*BullaCaller) GetLimitPosition added in v0.1.10

func (_Bulla *BullaCaller) GetLimitPosition(opts *bind.CallOpts) (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetLimitPosition is a free data retrieval call binding the contract method 0xa049de6b.

Solidity: function getLimitPosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*BullaCaller) GetTotalAmounts added in v0.1.10

func (_Bulla *BullaCaller) GetTotalAmounts(opts *bind.CallOpts) (struct {
	Total0 *big.Int
	Total1 *big.Int
}, error)

GetTotalAmounts is a free data retrieval call binding the contract method 0xc4a7761e.

Solidity: function getTotalAmounts() view returns(uint256 total0, uint256 total1)

func (*BullaCaller) LimitLower added in v0.1.10

func (_Bulla *BullaCaller) LimitLower(opts *bind.CallOpts) (*big.Int, error)

LimitLower is a free data retrieval call binding the contract method 0x51e87af7.

Solidity: function limitLower() view returns(int24)

func (*BullaCaller) LimitUpper added in v0.1.10

func (_Bulla *BullaCaller) LimitUpper(opts *bind.CallOpts) (*big.Int, error)

LimitUpper is a free data retrieval call binding the contract method 0x0f35bcac.

Solidity: function limitUpper() view returns(int24)

func (*BullaCaller) MaxTotalSupply added in v0.1.10

func (_Bulla *BullaCaller) MaxTotalSupply(opts *bind.CallOpts) (*big.Int, error)

MaxTotalSupply is a free data retrieval call binding the contract method 0x2ab4d052.

Solidity: function maxTotalSupply() view returns(uint256)

func (*BullaCaller) Name added in v0.1.10

func (_Bulla *BullaCaller) 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 (*BullaCaller) Nonces added in v0.1.10

func (_Bulla *BullaCaller) 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 (*BullaCaller) Owner added in v0.1.10

func (_Bulla *BullaCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BullaCaller) PRECISION added in v0.1.10

func (_Bulla *BullaCaller) PRECISION(opts *bind.CallOpts) (*big.Int, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(uint256)

func (*BullaCaller) Pool added in v0.1.10

func (_Bulla *BullaCaller) 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 (*BullaCaller) Symbol added in v0.1.10

func (_Bulla *BullaCaller) 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 (*BullaCaller) TickSpacing added in v0.1.10

func (_Bulla *BullaCaller) TickSpacing(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function tickSpacing() view returns(int24)

func (*BullaCaller) Token0 added in v0.1.10

func (_Bulla *BullaCaller) 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 (*BullaCaller) Token1 added in v0.1.10

func (_Bulla *BullaCaller) 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 (*BullaCaller) TotalSupply added in v0.1.10

func (_Bulla *BullaCaller) 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 (*BullaCaller) WhitelistedAddress added in v0.1.10

func (_Bulla *BullaCaller) WhitelistedAddress(opts *bind.CallOpts) (common.Address, error)

WhitelistedAddress is a free data retrieval call binding the contract method 0x86a29081.

Solidity: function whitelistedAddress() view returns(address)

type BullaCallerRaw added in v0.1.10

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

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

func (*BullaCallerRaw) Call added in v0.1.10

func (_Bulla *BullaCallerRaw) 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 BullaCallerSession added in v0.1.10

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

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

func (*BullaCallerSession) Allowance added in v0.1.10

func (_Bulla *BullaCallerSession) 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 (*BullaCallerSession) BalanceOf added in v0.1.10

func (_Bulla *BullaCallerSession) 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 (*BullaCallerSession) BaseLower added in v0.1.10

func (_Bulla *BullaCallerSession) BaseLower() (*big.Int, error)

BaseLower is a free data retrieval call binding the contract method 0xfa082743.

Solidity: function baseLower() view returns(int24)

func (*BullaCallerSession) BaseUpper added in v0.1.10

func (_Bulla *BullaCallerSession) BaseUpper() (*big.Int, error)

BaseUpper is a free data retrieval call binding the contract method 0x888a9134.

Solidity: function baseUpper() view returns(int24)

func (*BullaCallerSession) CurrentTick added in v0.1.10

func (_Bulla *BullaCallerSession) CurrentTick() (*big.Int, error)

CurrentTick is a free data retrieval call binding the contract method 0x065e5360.

Solidity: function currentTick() view returns(int24 tick)

func (*BullaCallerSession) DOMAINSEPARATOR added in v0.1.10

func (_Bulla *BullaCallerSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*BullaCallerSession) Decimals added in v0.1.10

func (_Bulla *BullaCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BullaCallerSession) Deposit0Max added in v0.1.10

func (_Bulla *BullaCallerSession) Deposit0Max() (*big.Int, error)

Deposit0Max is a free data retrieval call binding the contract method 0x648cab85.

Solidity: function deposit0Max() view returns(uint256)

func (*BullaCallerSession) Deposit1Max added in v0.1.10

func (_Bulla *BullaCallerSession) Deposit1Max() (*big.Int, error)

Deposit1Max is a free data retrieval call binding the contract method 0x4d461fbb.

Solidity: function deposit1Max() view returns(uint256)

func (*BullaCallerSession) DirectDeposit added in v0.1.10

func (_Bulla *BullaCallerSession) DirectDeposit() (bool, error)

DirectDeposit is a free data retrieval call binding the contract method 0x6d90a39c.

Solidity: function directDeposit() view returns(bool)

func (*BullaCallerSession) Eip712Domain added in v0.1.10

func (_Bulla *BullaCallerSession) Eip712Domain() (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*BullaCallerSession) Fee added in v0.1.10

func (_Bulla *BullaCallerSession) Fee() (uint8, error)

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

Solidity: function fee() view returns(uint8)

func (*BullaCallerSession) FeeRecipient added in v0.1.10

func (_Bulla *BullaCallerSession) FeeRecipient() (common.Address, error)

FeeRecipient is a free data retrieval call binding the contract method 0x46904840.

Solidity: function feeRecipient() view returns(address)

func (*BullaCallerSession) GetBasePosition added in v0.1.10

func (_Bulla *BullaCallerSession) GetBasePosition() (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetBasePosition is a free data retrieval call binding the contract method 0xd2eabcfc.

Solidity: function getBasePosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*BullaCallerSession) GetLimitPosition added in v0.1.10

func (_Bulla *BullaCallerSession) GetLimitPosition() (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetLimitPosition is a free data retrieval call binding the contract method 0xa049de6b.

Solidity: function getLimitPosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*BullaCallerSession) GetTotalAmounts added in v0.1.10

func (_Bulla *BullaCallerSession) GetTotalAmounts() (struct {
	Total0 *big.Int
	Total1 *big.Int
}, error)

GetTotalAmounts is a free data retrieval call binding the contract method 0xc4a7761e.

Solidity: function getTotalAmounts() view returns(uint256 total0, uint256 total1)

func (*BullaCallerSession) LimitLower added in v0.1.10

func (_Bulla *BullaCallerSession) LimitLower() (*big.Int, error)

LimitLower is a free data retrieval call binding the contract method 0x51e87af7.

Solidity: function limitLower() view returns(int24)

func (*BullaCallerSession) LimitUpper added in v0.1.10

func (_Bulla *BullaCallerSession) LimitUpper() (*big.Int, error)

LimitUpper is a free data retrieval call binding the contract method 0x0f35bcac.

Solidity: function limitUpper() view returns(int24)

func (*BullaCallerSession) MaxTotalSupply added in v0.1.10

func (_Bulla *BullaCallerSession) MaxTotalSupply() (*big.Int, error)

MaxTotalSupply is a free data retrieval call binding the contract method 0x2ab4d052.

Solidity: function maxTotalSupply() view returns(uint256)

func (*BullaCallerSession) Name added in v0.1.10

func (_Bulla *BullaCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BullaCallerSession) Nonces added in v0.1.10

func (_Bulla *BullaCallerSession) 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 (*BullaCallerSession) Owner added in v0.1.10

func (_Bulla *BullaCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BullaCallerSession) PRECISION added in v0.1.10

func (_Bulla *BullaCallerSession) PRECISION() (*big.Int, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(uint256)

func (*BullaCallerSession) Pool added in v0.1.10

func (_Bulla *BullaCallerSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*BullaCallerSession) Symbol added in v0.1.10

func (_Bulla *BullaCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BullaCallerSession) TickSpacing added in v0.1.10

func (_Bulla *BullaCallerSession) TickSpacing() (*big.Int, error)

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

Solidity: function tickSpacing() view returns(int24)

func (*BullaCallerSession) Token0 added in v0.1.10

func (_Bulla *BullaCallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*BullaCallerSession) Token1 added in v0.1.10

func (_Bulla *BullaCallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*BullaCallerSession) TotalSupply added in v0.1.10

func (_Bulla *BullaCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BullaCallerSession) WhitelistedAddress added in v0.1.10

func (_Bulla *BullaCallerSession) WhitelistedAddress() (common.Address, error)

WhitelistedAddress is a free data retrieval call binding the contract method 0x86a29081.

Solidity: function whitelistedAddress() view returns(address)

type BullaDeposit added in v0.1.10

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

BullaDeposit represents a Deposit event raised by the Bulla contract.

type BullaDepositIterator added in v0.1.10

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

BullaDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the Bulla contract.

func (*BullaDepositIterator) Close added in v0.1.10

func (it *BullaDepositIterator) Close() error

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

func (*BullaDepositIterator) Error added in v0.1.10

func (it *BullaDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BullaDepositIterator) Next added in v0.1.10

func (it *BullaDepositIterator) 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 BullaEIP712DomainChanged added in v0.1.10

type BullaEIP712DomainChanged struct {
	Raw types.Log // Blockchain specific contextual infos
}

BullaEIP712DomainChanged represents a EIP712DomainChanged event raised by the Bulla contract.

type BullaEIP712DomainChangedIterator added in v0.1.10

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

BullaEIP712DomainChangedIterator is returned from FilterEIP712DomainChanged and is used to iterate over the raw logs and unpacked data for EIP712DomainChanged events raised by the Bulla contract.

func (*BullaEIP712DomainChangedIterator) Close added in v0.1.10

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

func (*BullaEIP712DomainChangedIterator) Error added in v0.1.10

Error returns any retrieval or parsing error occurred during filtering.

func (*BullaEIP712DomainChangedIterator) Next added in v0.1.10

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 BullaFilterer added in v0.1.10

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

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

func NewBullaFilterer added in v0.1.10

func NewBullaFilterer(address common.Address, filterer bind.ContractFilterer) (*BullaFilterer, error)

NewBullaFilterer creates a new log filterer instance of Bulla, bound to a specific deployed contract.

func (*BullaFilterer) FilterApproval added in v0.1.10

func (_Bulla *BullaFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BullaApprovalIterator, 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 (*BullaFilterer) FilterDeposit added in v0.1.10

func (_Bulla *BullaFilterer) FilterDeposit(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*BullaDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x4e2ca0515ed1aef1395f66b5303bb5d6f1bf9d61a353fa53f73f8ac9973fa9f6.

Solidity: event Deposit(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*BullaFilterer) FilterEIP712DomainChanged added in v0.1.10

func (_Bulla *BullaFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*BullaEIP712DomainChangedIterator, error)

FilterEIP712DomainChanged is a free log retrieval operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

func (*BullaFilterer) FilterRebalance added in v0.1.10

func (_Bulla *BullaFilterer) FilterRebalance(opts *bind.FilterOpts) (*BullaRebalanceIterator, error)

FilterRebalance is a free log retrieval operation binding the contract event 0xbc4c20ad04f161d631d9ce94d27659391196415aa3c42f6a71c62e905ece782d.

Solidity: event Rebalance(int24 tick, uint256 totalAmount0, uint256 totalAmount1, uint256 feeAmount0, uint256 feeAmount1, uint256 totalSupply)

func (*BullaFilterer) FilterSetFee added in v0.1.10

func (_Bulla *BullaFilterer) FilterSetFee(opts *bind.FilterOpts) (*BullaSetFeeIterator, error)

FilterSetFee is a free log retrieval operation binding the contract event 0x91f2ade82ab0e77bb6823899e6daddc07e3da0e3ad998577e7c09c2f38943c43.

Solidity: event SetFee(uint8 newFee)

func (*BullaFilterer) FilterTransfer added in v0.1.10

func (_Bulla *BullaFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BullaTransferIterator, 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 (*BullaFilterer) FilterWithdraw added in v0.1.10

func (_Bulla *BullaFilterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*BullaWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xebff2602b3f468259e1e99f613fed6691f3a6526effe6ef3e768ba7ae7a36c4f.

Solidity: event Withdraw(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*BullaFilterer) FilterZeroBurn added in v0.1.10

func (_Bulla *BullaFilterer) FilterZeroBurn(opts *bind.FilterOpts) (*BullaZeroBurnIterator, error)

FilterZeroBurn is a free log retrieval operation binding the contract event 0x4606b8a47eb284e8e80929101ece6ab5fe8d4f8735acc56bd0c92ca872f2cfe7.

Solidity: event ZeroBurn(uint8 fee, uint256 fees0, uint256 fees1)

func (*BullaFilterer) ParseApproval added in v0.1.10

func (_Bulla *BullaFilterer) ParseApproval(log types.Log) (*BullaApproval, error)

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

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

func (*BullaFilterer) ParseDeposit added in v0.1.10

func (_Bulla *BullaFilterer) ParseDeposit(log types.Log) (*BullaDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0x4e2ca0515ed1aef1395f66b5303bb5d6f1bf9d61a353fa53f73f8ac9973fa9f6.

Solidity: event Deposit(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*BullaFilterer) ParseEIP712DomainChanged added in v0.1.10

func (_Bulla *BullaFilterer) ParseEIP712DomainChanged(log types.Log) (*BullaEIP712DomainChanged, error)

ParseEIP712DomainChanged is a log parse operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

func (*BullaFilterer) ParseRebalance added in v0.1.10

func (_Bulla *BullaFilterer) ParseRebalance(log types.Log) (*BullaRebalance, error)

ParseRebalance is a log parse operation binding the contract event 0xbc4c20ad04f161d631d9ce94d27659391196415aa3c42f6a71c62e905ece782d.

Solidity: event Rebalance(int24 tick, uint256 totalAmount0, uint256 totalAmount1, uint256 feeAmount0, uint256 feeAmount1, uint256 totalSupply)

func (*BullaFilterer) ParseSetFee added in v0.1.10

func (_Bulla *BullaFilterer) ParseSetFee(log types.Log) (*BullaSetFee, error)

ParseSetFee is a log parse operation binding the contract event 0x91f2ade82ab0e77bb6823899e6daddc07e3da0e3ad998577e7c09c2f38943c43.

Solidity: event SetFee(uint8 newFee)

func (*BullaFilterer) ParseTransfer added in v0.1.10

func (_Bulla *BullaFilterer) ParseTransfer(log types.Log) (*BullaTransfer, error)

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

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

func (*BullaFilterer) ParseWithdraw added in v0.1.10

func (_Bulla *BullaFilterer) ParseWithdraw(log types.Log) (*BullaWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xebff2602b3f468259e1e99f613fed6691f3a6526effe6ef3e768ba7ae7a36c4f.

Solidity: event Withdraw(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*BullaFilterer) ParseZeroBurn added in v0.1.10

func (_Bulla *BullaFilterer) ParseZeroBurn(log types.Log) (*BullaZeroBurn, error)

ParseZeroBurn is a log parse operation binding the contract event 0x4606b8a47eb284e8e80929101ece6ab5fe8d4f8735acc56bd0c92ca872f2cfe7.

Solidity: event ZeroBurn(uint8 fee, uint256 fees0, uint256 fees1)

func (*BullaFilterer) WatchApproval added in v0.1.10

func (_Bulla *BullaFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BullaApproval, 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 (*BullaFilterer) WatchDeposit added in v0.1.10

func (_Bulla *BullaFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *BullaDeposit, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x4e2ca0515ed1aef1395f66b5303bb5d6f1bf9d61a353fa53f73f8ac9973fa9f6.

Solidity: event Deposit(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*BullaFilterer) WatchEIP712DomainChanged added in v0.1.10

func (_Bulla *BullaFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *BullaEIP712DomainChanged) (event.Subscription, error)

WatchEIP712DomainChanged is a free log subscription operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

func (*BullaFilterer) WatchRebalance added in v0.1.10

func (_Bulla *BullaFilterer) WatchRebalance(opts *bind.WatchOpts, sink chan<- *BullaRebalance) (event.Subscription, error)

WatchRebalance is a free log subscription operation binding the contract event 0xbc4c20ad04f161d631d9ce94d27659391196415aa3c42f6a71c62e905ece782d.

Solidity: event Rebalance(int24 tick, uint256 totalAmount0, uint256 totalAmount1, uint256 feeAmount0, uint256 feeAmount1, uint256 totalSupply)

func (*BullaFilterer) WatchSetFee added in v0.1.10

func (_Bulla *BullaFilterer) WatchSetFee(opts *bind.WatchOpts, sink chan<- *BullaSetFee) (event.Subscription, error)

WatchSetFee is a free log subscription operation binding the contract event 0x91f2ade82ab0e77bb6823899e6daddc07e3da0e3ad998577e7c09c2f38943c43.

Solidity: event SetFee(uint8 newFee)

func (*BullaFilterer) WatchTransfer added in v0.1.10

func (_Bulla *BullaFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BullaTransfer, 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 (*BullaFilterer) WatchWithdraw added in v0.1.10

func (_Bulla *BullaFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *BullaWithdraw, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xebff2602b3f468259e1e99f613fed6691f3a6526effe6ef3e768ba7ae7a36c4f.

Solidity: event Withdraw(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*BullaFilterer) WatchZeroBurn added in v0.1.10

func (_Bulla *BullaFilterer) WatchZeroBurn(opts *bind.WatchOpts, sink chan<- *BullaZeroBurn) (event.Subscription, error)

WatchZeroBurn is a free log subscription operation binding the contract event 0x4606b8a47eb284e8e80929101ece6ab5fe8d4f8735acc56bd0c92ca872f2cfe7.

Solidity: event ZeroBurn(uint8 fee, uint256 fees0, uint256 fees1)

type BullaRaw added in v0.1.10

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

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

func (*BullaRaw) Call added in v0.1.10

func (_Bulla *BullaRaw) 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 (*BullaRaw) Transact added in v0.1.10

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

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

func (*BullaRaw) Transfer added in v0.1.10

func (_Bulla *BullaRaw) 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 BullaRebalance added in v0.1.10

type BullaRebalance struct {
	Tick         *big.Int
	TotalAmount0 *big.Int
	TotalAmount1 *big.Int
	FeeAmount0   *big.Int
	FeeAmount1   *big.Int
	TotalSupply  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

BullaRebalance represents a Rebalance event raised by the Bulla contract.

type BullaRebalanceIterator added in v0.1.10

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

BullaRebalanceIterator is returned from FilterRebalance and is used to iterate over the raw logs and unpacked data for Rebalance events raised by the Bulla contract.

func (*BullaRebalanceIterator) Close added in v0.1.10

func (it *BullaRebalanceIterator) Close() error

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

func (*BullaRebalanceIterator) Error added in v0.1.10

func (it *BullaRebalanceIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BullaRebalanceIterator) Next added in v0.1.10

func (it *BullaRebalanceIterator) 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 BullaSession added in v0.1.10

type BullaSession struct {
	Contract     *Bulla            // 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
}

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

func (*BullaSession) AddLiquidity added in v0.1.10

func (_Bulla *BullaSession) AddLiquidity(tickLower *big.Int, tickUpper *big.Int, amount0 *big.Int, amount1 *big.Int, inMin [2]*big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x63e96836.

Solidity: function addLiquidity(int24 tickLower, int24 tickUpper, uint256 amount0, uint256 amount1, uint256[2] inMin) returns()

func (*BullaSession) AlgebraMintCallback added in v0.1.10

func (_Bulla *BullaSession) AlgebraMintCallback(amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

AlgebraMintCallback is a paid mutator transaction binding the contract method 0x3dd657c5.

Solidity: function algebraMintCallback(uint256 amount0, uint256 amount1, bytes data) returns()

func (*BullaSession) Allowance added in v0.1.10

func (_Bulla *BullaSession) 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 (*BullaSession) Approve added in v0.1.10

func (_Bulla *BullaSession) 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 (*BullaSession) BalanceOf added in v0.1.10

func (_Bulla *BullaSession) 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 (*BullaSession) BaseLower added in v0.1.10

func (_Bulla *BullaSession) BaseLower() (*big.Int, error)

BaseLower is a free data retrieval call binding the contract method 0xfa082743.

Solidity: function baseLower() view returns(int24)

func (*BullaSession) BaseUpper added in v0.1.10

func (_Bulla *BullaSession) BaseUpper() (*big.Int, error)

BaseUpper is a free data retrieval call binding the contract method 0x888a9134.

Solidity: function baseUpper() view returns(int24)

func (*BullaSession) Compound added in v0.1.10

func (_Bulla *BullaSession) Compound(inMin [4]*big.Int) (*types.Transaction, error)

Compound is a paid mutator transaction binding the contract method 0x513ea884.

Solidity: function compound(uint256[4] inMin) returns(uint128 baseToken0Owed, uint128 baseToken1Owed, uint128 limitToken0Owed, uint128 limitToken1Owed)

func (*BullaSession) CurrentTick added in v0.1.10

func (_Bulla *BullaSession) CurrentTick() (*big.Int, error)

CurrentTick is a free data retrieval call binding the contract method 0x065e5360.

Solidity: function currentTick() view returns(int24 tick)

func (*BullaSession) DOMAINSEPARATOR added in v0.1.10

func (_Bulla *BullaSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*BullaSession) Decimals added in v0.1.10

func (_Bulla *BullaSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BullaSession) DecreaseAllowance added in v0.1.10

func (_Bulla *BullaSession) 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 (*BullaSession) Deposit added in v0.1.10

func (_Bulla *BullaSession) Deposit(deposit0 *big.Int, deposit1 *big.Int, to common.Address, from common.Address, inMin [4]*big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8e3c92e4.

Solidity: function deposit(uint256 deposit0, uint256 deposit1, address to, address from, uint256[4] inMin) returns(uint256 shares)

func (*BullaSession) Deposit0Max added in v0.1.10

func (_Bulla *BullaSession) Deposit0Max() (*big.Int, error)

Deposit0Max is a free data retrieval call binding the contract method 0x648cab85.

Solidity: function deposit0Max() view returns(uint256)

func (*BullaSession) Deposit1Max added in v0.1.10

func (_Bulla *BullaSession) Deposit1Max() (*big.Int, error)

Deposit1Max is a free data retrieval call binding the contract method 0x4d461fbb.

Solidity: function deposit1Max() view returns(uint256)

func (*BullaSession) DirectDeposit added in v0.1.10

func (_Bulla *BullaSession) DirectDeposit() (bool, error)

DirectDeposit is a free data retrieval call binding the contract method 0x6d90a39c.

Solidity: function directDeposit() view returns(bool)

func (*BullaSession) Eip712Domain added in v0.1.10

func (_Bulla *BullaSession) Eip712Domain() (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*BullaSession) Fee added in v0.1.10

func (_Bulla *BullaSession) Fee() (uint8, error)

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

Solidity: function fee() view returns(uint8)

func (*BullaSession) FeeRecipient added in v0.1.10

func (_Bulla *BullaSession) FeeRecipient() (common.Address, error)

FeeRecipient is a free data retrieval call binding the contract method 0x46904840.

Solidity: function feeRecipient() view returns(address)

func (*BullaSession) GetBasePosition added in v0.1.10

func (_Bulla *BullaSession) GetBasePosition() (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetBasePosition is a free data retrieval call binding the contract method 0xd2eabcfc.

Solidity: function getBasePosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*BullaSession) GetLimitPosition added in v0.1.10

func (_Bulla *BullaSession) GetLimitPosition() (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetLimitPosition is a free data retrieval call binding the contract method 0xa049de6b.

Solidity: function getLimitPosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*BullaSession) GetTotalAmounts added in v0.1.10

func (_Bulla *BullaSession) GetTotalAmounts() (struct {
	Total0 *big.Int
	Total1 *big.Int
}, error)

GetTotalAmounts is a free data retrieval call binding the contract method 0xc4a7761e.

Solidity: function getTotalAmounts() view returns(uint256 total0, uint256 total1)

func (*BullaSession) IncreaseAllowance added in v0.1.10

func (_Bulla *BullaSession) 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 (*BullaSession) LimitLower added in v0.1.10

func (_Bulla *BullaSession) LimitLower() (*big.Int, error)

LimitLower is a free data retrieval call binding the contract method 0x51e87af7.

Solidity: function limitLower() view returns(int24)

func (*BullaSession) LimitUpper added in v0.1.10

func (_Bulla *BullaSession) LimitUpper() (*big.Int, error)

LimitUpper is a free data retrieval call binding the contract method 0x0f35bcac.

Solidity: function limitUpper() view returns(int24)

func (*BullaSession) MaxTotalSupply added in v0.1.10

func (_Bulla *BullaSession) MaxTotalSupply() (*big.Int, error)

MaxTotalSupply is a free data retrieval call binding the contract method 0x2ab4d052.

Solidity: function maxTotalSupply() view returns(uint256)

func (*BullaSession) Name added in v0.1.10

func (_Bulla *BullaSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BullaSession) Nonces added in v0.1.10

func (_Bulla *BullaSession) 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 (*BullaSession) Owner added in v0.1.10

func (_Bulla *BullaSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BullaSession) PRECISION added in v0.1.10

func (_Bulla *BullaSession) PRECISION() (*big.Int, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(uint256)

func (*BullaSession) Permit added in v0.1.10

func (_Bulla *BullaSession) 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 (*BullaSession) Pool added in v0.1.10

func (_Bulla *BullaSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*BullaSession) PullLiquidity added in v0.1.10

func (_Bulla *BullaSession) PullLiquidity(tickLower *big.Int, tickUpper *big.Int, shares *big.Int, amountMin [2]*big.Int) (*types.Transaction, error)

PullLiquidity is a paid mutator transaction binding the contract method 0x95235656.

Solidity: function pullLiquidity(int24 tickLower, int24 tickUpper, uint128 shares, uint256[2] amountMin) returns(uint256 amount0, uint256 amount1)

func (*BullaSession) Rebalance added in v0.1.10

func (_Bulla *BullaSession) Rebalance(_baseLower *big.Int, _baseUpper *big.Int, _limitLower *big.Int, _limitUpper *big.Int, _feeRecipient common.Address, inMin [4]*big.Int, outMin [4]*big.Int) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0x85919c5d.

Solidity: function rebalance(int24 _baseLower, int24 _baseUpper, int24 _limitLower, int24 _limitUpper, address _feeRecipient, uint256[4] inMin, uint256[4] outMin) returns()

func (*BullaSession) RemoveWhitelisted added in v0.1.10

func (_Bulla *BullaSession) RemoveWhitelisted() (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0xc5241e29.

Solidity: function removeWhitelisted() returns()

func (*BullaSession) SetFee added in v0.1.10

func (_Bulla *BullaSession) SetFee(newFee uint8) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0xcb122a09.

Solidity: function setFee(uint8 newFee) returns()

func (*BullaSession) SetTickSpacing added in v0.1.10

func (_Bulla *BullaSession) SetTickSpacing(newTickSpacing *big.Int) (*types.Transaction, error)

SetTickSpacing is a paid mutator transaction binding the contract method 0xf085a610.

Solidity: function setTickSpacing(int24 newTickSpacing) returns()

func (*BullaSession) SetWhitelist added in v0.1.10

func (_Bulla *BullaSession) SetWhitelist(_address common.Address) (*types.Transaction, error)

SetWhitelist is a paid mutator transaction binding the contract method 0x854cff2f.

Solidity: function setWhitelist(address _address) returns()

func (*BullaSession) Symbol added in v0.1.10

func (_Bulla *BullaSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BullaSession) TickSpacing added in v0.1.10

func (_Bulla *BullaSession) TickSpacing() (*big.Int, error)

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

Solidity: function tickSpacing() view returns(int24)

func (*BullaSession) ToggleDirectDeposit added in v0.1.10

func (_Bulla *BullaSession) ToggleDirectDeposit() (*types.Transaction, error)

ToggleDirectDeposit is a paid mutator transaction binding the contract method 0xb1a3d533.

Solidity: function toggleDirectDeposit() returns()

func (*BullaSession) Token0 added in v0.1.10

func (_Bulla *BullaSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*BullaSession) Token1 added in v0.1.10

func (_Bulla *BullaSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*BullaSession) TotalSupply added in v0.1.10

func (_Bulla *BullaSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BullaSession) Transfer added in v0.1.10

func (_Bulla *BullaSession) 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 (*BullaSession) TransferFrom added in v0.1.10

func (_Bulla *BullaSession) 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)

func (*BullaSession) TransferOwnership added in v0.1.10

func (_Bulla *BullaSession) 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 (*BullaSession) WhitelistedAddress added in v0.1.10

func (_Bulla *BullaSession) WhitelistedAddress() (common.Address, error)

WhitelistedAddress is a free data retrieval call binding the contract method 0x86a29081.

Solidity: function whitelistedAddress() view returns(address)

func (*BullaSession) Withdraw added in v0.1.10

func (_Bulla *BullaSession) Withdraw(shares *big.Int, to common.Address, from common.Address, minAmounts [4]*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa8559872.

Solidity: function withdraw(uint256 shares, address to, address from, uint256[4] minAmounts) returns(uint256 amount0, uint256 amount1)

func (*BullaSession) ZeroBurn added in v0.1.10

func (_Bulla *BullaSession) ZeroBurn() (*types.Transaction, error)

ZeroBurn is a paid mutator transaction binding the contract method 0xcce6776e.

Solidity: function zeroBurn() returns(uint128 baseLiquidity, uint128 limitLiquidity)

type BullaSetFee added in v0.1.10

type BullaSetFee struct {
	NewFee uint8
	Raw    types.Log // Blockchain specific contextual infos
}

BullaSetFee represents a SetFee event raised by the Bulla contract.

type BullaSetFeeIterator added in v0.1.10

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

BullaSetFeeIterator is returned from FilterSetFee and is used to iterate over the raw logs and unpacked data for SetFee events raised by the Bulla contract.

func (*BullaSetFeeIterator) Close added in v0.1.10

func (it *BullaSetFeeIterator) Close() error

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

func (*BullaSetFeeIterator) Error added in v0.1.10

func (it *BullaSetFeeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BullaSetFeeIterator) Next added in v0.1.10

func (it *BullaSetFeeIterator) 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 BullaTransactor added in v0.1.10

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

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

func NewBullaTransactor added in v0.1.10

func NewBullaTransactor(address common.Address, transactor bind.ContractTransactor) (*BullaTransactor, error)

NewBullaTransactor creates a new write-only instance of Bulla, bound to a specific deployed contract.

func (*BullaTransactor) AddLiquidity added in v0.1.10

func (_Bulla *BullaTransactor) AddLiquidity(opts *bind.TransactOpts, tickLower *big.Int, tickUpper *big.Int, amount0 *big.Int, amount1 *big.Int, inMin [2]*big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x63e96836.

Solidity: function addLiquidity(int24 tickLower, int24 tickUpper, uint256 amount0, uint256 amount1, uint256[2] inMin) returns()

func (*BullaTransactor) AlgebraMintCallback added in v0.1.10

func (_Bulla *BullaTransactor) AlgebraMintCallback(opts *bind.TransactOpts, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

AlgebraMintCallback is a paid mutator transaction binding the contract method 0x3dd657c5.

Solidity: function algebraMintCallback(uint256 amount0, uint256 amount1, bytes data) returns()

func (*BullaTransactor) Approve added in v0.1.10

func (_Bulla *BullaTransactor) 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 (*BullaTransactor) Compound added in v0.1.10

func (_Bulla *BullaTransactor) Compound(opts *bind.TransactOpts, inMin [4]*big.Int) (*types.Transaction, error)

Compound is a paid mutator transaction binding the contract method 0x513ea884.

Solidity: function compound(uint256[4] inMin) returns(uint128 baseToken0Owed, uint128 baseToken1Owed, uint128 limitToken0Owed, uint128 limitToken1Owed)

func (*BullaTransactor) DecreaseAllowance added in v0.1.10

func (_Bulla *BullaTransactor) 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 (*BullaTransactor) Deposit added in v0.1.10

func (_Bulla *BullaTransactor) Deposit(opts *bind.TransactOpts, deposit0 *big.Int, deposit1 *big.Int, to common.Address, from common.Address, inMin [4]*big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8e3c92e4.

Solidity: function deposit(uint256 deposit0, uint256 deposit1, address to, address from, uint256[4] inMin) returns(uint256 shares)

func (*BullaTransactor) IncreaseAllowance added in v0.1.10

func (_Bulla *BullaTransactor) 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 (*BullaTransactor) Permit added in v0.1.10

func (_Bulla *BullaTransactor) 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 (*BullaTransactor) PullLiquidity added in v0.1.10

func (_Bulla *BullaTransactor) PullLiquidity(opts *bind.TransactOpts, tickLower *big.Int, tickUpper *big.Int, shares *big.Int, amountMin [2]*big.Int) (*types.Transaction, error)

PullLiquidity is a paid mutator transaction binding the contract method 0x95235656.

Solidity: function pullLiquidity(int24 tickLower, int24 tickUpper, uint128 shares, uint256[2] amountMin) returns(uint256 amount0, uint256 amount1)

func (*BullaTransactor) Rebalance added in v0.1.10

func (_Bulla *BullaTransactor) Rebalance(opts *bind.TransactOpts, _baseLower *big.Int, _baseUpper *big.Int, _limitLower *big.Int, _limitUpper *big.Int, _feeRecipient common.Address, inMin [4]*big.Int, outMin [4]*big.Int) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0x85919c5d.

Solidity: function rebalance(int24 _baseLower, int24 _baseUpper, int24 _limitLower, int24 _limitUpper, address _feeRecipient, uint256[4] inMin, uint256[4] outMin) returns()

func (*BullaTransactor) RemoveWhitelisted added in v0.1.10

func (_Bulla *BullaTransactor) RemoveWhitelisted(opts *bind.TransactOpts) (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0xc5241e29.

Solidity: function removeWhitelisted() returns()

func (*BullaTransactor) SetFee added in v0.1.10

func (_Bulla *BullaTransactor) SetFee(opts *bind.TransactOpts, newFee uint8) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0xcb122a09.

Solidity: function setFee(uint8 newFee) returns()

func (*BullaTransactor) SetTickSpacing added in v0.1.10

func (_Bulla *BullaTransactor) SetTickSpacing(opts *bind.TransactOpts, newTickSpacing *big.Int) (*types.Transaction, error)

SetTickSpacing is a paid mutator transaction binding the contract method 0xf085a610.

Solidity: function setTickSpacing(int24 newTickSpacing) returns()

func (*BullaTransactor) SetWhitelist added in v0.1.10

func (_Bulla *BullaTransactor) SetWhitelist(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

SetWhitelist is a paid mutator transaction binding the contract method 0x854cff2f.

Solidity: function setWhitelist(address _address) returns()

func (*BullaTransactor) ToggleDirectDeposit added in v0.1.10

func (_Bulla *BullaTransactor) ToggleDirectDeposit(opts *bind.TransactOpts) (*types.Transaction, error)

ToggleDirectDeposit is a paid mutator transaction binding the contract method 0xb1a3d533.

Solidity: function toggleDirectDeposit() returns()

func (*BullaTransactor) Transfer added in v0.1.10

func (_Bulla *BullaTransactor) 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 (*BullaTransactor) TransferFrom added in v0.1.10

func (_Bulla *BullaTransactor) 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)

func (*BullaTransactor) TransferOwnership added in v0.1.10

func (_Bulla *BullaTransactor) 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 (*BullaTransactor) Withdraw added in v0.1.10

func (_Bulla *BullaTransactor) Withdraw(opts *bind.TransactOpts, shares *big.Int, to common.Address, from common.Address, minAmounts [4]*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa8559872.

Solidity: function withdraw(uint256 shares, address to, address from, uint256[4] minAmounts) returns(uint256 amount0, uint256 amount1)

func (*BullaTransactor) ZeroBurn added in v0.1.10

func (_Bulla *BullaTransactor) ZeroBurn(opts *bind.TransactOpts) (*types.Transaction, error)

ZeroBurn is a paid mutator transaction binding the contract method 0xcce6776e.

Solidity: function zeroBurn() returns(uint128 baseLiquidity, uint128 limitLiquidity)

type BullaTransactorRaw added in v0.1.10

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

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

func (*BullaTransactorRaw) Transact added in v0.1.10

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

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

func (*BullaTransactorRaw) Transfer added in v0.1.10

func (_Bulla *BullaTransactorRaw) 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 BullaTransactorSession added in v0.1.10

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

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

func (*BullaTransactorSession) AddLiquidity added in v0.1.10

func (_Bulla *BullaTransactorSession) AddLiquidity(tickLower *big.Int, tickUpper *big.Int, amount0 *big.Int, amount1 *big.Int, inMin [2]*big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x63e96836.

Solidity: function addLiquidity(int24 tickLower, int24 tickUpper, uint256 amount0, uint256 amount1, uint256[2] inMin) returns()

func (*BullaTransactorSession) AlgebraMintCallback added in v0.1.10

func (_Bulla *BullaTransactorSession) AlgebraMintCallback(amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

AlgebraMintCallback is a paid mutator transaction binding the contract method 0x3dd657c5.

Solidity: function algebraMintCallback(uint256 amount0, uint256 amount1, bytes data) returns()

func (*BullaTransactorSession) Approve added in v0.1.10

func (_Bulla *BullaTransactorSession) 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 (*BullaTransactorSession) Compound added in v0.1.10

func (_Bulla *BullaTransactorSession) Compound(inMin [4]*big.Int) (*types.Transaction, error)

Compound is a paid mutator transaction binding the contract method 0x513ea884.

Solidity: function compound(uint256[4] inMin) returns(uint128 baseToken0Owed, uint128 baseToken1Owed, uint128 limitToken0Owed, uint128 limitToken1Owed)

func (*BullaTransactorSession) DecreaseAllowance added in v0.1.10

func (_Bulla *BullaTransactorSession) 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 (*BullaTransactorSession) Deposit added in v0.1.10

func (_Bulla *BullaTransactorSession) Deposit(deposit0 *big.Int, deposit1 *big.Int, to common.Address, from common.Address, inMin [4]*big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8e3c92e4.

Solidity: function deposit(uint256 deposit0, uint256 deposit1, address to, address from, uint256[4] inMin) returns(uint256 shares)

func (*BullaTransactorSession) IncreaseAllowance added in v0.1.10

func (_Bulla *BullaTransactorSession) 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 (*BullaTransactorSession) Permit added in v0.1.10

func (_Bulla *BullaTransactorSession) 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 (*BullaTransactorSession) PullLiquidity added in v0.1.10

func (_Bulla *BullaTransactorSession) PullLiquidity(tickLower *big.Int, tickUpper *big.Int, shares *big.Int, amountMin [2]*big.Int) (*types.Transaction, error)

PullLiquidity is a paid mutator transaction binding the contract method 0x95235656.

Solidity: function pullLiquidity(int24 tickLower, int24 tickUpper, uint128 shares, uint256[2] amountMin) returns(uint256 amount0, uint256 amount1)

func (*BullaTransactorSession) Rebalance added in v0.1.10

func (_Bulla *BullaTransactorSession) Rebalance(_baseLower *big.Int, _baseUpper *big.Int, _limitLower *big.Int, _limitUpper *big.Int, _feeRecipient common.Address, inMin [4]*big.Int, outMin [4]*big.Int) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0x85919c5d.

Solidity: function rebalance(int24 _baseLower, int24 _baseUpper, int24 _limitLower, int24 _limitUpper, address _feeRecipient, uint256[4] inMin, uint256[4] outMin) returns()

func (*BullaTransactorSession) RemoveWhitelisted added in v0.1.10

func (_Bulla *BullaTransactorSession) RemoveWhitelisted() (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0xc5241e29.

Solidity: function removeWhitelisted() returns()

func (*BullaTransactorSession) SetFee added in v0.1.10

func (_Bulla *BullaTransactorSession) SetFee(newFee uint8) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0xcb122a09.

Solidity: function setFee(uint8 newFee) returns()

func (*BullaTransactorSession) SetTickSpacing added in v0.1.10

func (_Bulla *BullaTransactorSession) SetTickSpacing(newTickSpacing *big.Int) (*types.Transaction, error)

SetTickSpacing is a paid mutator transaction binding the contract method 0xf085a610.

Solidity: function setTickSpacing(int24 newTickSpacing) returns()

func (*BullaTransactorSession) SetWhitelist added in v0.1.10

func (_Bulla *BullaTransactorSession) SetWhitelist(_address common.Address) (*types.Transaction, error)

SetWhitelist is a paid mutator transaction binding the contract method 0x854cff2f.

Solidity: function setWhitelist(address _address) returns()

func (*BullaTransactorSession) ToggleDirectDeposit added in v0.1.10

func (_Bulla *BullaTransactorSession) ToggleDirectDeposit() (*types.Transaction, error)

ToggleDirectDeposit is a paid mutator transaction binding the contract method 0xb1a3d533.

Solidity: function toggleDirectDeposit() returns()

func (*BullaTransactorSession) Transfer added in v0.1.10

func (_Bulla *BullaTransactorSession) 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 (*BullaTransactorSession) TransferFrom added in v0.1.10

func (_Bulla *BullaTransactorSession) 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)

func (*BullaTransactorSession) TransferOwnership added in v0.1.10

func (_Bulla *BullaTransactorSession) 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 (*BullaTransactorSession) Withdraw added in v0.1.10

func (_Bulla *BullaTransactorSession) Withdraw(shares *big.Int, to common.Address, from common.Address, minAmounts [4]*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa8559872.

Solidity: function withdraw(uint256 shares, address to, address from, uint256[4] minAmounts) returns(uint256 amount0, uint256 amount1)

func (*BullaTransactorSession) ZeroBurn added in v0.1.10

func (_Bulla *BullaTransactorSession) ZeroBurn() (*types.Transaction, error)

ZeroBurn is a paid mutator transaction binding the contract method 0xcce6776e.

Solidity: function zeroBurn() returns(uint128 baseLiquidity, uint128 limitLiquidity)

type BullaTransfer added in v0.1.10

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

BullaTransfer represents a Transfer event raised by the Bulla contract.

type BullaTransferIterator added in v0.1.10

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

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

func (*BullaTransferIterator) Close added in v0.1.10

func (it *BullaTransferIterator) Close() error

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

func (*BullaTransferIterator) Error added in v0.1.10

func (it *BullaTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BullaTransferIterator) Next added in v0.1.10

func (it *BullaTransferIterator) 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 BullaWithdraw added in v0.1.10

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

BullaWithdraw represents a Withdraw event raised by the Bulla contract.

type BullaWithdrawIterator added in v0.1.10

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

BullaWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the Bulla contract.

func (*BullaWithdrawIterator) Close added in v0.1.10

func (it *BullaWithdrawIterator) Close() error

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

func (*BullaWithdrawIterator) Error added in v0.1.10

func (it *BullaWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BullaWithdrawIterator) Next added in v0.1.10

func (it *BullaWithdrawIterator) 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 BullaZeroBurn added in v0.1.10

type BullaZeroBurn struct {
	Fee   uint8
	Fees0 *big.Int
	Fees1 *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

BullaZeroBurn represents a ZeroBurn event raised by the Bulla contract.

type BullaZeroBurnIterator added in v0.1.10

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

BullaZeroBurnIterator is returned from FilterZeroBurn and is used to iterate over the raw logs and unpacked data for ZeroBurn events raised by the Bulla contract.

func (*BullaZeroBurnIterator) Close added in v0.1.10

func (it *BullaZeroBurnIterator) Close() error

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

func (*BullaZeroBurnIterator) Error added in v0.1.10

func (it *BullaZeroBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BullaZeroBurnIterator) Next added in v0.1.10

func (it *BullaZeroBurnIterator) 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 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 D8xPoolManager added in v0.1.14

type D8xPoolManager struct {
	D8xPoolManagerCaller     // Read-only binding to the contract
	D8xPoolManagerTransactor // Write-only binding to the contract
	D8xPoolManagerFilterer   // Log filterer for contract events
}

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

func NewD8xPoolManager added in v0.1.14

func NewD8xPoolManager(address common.Address, backend bind.ContractBackend) (*D8xPoolManager, error)

NewD8xPoolManager creates a new instance of D8xPoolManager, bound to a specific deployed contract.

type D8xPoolManagerCaller added in v0.1.14

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

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

func NewD8xPoolManagerCaller added in v0.1.14

func NewD8xPoolManagerCaller(address common.Address, caller bind.ContractCaller) (*D8xPoolManagerCaller, error)

NewD8xPoolManagerCaller creates a new read-only instance of D8xPoolManager, bound to a specific deployed contract.

func (*D8xPoolManagerCaller) GetLiquidityPool added in v0.1.14

func (_D8xPoolManager *D8xPoolManagerCaller) GetLiquidityPool(opts *bind.CallOpts, _poolId uint8) (LiquidityPoolData, error)

GetLiquidityPool is a free data retrieval call binding the contract method 0x30af7c72.

Solidity: function getLiquidityPool(uint8 _poolId) view returns((bool,uint8,uint8,int32,uint8,uint16,address,uint64,int128,address,int128,int128,int128,int128,int128,uint128,uint128,uint128,int128))

func (*D8xPoolManagerCaller) GetShareTokenPriceD18 added in v0.1.14

func (_D8xPoolManager *D8xPoolManagerCaller) GetShareTokenPriceD18(opts *bind.CallOpts, _poolId uint8) (*big.Int, error)

GetShareTokenPriceD18 is a free data retrieval call binding the contract method 0x2faee618.

Solidity: function getShareTokenPriceD18(uint8 _poolId) view returns(uint256 price)

type D8xPoolManagerCallerRaw added in v0.1.14

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

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

func (*D8xPoolManagerCallerRaw) Call added in v0.1.14

func (_D8xPoolManager *D8xPoolManagerCallerRaw) 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 D8xPoolManagerCallerSession added in v0.1.14

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

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

func (*D8xPoolManagerCallerSession) GetLiquidityPool added in v0.1.14

func (_D8xPoolManager *D8xPoolManagerCallerSession) GetLiquidityPool(_poolId uint8) (LiquidityPoolData, error)

GetLiquidityPool is a free data retrieval call binding the contract method 0x30af7c72.

Solidity: function getLiquidityPool(uint8 _poolId) view returns((bool,uint8,uint8,int32,uint8,uint16,address,uint64,int128,address,int128,int128,int128,int128,int128,uint128,uint128,uint128,int128))

func (*D8xPoolManagerCallerSession) GetShareTokenPriceD18 added in v0.1.14

func (_D8xPoolManager *D8xPoolManagerCallerSession) GetShareTokenPriceD18(_poolId uint8) (*big.Int, error)

GetShareTokenPriceD18 is a free data retrieval call binding the contract method 0x2faee618.

Solidity: function getShareTokenPriceD18(uint8 _poolId) view returns(uint256 price)

type D8xPoolManagerFilterer added in v0.1.14

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

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

func NewD8xPoolManagerFilterer added in v0.1.14

func NewD8xPoolManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*D8xPoolManagerFilterer, error)

NewD8xPoolManagerFilterer creates a new log filterer instance of D8xPoolManager, bound to a specific deployed contract.

type D8xPoolManagerRaw added in v0.1.14

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

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

func (*D8xPoolManagerRaw) Call added in v0.1.14

func (_D8xPoolManager *D8xPoolManagerRaw) 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 (*D8xPoolManagerRaw) Transact added in v0.1.14

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

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

func (*D8xPoolManagerRaw) Transfer added in v0.1.14

func (_D8xPoolManager *D8xPoolManagerRaw) 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 D8xPoolManagerSession added in v0.1.14

type D8xPoolManagerSession struct {
	Contract     *D8xPoolManager   // 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
}

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

func (*D8xPoolManagerSession) GetLiquidityPool added in v0.1.14

func (_D8xPoolManager *D8xPoolManagerSession) GetLiquidityPool(_poolId uint8) (LiquidityPoolData, error)

GetLiquidityPool is a free data retrieval call binding the contract method 0x30af7c72.

Solidity: function getLiquidityPool(uint8 _poolId) view returns((bool,uint8,uint8,int32,uint8,uint16,address,uint64,int128,address,int128,int128,int128,int128,int128,uint128,uint128,uint128,int128))

func (*D8xPoolManagerSession) GetShareTokenPriceD18 added in v0.1.14

func (_D8xPoolManager *D8xPoolManagerSession) GetShareTokenPriceD18(_poolId uint8) (*big.Int, error)

GetShareTokenPriceD18 is a free data retrieval call binding the contract method 0x2faee618.

Solidity: function getShareTokenPriceD18(uint8 _poolId) view returns(uint256 price)

type D8xPoolManagerTransactor added in v0.1.14

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

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

func NewD8xPoolManagerTransactor added in v0.1.14

func NewD8xPoolManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*D8xPoolManagerTransactor, error)

NewD8xPoolManagerTransactor creates a new write-only instance of D8xPoolManager, bound to a specific deployed contract.

type D8xPoolManagerTransactorRaw added in v0.1.14

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

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

func (*D8xPoolManagerTransactorRaw) Transact added in v0.1.14

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

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

func (*D8xPoolManagerTransactorRaw) Transfer added in v0.1.14

func (_D8xPoolManager *D8xPoolManagerTransactorRaw) 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 D8xPoolManagerTransactorSession added in v0.1.14

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

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

type D8xShareToken added in v0.1.14

type D8xShareToken struct {
	D8xShareTokenCaller     // Read-only binding to the contract
	D8xShareTokenTransactor // Write-only binding to the contract
	D8xShareTokenFilterer   // Log filterer for contract events
}

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

func NewD8xShareToken added in v0.1.14

func NewD8xShareToken(address common.Address, backend bind.ContractBackend) (*D8xShareToken, error)

NewD8xShareToken creates a new instance of D8xShareToken, bound to a specific deployed contract.

type D8xShareTokenApproval added in v0.1.14

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

D8xShareTokenApproval represents a Approval event raised by the D8xShareToken contract.

type D8xShareTokenApprovalIterator added in v0.1.14

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

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

func (*D8xShareTokenApprovalIterator) Close added in v0.1.14

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

func (*D8xShareTokenApprovalIterator) Error added in v0.1.14

Error returns any retrieval or parsing error occurred during filtering.

func (*D8xShareTokenApprovalIterator) Next added in v0.1.14

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 D8xShareTokenCaller added in v0.1.14

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

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

func NewD8xShareTokenCaller added in v0.1.14

func NewD8xShareTokenCaller(address common.Address, caller bind.ContractCaller) (*D8xShareTokenCaller, error)

NewD8xShareTokenCaller creates a new read-only instance of D8xShareToken, bound to a specific deployed contract.

func (*D8xShareTokenCaller) Allowance added in v0.1.14

func (_D8xShareToken *D8xShareTokenCaller) 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 (*D8xShareTokenCaller) BalanceOf added in v0.1.14

func (_D8xShareToken *D8xShareTokenCaller) 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 (*D8xShareTokenCaller) Decimals added in v0.1.14

func (_D8xShareToken *D8xShareTokenCaller) 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 (*D8xShareTokenCaller) Name added in v0.1.14

func (_D8xShareToken *D8xShareTokenCaller) 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 (*D8xShareTokenCaller) Owner added in v0.1.14

func (_D8xShareToken *D8xShareTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*D8xShareTokenCaller) PoolId added in v0.1.14

func (_D8xShareToken *D8xShareTokenCaller) PoolId(opts *bind.CallOpts) (uint8, error)

PoolId is a free data retrieval call binding the contract method 0x3e0dc34e.

Solidity: function poolId() view returns(uint8)

func (*D8xShareTokenCaller) Symbol added in v0.1.14

func (_D8xShareToken *D8xShareTokenCaller) 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 (*D8xShareTokenCaller) TotalSupply added in v0.1.14

func (_D8xShareToken *D8xShareTokenCaller) 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 D8xShareTokenCallerRaw added in v0.1.14

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

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

func (*D8xShareTokenCallerRaw) Call added in v0.1.14

func (_D8xShareToken *D8xShareTokenCallerRaw) 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 D8xShareTokenCallerSession added in v0.1.14

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

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

func (*D8xShareTokenCallerSession) Allowance added in v0.1.14

func (_D8xShareToken *D8xShareTokenCallerSession) 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 (*D8xShareTokenCallerSession) BalanceOf added in v0.1.14

func (_D8xShareToken *D8xShareTokenCallerSession) 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 (*D8xShareTokenCallerSession) Decimals added in v0.1.14

func (_D8xShareToken *D8xShareTokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*D8xShareTokenCallerSession) Name added in v0.1.14

func (_D8xShareToken *D8xShareTokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*D8xShareTokenCallerSession) Owner added in v0.1.14

func (_D8xShareToken *D8xShareTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*D8xShareTokenCallerSession) PoolId added in v0.1.14

func (_D8xShareToken *D8xShareTokenCallerSession) PoolId() (uint8, error)

PoolId is a free data retrieval call binding the contract method 0x3e0dc34e.

Solidity: function poolId() view returns(uint8)

func (*D8xShareTokenCallerSession) Symbol added in v0.1.14

func (_D8xShareToken *D8xShareTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*D8xShareTokenCallerSession) TotalSupply added in v0.1.14

func (_D8xShareToken *D8xShareTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type D8xShareTokenFilterer added in v0.1.14

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

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

func NewD8xShareTokenFilterer added in v0.1.14

func NewD8xShareTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*D8xShareTokenFilterer, error)

NewD8xShareTokenFilterer creates a new log filterer instance of D8xShareToken, bound to a specific deployed contract.

func (*D8xShareTokenFilterer) FilterApproval added in v0.1.14

func (_D8xShareToken *D8xShareTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*D8xShareTokenApprovalIterator, 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 (*D8xShareTokenFilterer) FilterOwnershipTransferred added in v0.1.14

func (_D8xShareToken *D8xShareTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*D8xShareTokenOwnershipTransferredIterator, error)

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

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

func (*D8xShareTokenFilterer) FilterP2PTransfer added in v0.1.14

func (_D8xShareToken *D8xShareTokenFilterer) FilterP2PTransfer(opts *bind.FilterOpts) (*D8xShareTokenP2PTransferIterator, error)

FilterP2PTransfer is a free log retrieval operation binding the contract event 0x78e5f93474d987925844427924e2f97e7053fbb290ae237610bc27386d34cdba.

Solidity: event P2PTransfer(address from, address to, uint256 amountD18, uint256 priceD18)

func (*D8xShareTokenFilterer) FilterTransfer added in v0.1.14

func (_D8xShareToken *D8xShareTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*D8xShareTokenTransferIterator, 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 (*D8xShareTokenFilterer) ParseApproval added in v0.1.14

func (_D8xShareToken *D8xShareTokenFilterer) ParseApproval(log types.Log) (*D8xShareTokenApproval, error)

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

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

func (*D8xShareTokenFilterer) ParseOwnershipTransferred added in v0.1.14

func (_D8xShareToken *D8xShareTokenFilterer) ParseOwnershipTransferred(log types.Log) (*D8xShareTokenOwnershipTransferred, error)

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

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

func (*D8xShareTokenFilterer) ParseP2PTransfer added in v0.1.14

func (_D8xShareToken *D8xShareTokenFilterer) ParseP2PTransfer(log types.Log) (*D8xShareTokenP2PTransfer, error)

ParseP2PTransfer is a log parse operation binding the contract event 0x78e5f93474d987925844427924e2f97e7053fbb290ae237610bc27386d34cdba.

Solidity: event P2PTransfer(address from, address to, uint256 amountD18, uint256 priceD18)

func (*D8xShareTokenFilterer) ParseTransfer added in v0.1.14

func (_D8xShareToken *D8xShareTokenFilterer) ParseTransfer(log types.Log) (*D8xShareTokenTransfer, error)

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

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

func (*D8xShareTokenFilterer) WatchApproval added in v0.1.14

func (_D8xShareToken *D8xShareTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *D8xShareTokenApproval, 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 (*D8xShareTokenFilterer) WatchOwnershipTransferred added in v0.1.14

func (_D8xShareToken *D8xShareTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *D8xShareTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*D8xShareTokenFilterer) WatchP2PTransfer added in v0.1.14

func (_D8xShareToken *D8xShareTokenFilterer) WatchP2PTransfer(opts *bind.WatchOpts, sink chan<- *D8xShareTokenP2PTransfer) (event.Subscription, error)

WatchP2PTransfer is a free log subscription operation binding the contract event 0x78e5f93474d987925844427924e2f97e7053fbb290ae237610bc27386d34cdba.

Solidity: event P2PTransfer(address from, address to, uint256 amountD18, uint256 priceD18)

func (*D8xShareTokenFilterer) WatchTransfer added in v0.1.14

func (_D8xShareToken *D8xShareTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *D8xShareTokenTransfer, 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 D8xShareTokenOwnershipTransferred added in v0.1.14

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

D8xShareTokenOwnershipTransferred represents a OwnershipTransferred event raised by the D8xShareToken contract.

type D8xShareTokenOwnershipTransferredIterator added in v0.1.14

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

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

func (*D8xShareTokenOwnershipTransferredIterator) Close added in v0.1.14

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

func (*D8xShareTokenOwnershipTransferredIterator) Error added in v0.1.14

Error returns any retrieval or parsing error occurred during filtering.

func (*D8xShareTokenOwnershipTransferredIterator) Next added in v0.1.14

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 D8xShareTokenP2PTransfer added in v0.1.14

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

D8xShareTokenP2PTransfer represents a P2PTransfer event raised by the D8xShareToken contract.

type D8xShareTokenP2PTransferIterator added in v0.1.14

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

D8xShareTokenP2PTransferIterator is returned from FilterP2PTransfer and is used to iterate over the raw logs and unpacked data for P2PTransfer events raised by the D8xShareToken contract.

func (*D8xShareTokenP2PTransferIterator) Close added in v0.1.14

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

func (*D8xShareTokenP2PTransferIterator) Error added in v0.1.14

Error returns any retrieval or parsing error occurred during filtering.

func (*D8xShareTokenP2PTransferIterator) Next added in v0.1.14

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 D8xShareTokenRaw added in v0.1.14

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

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

func (*D8xShareTokenRaw) Call added in v0.1.14

func (_D8xShareToken *D8xShareTokenRaw) 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 (*D8xShareTokenRaw) Transact added in v0.1.14

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

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

func (*D8xShareTokenRaw) Transfer added in v0.1.14

func (_D8xShareToken *D8xShareTokenRaw) 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 D8xShareTokenSession added in v0.1.14

type D8xShareTokenSession struct {
	Contract     *D8xShareToken    // 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
}

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

func (*D8xShareTokenSession) Allowance added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) 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 (*D8xShareTokenSession) Approve added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) 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 (*D8xShareTokenSession) BalanceOf added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) 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 (*D8xShareTokenSession) Burn added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) Burn(_account common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address _account, uint256 _amount) returns()

func (*D8xShareTokenSession) Decimals added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*D8xShareTokenSession) DecreaseAllowance added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) 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 (*D8xShareTokenSession) IncreaseAllowance added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) 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 (*D8xShareTokenSession) Mint added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) Mint(_account common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address _account, uint256 _amount) returns()

func (*D8xShareTokenSession) Name added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*D8xShareTokenSession) Owner added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*D8xShareTokenSession) PoolId added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) PoolId() (uint8, error)

PoolId is a free data retrieval call binding the contract method 0x3e0dc34e.

Solidity: function poolId() view returns(uint8)

func (*D8xShareTokenSession) RenounceOwnership added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*D8xShareTokenSession) SetTransferRestricted added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) SetTransferRestricted(_account common.Address) (*types.Transaction, error)

SetTransferRestricted is a paid mutator transaction binding the contract method 0x80860c03.

Solidity: function setTransferRestricted(address _account) returns()

func (*D8xShareTokenSession) Symbol added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*D8xShareTokenSession) TotalSupply added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*D8xShareTokenSession) Transfer added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) 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 (*D8xShareTokenSession) TransferFrom added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) 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)

func (*D8xShareTokenSession) TransferOwnership added in v0.1.14

func (_D8xShareToken *D8xShareTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type D8xShareTokenTransactor added in v0.1.14

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

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

func NewD8xShareTokenTransactor added in v0.1.14

func NewD8xShareTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*D8xShareTokenTransactor, error)

NewD8xShareTokenTransactor creates a new write-only instance of D8xShareToken, bound to a specific deployed contract.

func (*D8xShareTokenTransactor) Approve added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactor) 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 (*D8xShareTokenTransactor) Burn added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactor) Burn(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address _account, uint256 _amount) returns()

func (*D8xShareTokenTransactor) DecreaseAllowance added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactor) 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 (*D8xShareTokenTransactor) IncreaseAllowance added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactor) 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 (*D8xShareTokenTransactor) Mint added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactor) Mint(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address _account, uint256 _amount) returns()

func (*D8xShareTokenTransactor) RenounceOwnership added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*D8xShareTokenTransactor) SetTransferRestricted added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactor) SetTransferRestricted(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

SetTransferRestricted is a paid mutator transaction binding the contract method 0x80860c03.

Solidity: function setTransferRestricted(address _account) returns()

func (*D8xShareTokenTransactor) Transfer added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactor) 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 (*D8xShareTokenTransactor) TransferFrom added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactor) 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)

func (*D8xShareTokenTransactor) TransferOwnership added in v0.1.14

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

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

Solidity: function transferOwnership(address newOwner) returns()

type D8xShareTokenTransactorRaw added in v0.1.14

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

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

func (*D8xShareTokenTransactorRaw) Transact added in v0.1.14

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

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

func (*D8xShareTokenTransactorRaw) Transfer added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactorRaw) 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 D8xShareTokenTransactorSession added in v0.1.14

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

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

func (*D8xShareTokenTransactorSession) Approve added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactorSession) 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 (*D8xShareTokenTransactorSession) Burn added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactorSession) Burn(_account common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address _account, uint256 _amount) returns()

func (*D8xShareTokenTransactorSession) DecreaseAllowance added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactorSession) 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 (*D8xShareTokenTransactorSession) IncreaseAllowance added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactorSession) 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 (*D8xShareTokenTransactorSession) Mint added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactorSession) Mint(_account common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address _account, uint256 _amount) returns()

func (*D8xShareTokenTransactorSession) RenounceOwnership added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*D8xShareTokenTransactorSession) SetTransferRestricted added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactorSession) SetTransferRestricted(_account common.Address) (*types.Transaction, error)

SetTransferRestricted is a paid mutator transaction binding the contract method 0x80860c03.

Solidity: function setTransferRestricted(address _account) returns()

func (*D8xShareTokenTransactorSession) Transfer added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactorSession) 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 (*D8xShareTokenTransactorSession) TransferFrom added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactorSession) 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)

func (*D8xShareTokenTransactorSession) TransferOwnership added in v0.1.14

func (_D8xShareToken *D8xShareTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type D8xShareTokenTransfer added in v0.1.14

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

D8xShareTokenTransfer represents a Transfer event raised by the D8xShareToken contract.

type D8xShareTokenTransferIterator added in v0.1.14

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

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

func (*D8xShareTokenTransferIterator) Close added in v0.1.14

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

func (*D8xShareTokenTransferIterator) Error added in v0.1.14

Error returns any retrieval or parsing error occurred during filtering.

func (*D8xShareTokenTransferIterator) Next added in v0.1.14

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 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 ERC4626 added in v0.1.8

type ERC4626 struct {
	ERC4626Caller     // Read-only binding to the contract
	ERC4626Transactor // Write-only binding to the contract
	ERC4626Filterer   // Log filterer for contract events
}

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

func NewERC4626 added in v0.1.8

func NewERC4626(address common.Address, backend bind.ContractBackend) (*ERC4626, error)

NewERC4626 creates a new instance of ERC4626, bound to a specific deployed contract.

type ERC4626Approval added in v0.1.8

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

ERC4626Approval represents a Approval event raised by the ERC4626 contract.

type ERC4626ApprovalIterator added in v0.1.8

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

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

func (*ERC4626ApprovalIterator) Close added in v0.1.8

func (it *ERC4626ApprovalIterator) Close() error

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

func (*ERC4626ApprovalIterator) Error added in v0.1.8

func (it *ERC4626ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC4626ApprovalIterator) Next added in v0.1.8

func (it *ERC4626ApprovalIterator) 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 ERC4626Caller added in v0.1.8

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

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

func NewERC4626Caller added in v0.1.8

func NewERC4626Caller(address common.Address, caller bind.ContractCaller) (*ERC4626Caller, error)

NewERC4626Caller creates a new read-only instance of ERC4626, bound to a specific deployed contract.

func (*ERC4626Caller) Allowance added in v0.1.8

func (_ERC4626 *ERC4626Caller) 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 (*ERC4626Caller) Asset added in v0.1.8

func (_ERC4626 *ERC4626Caller) Asset(opts *bind.CallOpts) (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*ERC4626Caller) BalanceOf added in v0.1.8

func (_ERC4626 *ERC4626Caller) 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 (*ERC4626Caller) ConvertToAssets added in v0.1.8

func (_ERC4626 *ERC4626Caller) ConvertToAssets(opts *bind.CallOpts, _shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 _shares) view returns(uint256)

func (*ERC4626Caller) ConvertToShares added in v0.1.8

func (_ERC4626 *ERC4626Caller) ConvertToShares(opts *bind.CallOpts, _assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 _assets) view returns(uint256)

func (*ERC4626Caller) DOLOMITEMARGIN added in v0.1.8

func (_ERC4626 *ERC4626Caller) DOLOMITEMARGIN(opts *bind.CallOpts) (common.Address, error)

DOLOMITEMARGIN is a free data retrieval call binding the contract method 0x15c14a4a.

Solidity: function DOLOMITE_MARGIN() view returns(address)

func (*ERC4626Caller) DOLOMITEMARGINOWNER added in v0.1.8

func (_ERC4626 *ERC4626Caller) DOLOMITEMARGINOWNER(opts *bind.CallOpts) (common.Address, error)

DOLOMITEMARGINOWNER is a free data retrieval call binding the contract method 0xcbffd921.

Solidity: function DOLOMITE_MARGIN_OWNER() view returns(address)

func (*ERC4626Caller) Decimals added in v0.1.8

func (_ERC4626 *ERC4626Caller) 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 (*ERC4626Caller) DolomiteRegistry added in v0.1.8

func (_ERC4626 *ERC4626Caller) DolomiteRegistry(opts *bind.CallOpts) (common.Address, error)

DolomiteRegistry is a free data retrieval call binding the contract method 0xbd12584f.

Solidity: function dolomiteRegistry() view returns(address)

func (*ERC4626Caller) IsValidReceiver added in v0.1.8

func (_ERC4626 *ERC4626Caller) IsValidReceiver(opts *bind.CallOpts, _receiver common.Address) (bool, error)

IsValidReceiver is a free data retrieval call binding the contract method 0xeb9b449c.

Solidity: function isValidReceiver(address _receiver) view returns(bool)

func (*ERC4626Caller) MarketId added in v0.1.8

func (_ERC4626 *ERC4626Caller) MarketId(opts *bind.CallOpts) (*big.Int, error)

MarketId is a free data retrieval call binding the contract method 0x6ed71ede.

Solidity: function marketId() view returns(uint256)

func (*ERC4626Caller) MaxDeposit added in v0.1.8

func (_ERC4626 *ERC4626Caller) MaxDeposit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*ERC4626Caller) MaxMint added in v0.1.8

func (_ERC4626 *ERC4626Caller) MaxMint(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

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

func (*ERC4626Caller) MaxRedeem added in v0.1.8

func (_ERC4626 *ERC4626Caller) MaxRedeem(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address _owner) view returns(uint256)

func (*ERC4626Caller) MaxWithdraw added in v0.1.8

func (_ERC4626 *ERC4626Caller) MaxWithdraw(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address _owner) view returns(uint256)

func (*ERC4626Caller) Name added in v0.1.8

func (_ERC4626 *ERC4626Caller) 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 (*ERC4626Caller) PreviewDeposit added in v0.1.8

func (_ERC4626 *ERC4626Caller) PreviewDeposit(opts *bind.CallOpts, _assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 _assets) view returns(uint256)

func (*ERC4626Caller) PreviewMint added in v0.1.8

func (_ERC4626 *ERC4626Caller) PreviewMint(opts *bind.CallOpts, _shares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 _shares) view returns(uint256)

func (*ERC4626Caller) PreviewRedeem added in v0.1.8

func (_ERC4626 *ERC4626Caller) PreviewRedeem(opts *bind.CallOpts, _shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 _shares) view returns(uint256)

func (*ERC4626Caller) PreviewWithdraw added in v0.1.8

func (_ERC4626 *ERC4626Caller) PreviewWithdraw(opts *bind.CallOpts, _assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 _assets) view returns(uint256)

func (*ERC4626Caller) Symbol added in v0.1.8

func (_ERC4626 *ERC4626Caller) 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 (*ERC4626Caller) TotalAssets added in v0.1.8

func (_ERC4626 *ERC4626Caller) TotalAssets(opts *bind.CallOpts) (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256)

func (*ERC4626Caller) TotalSupply added in v0.1.8

func (_ERC4626 *ERC4626Caller) 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 ERC4626CallerRaw added in v0.1.8

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

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

func (*ERC4626CallerRaw) Call added in v0.1.8

func (_ERC4626 *ERC4626CallerRaw) 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 ERC4626CallerSession added in v0.1.8

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

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

func (*ERC4626CallerSession) Allowance added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) 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 (*ERC4626CallerSession) Asset added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) Asset() (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*ERC4626CallerSession) BalanceOf added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) 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 (*ERC4626CallerSession) ConvertToAssets added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) ConvertToAssets(_shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 _shares) view returns(uint256)

func (*ERC4626CallerSession) ConvertToShares added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) ConvertToShares(_assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 _assets) view returns(uint256)

func (*ERC4626CallerSession) DOLOMITEMARGIN added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) DOLOMITEMARGIN() (common.Address, error)

DOLOMITEMARGIN is a free data retrieval call binding the contract method 0x15c14a4a.

Solidity: function DOLOMITE_MARGIN() view returns(address)

func (*ERC4626CallerSession) DOLOMITEMARGINOWNER added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) DOLOMITEMARGINOWNER() (common.Address, error)

DOLOMITEMARGINOWNER is a free data retrieval call binding the contract method 0xcbffd921.

Solidity: function DOLOMITE_MARGIN_OWNER() view returns(address)

func (*ERC4626CallerSession) Decimals added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ERC4626CallerSession) DolomiteRegistry added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) DolomiteRegistry() (common.Address, error)

DolomiteRegistry is a free data retrieval call binding the contract method 0xbd12584f.

Solidity: function dolomiteRegistry() view returns(address)

func (*ERC4626CallerSession) IsValidReceiver added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) IsValidReceiver(_receiver common.Address) (bool, error)

IsValidReceiver is a free data retrieval call binding the contract method 0xeb9b449c.

Solidity: function isValidReceiver(address _receiver) view returns(bool)

func (*ERC4626CallerSession) MarketId added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) MarketId() (*big.Int, error)

MarketId is a free data retrieval call binding the contract method 0x6ed71ede.

Solidity: function marketId() view returns(uint256)

func (*ERC4626CallerSession) MaxDeposit added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) MaxDeposit(arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*ERC4626CallerSession) MaxMint added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) MaxMint(arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

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

func (*ERC4626CallerSession) MaxRedeem added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) MaxRedeem(_owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address _owner) view returns(uint256)

func (*ERC4626CallerSession) MaxWithdraw added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) MaxWithdraw(_owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address _owner) view returns(uint256)

func (*ERC4626CallerSession) Name added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC4626CallerSession) PreviewDeposit added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) PreviewDeposit(_assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 _assets) view returns(uint256)

func (*ERC4626CallerSession) PreviewMint added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) PreviewMint(_shares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 _shares) view returns(uint256)

func (*ERC4626CallerSession) PreviewRedeem added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) PreviewRedeem(_shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 _shares) view returns(uint256)

func (*ERC4626CallerSession) PreviewWithdraw added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) PreviewWithdraw(_assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 _assets) view returns(uint256)

func (*ERC4626CallerSession) Symbol added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC4626CallerSession) TotalAssets added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) TotalAssets() (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256)

func (*ERC4626CallerSession) TotalSupply added in v0.1.8

func (_ERC4626 *ERC4626CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC4626Deposit added in v0.1.8

type ERC4626Deposit struct {
	Sender common.Address
	Owner  common.Address
	Assets *big.Int
	Shares *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ERC4626Deposit represents a Deposit event raised by the ERC4626 contract.

type ERC4626DepositIterator added in v0.1.8

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

ERC4626DepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the ERC4626 contract.

func (*ERC4626DepositIterator) Close added in v0.1.8

func (it *ERC4626DepositIterator) Close() error

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

func (*ERC4626DepositIterator) Error added in v0.1.8

func (it *ERC4626DepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC4626DepositIterator) Next added in v0.1.8

func (it *ERC4626DepositIterator) 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 ERC4626Filterer added in v0.1.8

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

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

func NewERC4626Filterer added in v0.1.8

func NewERC4626Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC4626Filterer, error)

NewERC4626Filterer creates a new log filterer instance of ERC4626, bound to a specific deployed contract.

func (*ERC4626Filterer) FilterApproval added in v0.1.8

func (_ERC4626 *ERC4626Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC4626ApprovalIterator, 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 (*ERC4626Filterer) FilterDeposit added in v0.1.8

func (_ERC4626 *ERC4626Filterer) FilterDeposit(opts *bind.FilterOpts, sender []common.Address, owner []common.Address) (*ERC4626DepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)

func (*ERC4626Filterer) FilterInitialized added in v0.1.8

func (_ERC4626 *ERC4626Filterer) FilterInitialized(opts *bind.FilterOpts) (*ERC4626InitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ERC4626Filterer) FilterTransfer added in v0.1.8

func (_ERC4626 *ERC4626Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC4626TransferIterator, 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 (*ERC4626Filterer) FilterWithdraw added in v0.1.8

func (_ERC4626 *ERC4626Filterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address, receiver []common.Address, owner []common.Address) (*ERC4626WithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

func (*ERC4626Filterer) ParseApproval added in v0.1.8

func (_ERC4626 *ERC4626Filterer) ParseApproval(log types.Log) (*ERC4626Approval, error)

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

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

func (*ERC4626Filterer) ParseDeposit added in v0.1.8

func (_ERC4626 *ERC4626Filterer) ParseDeposit(log types.Log) (*ERC4626Deposit, error)

ParseDeposit is a log parse operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)

func (*ERC4626Filterer) ParseInitialized added in v0.1.8

func (_ERC4626 *ERC4626Filterer) ParseInitialized(log types.Log) (*ERC4626Initialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ERC4626Filterer) ParseTransfer added in v0.1.8

func (_ERC4626 *ERC4626Filterer) ParseTransfer(log types.Log) (*ERC4626Transfer, error)

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

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

func (*ERC4626Filterer) ParseWithdraw added in v0.1.8

func (_ERC4626 *ERC4626Filterer) ParseWithdraw(log types.Log) (*ERC4626Withdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

func (*ERC4626Filterer) WatchApproval added in v0.1.8

func (_ERC4626 *ERC4626Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC4626Approval, 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 (*ERC4626Filterer) WatchDeposit added in v0.1.8

func (_ERC4626 *ERC4626Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *ERC4626Deposit, sender []common.Address, owner []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)

func (*ERC4626Filterer) WatchInitialized added in v0.1.8

func (_ERC4626 *ERC4626Filterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ERC4626Initialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ERC4626Filterer) WatchTransfer added in v0.1.8

func (_ERC4626 *ERC4626Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC4626Transfer, 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 (*ERC4626Filterer) WatchWithdraw added in v0.1.8

func (_ERC4626 *ERC4626Filterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *ERC4626Withdraw, sender []common.Address, receiver []common.Address, owner []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

type ERC4626Initialized added in v0.1.8

type ERC4626Initialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ERC4626Initialized represents a Initialized event raised by the ERC4626 contract.

type ERC4626InitializedIterator added in v0.1.8

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

ERC4626InitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ERC4626 contract.

func (*ERC4626InitializedIterator) Close added in v0.1.8

func (it *ERC4626InitializedIterator) Close() error

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

func (*ERC4626InitializedIterator) Error added in v0.1.8

func (it *ERC4626InitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC4626InitializedIterator) Next added in v0.1.8

func (it *ERC4626InitializedIterator) 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 ERC4626Raw added in v0.1.8

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

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

func (*ERC4626Raw) Call added in v0.1.8

func (_ERC4626 *ERC4626Raw) 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 (*ERC4626Raw) Transact added in v0.1.8

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

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

func (*ERC4626Raw) Transfer added in v0.1.8

func (_ERC4626 *ERC4626Raw) 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 ERC4626Session added in v0.1.8

type ERC4626Session struct {
	Contract     *ERC4626          // 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
}

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

func (*ERC4626Session) Allowance added in v0.1.8

func (_ERC4626 *ERC4626Session) 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 (*ERC4626Session) Approve added in v0.1.8

func (_ERC4626 *ERC4626Session) 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 (*ERC4626Session) Asset added in v0.1.8

func (_ERC4626 *ERC4626Session) Asset() (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*ERC4626Session) BalanceOf added in v0.1.8

func (_ERC4626 *ERC4626Session) 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 (*ERC4626Session) ConvertToAssets added in v0.1.8

func (_ERC4626 *ERC4626Session) ConvertToAssets(_shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 _shares) view returns(uint256)

func (*ERC4626Session) ConvertToShares added in v0.1.8

func (_ERC4626 *ERC4626Session) ConvertToShares(_assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 _assets) view returns(uint256)

func (*ERC4626Session) DOLOMITEMARGIN added in v0.1.8

func (_ERC4626 *ERC4626Session) DOLOMITEMARGIN() (common.Address, error)

DOLOMITEMARGIN is a free data retrieval call binding the contract method 0x15c14a4a.

Solidity: function DOLOMITE_MARGIN() view returns(address)

func (*ERC4626Session) DOLOMITEMARGINOWNER added in v0.1.8

func (_ERC4626 *ERC4626Session) DOLOMITEMARGINOWNER() (common.Address, error)

DOLOMITEMARGINOWNER is a free data retrieval call binding the contract method 0xcbffd921.

Solidity: function DOLOMITE_MARGIN_OWNER() view returns(address)

func (*ERC4626Session) Decimals added in v0.1.8

func (_ERC4626 *ERC4626Session) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ERC4626Session) Deposit added in v0.1.8

func (_ERC4626 *ERC4626Session) Deposit(_assets *big.Int, _receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 _assets, address _receiver) returns(uint256)

func (*ERC4626Session) DolomiteRegistry added in v0.1.8

func (_ERC4626 *ERC4626Session) DolomiteRegistry() (common.Address, error)

DolomiteRegistry is a free data retrieval call binding the contract method 0xbd12584f.

Solidity: function dolomiteRegistry() view returns(address)

func (*ERC4626Session) Initialize added in v0.1.8

func (_ERC4626 *ERC4626Session) Initialize(_name string, _symbol string, _decimals uint8, _marketId *big.Int, _dolomiteRegistry common.Address) (*types.Transaction, error)

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

Solidity: function initialize(string _name, string _symbol, uint8 _decimals, uint256 _marketId, address _dolomiteRegistry) returns()

func (*ERC4626Session) IsValidReceiver added in v0.1.8

func (_ERC4626 *ERC4626Session) IsValidReceiver(_receiver common.Address) (bool, error)

IsValidReceiver is a free data retrieval call binding the contract method 0xeb9b449c.

Solidity: function isValidReceiver(address _receiver) view returns(bool)

func (*ERC4626Session) MarketId added in v0.1.8

func (_ERC4626 *ERC4626Session) MarketId() (*big.Int, error)

MarketId is a free data retrieval call binding the contract method 0x6ed71ede.

Solidity: function marketId() view returns(uint256)

func (*ERC4626Session) MaxDeposit added in v0.1.8

func (_ERC4626 *ERC4626Session) MaxDeposit(arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*ERC4626Session) MaxMint added in v0.1.8

func (_ERC4626 *ERC4626Session) MaxMint(arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

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

func (*ERC4626Session) MaxRedeem added in v0.1.8

func (_ERC4626 *ERC4626Session) MaxRedeem(_owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address _owner) view returns(uint256)

func (*ERC4626Session) MaxWithdraw added in v0.1.8

func (_ERC4626 *ERC4626Session) MaxWithdraw(_owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address _owner) view returns(uint256)

func (*ERC4626Session) Mint added in v0.1.8

func (_ERC4626 *ERC4626Session) Mint(_shares *big.Int, _receiver common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 _shares, address _receiver) returns(uint256)

func (*ERC4626Session) Name added in v0.1.8

func (_ERC4626 *ERC4626Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC4626Session) PreviewDeposit added in v0.1.8

func (_ERC4626 *ERC4626Session) PreviewDeposit(_assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 _assets) view returns(uint256)

func (*ERC4626Session) PreviewMint added in v0.1.8

func (_ERC4626 *ERC4626Session) PreviewMint(_shares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 _shares) view returns(uint256)

func (*ERC4626Session) PreviewRedeem added in v0.1.8

func (_ERC4626 *ERC4626Session) PreviewRedeem(_shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 _shares) view returns(uint256)

func (*ERC4626Session) PreviewWithdraw added in v0.1.8

func (_ERC4626 *ERC4626Session) PreviewWithdraw(_assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 _assets) view returns(uint256)

func (*ERC4626Session) Redeem added in v0.1.8

func (_ERC4626 *ERC4626Session) Redeem(_shares *big.Int, _receiver common.Address, _owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 _shares, address _receiver, address _owner) returns(uint256)

func (*ERC4626Session) Symbol added in v0.1.8

func (_ERC4626 *ERC4626Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC4626Session) TotalAssets added in v0.1.8

func (_ERC4626 *ERC4626Session) TotalAssets() (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256)

func (*ERC4626Session) TotalSupply added in v0.1.8

func (_ERC4626 *ERC4626Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ERC4626Session) Transfer added in v0.1.8

func (_ERC4626 *ERC4626Session) 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 (*ERC4626Session) TransferFrom added in v0.1.8

func (_ERC4626 *ERC4626Session) 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)

func (*ERC4626Session) Withdraw added in v0.1.8

func (_ERC4626 *ERC4626Session) Withdraw(_assets *big.Int, _receiver common.Address, _owner common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 _assets, address _receiver, address _owner) returns(uint256)

type ERC4626Transactor added in v0.1.8

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

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

func NewERC4626Transactor added in v0.1.8

func NewERC4626Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC4626Transactor, error)

NewERC4626Transactor creates a new write-only instance of ERC4626, bound to a specific deployed contract.

func (*ERC4626Transactor) Approve added in v0.1.8

func (_ERC4626 *ERC4626Transactor) 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 (*ERC4626Transactor) Deposit added in v0.1.8

func (_ERC4626 *ERC4626Transactor) Deposit(opts *bind.TransactOpts, _assets *big.Int, _receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 _assets, address _receiver) returns(uint256)

func (*ERC4626Transactor) Initialize added in v0.1.8

func (_ERC4626 *ERC4626Transactor) Initialize(opts *bind.TransactOpts, _name string, _symbol string, _decimals uint8, _marketId *big.Int, _dolomiteRegistry common.Address) (*types.Transaction, error)

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

Solidity: function initialize(string _name, string _symbol, uint8 _decimals, uint256 _marketId, address _dolomiteRegistry) returns()

func (*ERC4626Transactor) Mint added in v0.1.8

func (_ERC4626 *ERC4626Transactor) Mint(opts *bind.TransactOpts, _shares *big.Int, _receiver common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 _shares, address _receiver) returns(uint256)

func (*ERC4626Transactor) Redeem added in v0.1.8

func (_ERC4626 *ERC4626Transactor) Redeem(opts *bind.TransactOpts, _shares *big.Int, _receiver common.Address, _owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 _shares, address _receiver, address _owner) returns(uint256)

func (*ERC4626Transactor) Transfer added in v0.1.8

func (_ERC4626 *ERC4626Transactor) 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 (*ERC4626Transactor) TransferFrom added in v0.1.8

func (_ERC4626 *ERC4626Transactor) 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)

func (*ERC4626Transactor) Withdraw added in v0.1.8

func (_ERC4626 *ERC4626Transactor) Withdraw(opts *bind.TransactOpts, _assets *big.Int, _receiver common.Address, _owner common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 _assets, address _receiver, address _owner) returns(uint256)

type ERC4626TransactorRaw added in v0.1.8

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

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

func (*ERC4626TransactorRaw) Transact added in v0.1.8

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

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

func (*ERC4626TransactorRaw) Transfer added in v0.1.8

func (_ERC4626 *ERC4626TransactorRaw) 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 ERC4626TransactorSession added in v0.1.8

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

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

func (*ERC4626TransactorSession) Approve added in v0.1.8

func (_ERC4626 *ERC4626TransactorSession) 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 (*ERC4626TransactorSession) Deposit added in v0.1.8

func (_ERC4626 *ERC4626TransactorSession) Deposit(_assets *big.Int, _receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 _assets, address _receiver) returns(uint256)

func (*ERC4626TransactorSession) Initialize added in v0.1.8

func (_ERC4626 *ERC4626TransactorSession) Initialize(_name string, _symbol string, _decimals uint8, _marketId *big.Int, _dolomiteRegistry common.Address) (*types.Transaction, error)

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

Solidity: function initialize(string _name, string _symbol, uint8 _decimals, uint256 _marketId, address _dolomiteRegistry) returns()

func (*ERC4626TransactorSession) Mint added in v0.1.8

func (_ERC4626 *ERC4626TransactorSession) Mint(_shares *big.Int, _receiver common.Address) (*types.Transaction, error)

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

Solidity: function mint(uint256 _shares, address _receiver) returns(uint256)

func (*ERC4626TransactorSession) Redeem added in v0.1.8

func (_ERC4626 *ERC4626TransactorSession) Redeem(_shares *big.Int, _receiver common.Address, _owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 _shares, address _receiver, address _owner) returns(uint256)

func (*ERC4626TransactorSession) Transfer added in v0.1.8

func (_ERC4626 *ERC4626TransactorSession) 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 (*ERC4626TransactorSession) TransferFrom added in v0.1.8

func (_ERC4626 *ERC4626TransactorSession) 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)

func (*ERC4626TransactorSession) Withdraw added in v0.1.8

func (_ERC4626 *ERC4626TransactorSession) Withdraw(_assets *big.Int, _receiver common.Address, _owner common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 _assets, address _receiver, address _owner) returns(uint256)

type ERC4626Transfer added in v0.1.8

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

ERC4626Transfer represents a Transfer event raised by the ERC4626 contract.

type ERC4626TransferIterator added in v0.1.8

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

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

func (*ERC4626TransferIterator) Close added in v0.1.8

func (it *ERC4626TransferIterator) Close() error

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

func (*ERC4626TransferIterator) Error added in v0.1.8

func (it *ERC4626TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC4626TransferIterator) Next added in v0.1.8

func (it *ERC4626TransferIterator) 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 ERC4626Withdraw added in v0.1.8

type ERC4626Withdraw struct {
	Sender   common.Address
	Receiver common.Address
	Owner    common.Address
	Assets   *big.Int
	Shares   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

ERC4626Withdraw represents a Withdraw event raised by the ERC4626 contract.

type ERC4626WithdrawIterator added in v0.1.8

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

ERC4626WithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the ERC4626 contract.

func (*ERC4626WithdrawIterator) Close added in v0.1.8

func (it *ERC4626WithdrawIterator) Close() error

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

func (*ERC4626WithdrawIterator) Error added in v0.1.8

func (it *ERC4626WithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC4626WithdrawIterator) Next added in v0.1.8

func (it *ERC4626WithdrawIterator) 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 IBaseCollateralVaultBaseInitParams added in v0.1.9

type IBaseCollateralVaultBaseInitParams struct {
	MinWithdrawFee     uint16
	MaxWithdrawFee     uint16
	WithdrawFee        uint16
	MetaBeraborrowCore common.Address
	Asset              common.Address
	SharesName         string
	SharesSymbol       string
}

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

type IInfraredCollateralVaultInfraredInitParams added in v0.1.9

type IInfraredCollateralVaultInfraredInitParams struct {
	BaseParams        IBaseCollateralVaultBaseInitParams
	MinPerformanceFee uint16
	MaxPerformanceFee uint16
	PerformanceFee    uint16
	IRedToken         common.Address
	InfraredVault     common.Address
	IbgtVault         common.Address
	InfraredWrapper   common.Address
}

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

type IInfraredCollateralVaultRebalanceParams added in v0.1.9

type IInfraredCollateralVaultRebalanceParams struct {
	SentCurrency common.Address
	SentAmount   *big.Int
	Swapper      common.Address
	Payload      []byte
}

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

type ILiquidStabilityPoolInitParams added in v0.1.16

type ILiquidStabilityPoolInitParams struct {
	Asset              common.Address
	SharesName         string
	SharesSymbol       string
	MetaBeraborrowCore common.Address
	LiquidationManager common.Address
	Factory            common.Address
	FeeReceiver        common.Address
}

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

type ILiquidStabilityPoolRebalanceParams added in v0.1.16

type ILiquidStabilityPoolRebalanceParams struct {
	SentCurrency     common.Address
	SentAmount       *big.Int
	ReceivedCurrency common.Address
	Swapper          common.Address
	Payload          []byte
}

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

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 KodiakIsland added in v0.1.18

type KodiakIsland struct {
	KodiakIslandCaller     // Read-only binding to the contract
	KodiakIslandTransactor // Write-only binding to the contract
	KodiakIslandFilterer   // Log filterer for contract events
}

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

func NewKodiakIsland added in v0.1.18

func NewKodiakIsland(address common.Address, backend bind.ContractBackend) (*KodiakIsland, error)

NewKodiakIsland creates a new instance of KodiakIsland, bound to a specific deployed contract.

type KodiakIslandApproval added in v0.1.18

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

KodiakIslandApproval represents a Approval event raised by the KodiakIsland contract.

type KodiakIslandApprovalIterator added in v0.1.18

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

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

func (*KodiakIslandApprovalIterator) Close added in v0.1.18

func (it *KodiakIslandApprovalIterator) Close() error

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

func (*KodiakIslandApprovalIterator) Error added in v0.1.18

func (it *KodiakIslandApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakIslandApprovalIterator) Next added in v0.1.18

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 KodiakIslandBurned added in v0.1.18

type KodiakIslandBurned struct {
	Receiver        common.Address
	BurnAmount      *big.Int
	Amount0Out      *big.Int
	Amount1Out      *big.Int
	LiquidityBurned *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

KodiakIslandBurned represents a Burned event raised by the KodiakIsland contract.

type KodiakIslandBurnedIterator added in v0.1.18

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

KodiakIslandBurnedIterator is returned from FilterBurned and is used to iterate over the raw logs and unpacked data for Burned events raised by the KodiakIsland contract.

func (*KodiakIslandBurnedIterator) Close added in v0.1.18

func (it *KodiakIslandBurnedIterator) Close() error

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

func (*KodiakIslandBurnedIterator) Error added in v0.1.18

func (it *KodiakIslandBurnedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakIslandBurnedIterator) Next added in v0.1.18

func (it *KodiakIslandBurnedIterator) 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 KodiakIslandCaller added in v0.1.18

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

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

func NewKodiakIslandCaller added in v0.1.18

func NewKodiakIslandCaller(address common.Address, caller bind.ContractCaller) (*KodiakIslandCaller, error)

NewKodiakIslandCaller creates a new read-only instance of KodiakIsland, bound to a specific deployed contract.

func (*KodiakIslandCaller) Allowance added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) BalanceOf added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) Decimals added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) GELATO added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) GelatoRebalanceBPS added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) GelatoSlippageBPS added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) GelatoSlippageInterval added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) GetMintAmounts added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) GetPositionID added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) GetUnderlyingBalances added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) GetUnderlyingBalancesAtPrice added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) KodiakBalance0 added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) KodiakBalance1 added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) KodiakFeeBPS added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) KodiakTreasury added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) LowerTick added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) Manager added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) ManagerBalance0 added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) ManagerBalance1 added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) ManagerFeeBPS added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) ManagerTreasury added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) Name added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) Pool added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) RESTRICTEDMINTENABLED added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) RestrictedMintToggle added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) Symbol added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) Token0 added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) Token1 added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) TotalSupply added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) UpperTick added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 (*KodiakIslandCaller) Version added in v0.1.18

func (_KodiakIsland *KodiakIslandCaller) 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 KodiakIslandCallerRaw added in v0.1.18

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

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

func (*KodiakIslandCallerRaw) Call added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerRaw) 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 KodiakIslandCallerSession added in v0.1.18

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

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

func (*KodiakIslandCallerSession) Allowance added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) 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 (*KodiakIslandCallerSession) BalanceOf added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) 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 (*KodiakIslandCallerSession) Decimals added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*KodiakIslandCallerSession) GELATO added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) GELATO() (common.Address, error)

GELATO is a free data retrieval call binding the contract method 0xeff557a7.

Solidity: function GELATO() view returns(address)

func (*KodiakIslandCallerSession) GelatoRebalanceBPS added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) GelatoRebalanceBPS() (uint16, error)

GelatoRebalanceBPS is a free data retrieval call binding the contract method 0xa50b1fe7.

Solidity: function gelatoRebalanceBPS() view returns(uint16)

func (*KodiakIslandCallerSession) GelatoSlippageBPS added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) GelatoSlippageBPS() (uint16, error)

GelatoSlippageBPS is a free data retrieval call binding the contract method 0xd6e7ff39.

Solidity: function gelatoSlippageBPS() view returns(uint16)

func (*KodiakIslandCallerSession) GelatoSlippageInterval added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) GelatoSlippageInterval() (uint32, error)

GelatoSlippageInterval is a free data retrieval call binding the contract method 0x672152bd.

Solidity: function gelatoSlippageInterval() view returns(uint32)

func (*KodiakIslandCallerSession) GetMintAmounts added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) 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 (*KodiakIslandCallerSession) GetPositionID added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) GetPositionID() ([32]byte, error)

GetPositionID is a free data retrieval call binding the contract method 0xdf28408a.

Solidity: function getPositionID() view returns(bytes32 positionID)

func (*KodiakIslandCallerSession) GetUnderlyingBalances added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) 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 (*KodiakIslandCallerSession) GetUnderlyingBalancesAtPrice added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) 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 (*KodiakIslandCallerSession) KodiakBalance0 added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) KodiakBalance0() (*big.Int, error)

KodiakBalance0 is a free data retrieval call binding the contract method 0xd8d24145.

Solidity: function kodiakBalance0() view returns(uint256)

func (*KodiakIslandCallerSession) KodiakBalance1 added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) KodiakBalance1() (*big.Int, error)

KodiakBalance1 is a free data retrieval call binding the contract method 0xf5338bcf.

Solidity: function kodiakBalance1() view returns(uint256)

func (*KodiakIslandCallerSession) KodiakFeeBPS added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) KodiakFeeBPS() (uint16, error)

KodiakFeeBPS is a free data retrieval call binding the contract method 0xce311070.

Solidity: function kodiakFeeBPS() view returns(uint16)

func (*KodiakIslandCallerSession) KodiakTreasury added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) KodiakTreasury() (common.Address, error)

KodiakTreasury is a free data retrieval call binding the contract method 0x94a113ec.

Solidity: function kodiakTreasury() view returns(address)

func (*KodiakIslandCallerSession) LowerTick added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) LowerTick() (*big.Int, error)

LowerTick is a free data retrieval call binding the contract method 0x9b1344ac.

Solidity: function lowerTick() view returns(int24)

func (*KodiakIslandCallerSession) Manager added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) Manager() (common.Address, error)

Manager is a free data retrieval call binding the contract method 0x481c6a75.

Solidity: function manager() view returns(address)

func (*KodiakIslandCallerSession) ManagerBalance0 added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) ManagerBalance0() (*big.Int, error)

ManagerBalance0 is a free data retrieval call binding the contract method 0x065756db.

Solidity: function managerBalance0() view returns(uint256)

func (*KodiakIslandCallerSession) ManagerBalance1 added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) ManagerBalance1() (*big.Int, error)

ManagerBalance1 is a free data retrieval call binding the contract method 0x42fb9d44.

Solidity: function managerBalance1() view returns(uint256)

func (*KodiakIslandCallerSession) ManagerFeeBPS added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) ManagerFeeBPS() (uint16, error)

ManagerFeeBPS is a free data retrieval call binding the contract method 0xccdf7a02.

Solidity: function managerFeeBPS() view returns(uint16)

func (*KodiakIslandCallerSession) ManagerTreasury added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) ManagerTreasury() (common.Address, error)

ManagerTreasury is a free data retrieval call binding the contract method 0xcc95353e.

Solidity: function managerTreasury() view returns(address)

func (*KodiakIslandCallerSession) Name added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*KodiakIslandCallerSession) Pool added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*KodiakIslandCallerSession) RESTRICTEDMINTENABLED added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) RESTRICTEDMINTENABLED() (uint16, error)

RESTRICTEDMINTENABLED is a free data retrieval call binding the contract method 0xd839fb3f.

Solidity: function RESTRICTED_MINT_ENABLED() view returns(uint16)

func (*KodiakIslandCallerSession) RestrictedMintToggle added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) RestrictedMintToggle() (uint16, error)

RestrictedMintToggle is a free data retrieval call binding the contract method 0xdd40e322.

Solidity: function restrictedMintToggle() view returns(uint16)

func (*KodiakIslandCallerSession) Symbol added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*KodiakIslandCallerSession) Token0 added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*KodiakIslandCallerSession) Token1 added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*KodiakIslandCallerSession) TotalSupply added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*KodiakIslandCallerSession) UpperTick added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) UpperTick() (*big.Int, error)

UpperTick is a free data retrieval call binding the contract method 0x727dd228.

Solidity: function upperTick() view returns(int24)

func (*KodiakIslandCallerSession) Version added in v0.1.18

func (_KodiakIsland *KodiakIslandCallerSession) Version() (string, error)

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

Solidity: function version() view returns(string)

type KodiakIslandFeesEarned added in v0.1.18

type KodiakIslandFeesEarned struct {
	FeesEarned0 *big.Int
	FeesEarned1 *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

KodiakIslandFeesEarned represents a FeesEarned event raised by the KodiakIsland contract.

type KodiakIslandFeesEarnedIterator added in v0.1.18

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

KodiakIslandFeesEarnedIterator is returned from FilterFeesEarned and is used to iterate over the raw logs and unpacked data for FeesEarned events raised by the KodiakIsland contract.

func (*KodiakIslandFeesEarnedIterator) Close added in v0.1.18

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

func (*KodiakIslandFeesEarnedIterator) Error added in v0.1.18

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakIslandFeesEarnedIterator) Next added in v0.1.18

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 KodiakIslandFilterer added in v0.1.18

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

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

func NewKodiakIslandFilterer added in v0.1.18

func NewKodiakIslandFilterer(address common.Address, filterer bind.ContractFilterer) (*KodiakIslandFilterer, error)

NewKodiakIslandFilterer creates a new log filterer instance of KodiakIsland, bound to a specific deployed contract.

func (*KodiakIslandFilterer) FilterApproval added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*KodiakIslandApprovalIterator, 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 (*KodiakIslandFilterer) FilterBurned added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) FilterBurned(opts *bind.FilterOpts) (*KodiakIslandBurnedIterator, 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 (*KodiakIslandFilterer) FilterFeesEarned added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) FilterFeesEarned(opts *bind.FilterOpts) (*KodiakIslandFeesEarnedIterator, error)

FilterFeesEarned is a free log retrieval operation binding the contract event 0xc28ad1de9c0c32e5394ba60323e44d8d9536312236a47231772e448a3e49de42.

Solidity: event FeesEarned(uint256 feesEarned0, uint256 feesEarned1)

func (*KodiakIslandFilterer) FilterMinted added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) FilterMinted(opts *bind.FilterOpts) (*KodiakIslandMintedIterator, 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 (*KodiakIslandFilterer) FilterOwnershipTransferred added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousManager []common.Address, newManager []common.Address) (*KodiakIslandOwnershipTransferredIterator, error)

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

Solidity: event OwnershipTransferred(address indexed previousManager, address indexed newManager)

func (*KodiakIslandFilterer) FilterRebalance added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) FilterRebalance(opts *bind.FilterOpts) (*KodiakIslandRebalanceIterator, 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 (*KodiakIslandFilterer) FilterTransfer added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*KodiakIslandTransferIterator, 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 (*KodiakIslandFilterer) FilterUpdateManagerParams added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) FilterUpdateManagerParams(opts *bind.FilterOpts) (*KodiakIslandUpdateManagerParamsIterator, 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 (*KodiakIslandFilterer) ParseApproval added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) ParseApproval(log types.Log) (*KodiakIslandApproval, error)

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

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

func (*KodiakIslandFilterer) ParseBurned added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) ParseBurned(log types.Log) (*KodiakIslandBurned, 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 (*KodiakIslandFilterer) ParseFeesEarned added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) ParseFeesEarned(log types.Log) (*KodiakIslandFeesEarned, error)

ParseFeesEarned is a log parse operation binding the contract event 0xc28ad1de9c0c32e5394ba60323e44d8d9536312236a47231772e448a3e49de42.

Solidity: event FeesEarned(uint256 feesEarned0, uint256 feesEarned1)

func (*KodiakIslandFilterer) ParseMinted added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) ParseMinted(log types.Log) (*KodiakIslandMinted, 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 (*KodiakIslandFilterer) ParseOwnershipTransferred added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) ParseOwnershipTransferred(log types.Log) (*KodiakIslandOwnershipTransferred, error)

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

Solidity: event OwnershipTransferred(address indexed previousManager, address indexed newManager)

func (*KodiakIslandFilterer) ParseRebalance added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) ParseRebalance(log types.Log) (*KodiakIslandRebalance, error)

ParseRebalance is a log parse operation binding the contract event 0xc749f9ae947d4734cf1569606a8a347391ae94a063478aa853aeff48ac5f99e8.

Solidity: event Rebalance(int24 lowerTick_, int24 upperTick_, uint128 liquidityBefore, uint128 liquidityAfter)

func (*KodiakIslandFilterer) ParseTransfer added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) ParseTransfer(log types.Log) (*KodiakIslandTransfer, error)

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

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

func (*KodiakIslandFilterer) ParseUpdateManagerParams added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) ParseUpdateManagerParams(log types.Log) (*KodiakIslandUpdateManagerParams, 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 (*KodiakIslandFilterer) WatchApproval added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *KodiakIslandApproval, 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 (*KodiakIslandFilterer) WatchBurned added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *KodiakIslandBurned) (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 (*KodiakIslandFilterer) WatchFeesEarned added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) WatchFeesEarned(opts *bind.WatchOpts, sink chan<- *KodiakIslandFeesEarned) (event.Subscription, error)

WatchFeesEarned is a free log subscription operation binding the contract event 0xc28ad1de9c0c32e5394ba60323e44d8d9536312236a47231772e448a3e49de42.

Solidity: event FeesEarned(uint256 feesEarned0, uint256 feesEarned1)

func (*KodiakIslandFilterer) WatchMinted added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *KodiakIslandMinted) (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 (*KodiakIslandFilterer) WatchOwnershipTransferred added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *KodiakIslandOwnershipTransferred, 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 (*KodiakIslandFilterer) WatchRebalance added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) WatchRebalance(opts *bind.WatchOpts, sink chan<- *KodiakIslandRebalance) (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 (*KodiakIslandFilterer) WatchTransfer added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *KodiakIslandTransfer, 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 (*KodiakIslandFilterer) WatchUpdateManagerParams added in v0.1.18

func (_KodiakIsland *KodiakIslandFilterer) WatchUpdateManagerParams(opts *bind.WatchOpts, sink chan<- *KodiakIslandUpdateManagerParams) (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 KodiakIslandMinted added in v0.1.18

type KodiakIslandMinted struct {
	Receiver        common.Address
	MintAmount      *big.Int
	Amount0In       *big.Int
	Amount1In       *big.Int
	LiquidityMinted *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

KodiakIslandMinted represents a Minted event raised by the KodiakIsland contract.

type KodiakIslandMintedIterator added in v0.1.18

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

KodiakIslandMintedIterator is returned from FilterMinted and is used to iterate over the raw logs and unpacked data for Minted events raised by the KodiakIsland contract.

func (*KodiakIslandMintedIterator) Close added in v0.1.18

func (it *KodiakIslandMintedIterator) Close() error

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

func (*KodiakIslandMintedIterator) Error added in v0.1.18

func (it *KodiakIslandMintedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakIslandMintedIterator) Next added in v0.1.18

func (it *KodiakIslandMintedIterator) 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 KodiakIslandOwnershipTransferred added in v0.1.18

type KodiakIslandOwnershipTransferred struct {
	PreviousManager common.Address
	NewManager      common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

KodiakIslandOwnershipTransferred represents a OwnershipTransferred event raised by the KodiakIsland contract.

type KodiakIslandOwnershipTransferredIterator added in v0.1.18

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

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

func (*KodiakIslandOwnershipTransferredIterator) Close added in v0.1.18

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

func (*KodiakIslandOwnershipTransferredIterator) Error added in v0.1.18

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakIslandOwnershipTransferredIterator) Next added in v0.1.18

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 KodiakIslandRaw added in v0.1.18

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

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

func (*KodiakIslandRaw) Call added in v0.1.18

func (_KodiakIsland *KodiakIslandRaw) 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 (*KodiakIslandRaw) Transact added in v0.1.18

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

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

func (*KodiakIslandRaw) Transfer added in v0.1.18

func (_KodiakIsland *KodiakIslandRaw) 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 KodiakIslandRebalance added in v0.1.18

type KodiakIslandRebalance struct {
	LowerTick       *big.Int
	UpperTick       *big.Int
	LiquidityBefore *big.Int
	LiquidityAfter  *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

KodiakIslandRebalance represents a Rebalance event raised by the KodiakIsland contract.

type KodiakIslandRebalanceIterator added in v0.1.18

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

KodiakIslandRebalanceIterator is returned from FilterRebalance and is used to iterate over the raw logs and unpacked data for Rebalance events raised by the KodiakIsland contract.

func (*KodiakIslandRebalanceIterator) Close added in v0.1.18

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

func (*KodiakIslandRebalanceIterator) Error added in v0.1.18

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakIslandRebalanceIterator) Next added in v0.1.18

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 KodiakIslandSession added in v0.1.18

type KodiakIslandSession struct {
	Contract     *KodiakIsland     // 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
}

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

func (*KodiakIslandSession) Allowance added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) Approve added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) BalanceOf added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) Burn added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) Decimals added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*KodiakIslandSession) DecreaseAllowance added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) ExecutiveRebalance added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) GELATO added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) GELATO() (common.Address, error)

GELATO is a free data retrieval call binding the contract method 0xeff557a7.

Solidity: function GELATO() view returns(address)

func (*KodiakIslandSession) GelatoRebalanceBPS added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) GelatoRebalanceBPS() (uint16, error)

GelatoRebalanceBPS is a free data retrieval call binding the contract method 0xa50b1fe7.

Solidity: function gelatoRebalanceBPS() view returns(uint16)

func (*KodiakIslandSession) GelatoSlippageBPS added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) GelatoSlippageBPS() (uint16, error)

GelatoSlippageBPS is a free data retrieval call binding the contract method 0xd6e7ff39.

Solidity: function gelatoSlippageBPS() view returns(uint16)

func (*KodiakIslandSession) GelatoSlippageInterval added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) GelatoSlippageInterval() (uint32, error)

GelatoSlippageInterval is a free data retrieval call binding the contract method 0x672152bd.

Solidity: function gelatoSlippageInterval() view returns(uint32)

func (*KodiakIslandSession) GetMintAmounts added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) GetPositionID added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) GetPositionID() ([32]byte, error)

GetPositionID is a free data retrieval call binding the contract method 0xdf28408a.

Solidity: function getPositionID() view returns(bytes32 positionID)

func (*KodiakIslandSession) GetUnderlyingBalances added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) GetUnderlyingBalancesAtPrice added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) IncreaseAllowance added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) Initialize added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) KodiakBalance0 added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) KodiakBalance0() (*big.Int, error)

KodiakBalance0 is a free data retrieval call binding the contract method 0xd8d24145.

Solidity: function kodiakBalance0() view returns(uint256)

func (*KodiakIslandSession) KodiakBalance1 added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) KodiakBalance1() (*big.Int, error)

KodiakBalance1 is a free data retrieval call binding the contract method 0xf5338bcf.

Solidity: function kodiakBalance1() view returns(uint256)

func (*KodiakIslandSession) KodiakFeeBPS added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) KodiakFeeBPS() (uint16, error)

KodiakFeeBPS is a free data retrieval call binding the contract method 0xce311070.

Solidity: function kodiakFeeBPS() view returns(uint16)

func (*KodiakIslandSession) KodiakTreasury added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) KodiakTreasury() (common.Address, error)

KodiakTreasury is a free data retrieval call binding the contract method 0x94a113ec.

Solidity: function kodiakTreasury() view returns(address)

func (*KodiakIslandSession) LowerTick added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) LowerTick() (*big.Int, error)

LowerTick is a free data retrieval call binding the contract method 0x9b1344ac.

Solidity: function lowerTick() view returns(int24)

func (*KodiakIslandSession) Manager added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) Manager() (common.Address, error)

Manager is a free data retrieval call binding the contract method 0x481c6a75.

Solidity: function manager() view returns(address)

func (*KodiakIslandSession) ManagerBalance0 added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) ManagerBalance0() (*big.Int, error)

ManagerBalance0 is a free data retrieval call binding the contract method 0x065756db.

Solidity: function managerBalance0() view returns(uint256)

func (*KodiakIslandSession) ManagerBalance1 added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) ManagerBalance1() (*big.Int, error)

ManagerBalance1 is a free data retrieval call binding the contract method 0x42fb9d44.

Solidity: function managerBalance1() view returns(uint256)

func (*KodiakIslandSession) ManagerFeeBPS added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) ManagerFeeBPS() (uint16, error)

ManagerFeeBPS is a free data retrieval call binding the contract method 0xccdf7a02.

Solidity: function managerFeeBPS() view returns(uint16)

func (*KodiakIslandSession) ManagerTreasury added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) ManagerTreasury() (common.Address, error)

ManagerTreasury is a free data retrieval call binding the contract method 0xcc95353e.

Solidity: function managerTreasury() view returns(address)

func (*KodiakIslandSession) Mint added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) Name added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*KodiakIslandSession) Pool added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*KodiakIslandSession) RESTRICTEDMINTENABLED added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) RESTRICTEDMINTENABLED() (uint16, error)

RESTRICTEDMINTENABLED is a free data retrieval call binding the contract method 0xd839fb3f.

Solidity: function RESTRICTED_MINT_ENABLED() view returns(uint16)

func (*KodiakIslandSession) Rebalance added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) RenounceOwnership added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*KodiakIslandSession) RestrictedMintToggle added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) RestrictedMintToggle() (uint16, error)

RestrictedMintToggle is a free data retrieval call binding the contract method 0xdd40e322.

Solidity: function restrictedMintToggle() view returns(uint16)

func (*KodiakIslandSession) Symbol added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*KodiakIslandSession) ToggleRestrictMint added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) ToggleRestrictMint() (*types.Transaction, error)

ToggleRestrictMint is a paid mutator transaction binding the contract method 0x5f59dce5.

Solidity: function toggleRestrictMint() returns()

func (*KodiakIslandSession) Token0 added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*KodiakIslandSession) Token1 added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*KodiakIslandSession) TotalSupply added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*KodiakIslandSession) Transfer added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) TransferFrom added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) TransferOwnership added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) UniswapV3MintCallback added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) UniswapV3SwapCallback added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) UpdateManagerParams added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) 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 (*KodiakIslandSession) UpperTick added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) UpperTick() (*big.Int, error)

UpperTick is a free data retrieval call binding the contract method 0x727dd228.

Solidity: function upperTick() view returns(int24)

func (*KodiakIslandSession) Version added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) Version() (string, error)

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

Solidity: function version() view returns(string)

func (*KodiakIslandSession) WithdrawKodiakBalance added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) WithdrawKodiakBalance() (*types.Transaction, error)

WithdrawKodiakBalance is a paid mutator transaction binding the contract method 0xd83bfb90.

Solidity: function withdrawKodiakBalance() returns()

func (*KodiakIslandSession) WithdrawManagerBalance added in v0.1.18

func (_KodiakIsland *KodiakIslandSession) WithdrawManagerBalance() (*types.Transaction, error)

WithdrawManagerBalance is a paid mutator transaction binding the contract method 0x7ecd6717.

Solidity: function withdrawManagerBalance() returns()

type KodiakIslandTransactor added in v0.1.18

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

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

func NewKodiakIslandTransactor added in v0.1.18

func NewKodiakIslandTransactor(address common.Address, transactor bind.ContractTransactor) (*KodiakIslandTransactor, error)

NewKodiakIslandTransactor creates a new write-only instance of KodiakIsland, bound to a specific deployed contract.

func (*KodiakIslandTransactor) Approve added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) 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 (*KodiakIslandTransactor) Burn added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) 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 (*KodiakIslandTransactor) DecreaseAllowance added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) 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 (*KodiakIslandTransactor) ExecutiveRebalance added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) 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 (*KodiakIslandTransactor) IncreaseAllowance added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) 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 (*KodiakIslandTransactor) Initialize added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) 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 (*KodiakIslandTransactor) Mint added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) 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 (*KodiakIslandTransactor) Rebalance added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) 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 (*KodiakIslandTransactor) RenounceOwnership added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*KodiakIslandTransactor) ToggleRestrictMint added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) ToggleRestrictMint(opts *bind.TransactOpts) (*types.Transaction, error)

ToggleRestrictMint is a paid mutator transaction binding the contract method 0x5f59dce5.

Solidity: function toggleRestrictMint() returns()

func (*KodiakIslandTransactor) Transfer added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) 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 (*KodiakIslandTransactor) TransferFrom added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) 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 (*KodiakIslandTransactor) TransferOwnership added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) 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 (*KodiakIslandTransactor) UniswapV3MintCallback added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) 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 (*KodiakIslandTransactor) UniswapV3SwapCallback added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) 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 (*KodiakIslandTransactor) UpdateManagerParams added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) 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 (*KodiakIslandTransactor) WithdrawKodiakBalance added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) WithdrawKodiakBalance(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawKodiakBalance is a paid mutator transaction binding the contract method 0xd83bfb90.

Solidity: function withdrawKodiakBalance() returns()

func (*KodiakIslandTransactor) WithdrawManagerBalance added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactor) WithdrawManagerBalance(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawManagerBalance is a paid mutator transaction binding the contract method 0x7ecd6717.

Solidity: function withdrawManagerBalance() returns()

type KodiakIslandTransactorRaw added in v0.1.18

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

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

func (*KodiakIslandTransactorRaw) Transact added in v0.1.18

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

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

func (*KodiakIslandTransactorRaw) Transfer added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorRaw) 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 KodiakIslandTransactorSession added in v0.1.18

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

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

func (*KodiakIslandTransactorSession) Approve added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) 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 (*KodiakIslandTransactorSession) Burn added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) 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 (*KodiakIslandTransactorSession) DecreaseAllowance added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) 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 (*KodiakIslandTransactorSession) ExecutiveRebalance added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) 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 (*KodiakIslandTransactorSession) IncreaseAllowance added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) 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 (*KodiakIslandTransactorSession) Initialize added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) 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 (*KodiakIslandTransactorSession) Mint added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) 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 (*KodiakIslandTransactorSession) Rebalance added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) 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 (*KodiakIslandTransactorSession) RenounceOwnership added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*KodiakIslandTransactorSession) ToggleRestrictMint added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) ToggleRestrictMint() (*types.Transaction, error)

ToggleRestrictMint is a paid mutator transaction binding the contract method 0x5f59dce5.

Solidity: function toggleRestrictMint() returns()

func (*KodiakIslandTransactorSession) Transfer added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) 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 (*KodiakIslandTransactorSession) TransferFrom added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) 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 (*KodiakIslandTransactorSession) TransferOwnership added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) 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 (*KodiakIslandTransactorSession) UniswapV3MintCallback added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) 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 (*KodiakIslandTransactorSession) UniswapV3SwapCallback added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) 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 (*KodiakIslandTransactorSession) UpdateManagerParams added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) 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 (*KodiakIslandTransactorSession) WithdrawKodiakBalance added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) WithdrawKodiakBalance() (*types.Transaction, error)

WithdrawKodiakBalance is a paid mutator transaction binding the contract method 0xd83bfb90.

Solidity: function withdrawKodiakBalance() returns()

func (*KodiakIslandTransactorSession) WithdrawManagerBalance added in v0.1.18

func (_KodiakIsland *KodiakIslandTransactorSession) WithdrawManagerBalance() (*types.Transaction, error)

WithdrawManagerBalance is a paid mutator transaction binding the contract method 0x7ecd6717.

Solidity: function withdrawManagerBalance() returns()

type KodiakIslandTransfer added in v0.1.18

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

KodiakIslandTransfer represents a Transfer event raised by the KodiakIsland contract.

type KodiakIslandTransferIterator added in v0.1.18

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

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

func (*KodiakIslandTransferIterator) Close added in v0.1.18

func (it *KodiakIslandTransferIterator) Close() error

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

func (*KodiakIslandTransferIterator) Error added in v0.1.18

func (it *KodiakIslandTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakIslandTransferIterator) Next added in v0.1.18

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 KodiakIslandUpdateManagerParams added in v0.1.18

type KodiakIslandUpdateManagerParams struct {
	ManagerFeeBPS          uint16
	ManagerTreasury        common.Address
	GelatoRebalanceBPS     uint16
	GelatoSlippageBPS      uint16
	GelatoSlippageInterval uint32
	Raw                    types.Log // Blockchain specific contextual infos
}

KodiakIslandUpdateManagerParams represents a UpdateManagerParams event raised by the KodiakIsland contract.

type KodiakIslandUpdateManagerParamsIterator added in v0.1.18

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

KodiakIslandUpdateManagerParamsIterator is returned from FilterUpdateManagerParams and is used to iterate over the raw logs and unpacked data for UpdateManagerParams events raised by the KodiakIsland contract.

func (*KodiakIslandUpdateManagerParamsIterator) Close added in v0.1.18

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

func (*KodiakIslandUpdateManagerParamsIterator) Error added in v0.1.18

Error returns any retrieval or parsing error occurred during filtering.

func (*KodiakIslandUpdateManagerParamsIterator) Next added in v0.1.18

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 LiquidityPoolData added in v0.1.14

type LiquidityPoolData struct {
	IsRunning                 bool
	IPerpetualCount           uint8
	Id                        uint8
	FCeilPnLShare             int32
	MarginTokenDecimals       uint8
	ITargetPoolSizeUpdateTime uint16
	MarginTokenAddress        common.Address
	PrevAnchor                uint64
	FRedemptionRate           *big.Int
	ShareTokenAddress         common.Address
	FPnLparticipantsCashCC    *big.Int
	FTargetAMMFundSize        *big.Int
	FDefaultFundCashCC        *big.Int
	FTargetDFSize             *big.Int
	FBrokerCollateralLotSize  *big.Int
	PrevTokenAmount           *big.Int
	NextTokenAmount           *big.Int
	TotalSupplyShareToken     *big.Int
	FBrokerFundCashCC         *big.Int
}

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

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 UniswapV2 added in v0.1.13

type UniswapV2 struct {
	UniswapV2Caller     // Read-only binding to the contract
	UniswapV2Transactor // Write-only binding to the contract
	UniswapV2Filterer   // Log filterer for contract events
}

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

func NewUniswapV2 added in v0.1.13

func NewUniswapV2(address common.Address, backend bind.ContractBackend) (*UniswapV2, error)

NewUniswapV2 creates a new instance of UniswapV2, bound to a specific deployed contract.

type UniswapV2Approval added in v0.1.13

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

UniswapV2Approval represents a Approval event raised by the UniswapV2 contract.

type UniswapV2ApprovalIterator added in v0.1.13

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

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

func (*UniswapV2ApprovalIterator) Close added in v0.1.13

func (it *UniswapV2ApprovalIterator) Close() error

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

func (*UniswapV2ApprovalIterator) Error added in v0.1.13

func (it *UniswapV2ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2ApprovalIterator) Next added in v0.1.13

func (it *UniswapV2ApprovalIterator) 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 UniswapV2Burn added in v0.1.13

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

UniswapV2Burn represents a Burn event raised by the UniswapV2 contract.

type UniswapV2BurnIterator added in v0.1.13

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

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

func (*UniswapV2BurnIterator) Close added in v0.1.13

func (it *UniswapV2BurnIterator) Close() error

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

func (*UniswapV2BurnIterator) Error added in v0.1.13

func (it *UniswapV2BurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2BurnIterator) Next added in v0.1.13

func (it *UniswapV2BurnIterator) 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 UniswapV2Caller added in v0.1.13

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

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

func NewUniswapV2Caller added in v0.1.13

func NewUniswapV2Caller(address common.Address, caller bind.ContractCaller) (*UniswapV2Caller, error)

NewUniswapV2Caller creates a new read-only instance of UniswapV2, bound to a specific deployed contract.

func (*UniswapV2Caller) Allowance added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) 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 (*UniswapV2Caller) BalanceOf added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) 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 (*UniswapV2Caller) DOMAINSEPARATOR added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) 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 (*UniswapV2Caller) Decimals added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) 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 (*UniswapV2Caller) Factory added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) 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 (*UniswapV2Caller) GetReserves added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) GetReserves(opts *bind.CallOpts) (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)

func (*UniswapV2Caller) KLast added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) KLast(opts *bind.CallOpts) (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*UniswapV2Caller) MINIMUMLIQUIDITY added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) MINIMUMLIQUIDITY(opts *bind.CallOpts) (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*UniswapV2Caller) Name added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) 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 (*UniswapV2Caller) Nonces added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) 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 (*UniswapV2Caller) PERMITTYPEHASH added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UniswapV2Caller) Price0CumulativeLast added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) Price0CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*UniswapV2Caller) Price1CumulativeLast added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) Price1CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*UniswapV2Caller) Symbol added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) 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 (*UniswapV2Caller) Token0 added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) 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 (*UniswapV2Caller) Token1 added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) 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 (*UniswapV2Caller) TotalSupply added in v0.1.13

func (_UniswapV2 *UniswapV2Caller) 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 UniswapV2CallerRaw added in v0.1.13

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

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

func (*UniswapV2CallerRaw) Call added in v0.1.13

func (_UniswapV2 *UniswapV2CallerRaw) 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 UniswapV2CallerSession added in v0.1.13

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

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

func (*UniswapV2CallerSession) Allowance added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) 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 (*UniswapV2CallerSession) BalanceOf added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) 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 (*UniswapV2CallerSession) DOMAINSEPARATOR added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*UniswapV2CallerSession) Decimals added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*UniswapV2CallerSession) Factory added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*UniswapV2CallerSession) GetReserves added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) GetReserves() (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)

func (*UniswapV2CallerSession) KLast added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*UniswapV2CallerSession) MINIMUMLIQUIDITY added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*UniswapV2CallerSession) Name added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*UniswapV2CallerSession) Nonces added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) 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 (*UniswapV2CallerSession) PERMITTYPEHASH added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UniswapV2CallerSession) Price0CumulativeLast added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) Price0CumulativeLast() (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*UniswapV2CallerSession) Price1CumulativeLast added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) Price1CumulativeLast() (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*UniswapV2CallerSession) Symbol added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*UniswapV2CallerSession) Token0 added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*UniswapV2CallerSession) Token1 added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*UniswapV2CallerSession) TotalSupply added in v0.1.13

func (_UniswapV2 *UniswapV2CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type UniswapV2Filterer added in v0.1.13

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

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

func NewUniswapV2Filterer added in v0.1.13

func NewUniswapV2Filterer(address common.Address, filterer bind.ContractFilterer) (*UniswapV2Filterer, error)

NewUniswapV2Filterer creates a new log filterer instance of UniswapV2, bound to a specific deployed contract.

func (*UniswapV2Filterer) FilterApproval added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*UniswapV2ApprovalIterator, 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 (*UniswapV2Filterer) FilterBurn added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) FilterBurn(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*UniswapV2BurnIterator, error)

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

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*UniswapV2Filterer) FilterMint added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*UniswapV2MintIterator, error)

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

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*UniswapV2Filterer) FilterSwap added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*UniswapV2SwapIterator, error)

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

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*UniswapV2Filterer) FilterSync added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) FilterSync(opts *bind.FilterOpts) (*UniswapV2SyncIterator, error)

FilterSync is a free log retrieval operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*UniswapV2Filterer) FilterTransfer added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*UniswapV2TransferIterator, 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 (*UniswapV2Filterer) ParseApproval added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) ParseApproval(log types.Log) (*UniswapV2Approval, error)

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

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

func (*UniswapV2Filterer) ParseBurn added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) ParseBurn(log types.Log) (*UniswapV2Burn, error)

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

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*UniswapV2Filterer) ParseMint added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) ParseMint(log types.Log) (*UniswapV2Mint, error)

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

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*UniswapV2Filterer) ParseSwap added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) ParseSwap(log types.Log) (*UniswapV2Swap, error)

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

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*UniswapV2Filterer) ParseSync added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) ParseSync(log types.Log) (*UniswapV2Sync, error)

ParseSync is a log parse operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*UniswapV2Filterer) ParseTransfer added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) ParseTransfer(log types.Log) (*UniswapV2Transfer, error)

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

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

func (*UniswapV2Filterer) WatchApproval added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *UniswapV2Approval, 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 (*UniswapV2Filterer) WatchBurn added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *UniswapV2Burn, sender []common.Address, to []common.Address) (event.Subscription, error)

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

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*UniswapV2Filterer) WatchMint added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) WatchMint(opts *bind.WatchOpts, sink chan<- *UniswapV2Mint, sender []common.Address) (event.Subscription, error)

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

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*UniswapV2Filterer) WatchSwap added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *UniswapV2Swap, sender []common.Address, to []common.Address) (event.Subscription, error)

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

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*UniswapV2Filterer) WatchSync added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) WatchSync(opts *bind.WatchOpts, sink chan<- *UniswapV2Sync) (event.Subscription, error)

WatchSync is a free log subscription operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*UniswapV2Filterer) WatchTransfer added in v0.1.13

func (_UniswapV2 *UniswapV2Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *UniswapV2Transfer, 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 UniswapV2Mint added in v0.1.13

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

UniswapV2Mint represents a Mint event raised by the UniswapV2 contract.

type UniswapV2MintIterator added in v0.1.13

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

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

func (*UniswapV2MintIterator) Close added in v0.1.13

func (it *UniswapV2MintIterator) Close() error

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

func (*UniswapV2MintIterator) Error added in v0.1.13

func (it *UniswapV2MintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2MintIterator) Next added in v0.1.13

func (it *UniswapV2MintIterator) 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 UniswapV2Raw added in v0.1.13

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

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

func (*UniswapV2Raw) Call added in v0.1.13

func (_UniswapV2 *UniswapV2Raw) 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 (*UniswapV2Raw) Transact added in v0.1.13

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

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

func (*UniswapV2Raw) Transfer added in v0.1.13

func (_UniswapV2 *UniswapV2Raw) 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 UniswapV2Session added in v0.1.13

type UniswapV2Session struct {
	Contract     *UniswapV2        // 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
}

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

func (*UniswapV2Session) Allowance added in v0.1.13

func (_UniswapV2 *UniswapV2Session) 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 (*UniswapV2Session) Approve added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*UniswapV2Session) BalanceOf added in v0.1.13

func (_UniswapV2 *UniswapV2Session) 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 (*UniswapV2Session) Burn added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Burn(to common.Address) (*types.Transaction, error)

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

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*UniswapV2Session) DOMAINSEPARATOR added in v0.1.13

func (_UniswapV2 *UniswapV2Session) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*UniswapV2Session) Decimals added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*UniswapV2Session) Factory added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*UniswapV2Session) GetReserves added in v0.1.13

func (_UniswapV2 *UniswapV2Session) GetReserves() (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)

func (*UniswapV2Session) Initialize added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _token0, address _token1) returns()

func (*UniswapV2Session) KLast added in v0.1.13

func (_UniswapV2 *UniswapV2Session) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*UniswapV2Session) MINIMUMLIQUIDITY added in v0.1.13

func (_UniswapV2 *UniswapV2Session) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*UniswapV2Session) Mint added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Mint(to common.Address) (*types.Transaction, error)

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

Solidity: function mint(address to) returns(uint256 liquidity)

func (*UniswapV2Session) Name added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*UniswapV2Session) Nonces added in v0.1.13

func (_UniswapV2 *UniswapV2Session) 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 (*UniswapV2Session) PERMITTYPEHASH added in v0.1.13

func (_UniswapV2 *UniswapV2Session) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UniswapV2Session) Permit added in v0.1.13

func (_UniswapV2 *UniswapV2Session) 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 (*UniswapV2Session) Price0CumulativeLast added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Price0CumulativeLast() (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*UniswapV2Session) Price1CumulativeLast added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Price1CumulativeLast() (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*UniswapV2Session) Skim added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Skim(to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*UniswapV2Session) Swap added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

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

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*UniswapV2Session) Symbol added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*UniswapV2Session) Sync added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*UniswapV2Session) Token0 added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*UniswapV2Session) Token1 added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*UniswapV2Session) TotalSupply added in v0.1.13

func (_UniswapV2 *UniswapV2Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*UniswapV2Session) Transfer added in v0.1.13

func (_UniswapV2 *UniswapV2Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*UniswapV2Session) TransferFrom added in v0.1.13

func (_UniswapV2 *UniswapV2Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type UniswapV2Swap added in v0.1.13

type UniswapV2Swap struct {
	Sender     common.Address
	Amount0In  *big.Int
	Amount1In  *big.Int
	Amount0Out *big.Int
	Amount1Out *big.Int
	To         common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

UniswapV2Swap represents a Swap event raised by the UniswapV2 contract.

type UniswapV2SwapIterator added in v0.1.13

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

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

func (*UniswapV2SwapIterator) Close added in v0.1.13

func (it *UniswapV2SwapIterator) Close() error

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

func (*UniswapV2SwapIterator) Error added in v0.1.13

func (it *UniswapV2SwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2SwapIterator) Next added in v0.1.13

func (it *UniswapV2SwapIterator) 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 UniswapV2Sync added in v0.1.13

type UniswapV2Sync struct {
	Reserve0 *big.Int
	Reserve1 *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

UniswapV2Sync represents a Sync event raised by the UniswapV2 contract.

type UniswapV2SyncIterator added in v0.1.13

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

UniswapV2SyncIterator is returned from FilterSync and is used to iterate over the raw logs and unpacked data for Sync events raised by the UniswapV2 contract.

func (*UniswapV2SyncIterator) Close added in v0.1.13

func (it *UniswapV2SyncIterator) Close() error

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

func (*UniswapV2SyncIterator) Error added in v0.1.13

func (it *UniswapV2SyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2SyncIterator) Next added in v0.1.13

func (it *UniswapV2SyncIterator) 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 UniswapV2Transactor added in v0.1.13

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

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

func NewUniswapV2Transactor added in v0.1.13

func NewUniswapV2Transactor(address common.Address, transactor bind.ContractTransactor) (*UniswapV2Transactor, error)

NewUniswapV2Transactor creates a new write-only instance of UniswapV2, bound to a specific deployed contract.

func (*UniswapV2Transactor) Approve added in v0.1.13

func (_UniswapV2 *UniswapV2Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*UniswapV2Transactor) Burn added in v0.1.13

func (_UniswapV2 *UniswapV2Transactor) Burn(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

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

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*UniswapV2Transactor) Initialize added in v0.1.13

func (_UniswapV2 *UniswapV2Transactor) Initialize(opts *bind.TransactOpts, _token0 common.Address, _token1 common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _token0, address _token1) returns()

func (*UniswapV2Transactor) Mint added in v0.1.13

func (_UniswapV2 *UniswapV2Transactor) Mint(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

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

Solidity: function mint(address to) returns(uint256 liquidity)

func (*UniswapV2Transactor) Permit added in v0.1.13

func (_UniswapV2 *UniswapV2Transactor) 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 (*UniswapV2Transactor) Skim added in v0.1.13

func (_UniswapV2 *UniswapV2Transactor) Skim(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*UniswapV2Transactor) Swap added in v0.1.13

func (_UniswapV2 *UniswapV2Transactor) Swap(opts *bind.TransactOpts, amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

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

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*UniswapV2Transactor) Sync added in v0.1.13

func (_UniswapV2 *UniswapV2Transactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*UniswapV2Transactor) Transfer added in v0.1.13

func (_UniswapV2 *UniswapV2Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*UniswapV2Transactor) TransferFrom added in v0.1.13

func (_UniswapV2 *UniswapV2Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type UniswapV2TransactorRaw added in v0.1.13

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

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

func (*UniswapV2TransactorRaw) Transact added in v0.1.13

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

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

func (*UniswapV2TransactorRaw) Transfer added in v0.1.13

func (_UniswapV2 *UniswapV2TransactorRaw) 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 UniswapV2TransactorSession added in v0.1.13

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

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

func (*UniswapV2TransactorSession) Approve added in v0.1.13

func (_UniswapV2 *UniswapV2TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*UniswapV2TransactorSession) Burn added in v0.1.13

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

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*UniswapV2TransactorSession) Initialize added in v0.1.13

func (_UniswapV2 *UniswapV2TransactorSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _token0, address _token1) returns()

func (*UniswapV2TransactorSession) Mint added in v0.1.13

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

Solidity: function mint(address to) returns(uint256 liquidity)

func (*UniswapV2TransactorSession) Permit added in v0.1.13

func (_UniswapV2 *UniswapV2TransactorSession) 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 (*UniswapV2TransactorSession) Skim added in v0.1.13

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*UniswapV2TransactorSession) Swap added in v0.1.13

func (_UniswapV2 *UniswapV2TransactorSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

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

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*UniswapV2TransactorSession) Sync added in v0.1.13

func (_UniswapV2 *UniswapV2TransactorSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*UniswapV2TransactorSession) Transfer added in v0.1.13

func (_UniswapV2 *UniswapV2TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*UniswapV2TransactorSession) TransferFrom added in v0.1.13

func (_UniswapV2 *UniswapV2TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type UniswapV2Transfer added in v0.1.13

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

UniswapV2Transfer represents a Transfer event raised by the UniswapV2 contract.

type UniswapV2TransferIterator added in v0.1.13

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

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

func (*UniswapV2TransferIterator) Close added in v0.1.13

func (it *UniswapV2TransferIterator) Close() error

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

func (*UniswapV2TransferIterator) Error added in v0.1.13

func (it *UniswapV2TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2TransferIterator) Next added in v0.1.13

func (it *UniswapV2TransferIterator) 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 VaultStrategyParams added in v0.1.19

type VaultStrategyParams struct {
	IsActivated bool
	LastHarvest *big.Int
	CurrentDebt *big.Int
	MaxDebt     *big.Int
}

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

type WasabeeVault added in v0.1.17

type WasabeeVault struct {
	WasabeeVaultCaller     // Read-only binding to the contract
	WasabeeVaultTransactor // Write-only binding to the contract
	WasabeeVaultFilterer   // Log filterer for contract events
}

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

func NewWasabeeVault added in v0.1.17

func NewWasabeeVault(address common.Address, backend bind.ContractBackend) (*WasabeeVault, error)

NewWasabeeVault creates a new instance of WasabeeVault, bound to a specific deployed contract.

type WasabeeVaultAffiliate added in v0.1.17

type WasabeeVaultAffiliate struct {
	Sender    common.Address
	Affiliate common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

WasabeeVaultAffiliate represents a Affiliate event raised by the WasabeeVault contract.

type WasabeeVaultAffiliateIterator added in v0.1.17

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

WasabeeVaultAffiliateIterator is returned from FilterAffiliate and is used to iterate over the raw logs and unpacked data for Affiliate events raised by the WasabeeVault contract.

func (*WasabeeVaultAffiliateIterator) Close added in v0.1.17

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

func (*WasabeeVaultAffiliateIterator) Error added in v0.1.17

Error returns any retrieval or parsing error occurred during filtering.

func (*WasabeeVaultAffiliateIterator) Next added in v0.1.17

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 WasabeeVaultAmmFeeRecipient added in v0.1.17

type WasabeeVaultAmmFeeRecipient struct {
	Sender          common.Address
	AmmFeeRecipient common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

WasabeeVaultAmmFeeRecipient represents a AmmFeeRecipient event raised by the WasabeeVault contract.

type WasabeeVaultAmmFeeRecipientIterator added in v0.1.17

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

WasabeeVaultAmmFeeRecipientIterator is returned from FilterAmmFeeRecipient and is used to iterate over the raw logs and unpacked data for AmmFeeRecipient events raised by the WasabeeVault contract.

func (*WasabeeVaultAmmFeeRecipientIterator) Close added in v0.1.17

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

func (*WasabeeVaultAmmFeeRecipientIterator) Error added in v0.1.17

Error returns any retrieval or parsing error occurred during filtering.

func (*WasabeeVaultAmmFeeRecipientIterator) Next added in v0.1.17

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 WasabeeVaultApproval added in v0.1.17

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

WasabeeVaultApproval represents a Approval event raised by the WasabeeVault contract.

type WasabeeVaultApprovalIterator added in v0.1.17

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

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

func (*WasabeeVaultApprovalIterator) Close added in v0.1.17

func (it *WasabeeVaultApprovalIterator) Close() error

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

func (*WasabeeVaultApprovalIterator) Error added in v0.1.17

func (it *WasabeeVaultApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WasabeeVaultApprovalIterator) Next added in v0.1.17

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 WasabeeVaultCaller added in v0.1.17

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

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

func NewWasabeeVaultCaller added in v0.1.17

func NewWasabeeVaultCaller(address common.Address, caller bind.ContractCaller) (*WasabeeVaultCaller, error)

NewWasabeeVaultCaller creates a new read-only instance of WasabeeVault, bound to a specific deployed contract.

func (*WasabeeVaultCaller) Affiliate added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) Affiliate(opts *bind.CallOpts) (common.Address, error)

Affiliate is a free data retrieval call binding the contract method 0x45e05f43.

Solidity: function affiliate() view returns(address)

func (*WasabeeVaultCaller) AllowToken0 added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) AllowToken0(opts *bind.CallOpts) (bool, error)

AllowToken0 is a free data retrieval call binding the contract method 0x7f7a1eec.

Solidity: function allowToken0() view returns(bool)

func (*WasabeeVaultCaller) AllowToken1 added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) AllowToken1(opts *bind.CallOpts) (bool, error)

AllowToken1 is a free data retrieval call binding the contract method 0x37e41b40.

Solidity: function allowToken1() view returns(bool)

func (*WasabeeVaultCaller) Allowance added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) 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 (*WasabeeVaultCaller) AmmFeeRecipient added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) AmmFeeRecipient(opts *bind.CallOpts) (common.Address, error)

AmmFeeRecipient is a free data retrieval call binding the contract method 0x897f078c.

Solidity: function ammFeeRecipient() view returns(address)

func (*WasabeeVaultCaller) AuxTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) AuxTwapPeriod(opts *bind.CallOpts) (uint32, error)

AuxTwapPeriod is a free data retrieval call binding the contract method 0x91563d32.

Solidity: function auxTwapPeriod() view returns(uint32)

func (*WasabeeVaultCaller) BalanceOf added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) 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 (*WasabeeVaultCaller) BaseLower added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) BaseLower(opts *bind.CallOpts) (*big.Int, error)

BaseLower is a free data retrieval call binding the contract method 0xfa082743.

Solidity: function baseLower() view returns(int24)

func (*WasabeeVaultCaller) BaseUpper added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) BaseUpper(opts *bind.CallOpts) (*big.Int, error)

BaseUpper is a free data retrieval call binding the contract method 0x888a9134.

Solidity: function baseUpper() view returns(int24)

func (*WasabeeVaultCaller) CurrentTick added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) CurrentTick(opts *bind.CallOpts) (*big.Int, error)

CurrentTick is a free data retrieval call binding the contract method 0x065e5360.

Solidity: function currentTick() view returns(int24 tick)

func (*WasabeeVaultCaller) Decimals added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) 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 (*WasabeeVaultCaller) Deposit0Max added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) Deposit0Max(opts *bind.CallOpts) (*big.Int, error)

Deposit0Max is a free data retrieval call binding the contract method 0x648cab85.

Solidity: function deposit0Max() view returns(uint256)

func (*WasabeeVaultCaller) Deposit1Max added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) Deposit1Max(opts *bind.CallOpts) (*big.Int, error)

Deposit1Max is a free data retrieval call binding the contract method 0x4d461fbb.

Solidity: function deposit1Max() view returns(uint256)

func (*WasabeeVaultCaller) Fee added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) Fee(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function fee() view returns(uint24 fee_)

func (*WasabeeVaultCaller) GetBasePosition added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) GetBasePosition(opts *bind.CallOpts) (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetBasePosition is a free data retrieval call binding the contract method 0xd2eabcfc.

Solidity: function getBasePosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*WasabeeVaultCaller) GetLimitPosition added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) GetLimitPosition(opts *bind.CallOpts) (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetLimitPosition is a free data retrieval call binding the contract method 0xa049de6b.

Solidity: function getLimitPosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*WasabeeVaultCaller) GetTotalAmounts added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) GetTotalAmounts(opts *bind.CallOpts) (struct {
	Total0 *big.Int
	Total1 *big.Int
}, error)

GetTotalAmounts is a free data retrieval call binding the contract method 0xc4a7761e.

Solidity: function getTotalAmounts() view returns(uint256 total0, uint256 total1)

func (*WasabeeVaultCaller) Hysteresis added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) Hysteresis(opts *bind.CallOpts) (*big.Int, error)

Hysteresis is a free data retrieval call binding the contract method 0x7aea5309.

Solidity: function hysteresis() view returns(uint256)

func (*WasabeeVaultCaller) IchiVaultFactory added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) IchiVaultFactory(opts *bind.CallOpts) (common.Address, error)

IchiVaultFactory is a free data retrieval call binding the contract method 0xdd81fa63.

Solidity: function ichiVaultFactory() view returns(address)

func (*WasabeeVaultCaller) LimitLower added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) LimitLower(opts *bind.CallOpts) (*big.Int, error)

LimitLower is a free data retrieval call binding the contract method 0x51e87af7.

Solidity: function limitLower() view returns(int24)

func (*WasabeeVaultCaller) LimitUpper added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) LimitUpper(opts *bind.CallOpts) (*big.Int, error)

LimitUpper is a free data retrieval call binding the contract method 0x0f35bcac.

Solidity: function limitUpper() view returns(int24)

func (*WasabeeVaultCaller) Name added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) 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 (*WasabeeVaultCaller) Owner added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*WasabeeVaultCaller) PRECISION added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) PRECISION(opts *bind.CallOpts) (*big.Int, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(uint256)

func (*WasabeeVaultCaller) Pool added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) 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 (*WasabeeVaultCaller) Symbol added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) 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 (*WasabeeVaultCaller) TickSpacing added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) TickSpacing(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function tickSpacing() view returns(int24)

func (*WasabeeVaultCaller) Token0 added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) 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 (*WasabeeVaultCaller) Token1 added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) 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 (*WasabeeVaultCaller) TotalSupply added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) 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 (*WasabeeVaultCaller) TwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultCaller) TwapPeriod(opts *bind.CallOpts) (uint32, error)

TwapPeriod is a free data retrieval call binding the contract method 0xf6207326.

Solidity: function twapPeriod() view returns(uint32)

type WasabeeVaultCallerRaw added in v0.1.17

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

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

func (*WasabeeVaultCallerRaw) Call added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerRaw) 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 WasabeeVaultCallerSession added in v0.1.17

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

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

func (*WasabeeVaultCallerSession) Affiliate added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) Affiliate() (common.Address, error)

Affiliate is a free data retrieval call binding the contract method 0x45e05f43.

Solidity: function affiliate() view returns(address)

func (*WasabeeVaultCallerSession) AllowToken0 added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) AllowToken0() (bool, error)

AllowToken0 is a free data retrieval call binding the contract method 0x7f7a1eec.

Solidity: function allowToken0() view returns(bool)

func (*WasabeeVaultCallerSession) AllowToken1 added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) AllowToken1() (bool, error)

AllowToken1 is a free data retrieval call binding the contract method 0x37e41b40.

Solidity: function allowToken1() view returns(bool)

func (*WasabeeVaultCallerSession) Allowance added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) 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 (*WasabeeVaultCallerSession) AmmFeeRecipient added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) AmmFeeRecipient() (common.Address, error)

AmmFeeRecipient is a free data retrieval call binding the contract method 0x897f078c.

Solidity: function ammFeeRecipient() view returns(address)

func (*WasabeeVaultCallerSession) AuxTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) AuxTwapPeriod() (uint32, error)

AuxTwapPeriod is a free data retrieval call binding the contract method 0x91563d32.

Solidity: function auxTwapPeriod() view returns(uint32)

func (*WasabeeVaultCallerSession) BalanceOf added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) 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 (*WasabeeVaultCallerSession) BaseLower added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) BaseLower() (*big.Int, error)

BaseLower is a free data retrieval call binding the contract method 0xfa082743.

Solidity: function baseLower() view returns(int24)

func (*WasabeeVaultCallerSession) BaseUpper added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) BaseUpper() (*big.Int, error)

BaseUpper is a free data retrieval call binding the contract method 0x888a9134.

Solidity: function baseUpper() view returns(int24)

func (*WasabeeVaultCallerSession) CurrentTick added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) CurrentTick() (*big.Int, error)

CurrentTick is a free data retrieval call binding the contract method 0x065e5360.

Solidity: function currentTick() view returns(int24 tick)

func (*WasabeeVaultCallerSession) Decimals added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*WasabeeVaultCallerSession) Deposit0Max added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) Deposit0Max() (*big.Int, error)

Deposit0Max is a free data retrieval call binding the contract method 0x648cab85.

Solidity: function deposit0Max() view returns(uint256)

func (*WasabeeVaultCallerSession) Deposit1Max added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) Deposit1Max() (*big.Int, error)

Deposit1Max is a free data retrieval call binding the contract method 0x4d461fbb.

Solidity: function deposit1Max() view returns(uint256)

func (*WasabeeVaultCallerSession) Fee added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) Fee() (*big.Int, error)

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

Solidity: function fee() view returns(uint24 fee_)

func (*WasabeeVaultCallerSession) GetBasePosition added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) GetBasePosition() (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetBasePosition is a free data retrieval call binding the contract method 0xd2eabcfc.

Solidity: function getBasePosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*WasabeeVaultCallerSession) GetLimitPosition added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) GetLimitPosition() (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetLimitPosition is a free data retrieval call binding the contract method 0xa049de6b.

Solidity: function getLimitPosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*WasabeeVaultCallerSession) GetTotalAmounts added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) GetTotalAmounts() (struct {
	Total0 *big.Int
	Total1 *big.Int
}, error)

GetTotalAmounts is a free data retrieval call binding the contract method 0xc4a7761e.

Solidity: function getTotalAmounts() view returns(uint256 total0, uint256 total1)

func (*WasabeeVaultCallerSession) Hysteresis added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) Hysteresis() (*big.Int, error)

Hysteresis is a free data retrieval call binding the contract method 0x7aea5309.

Solidity: function hysteresis() view returns(uint256)

func (*WasabeeVaultCallerSession) IchiVaultFactory added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) IchiVaultFactory() (common.Address, error)

IchiVaultFactory is a free data retrieval call binding the contract method 0xdd81fa63.

Solidity: function ichiVaultFactory() view returns(address)

func (*WasabeeVaultCallerSession) LimitLower added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) LimitLower() (*big.Int, error)

LimitLower is a free data retrieval call binding the contract method 0x51e87af7.

Solidity: function limitLower() view returns(int24)

func (*WasabeeVaultCallerSession) LimitUpper added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) LimitUpper() (*big.Int, error)

LimitUpper is a free data retrieval call binding the contract method 0x0f35bcac.

Solidity: function limitUpper() view returns(int24)

func (*WasabeeVaultCallerSession) Name added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*WasabeeVaultCallerSession) Owner added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*WasabeeVaultCallerSession) PRECISION added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) PRECISION() (*big.Int, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(uint256)

func (*WasabeeVaultCallerSession) Pool added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*WasabeeVaultCallerSession) Symbol added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*WasabeeVaultCallerSession) TickSpacing added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) TickSpacing() (*big.Int, error)

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

Solidity: function tickSpacing() view returns(int24)

func (*WasabeeVaultCallerSession) Token0 added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*WasabeeVaultCallerSession) Token1 added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*WasabeeVaultCallerSession) TotalSupply added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*WasabeeVaultCallerSession) TwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultCallerSession) TwapPeriod() (uint32, error)

TwapPeriod is a free data retrieval call binding the contract method 0xf6207326.

Solidity: function twapPeriod() view returns(uint32)

type WasabeeVaultCollectFees added in v0.1.17

type WasabeeVaultCollectFees struct {
	Sender     common.Address
	FeeAmount0 *big.Int
	FeeAmount1 *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

WasabeeVaultCollectFees represents a CollectFees event raised by the WasabeeVault contract.

type WasabeeVaultCollectFeesIterator added in v0.1.17

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

WasabeeVaultCollectFeesIterator is returned from FilterCollectFees and is used to iterate over the raw logs and unpacked data for CollectFees events raised by the WasabeeVault contract.

func (*WasabeeVaultCollectFeesIterator) Close added in v0.1.17

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

func (*WasabeeVaultCollectFeesIterator) Error added in v0.1.17

Error returns any retrieval or parsing error occurred during filtering.

func (*WasabeeVaultCollectFeesIterator) Next added in v0.1.17

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 WasabeeVaultDeployICHIVault added in v0.1.17

type WasabeeVaultDeployICHIVault struct {
	Sender      common.Address
	Pool        common.Address
	AllowToken0 bool
	AllowToken1 bool
	Owner       common.Address
	TwapPeriod  *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

WasabeeVaultDeployICHIVault represents a DeployICHIVault event raised by the WasabeeVault contract.

type WasabeeVaultDeployICHIVaultIterator added in v0.1.17

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

WasabeeVaultDeployICHIVaultIterator is returned from FilterDeployICHIVault and is used to iterate over the raw logs and unpacked data for DeployICHIVault events raised by the WasabeeVault contract.

func (*WasabeeVaultDeployICHIVaultIterator) Close added in v0.1.17

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

func (*WasabeeVaultDeployICHIVaultIterator) Error added in v0.1.17

Error returns any retrieval or parsing error occurred during filtering.

func (*WasabeeVaultDeployICHIVaultIterator) Next added in v0.1.17

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 WasabeeVaultDeposit added in v0.1.17

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

WasabeeVaultDeposit represents a Deposit event raised by the WasabeeVault contract.

type WasabeeVaultDepositIterator added in v0.1.17

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

WasabeeVaultDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the WasabeeVault contract.

func (*WasabeeVaultDepositIterator) Close added in v0.1.17

func (it *WasabeeVaultDepositIterator) Close() error

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

func (*WasabeeVaultDepositIterator) Error added in v0.1.17

func (it *WasabeeVaultDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WasabeeVaultDepositIterator) Next added in v0.1.17

func (it *WasabeeVaultDepositIterator) 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 WasabeeVaultDepositMax added in v0.1.17

type WasabeeVaultDepositMax struct {
	Sender      common.Address
	Deposit0Max *big.Int
	Deposit1Max *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

WasabeeVaultDepositMax represents a DepositMax event raised by the WasabeeVault contract.

type WasabeeVaultDepositMaxIterator added in v0.1.17

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

WasabeeVaultDepositMaxIterator is returned from FilterDepositMax and is used to iterate over the raw logs and unpacked data for DepositMax events raised by the WasabeeVault contract.

func (*WasabeeVaultDepositMaxIterator) Close added in v0.1.17

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

func (*WasabeeVaultDepositMaxIterator) Error added in v0.1.17

Error returns any retrieval or parsing error occurred during filtering.

func (*WasabeeVaultDepositMaxIterator) Next added in v0.1.17

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 WasabeeVaultFilterer added in v0.1.17

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

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

func NewWasabeeVaultFilterer added in v0.1.17

func NewWasabeeVaultFilterer(address common.Address, filterer bind.ContractFilterer) (*WasabeeVaultFilterer, error)

NewWasabeeVaultFilterer creates a new log filterer instance of WasabeeVault, bound to a specific deployed contract.

func (*WasabeeVaultFilterer) FilterAffiliate added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) FilterAffiliate(opts *bind.FilterOpts, sender []common.Address) (*WasabeeVaultAffiliateIterator, error)

FilterAffiliate is a free log retrieval operation binding the contract event 0x3066ef5dd340e8b2ea28d62f5a8391eb7a82d3ee87532724a1ca4386d34f7523.

Solidity: event Affiliate(address indexed sender, address affiliate)

func (*WasabeeVaultFilterer) FilterAmmFeeRecipient added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) FilterAmmFeeRecipient(opts *bind.FilterOpts, sender []common.Address) (*WasabeeVaultAmmFeeRecipientIterator, error)

FilterAmmFeeRecipient is a free log retrieval operation binding the contract event 0xbb78b7c13893a913fa8c9ecb9fdaf97597aa412a39c778bf976790555f0942f7.

Solidity: event AmmFeeRecipient(address indexed sender, address ammFeeRecipient)

func (*WasabeeVaultFilterer) FilterApproval added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WasabeeVaultApprovalIterator, 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 (*WasabeeVaultFilterer) FilterCollectFees added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) FilterCollectFees(opts *bind.FilterOpts, sender []common.Address) (*WasabeeVaultCollectFeesIterator, error)

FilterCollectFees is a free log retrieval operation binding the contract event 0xec8208dd791fa8ffdc0d7427f3ba9c0ed06f1bce9a86254e6940c10cc1802fef.

Solidity: event CollectFees(address indexed sender, uint256 feeAmount0, uint256 feeAmount1)

func (*WasabeeVaultFilterer) FilterDeployICHIVault added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) FilterDeployICHIVault(opts *bind.FilterOpts, sender []common.Address, pool []common.Address) (*WasabeeVaultDeployICHIVaultIterator, error)

FilterDeployICHIVault is a free log retrieval operation binding the contract event 0x3e708ccf7d0e6de8558e020ea36189511cb3435bbfec54e721a48ee4df0d4f8c.

Solidity: event DeployICHIVault(address indexed sender, address indexed pool, bool allowToken0, bool allowToken1, address owner, uint256 twapPeriod)

func (*WasabeeVaultFilterer) FilterDeposit added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) FilterDeposit(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*WasabeeVaultDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x4e2ca0515ed1aef1395f66b5303bb5d6f1bf9d61a353fa53f73f8ac9973fa9f6.

Solidity: event Deposit(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*WasabeeVaultFilterer) FilterDepositMax added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) FilterDepositMax(opts *bind.FilterOpts, sender []common.Address) (*WasabeeVaultDepositMaxIterator, error)

FilterDepositMax is a free log retrieval operation binding the contract event 0xafd3b05a4086b378b6f291200a528d8aed8c5e0317af77436b001f1bec28821a.

Solidity: event DepositMax(address indexed sender, uint256 deposit0Max, uint256 deposit1Max)

func (*WasabeeVaultFilterer) FilterHysteresis added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) FilterHysteresis(opts *bind.FilterOpts, sender []common.Address) (*WasabeeVaultHysteresisIterator, error)

FilterHysteresis is a free log retrieval operation binding the contract event 0x529698f34660760dcb172def5c99d62e1b5b74b444df322e8f7da31f2bd0a86b.

Solidity: event Hysteresis(address indexed sender, uint256 hysteresis)

func (*WasabeeVaultFilterer) FilterOwnershipTransferred added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WasabeeVaultOwnershipTransferredIterator, error)

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

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

func (*WasabeeVaultFilterer) FilterRebalance added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) FilterRebalance(opts *bind.FilterOpts) (*WasabeeVaultRebalanceIterator, error)

FilterRebalance is a free log retrieval operation binding the contract event 0xbc4c20ad04f161d631d9ce94d27659391196415aa3c42f6a71c62e905ece782d.

Solidity: event Rebalance(int24 tick, uint256 totalAmount0, uint256 totalAmount1, uint256 feeAmount0, uint256 feeAmount1, uint256 totalSupply)

func (*WasabeeVaultFilterer) FilterSetAuxTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) FilterSetAuxTwapPeriod(opts *bind.FilterOpts) (*WasabeeVaultSetAuxTwapPeriodIterator, error)

FilterSetAuxTwapPeriod is a free log retrieval operation binding the contract event 0x39da19f5960a3f182ced1ff1853b7be54f37150799b3003a40bf4e0d4c740c85.

Solidity: event SetAuxTwapPeriod(address sender, uint32 newAuxTwapPeriod)

func (*WasabeeVaultFilterer) FilterSetTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) FilterSetTwapPeriod(opts *bind.FilterOpts) (*WasabeeVaultSetTwapPeriodIterator, error)

FilterSetTwapPeriod is a free log retrieval operation binding the contract event 0xe4c60f4984caeb7f45b0cfe6d4233c115601ab11d141bc2cbf68b48346cdef38.

Solidity: event SetTwapPeriod(address sender, uint32 newTwapPeriod)

func (*WasabeeVaultFilterer) FilterTransfer added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WasabeeVaultTransferIterator, 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 (*WasabeeVaultFilterer) FilterWithdraw added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*WasabeeVaultWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xebff2602b3f468259e1e99f613fed6691f3a6526effe6ef3e768ba7ae7a36c4f.

Solidity: event Withdraw(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*WasabeeVaultFilterer) ParseAffiliate added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) ParseAffiliate(log types.Log) (*WasabeeVaultAffiliate, error)

ParseAffiliate is a log parse operation binding the contract event 0x3066ef5dd340e8b2ea28d62f5a8391eb7a82d3ee87532724a1ca4386d34f7523.

Solidity: event Affiliate(address indexed sender, address affiliate)

func (*WasabeeVaultFilterer) ParseAmmFeeRecipient added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) ParseAmmFeeRecipient(log types.Log) (*WasabeeVaultAmmFeeRecipient, error)

ParseAmmFeeRecipient is a log parse operation binding the contract event 0xbb78b7c13893a913fa8c9ecb9fdaf97597aa412a39c778bf976790555f0942f7.

Solidity: event AmmFeeRecipient(address indexed sender, address ammFeeRecipient)

func (*WasabeeVaultFilterer) ParseApproval added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) ParseApproval(log types.Log) (*WasabeeVaultApproval, error)

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

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

func (*WasabeeVaultFilterer) ParseCollectFees added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) ParseCollectFees(log types.Log) (*WasabeeVaultCollectFees, error)

ParseCollectFees is a log parse operation binding the contract event 0xec8208dd791fa8ffdc0d7427f3ba9c0ed06f1bce9a86254e6940c10cc1802fef.

Solidity: event CollectFees(address indexed sender, uint256 feeAmount0, uint256 feeAmount1)

func (*WasabeeVaultFilterer) ParseDeployICHIVault added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) ParseDeployICHIVault(log types.Log) (*WasabeeVaultDeployICHIVault, error)

ParseDeployICHIVault is a log parse operation binding the contract event 0x3e708ccf7d0e6de8558e020ea36189511cb3435bbfec54e721a48ee4df0d4f8c.

Solidity: event DeployICHIVault(address indexed sender, address indexed pool, bool allowToken0, bool allowToken1, address owner, uint256 twapPeriod)

func (*WasabeeVaultFilterer) ParseDeposit added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) ParseDeposit(log types.Log) (*WasabeeVaultDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0x4e2ca0515ed1aef1395f66b5303bb5d6f1bf9d61a353fa53f73f8ac9973fa9f6.

Solidity: event Deposit(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*WasabeeVaultFilterer) ParseDepositMax added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) ParseDepositMax(log types.Log) (*WasabeeVaultDepositMax, error)

ParseDepositMax is a log parse operation binding the contract event 0xafd3b05a4086b378b6f291200a528d8aed8c5e0317af77436b001f1bec28821a.

Solidity: event DepositMax(address indexed sender, uint256 deposit0Max, uint256 deposit1Max)

func (*WasabeeVaultFilterer) ParseHysteresis added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) ParseHysteresis(log types.Log) (*WasabeeVaultHysteresis, error)

ParseHysteresis is a log parse operation binding the contract event 0x529698f34660760dcb172def5c99d62e1b5b74b444df322e8f7da31f2bd0a86b.

Solidity: event Hysteresis(address indexed sender, uint256 hysteresis)

func (*WasabeeVaultFilterer) ParseOwnershipTransferred added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) ParseOwnershipTransferred(log types.Log) (*WasabeeVaultOwnershipTransferred, error)

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

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

func (*WasabeeVaultFilterer) ParseRebalance added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) ParseRebalance(log types.Log) (*WasabeeVaultRebalance, error)

ParseRebalance is a log parse operation binding the contract event 0xbc4c20ad04f161d631d9ce94d27659391196415aa3c42f6a71c62e905ece782d.

Solidity: event Rebalance(int24 tick, uint256 totalAmount0, uint256 totalAmount1, uint256 feeAmount0, uint256 feeAmount1, uint256 totalSupply)

func (*WasabeeVaultFilterer) ParseSetAuxTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) ParseSetAuxTwapPeriod(log types.Log) (*WasabeeVaultSetAuxTwapPeriod, error)

ParseSetAuxTwapPeriod is a log parse operation binding the contract event 0x39da19f5960a3f182ced1ff1853b7be54f37150799b3003a40bf4e0d4c740c85.

Solidity: event SetAuxTwapPeriod(address sender, uint32 newAuxTwapPeriod)

func (*WasabeeVaultFilterer) ParseSetTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) ParseSetTwapPeriod(log types.Log) (*WasabeeVaultSetTwapPeriod, error)

ParseSetTwapPeriod is a log parse operation binding the contract event 0xe4c60f4984caeb7f45b0cfe6d4233c115601ab11d141bc2cbf68b48346cdef38.

Solidity: event SetTwapPeriod(address sender, uint32 newTwapPeriod)

func (*WasabeeVaultFilterer) ParseTransfer added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) ParseTransfer(log types.Log) (*WasabeeVaultTransfer, error)

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

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

func (*WasabeeVaultFilterer) ParseWithdraw added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) ParseWithdraw(log types.Log) (*WasabeeVaultWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xebff2602b3f468259e1e99f613fed6691f3a6526effe6ef3e768ba7ae7a36c4f.

Solidity: event Withdraw(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*WasabeeVaultFilterer) WatchAffiliate added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) WatchAffiliate(opts *bind.WatchOpts, sink chan<- *WasabeeVaultAffiliate, sender []common.Address) (event.Subscription, error)

WatchAffiliate is a free log subscription operation binding the contract event 0x3066ef5dd340e8b2ea28d62f5a8391eb7a82d3ee87532724a1ca4386d34f7523.

Solidity: event Affiliate(address indexed sender, address affiliate)

func (*WasabeeVaultFilterer) WatchAmmFeeRecipient added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) WatchAmmFeeRecipient(opts *bind.WatchOpts, sink chan<- *WasabeeVaultAmmFeeRecipient, sender []common.Address) (event.Subscription, error)

WatchAmmFeeRecipient is a free log subscription operation binding the contract event 0xbb78b7c13893a913fa8c9ecb9fdaf97597aa412a39c778bf976790555f0942f7.

Solidity: event AmmFeeRecipient(address indexed sender, address ammFeeRecipient)

func (*WasabeeVaultFilterer) WatchApproval added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WasabeeVaultApproval, 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 (*WasabeeVaultFilterer) WatchCollectFees added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) WatchCollectFees(opts *bind.WatchOpts, sink chan<- *WasabeeVaultCollectFees, sender []common.Address) (event.Subscription, error)

WatchCollectFees is a free log subscription operation binding the contract event 0xec8208dd791fa8ffdc0d7427f3ba9c0ed06f1bce9a86254e6940c10cc1802fef.

Solidity: event CollectFees(address indexed sender, uint256 feeAmount0, uint256 feeAmount1)

func (*WasabeeVaultFilterer) WatchDeployICHIVault added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) WatchDeployICHIVault(opts *bind.WatchOpts, sink chan<- *WasabeeVaultDeployICHIVault, sender []common.Address, pool []common.Address) (event.Subscription, error)

WatchDeployICHIVault is a free log subscription operation binding the contract event 0x3e708ccf7d0e6de8558e020ea36189511cb3435bbfec54e721a48ee4df0d4f8c.

Solidity: event DeployICHIVault(address indexed sender, address indexed pool, bool allowToken0, bool allowToken1, address owner, uint256 twapPeriod)

func (*WasabeeVaultFilterer) WatchDeposit added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WasabeeVaultDeposit, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x4e2ca0515ed1aef1395f66b5303bb5d6f1bf9d61a353fa53f73f8ac9973fa9f6.

Solidity: event Deposit(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

func (*WasabeeVaultFilterer) WatchDepositMax added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) WatchDepositMax(opts *bind.WatchOpts, sink chan<- *WasabeeVaultDepositMax, sender []common.Address) (event.Subscription, error)

WatchDepositMax is a free log subscription operation binding the contract event 0xafd3b05a4086b378b6f291200a528d8aed8c5e0317af77436b001f1bec28821a.

Solidity: event DepositMax(address indexed sender, uint256 deposit0Max, uint256 deposit1Max)

func (*WasabeeVaultFilterer) WatchHysteresis added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) WatchHysteresis(opts *bind.WatchOpts, sink chan<- *WasabeeVaultHysteresis, sender []common.Address) (event.Subscription, error)

WatchHysteresis is a free log subscription operation binding the contract event 0x529698f34660760dcb172def5c99d62e1b5b74b444df322e8f7da31f2bd0a86b.

Solidity: event Hysteresis(address indexed sender, uint256 hysteresis)

func (*WasabeeVaultFilterer) WatchOwnershipTransferred added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WasabeeVaultOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WasabeeVaultFilterer) WatchRebalance added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) WatchRebalance(opts *bind.WatchOpts, sink chan<- *WasabeeVaultRebalance) (event.Subscription, error)

WatchRebalance is a free log subscription operation binding the contract event 0xbc4c20ad04f161d631d9ce94d27659391196415aa3c42f6a71c62e905ece782d.

Solidity: event Rebalance(int24 tick, uint256 totalAmount0, uint256 totalAmount1, uint256 feeAmount0, uint256 feeAmount1, uint256 totalSupply)

func (*WasabeeVaultFilterer) WatchSetAuxTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) WatchSetAuxTwapPeriod(opts *bind.WatchOpts, sink chan<- *WasabeeVaultSetAuxTwapPeriod) (event.Subscription, error)

WatchSetAuxTwapPeriod is a free log subscription operation binding the contract event 0x39da19f5960a3f182ced1ff1853b7be54f37150799b3003a40bf4e0d4c740c85.

Solidity: event SetAuxTwapPeriod(address sender, uint32 newAuxTwapPeriod)

func (*WasabeeVaultFilterer) WatchSetTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) WatchSetTwapPeriod(opts *bind.WatchOpts, sink chan<- *WasabeeVaultSetTwapPeriod) (event.Subscription, error)

WatchSetTwapPeriod is a free log subscription operation binding the contract event 0xe4c60f4984caeb7f45b0cfe6d4233c115601ab11d141bc2cbf68b48346cdef38.

Solidity: event SetTwapPeriod(address sender, uint32 newTwapPeriod)

func (*WasabeeVaultFilterer) WatchTransfer added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WasabeeVaultTransfer, 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 (*WasabeeVaultFilterer) WatchWithdraw added in v0.1.17

func (_WasabeeVault *WasabeeVaultFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *WasabeeVaultWithdraw, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xebff2602b3f468259e1e99f613fed6691f3a6526effe6ef3e768ba7ae7a36c4f.

Solidity: event Withdraw(address indexed sender, address indexed to, uint256 shares, uint256 amount0, uint256 amount1)

type WasabeeVaultHysteresis added in v0.1.17

type WasabeeVaultHysteresis struct {
	Sender     common.Address
	Hysteresis *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

WasabeeVaultHysteresis represents a Hysteresis event raised by the WasabeeVault contract.

type WasabeeVaultHysteresisIterator added in v0.1.17

type WasabeeVaultHysteresisIterator struct {
	Event *WasabeeVaultHysteresis // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WasabeeVaultHysteresisIterator is returned from FilterHysteresis and is used to iterate over the raw logs and unpacked data for Hysteresis events raised by the WasabeeVault contract.

func (*WasabeeVaultHysteresisIterator) Close added in v0.1.17

Close terminates the iteration process, releasing any pending underlying resources.

func (*WasabeeVaultHysteresisIterator) Error added in v0.1.17

Error returns any retrieval or parsing error occurred during filtering.

func (*WasabeeVaultHysteresisIterator) Next added in v0.1.17

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 WasabeeVaultOwnershipTransferred added in v0.1.17

type WasabeeVaultOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

WasabeeVaultOwnershipTransferred represents a OwnershipTransferred event raised by the WasabeeVault contract.

type WasabeeVaultOwnershipTransferredIterator added in v0.1.17

type WasabeeVaultOwnershipTransferredIterator struct {
	Event *WasabeeVaultOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WasabeeVaultOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the WasabeeVault contract.

func (*WasabeeVaultOwnershipTransferredIterator) Close added in v0.1.17

Close terminates the iteration process, releasing any pending underlying resources.

func (*WasabeeVaultOwnershipTransferredIterator) Error added in v0.1.17

Error returns any retrieval or parsing error occurred during filtering.

func (*WasabeeVaultOwnershipTransferredIterator) Next added in v0.1.17

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 WasabeeVaultRaw added in v0.1.17

type WasabeeVaultRaw struct {
	Contract *WasabeeVault // Generic contract binding to access the raw methods on
}

WasabeeVaultRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*WasabeeVaultRaw) Call added in v0.1.17

func (_WasabeeVault *WasabeeVaultRaw) 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 (*WasabeeVaultRaw) Transact added in v0.1.17

func (_WasabeeVault *WasabeeVaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WasabeeVaultRaw) Transfer added in v0.1.17

func (_WasabeeVault *WasabeeVaultRaw) 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 WasabeeVaultRebalance added in v0.1.17

type WasabeeVaultRebalance struct {
	Tick         *big.Int
	TotalAmount0 *big.Int
	TotalAmount1 *big.Int
	FeeAmount0   *big.Int
	FeeAmount1   *big.Int
	TotalSupply  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

WasabeeVaultRebalance represents a Rebalance event raised by the WasabeeVault contract.

type WasabeeVaultRebalanceIterator added in v0.1.17

type WasabeeVaultRebalanceIterator struct {
	Event *WasabeeVaultRebalance // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WasabeeVaultRebalanceIterator is returned from FilterRebalance and is used to iterate over the raw logs and unpacked data for Rebalance events raised by the WasabeeVault contract.

func (*WasabeeVaultRebalanceIterator) Close added in v0.1.17

Close terminates the iteration process, releasing any pending underlying resources.

func (*WasabeeVaultRebalanceIterator) Error added in v0.1.17

Error returns any retrieval or parsing error occurred during filtering.

func (*WasabeeVaultRebalanceIterator) Next added in v0.1.17

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 WasabeeVaultSession added in v0.1.17

type WasabeeVaultSession struct {
	Contract     *WasabeeVault     // 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
}

WasabeeVaultSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*WasabeeVaultSession) Affiliate added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Affiliate() (common.Address, error)

Affiliate is a free data retrieval call binding the contract method 0x45e05f43.

Solidity: function affiliate() view returns(address)

func (*WasabeeVaultSession) AlgebraMintCallback added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) AlgebraMintCallback(amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

AlgebraMintCallback is a paid mutator transaction binding the contract method 0x3dd657c5.

Solidity: function algebraMintCallback(uint256 amount0, uint256 amount1, bytes data) returns()

func (*WasabeeVaultSession) AlgebraSwapCallback added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) AlgebraSwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, data []byte) (*types.Transaction, error)

AlgebraSwapCallback is a paid mutator transaction binding the contract method 0x2c8958f6.

Solidity: function algebraSwapCallback(int256 amount0Delta, int256 amount1Delta, bytes data) returns()

func (*WasabeeVaultSession) AllowToken0 added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) AllowToken0() (bool, error)

AllowToken0 is a free data retrieval call binding the contract method 0x7f7a1eec.

Solidity: function allowToken0() view returns(bool)

func (*WasabeeVaultSession) AllowToken1 added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) AllowToken1() (bool, error)

AllowToken1 is a free data retrieval call binding the contract method 0x37e41b40.

Solidity: function allowToken1() view returns(bool)

func (*WasabeeVaultSession) Allowance added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) 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 (*WasabeeVaultSession) AmmFeeRecipient added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) AmmFeeRecipient() (common.Address, error)

AmmFeeRecipient is a free data retrieval call binding the contract method 0x897f078c.

Solidity: function ammFeeRecipient() view returns(address)

func (*WasabeeVaultSession) Approve added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) 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 (*WasabeeVaultSession) AuxTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) AuxTwapPeriod() (uint32, error)

AuxTwapPeriod is a free data retrieval call binding the contract method 0x91563d32.

Solidity: function auxTwapPeriod() view returns(uint32)

func (*WasabeeVaultSession) BalanceOf added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) 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 (*WasabeeVaultSession) BaseLower added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) BaseLower() (*big.Int, error)

BaseLower is a free data retrieval call binding the contract method 0xfa082743.

Solidity: function baseLower() view returns(int24)

func (*WasabeeVaultSession) BaseUpper added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) BaseUpper() (*big.Int, error)

BaseUpper is a free data retrieval call binding the contract method 0x888a9134.

Solidity: function baseUpper() view returns(int24)

func (*WasabeeVaultSession) CollectFees added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) CollectFees() (*types.Transaction, error)

CollectFees is a paid mutator transaction binding the contract method 0xc8796572.

Solidity: function collectFees() returns(uint256 fees0, uint256 fees1)

func (*WasabeeVaultSession) CurrentTick added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) CurrentTick() (*big.Int, error)

CurrentTick is a free data retrieval call binding the contract method 0x065e5360.

Solidity: function currentTick() view returns(int24 tick)

func (*WasabeeVaultSession) Decimals added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*WasabeeVaultSession) DecreaseAllowance added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) 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 (*WasabeeVaultSession) Deposit added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Deposit(deposit0 *big.Int, deposit1 *big.Int, to common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8dbdbe6d.

Solidity: function deposit(uint256 deposit0, uint256 deposit1, address to) returns(uint256 shares)

func (*WasabeeVaultSession) Deposit0Max added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Deposit0Max() (*big.Int, error)

Deposit0Max is a free data retrieval call binding the contract method 0x648cab85.

Solidity: function deposit0Max() view returns(uint256)

func (*WasabeeVaultSession) Deposit1Max added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Deposit1Max() (*big.Int, error)

Deposit1Max is a free data retrieval call binding the contract method 0x4d461fbb.

Solidity: function deposit1Max() view returns(uint256)

func (*WasabeeVaultSession) Fee added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint24 fee_)

func (*WasabeeVaultSession) GetBasePosition added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) GetBasePosition() (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetBasePosition is a free data retrieval call binding the contract method 0xd2eabcfc.

Solidity: function getBasePosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*WasabeeVaultSession) GetLimitPosition added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) GetLimitPosition() (struct {
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
}, error)

GetLimitPosition is a free data retrieval call binding the contract method 0xa049de6b.

Solidity: function getLimitPosition() view returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*WasabeeVaultSession) GetTotalAmounts added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) GetTotalAmounts() (struct {
	Total0 *big.Int
	Total1 *big.Int
}, error)

GetTotalAmounts is a free data retrieval call binding the contract method 0xc4a7761e.

Solidity: function getTotalAmounts() view returns(uint256 total0, uint256 total1)

func (*WasabeeVaultSession) Hysteresis added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Hysteresis() (*big.Int, error)

Hysteresis is a free data retrieval call binding the contract method 0x7aea5309.

Solidity: function hysteresis() view returns(uint256)

func (*WasabeeVaultSession) IchiVaultFactory added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) IchiVaultFactory() (common.Address, error)

IchiVaultFactory is a free data retrieval call binding the contract method 0xdd81fa63.

Solidity: function ichiVaultFactory() view returns(address)

func (*WasabeeVaultSession) IncreaseAllowance added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) 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 (*WasabeeVaultSession) LimitLower added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) LimitLower() (*big.Int, error)

LimitLower is a free data retrieval call binding the contract method 0x51e87af7.

Solidity: function limitLower() view returns(int24)

func (*WasabeeVaultSession) LimitUpper added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) LimitUpper() (*big.Int, error)

LimitUpper is a free data retrieval call binding the contract method 0x0f35bcac.

Solidity: function limitUpper() view returns(int24)

func (*WasabeeVaultSession) Name added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*WasabeeVaultSession) Owner added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WasabeeVaultSession) PRECISION added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) PRECISION() (*big.Int, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(uint256)

func (*WasabeeVaultSession) Pool added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*WasabeeVaultSession) Rebalance added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Rebalance(_baseLower *big.Int, _baseUpper *big.Int, _limitLower *big.Int, _limitUpper *big.Int, swapQuantity *big.Int) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0xd87346aa.

Solidity: function rebalance(int24 _baseLower, int24 _baseUpper, int24 _limitLower, int24 _limitUpper, int256 swapQuantity) returns()

func (*WasabeeVaultSession) RenounceOwnership added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WasabeeVaultSession) SetAffiliate added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) SetAffiliate(_affiliate common.Address) (*types.Transaction, error)

SetAffiliate is a paid mutator transaction binding the contract method 0x2bbb56d9.

Solidity: function setAffiliate(address _affiliate) returns()

func (*WasabeeVaultSession) SetAmmFeeRecipient added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) SetAmmFeeRecipient(_ammFeeRecipient common.Address) (*types.Transaction, error)

SetAmmFeeRecipient is a paid mutator transaction binding the contract method 0x81de128b.

Solidity: function setAmmFeeRecipient(address _ammFeeRecipient) returns()

func (*WasabeeVaultSession) SetAuxTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) SetAuxTwapPeriod(newAuxTwapPeriod uint32) (*types.Transaction, error)

SetAuxTwapPeriod is a paid mutator transaction binding the contract method 0x400f0ceb.

Solidity: function setAuxTwapPeriod(uint32 newAuxTwapPeriod) returns()

func (*WasabeeVaultSession) SetDepositMax added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) SetDepositMax(_deposit0Max *big.Int, _deposit1Max *big.Int) (*types.Transaction, error)

SetDepositMax is a paid mutator transaction binding the contract method 0x3e091ee9.

Solidity: function setDepositMax(uint256 _deposit0Max, uint256 _deposit1Max) returns()

func (*WasabeeVaultSession) SetHysteresis added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) SetHysteresis(_hysteresis *big.Int) (*types.Transaction, error)

SetHysteresis is a paid mutator transaction binding the contract method 0x5ffc1ff7.

Solidity: function setHysteresis(uint256 _hysteresis) returns()

func (*WasabeeVaultSession) SetTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) SetTwapPeriod(newTwapPeriod uint32) (*types.Transaction, error)

SetTwapPeriod is a paid mutator transaction binding the contract method 0xf9c95d46.

Solidity: function setTwapPeriod(uint32 newTwapPeriod) returns()

func (*WasabeeVaultSession) Symbol added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*WasabeeVaultSession) TickSpacing added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) TickSpacing() (*big.Int, error)

TickSpacing is a free data retrieval call binding the contract method 0xd0c93a7c.

Solidity: function tickSpacing() view returns(int24)

func (*WasabeeVaultSession) Token0 added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*WasabeeVaultSession) Token1 added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*WasabeeVaultSession) TotalSupply added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*WasabeeVaultSession) Transfer added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) 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 (*WasabeeVaultSession) TransferFrom added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) 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)

func (*WasabeeVaultSession) TransferOwnership added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) 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 (*WasabeeVaultSession) TwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) TwapPeriod() (uint32, error)

TwapPeriod is a free data retrieval call binding the contract method 0xf6207326.

Solidity: function twapPeriod() view returns(uint32)

func (*WasabeeVaultSession) Withdraw added in v0.1.17

func (_WasabeeVault *WasabeeVaultSession) Withdraw(shares *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x00f714ce.

Solidity: function withdraw(uint256 shares, address to) returns(uint256 amount0, uint256 amount1)

type WasabeeVaultSetAuxTwapPeriod added in v0.1.17

type WasabeeVaultSetAuxTwapPeriod struct {
	Sender           common.Address
	NewAuxTwapPeriod uint32
	Raw              types.Log // Blockchain specific contextual infos
}

WasabeeVaultSetAuxTwapPeriod represents a SetAuxTwapPeriod event raised by the WasabeeVault contract.

type WasabeeVaultSetAuxTwapPeriodIterator added in v0.1.17

type WasabeeVaultSetAuxTwapPeriodIterator struct {
	Event *WasabeeVaultSetAuxTwapPeriod // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WasabeeVaultSetAuxTwapPeriodIterator is returned from FilterSetAuxTwapPeriod and is used to iterate over the raw logs and unpacked data for SetAuxTwapPeriod events raised by the WasabeeVault contract.

func (*WasabeeVaultSetAuxTwapPeriodIterator) Close added in v0.1.17

Close terminates the iteration process, releasing any pending underlying resources.

func (*WasabeeVaultSetAuxTwapPeriodIterator) Error added in v0.1.17

Error returns any retrieval or parsing error occurred during filtering.

func (*WasabeeVaultSetAuxTwapPeriodIterator) Next added in v0.1.17

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 WasabeeVaultSetTwapPeriod added in v0.1.17

type WasabeeVaultSetTwapPeriod struct {
	Sender        common.Address
	NewTwapPeriod uint32
	Raw           types.Log // Blockchain specific contextual infos
}

WasabeeVaultSetTwapPeriod represents a SetTwapPeriod event raised by the WasabeeVault contract.

type WasabeeVaultSetTwapPeriodIterator added in v0.1.17

type WasabeeVaultSetTwapPeriodIterator struct {
	Event *WasabeeVaultSetTwapPeriod // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WasabeeVaultSetTwapPeriodIterator is returned from FilterSetTwapPeriod and is used to iterate over the raw logs and unpacked data for SetTwapPeriod events raised by the WasabeeVault contract.

func (*WasabeeVaultSetTwapPeriodIterator) Close added in v0.1.17

Close terminates the iteration process, releasing any pending underlying resources.

func (*WasabeeVaultSetTwapPeriodIterator) Error added in v0.1.17

Error returns any retrieval or parsing error occurred during filtering.

func (*WasabeeVaultSetTwapPeriodIterator) Next added in v0.1.17

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 WasabeeVaultTransactor added in v0.1.17

type WasabeeVaultTransactor struct {
	// contains filtered or unexported fields
}

WasabeeVaultTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewWasabeeVaultTransactor added in v0.1.17

func NewWasabeeVaultTransactor(address common.Address, transactor bind.ContractTransactor) (*WasabeeVaultTransactor, error)

NewWasabeeVaultTransactor creates a new write-only instance of WasabeeVault, bound to a specific deployed contract.

func (*WasabeeVaultTransactor) AlgebraMintCallback added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) AlgebraMintCallback(opts *bind.TransactOpts, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

AlgebraMintCallback is a paid mutator transaction binding the contract method 0x3dd657c5.

Solidity: function algebraMintCallback(uint256 amount0, uint256 amount1, bytes data) returns()

func (*WasabeeVaultTransactor) AlgebraSwapCallback added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) AlgebraSwapCallback(opts *bind.TransactOpts, amount0Delta *big.Int, amount1Delta *big.Int, data []byte) (*types.Transaction, error)

AlgebraSwapCallback is a paid mutator transaction binding the contract method 0x2c8958f6.

Solidity: function algebraSwapCallback(int256 amount0Delta, int256 amount1Delta, bytes data) returns()

func (*WasabeeVaultTransactor) Approve added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) 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 (*WasabeeVaultTransactor) CollectFees added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) CollectFees(opts *bind.TransactOpts) (*types.Transaction, error)

CollectFees is a paid mutator transaction binding the contract method 0xc8796572.

Solidity: function collectFees() returns(uint256 fees0, uint256 fees1)

func (*WasabeeVaultTransactor) DecreaseAllowance added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) 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 (*WasabeeVaultTransactor) Deposit added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) Deposit(opts *bind.TransactOpts, deposit0 *big.Int, deposit1 *big.Int, to common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8dbdbe6d.

Solidity: function deposit(uint256 deposit0, uint256 deposit1, address to) returns(uint256 shares)

func (*WasabeeVaultTransactor) IncreaseAllowance added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) 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 (*WasabeeVaultTransactor) Rebalance added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) Rebalance(opts *bind.TransactOpts, _baseLower *big.Int, _baseUpper *big.Int, _limitLower *big.Int, _limitUpper *big.Int, swapQuantity *big.Int) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0xd87346aa.

Solidity: function rebalance(int24 _baseLower, int24 _baseUpper, int24 _limitLower, int24 _limitUpper, int256 swapQuantity) returns()

func (*WasabeeVaultTransactor) RenounceOwnership added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WasabeeVaultTransactor) SetAffiliate added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) SetAffiliate(opts *bind.TransactOpts, _affiliate common.Address) (*types.Transaction, error)

SetAffiliate is a paid mutator transaction binding the contract method 0x2bbb56d9.

Solidity: function setAffiliate(address _affiliate) returns()

func (*WasabeeVaultTransactor) SetAmmFeeRecipient added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) SetAmmFeeRecipient(opts *bind.TransactOpts, _ammFeeRecipient common.Address) (*types.Transaction, error)

SetAmmFeeRecipient is a paid mutator transaction binding the contract method 0x81de128b.

Solidity: function setAmmFeeRecipient(address _ammFeeRecipient) returns()

func (*WasabeeVaultTransactor) SetAuxTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) SetAuxTwapPeriod(opts *bind.TransactOpts, newAuxTwapPeriod uint32) (*types.Transaction, error)

SetAuxTwapPeriod is a paid mutator transaction binding the contract method 0x400f0ceb.

Solidity: function setAuxTwapPeriod(uint32 newAuxTwapPeriod) returns()

func (*WasabeeVaultTransactor) SetDepositMax added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) SetDepositMax(opts *bind.TransactOpts, _deposit0Max *big.Int, _deposit1Max *big.Int) (*types.Transaction, error)

SetDepositMax is a paid mutator transaction binding the contract method 0x3e091ee9.

Solidity: function setDepositMax(uint256 _deposit0Max, uint256 _deposit1Max) returns()

func (*WasabeeVaultTransactor) SetHysteresis added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) SetHysteresis(opts *bind.TransactOpts, _hysteresis *big.Int) (*types.Transaction, error)

SetHysteresis is a paid mutator transaction binding the contract method 0x5ffc1ff7.

Solidity: function setHysteresis(uint256 _hysteresis) returns()

func (*WasabeeVaultTransactor) SetTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) SetTwapPeriod(opts *bind.TransactOpts, newTwapPeriod uint32) (*types.Transaction, error)

SetTwapPeriod is a paid mutator transaction binding the contract method 0xf9c95d46.

Solidity: function setTwapPeriod(uint32 newTwapPeriod) returns()

func (*WasabeeVaultTransactor) Transfer added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) 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 (*WasabeeVaultTransactor) TransferFrom added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) 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)

func (*WasabeeVaultTransactor) TransferOwnership added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) 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 (*WasabeeVaultTransactor) Withdraw added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactor) Withdraw(opts *bind.TransactOpts, shares *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x00f714ce.

Solidity: function withdraw(uint256 shares, address to) returns(uint256 amount0, uint256 amount1)

type WasabeeVaultTransactorRaw added in v0.1.17

type WasabeeVaultTransactorRaw struct {
	Contract *WasabeeVaultTransactor // Generic write-only contract binding to access the raw methods on
}

WasabeeVaultTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*WasabeeVaultTransactorRaw) Transact added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WasabeeVaultTransactorRaw) Transfer added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorRaw) 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 WasabeeVaultTransactorSession added in v0.1.17

type WasabeeVaultTransactorSession struct {
	Contract     *WasabeeVaultTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

WasabeeVaultTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*WasabeeVaultTransactorSession) AlgebraMintCallback added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) AlgebraMintCallback(amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

AlgebraMintCallback is a paid mutator transaction binding the contract method 0x3dd657c5.

Solidity: function algebraMintCallback(uint256 amount0, uint256 amount1, bytes data) returns()

func (*WasabeeVaultTransactorSession) AlgebraSwapCallback added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) AlgebraSwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, data []byte) (*types.Transaction, error)

AlgebraSwapCallback is a paid mutator transaction binding the contract method 0x2c8958f6.

Solidity: function algebraSwapCallback(int256 amount0Delta, int256 amount1Delta, bytes data) returns()

func (*WasabeeVaultTransactorSession) Approve added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) 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 (*WasabeeVaultTransactorSession) CollectFees added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) CollectFees() (*types.Transaction, error)

CollectFees is a paid mutator transaction binding the contract method 0xc8796572.

Solidity: function collectFees() returns(uint256 fees0, uint256 fees1)

func (*WasabeeVaultTransactorSession) DecreaseAllowance added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) 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 (*WasabeeVaultTransactorSession) Deposit added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) Deposit(deposit0 *big.Int, deposit1 *big.Int, to common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8dbdbe6d.

Solidity: function deposit(uint256 deposit0, uint256 deposit1, address to) returns(uint256 shares)

func (*WasabeeVaultTransactorSession) IncreaseAllowance added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) 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 (*WasabeeVaultTransactorSession) Rebalance added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) Rebalance(_baseLower *big.Int, _baseUpper *big.Int, _limitLower *big.Int, _limitUpper *big.Int, swapQuantity *big.Int) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0xd87346aa.

Solidity: function rebalance(int24 _baseLower, int24 _baseUpper, int24 _limitLower, int24 _limitUpper, int256 swapQuantity) returns()

func (*WasabeeVaultTransactorSession) RenounceOwnership added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WasabeeVaultTransactorSession) SetAffiliate added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) SetAffiliate(_affiliate common.Address) (*types.Transaction, error)

SetAffiliate is a paid mutator transaction binding the contract method 0x2bbb56d9.

Solidity: function setAffiliate(address _affiliate) returns()

func (*WasabeeVaultTransactorSession) SetAmmFeeRecipient added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) SetAmmFeeRecipient(_ammFeeRecipient common.Address) (*types.Transaction, error)

SetAmmFeeRecipient is a paid mutator transaction binding the contract method 0x81de128b.

Solidity: function setAmmFeeRecipient(address _ammFeeRecipient) returns()

func (*WasabeeVaultTransactorSession) SetAuxTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) SetAuxTwapPeriod(newAuxTwapPeriod uint32) (*types.Transaction, error)

SetAuxTwapPeriod is a paid mutator transaction binding the contract method 0x400f0ceb.

Solidity: function setAuxTwapPeriod(uint32 newAuxTwapPeriod) returns()

func (*WasabeeVaultTransactorSession) SetDepositMax added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) SetDepositMax(_deposit0Max *big.Int, _deposit1Max *big.Int) (*types.Transaction, error)

SetDepositMax is a paid mutator transaction binding the contract method 0x3e091ee9.

Solidity: function setDepositMax(uint256 _deposit0Max, uint256 _deposit1Max) returns()

func (*WasabeeVaultTransactorSession) SetHysteresis added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) SetHysteresis(_hysteresis *big.Int) (*types.Transaction, error)

SetHysteresis is a paid mutator transaction binding the contract method 0x5ffc1ff7.

Solidity: function setHysteresis(uint256 _hysteresis) returns()

func (*WasabeeVaultTransactorSession) SetTwapPeriod added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) SetTwapPeriod(newTwapPeriod uint32) (*types.Transaction, error)

SetTwapPeriod is a paid mutator transaction binding the contract method 0xf9c95d46.

Solidity: function setTwapPeriod(uint32 newTwapPeriod) returns()

func (*WasabeeVaultTransactorSession) Transfer added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) 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 (*WasabeeVaultTransactorSession) TransferFrom added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) 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)

func (*WasabeeVaultTransactorSession) TransferOwnership added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) 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 (*WasabeeVaultTransactorSession) Withdraw added in v0.1.17

func (_WasabeeVault *WasabeeVaultTransactorSession) Withdraw(shares *big.Int, to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x00f714ce.

Solidity: function withdraw(uint256 shares, address to) returns(uint256 amount0, uint256 amount1)

type WasabeeVaultTransfer added in v0.1.17

type WasabeeVaultTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

WasabeeVaultTransfer represents a Transfer event raised by the WasabeeVault contract.

type WasabeeVaultTransferIterator added in v0.1.17

type WasabeeVaultTransferIterator struct {
	Event *WasabeeVaultTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WasabeeVaultTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the WasabeeVault contract.

func (*WasabeeVaultTransferIterator) Close added in v0.1.17

func (it *WasabeeVaultTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WasabeeVaultTransferIterator) Error added in v0.1.17

func (it *WasabeeVaultTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WasabeeVaultTransferIterator) Next added in v0.1.17

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 WasabeeVaultWithdraw added in v0.1.17

type WasabeeVaultWithdraw struct {
	Sender  common.Address
	To      common.Address
	Shares  *big.Int
	Amount0 *big.Int
	Amount1 *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

WasabeeVaultWithdraw represents a Withdraw event raised by the WasabeeVault contract.

type WasabeeVaultWithdrawIterator added in v0.1.17

type WasabeeVaultWithdrawIterator struct {
	Event *WasabeeVaultWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WasabeeVaultWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the WasabeeVault contract.

func (*WasabeeVaultWithdrawIterator) Close added in v0.1.17

func (it *WasabeeVaultWithdrawIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WasabeeVaultWithdrawIterator) Error added in v0.1.17

func (it *WasabeeVaultWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WasabeeVaultWithdrawIterator) Next added in v0.1.17

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 WeberaVault added in v0.1.19

type WeberaVault struct {
	WeberaVaultCaller     // Read-only binding to the contract
	WeberaVaultTransactor // Write-only binding to the contract
	WeberaVaultFilterer   // Log filterer for contract events
}

WeberaVault is an auto generated Go binding around an Ethereum contract.

func NewWeberaVault added in v0.1.19

func NewWeberaVault(address common.Address, backend bind.ContractBackend) (*WeberaVault, error)

NewWeberaVault creates a new instance of WeberaVault, bound to a specific deployed contract.

type WeberaVaultApproval added in v0.1.19

type WeberaVaultApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

WeberaVaultApproval represents a Approval event raised by the WeberaVault contract.

type WeberaVaultApprovalIterator added in v0.1.19

type WeberaVaultApprovalIterator struct {
	Event *WeberaVaultApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WeberaVaultApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the WeberaVault contract.

func (*WeberaVaultApprovalIterator) Close added in v0.1.19

func (it *WeberaVaultApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WeberaVaultApprovalIterator) Error added in v0.1.19

func (it *WeberaVaultApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WeberaVaultApprovalIterator) Next added in v0.1.19

func (it *WeberaVaultApprovalIterator) 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 WeberaVaultCaller added in v0.1.19

type WeberaVaultCaller struct {
	// contains filtered or unexported fields
}

WeberaVaultCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewWeberaVaultCaller added in v0.1.19

func NewWeberaVaultCaller(address common.Address, caller bind.ContractCaller) (*WeberaVaultCaller, error)

NewWeberaVaultCaller creates a new read-only instance of WeberaVault, bound to a specific deployed contract.

func (*WeberaVaultCaller) Accountant added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) Accountant(opts *bind.CallOpts) (common.Address, error)

Accountant is a free data retrieval call binding the contract method 0x4fb3ccc5.

Solidity: function accountant() view returns(address)

func (*WeberaVaultCaller) Allowance added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) 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 (*WeberaVaultCaller) Asset added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) Asset(opts *bind.CallOpts) (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*WeberaVaultCaller) BalanceOf added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) 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 (*WeberaVaultCaller) ConvertToAssets added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) ConvertToAssets(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares) view returns(uint256)

func (*WeberaVaultCaller) ConvertToShares added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) ConvertToShares(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets) view returns(uint256)

func (*WeberaVaultCaller) Decimals added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) 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 (*WeberaVaultCaller) Factory added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) 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 (*WeberaVaultCaller) FullProfitUnlockTime added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) FullProfitUnlockTime(opts *bind.CallOpts) (*big.Int, error)

FullProfitUnlockTime is a free data retrieval call binding the contract method 0x19ec039b.

Solidity: function fullProfitUnlockTime() view returns(uint256)

func (*WeberaVaultCaller) GetHarvester added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) GetHarvester(opts *bind.CallOpts) (common.Address, error)

GetHarvester is a free data retrieval call binding the contract method 0x5426cb2b.

Solidity: function getHarvester() view returns(address)

func (*WeberaVaultCaller) GetStrategies added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) GetStrategies(opts *bind.CallOpts) ([]common.Address, error)

GetStrategies is a free data retrieval call binding the contract method 0xb49a60bb.

Solidity: function getStrategies() view returns(address[])

func (*WeberaVaultCaller) GetWithdrawQueue added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) GetWithdrawQueue(opts *bind.CallOpts) ([]common.Address, error)

GetWithdrawQueue is a free data retrieval call binding the contract method 0x11183052.

Solidity: function getWithdrawQueue() view returns(address[])

func (*WeberaVaultCaller) Harvester added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) Harvester(opts *bind.CallOpts) (common.Address, error)

Harvester is a free data retrieval call binding the contract method 0x4bdaeac1.

Solidity: function harvester() view returns(address)

func (*WeberaVaultCaller) IsOpened added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) IsOpened(opts *bind.CallOpts) (bool, error)

IsOpened is a free data retrieval call binding the contract method 0x692aa97e.

Solidity: function isOpened() view returns(bool)

func (*WeberaVaultCaller) LastProfitHarvest added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) LastProfitHarvest(opts *bind.CallOpts) (*big.Int, error)

LastProfitHarvest is a free data retrieval call binding the contract method 0x50a5cb87.

Solidity: function lastProfitHarvest() view returns(uint256)

func (*WeberaVaultCaller) MAXBPS added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) MAXBPS(opts *bind.CallOpts) (*big.Int, error)

MAXBPS is a free data retrieval call binding the contract method 0xfd967f47.

Solidity: function MAX_BPS() view returns(uint256)

func (*WeberaVaultCaller) MAXBPSEXTENDED added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) MAXBPSEXTENDED(opts *bind.CallOpts) (*big.Int, error)

MAXBPSEXTENDED is a free data retrieval call binding the contract method 0x36fba084.

Solidity: function MAX_BPS_EXTENDED() view returns(uint256)

func (*WeberaVaultCaller) MAXSTRATEGIES added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) MAXSTRATEGIES(opts *bind.CallOpts) (*big.Int, error)

MAXSTRATEGIES is a free data retrieval call binding the contract method 0x767f06ae.

Solidity: function MAX_STRATEGIES() view returns(uint256)

func (*WeberaVaultCaller) MaxDeposit added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) MaxDeposit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

Solidity: function maxDeposit(address ) view returns(uint256)

func (*WeberaVaultCaller) MaxMint added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) MaxMint(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

Solidity: function maxMint(address ) view returns(uint256)

func (*WeberaVaultCaller) MaxRedeem added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) MaxRedeem(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address owner) view returns(uint256)

func (*WeberaVaultCaller) MaxWithdraw added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) MaxWithdraw(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address owner) view returns(uint256)

func (*WeberaVaultCaller) MinTotalIdleAssets added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) MinTotalIdleAssets(opts *bind.CallOpts) (*big.Int, error)

MinTotalIdleAssets is a free data retrieval call binding the contract method 0x78824c06.

Solidity: function minTotalIdleAssets() view returns(uint256)

func (*WeberaVaultCaller) Name added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) 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 (*WeberaVaultCaller) Owner added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WeberaVaultCaller) PreviewDeposit added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) PreviewDeposit(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets) view returns(uint256)

func (*WeberaVaultCaller) PreviewMint added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) PreviewMint(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 shares) view returns(uint256)

func (*WeberaVaultCaller) PreviewRedeem added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) PreviewRedeem(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256)

func (*WeberaVaultCaller) PreviewWithdraw added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) PreviewWithdraw(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256)

func (*WeberaVaultCaller) ProfitMaxUnlockTime added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) ProfitMaxUnlockTime(opts *bind.CallOpts) (*big.Int, error)

ProfitMaxUnlockTime is a free data retrieval call binding the contract method 0x0952864e.

Solidity: function profitMaxUnlockTime() view returns(uint256)

func (*WeberaVaultCaller) ProfitUnlockingRate added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) ProfitUnlockingRate(opts *bind.CallOpts) (*big.Int, error)

ProfitUnlockingRate is a free data retrieval call binding the contract method 0x5141eebb.

Solidity: function profitUnlockingRate() view returns(uint256)

func (*WeberaVaultCaller) ProtocolFee added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) ProtocolFee(opts *bind.CallOpts) (*big.Int, error)

ProtocolFee is a free data retrieval call binding the contract method 0xb0e21e8a.

Solidity: function protocolFee() view returns(uint256)

func (*WeberaVaultCaller) Strategies added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) Strategies(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Strategies is a free data retrieval call binding the contract method 0xd574ea3d.

Solidity: function strategies(uint256 ) view returns(address)

func (*WeberaVaultCaller) StrategiesLength added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) StrategiesLength(opts *bind.CallOpts) (*big.Int, error)

StrategiesLength is a free data retrieval call binding the contract method 0x3f74bb89.

Solidity: function strategiesLength() view returns(uint256)

func (*WeberaVaultCaller) StrategyParams added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) StrategyParams(opts *bind.CallOpts, strategy_ common.Address) (VaultStrategyParams, error)

StrategyParams is a free data retrieval call binding the contract method 0xc4c2d9b9.

Solidity: function strategyParams(address strategy_) view returns((bool,uint256,uint256,uint256))

func (*WeberaVaultCaller) Symbol added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) 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 (*WeberaVaultCaller) TotalAssets added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) TotalAssets(opts *bind.CallOpts) (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256)

func (*WeberaVaultCaller) TotalIdleAssets added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) TotalIdleAssets(opts *bind.CallOpts) (*big.Int, error)

TotalIdleAssets is a free data retrieval call binding the contract method 0x35a22a7d.

Solidity: function totalIdleAssets() view returns(uint256)

func (*WeberaVaultCaller) TotalOutstandingDebt added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) TotalOutstandingDebt(opts *bind.CallOpts) (*big.Int, error)

TotalOutstandingDebt is a free data retrieval call binding the contract method 0x859203e3.

Solidity: function totalOutstandingDebt() view returns(uint256)

func (*WeberaVaultCaller) TotalSupply added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) 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 (*WeberaVaultCaller) UnlockedShares added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) UnlockedShares(opts *bind.CallOpts) (*big.Int, error)

UnlockedShares is a free data retrieval call binding the contract method 0xd9a0e97a.

Solidity: function unlockedShares() view returns(uint256)

func (*WeberaVaultCaller) VaultRouter added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) VaultRouter(opts *bind.CallOpts) (common.Address, error)

VaultRouter is a free data retrieval call binding the contract method 0xd37c441c.

Solidity: function vaultRouter() view returns(address)

func (*WeberaVaultCaller) WithdrawLimit added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) WithdrawLimit(opts *bind.CallOpts) (*big.Int, error)

WithdrawLimit is a free data retrieval call binding the contract method 0xf848d541.

Solidity: function withdrawLimit() view returns(uint256)

func (*WeberaVaultCaller) WithdrawQueue added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) WithdrawQueue(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

WithdrawQueue is a free data retrieval call binding the contract method 0x62518ddf.

Solidity: function withdrawQueue(uint256 ) view returns(address)

func (*WeberaVaultCaller) WithdrawQueueLength added in v0.1.19

func (_WeberaVault *WeberaVaultCaller) WithdrawQueueLength(opts *bind.CallOpts) (*big.Int, error)

WithdrawQueueLength is a free data retrieval call binding the contract method 0x33f91ebb.

Solidity: function withdrawQueueLength() view returns(uint256)

type WeberaVaultCallerRaw added in v0.1.19

type WeberaVaultCallerRaw struct {
	Contract *WeberaVaultCaller // Generic read-only contract binding to access the raw methods on
}

WeberaVaultCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*WeberaVaultCallerRaw) Call added in v0.1.19

func (_WeberaVault *WeberaVaultCallerRaw) 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 WeberaVaultCallerSession added in v0.1.19

type WeberaVaultCallerSession struct {
	Contract *WeberaVaultCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts      // Call options to use throughout this session
}

WeberaVaultCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*WeberaVaultCallerSession) Accountant added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) Accountant() (common.Address, error)

Accountant is a free data retrieval call binding the contract method 0x4fb3ccc5.

Solidity: function accountant() view returns(address)

func (*WeberaVaultCallerSession) Allowance added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) 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 (*WeberaVaultCallerSession) Asset added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) Asset() (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*WeberaVaultCallerSession) BalanceOf added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) 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 (*WeberaVaultCallerSession) ConvertToAssets added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) ConvertToAssets(shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares) view returns(uint256)

func (*WeberaVaultCallerSession) ConvertToShares added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) ConvertToShares(assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets) view returns(uint256)

func (*WeberaVaultCallerSession) Decimals added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*WeberaVaultCallerSession) Factory added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*WeberaVaultCallerSession) FullProfitUnlockTime added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) FullProfitUnlockTime() (*big.Int, error)

FullProfitUnlockTime is a free data retrieval call binding the contract method 0x19ec039b.

Solidity: function fullProfitUnlockTime() view returns(uint256)

func (*WeberaVaultCallerSession) GetHarvester added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) GetHarvester() (common.Address, error)

GetHarvester is a free data retrieval call binding the contract method 0x5426cb2b.

Solidity: function getHarvester() view returns(address)

func (*WeberaVaultCallerSession) GetStrategies added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) GetStrategies() ([]common.Address, error)

GetStrategies is a free data retrieval call binding the contract method 0xb49a60bb.

Solidity: function getStrategies() view returns(address[])

func (*WeberaVaultCallerSession) GetWithdrawQueue added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) GetWithdrawQueue() ([]common.Address, error)

GetWithdrawQueue is a free data retrieval call binding the contract method 0x11183052.

Solidity: function getWithdrawQueue() view returns(address[])

func (*WeberaVaultCallerSession) Harvester added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) Harvester() (common.Address, error)

Harvester is a free data retrieval call binding the contract method 0x4bdaeac1.

Solidity: function harvester() view returns(address)

func (*WeberaVaultCallerSession) IsOpened added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) IsOpened() (bool, error)

IsOpened is a free data retrieval call binding the contract method 0x692aa97e.

Solidity: function isOpened() view returns(bool)

func (*WeberaVaultCallerSession) LastProfitHarvest added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) LastProfitHarvest() (*big.Int, error)

LastProfitHarvest is a free data retrieval call binding the contract method 0x50a5cb87.

Solidity: function lastProfitHarvest() view returns(uint256)

func (*WeberaVaultCallerSession) MAXBPS added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) MAXBPS() (*big.Int, error)

MAXBPS is a free data retrieval call binding the contract method 0xfd967f47.

Solidity: function MAX_BPS() view returns(uint256)

func (*WeberaVaultCallerSession) MAXBPSEXTENDED added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) MAXBPSEXTENDED() (*big.Int, error)

MAXBPSEXTENDED is a free data retrieval call binding the contract method 0x36fba084.

Solidity: function MAX_BPS_EXTENDED() view returns(uint256)

func (*WeberaVaultCallerSession) MAXSTRATEGIES added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) MAXSTRATEGIES() (*big.Int, error)

MAXSTRATEGIES is a free data retrieval call binding the contract method 0x767f06ae.

Solidity: function MAX_STRATEGIES() view returns(uint256)

func (*WeberaVaultCallerSession) MaxDeposit added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) MaxDeposit(arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

Solidity: function maxDeposit(address ) view returns(uint256)

func (*WeberaVaultCallerSession) MaxMint added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) MaxMint(arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

Solidity: function maxMint(address ) view returns(uint256)

func (*WeberaVaultCallerSession) MaxRedeem added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) MaxRedeem(owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address owner) view returns(uint256)

func (*WeberaVaultCallerSession) MaxWithdraw added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) MaxWithdraw(owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address owner) view returns(uint256)

func (*WeberaVaultCallerSession) MinTotalIdleAssets added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) MinTotalIdleAssets() (*big.Int, error)

MinTotalIdleAssets is a free data retrieval call binding the contract method 0x78824c06.

Solidity: function minTotalIdleAssets() view returns(uint256)

func (*WeberaVaultCallerSession) Name added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*WeberaVaultCallerSession) Owner added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WeberaVaultCallerSession) PreviewDeposit added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) PreviewDeposit(assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets) view returns(uint256)

func (*WeberaVaultCallerSession) PreviewMint added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) PreviewMint(shares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 shares) view returns(uint256)

func (*WeberaVaultCallerSession) PreviewRedeem added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) PreviewRedeem(shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256)

func (*WeberaVaultCallerSession) PreviewWithdraw added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) PreviewWithdraw(assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256)

func (*WeberaVaultCallerSession) ProfitMaxUnlockTime added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) ProfitMaxUnlockTime() (*big.Int, error)

ProfitMaxUnlockTime is a free data retrieval call binding the contract method 0x0952864e.

Solidity: function profitMaxUnlockTime() view returns(uint256)

func (*WeberaVaultCallerSession) ProfitUnlockingRate added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) ProfitUnlockingRate() (*big.Int, error)

ProfitUnlockingRate is a free data retrieval call binding the contract method 0x5141eebb.

Solidity: function profitUnlockingRate() view returns(uint256)

func (*WeberaVaultCallerSession) ProtocolFee added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) ProtocolFee() (*big.Int, error)

ProtocolFee is a free data retrieval call binding the contract method 0xb0e21e8a.

Solidity: function protocolFee() view returns(uint256)

func (*WeberaVaultCallerSession) Strategies added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) Strategies(arg0 *big.Int) (common.Address, error)

Strategies is a free data retrieval call binding the contract method 0xd574ea3d.

Solidity: function strategies(uint256 ) view returns(address)

func (*WeberaVaultCallerSession) StrategiesLength added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) StrategiesLength() (*big.Int, error)

StrategiesLength is a free data retrieval call binding the contract method 0x3f74bb89.

Solidity: function strategiesLength() view returns(uint256)

func (*WeberaVaultCallerSession) StrategyParams added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) StrategyParams(strategy_ common.Address) (VaultStrategyParams, error)

StrategyParams is a free data retrieval call binding the contract method 0xc4c2d9b9.

Solidity: function strategyParams(address strategy_) view returns((bool,uint256,uint256,uint256))

func (*WeberaVaultCallerSession) Symbol added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*WeberaVaultCallerSession) TotalAssets added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) TotalAssets() (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256)

func (*WeberaVaultCallerSession) TotalIdleAssets added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) TotalIdleAssets() (*big.Int, error)

TotalIdleAssets is a free data retrieval call binding the contract method 0x35a22a7d.

Solidity: function totalIdleAssets() view returns(uint256)

func (*WeberaVaultCallerSession) TotalOutstandingDebt added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) TotalOutstandingDebt() (*big.Int, error)

TotalOutstandingDebt is a free data retrieval call binding the contract method 0x859203e3.

Solidity: function totalOutstandingDebt() view returns(uint256)

func (*WeberaVaultCallerSession) TotalSupply added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*WeberaVaultCallerSession) UnlockedShares added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) UnlockedShares() (*big.Int, error)

UnlockedShares is a free data retrieval call binding the contract method 0xd9a0e97a.

Solidity: function unlockedShares() view returns(uint256)

func (*WeberaVaultCallerSession) VaultRouter added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) VaultRouter() (common.Address, error)

VaultRouter is a free data retrieval call binding the contract method 0xd37c441c.

Solidity: function vaultRouter() view returns(address)

func (*WeberaVaultCallerSession) WithdrawLimit added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) WithdrawLimit() (*big.Int, error)

WithdrawLimit is a free data retrieval call binding the contract method 0xf848d541.

Solidity: function withdrawLimit() view returns(uint256)

func (*WeberaVaultCallerSession) WithdrawQueue added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) WithdrawQueue(arg0 *big.Int) (common.Address, error)

WithdrawQueue is a free data retrieval call binding the contract method 0x62518ddf.

Solidity: function withdrawQueue(uint256 ) view returns(address)

func (*WeberaVaultCallerSession) WithdrawQueueLength added in v0.1.19

func (_WeberaVault *WeberaVaultCallerSession) WithdrawQueueLength() (*big.Int, error)

WithdrawQueueLength is a free data retrieval call binding the contract method 0x33f91ebb.

Solidity: function withdrawQueueLength() view returns(uint256)

type WeberaVaultDebtUpdated added in v0.1.19

type WeberaVaultDebtUpdated struct {
	Strategy common.Address
	OldDebt  *big.Int
	NewDebt  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

WeberaVaultDebtUpdated represents a DebtUpdated event raised by the WeberaVault contract.

type WeberaVaultDebtUpdatedIterator added in v0.1.19

type WeberaVaultDebtUpdatedIterator struct {
	Event *WeberaVaultDebtUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WeberaVaultDebtUpdatedIterator is returned from FilterDebtUpdated and is used to iterate over the raw logs and unpacked data for DebtUpdated events raised by the WeberaVault contract.

func (*WeberaVaultDebtUpdatedIterator) Close added in v0.1.19

Close terminates the iteration process, releasing any pending underlying resources.

func (*WeberaVaultDebtUpdatedIterator) Error added in v0.1.19

Error returns any retrieval or parsing error occurred during filtering.

func (*WeberaVaultDebtUpdatedIterator) Next added in v0.1.19

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 WeberaVaultDeposit added in v0.1.19

type WeberaVaultDeposit struct {
	Sender common.Address
	Owner  common.Address
	Assets *big.Int
	Shares *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

WeberaVaultDeposit represents a Deposit event raised by the WeberaVault contract.

type WeberaVaultDepositIterator added in v0.1.19

type WeberaVaultDepositIterator struct {
	Event *WeberaVaultDeposit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WeberaVaultDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the WeberaVault contract.

func (*WeberaVaultDepositIterator) Close added in v0.1.19

func (it *WeberaVaultDepositIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WeberaVaultDepositIterator) Error added in v0.1.19

func (it *WeberaVaultDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WeberaVaultDepositIterator) Next added in v0.1.19

func (it *WeberaVaultDepositIterator) 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 WeberaVaultFilterer added in v0.1.19

type WeberaVaultFilterer struct {
	// contains filtered or unexported fields
}

WeberaVaultFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewWeberaVaultFilterer added in v0.1.19

func NewWeberaVaultFilterer(address common.Address, filterer bind.ContractFilterer) (*WeberaVaultFilterer, error)

NewWeberaVaultFilterer creates a new log filterer instance of WeberaVault, bound to a specific deployed contract.

func (*WeberaVaultFilterer) FilterApproval added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WeberaVaultApprovalIterator, 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 (*WeberaVaultFilterer) FilterDebtUpdated added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) FilterDebtUpdated(opts *bind.FilterOpts, strategy []common.Address) (*WeberaVaultDebtUpdatedIterator, error)

FilterDebtUpdated is a free log retrieval operation binding the contract event 0x5e2b8821ad6e0e26207e0cb4d242d07eeb1cbb1cfd853e645bdcd27cc5484f95.

Solidity: event DebtUpdated(address indexed strategy, uint256 oldDebt, uint256 newDebt)

func (*WeberaVaultFilterer) FilterDeposit added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) FilterDeposit(opts *bind.FilterOpts, sender []common.Address, owner []common.Address) (*WeberaVaultDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)

func (*WeberaVaultFilterer) FilterHarvest added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) FilterHarvest(opts *bind.FilterOpts, strategy []common.Address) (*WeberaVaultHarvestIterator, error)

FilterHarvest is a free log retrieval operation binding the contract event 0xeaedd1267621f4a8ee97011faf0e67800ad3063714bd179f078c980bb9a3fa3d.

Solidity: event Harvest(address indexed strategy, uint256 profit, uint256 loss, uint256 currentDebt, uint256 totalFees, uint256 totalRefunds)

func (*WeberaVaultFilterer) FilterInitialized added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) FilterInitialized(opts *bind.FilterOpts) (*WeberaVaultInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*WeberaVaultFilterer) FilterOwnershipTransferred added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WeberaVaultOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WeberaVaultFilterer) FilterStrategyAdded added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) FilterStrategyAdded(opts *bind.FilterOpts, strategy []common.Address) (*WeberaVaultStrategyAddedIterator, error)

FilterStrategyAdded is a free log retrieval operation binding the contract event 0x2f564a83158ad1831793ad3e69257b52f39ece5d49cb0d8746708ecb9ef964da.

Solidity: event StrategyAdded(address indexed strategy, uint256 length)

func (*WeberaVaultFilterer) FilterStrategyRevoked added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) FilterStrategyRevoked(opts *bind.FilterOpts, strategy []common.Address) (*WeberaVaultStrategyRevokedIterator, error)

FilterStrategyRevoked is a free log retrieval operation binding the contract event 0x4201c688d84c01154d321afa0c72f1bffe9eef53005c9de9d035074e71e9b32a.

Solidity: event StrategyRevoked(address indexed strategy)

func (*WeberaVaultFilterer) FilterTransfer added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WeberaVaultTransferIterator, 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 (*WeberaVaultFilterer) FilterWithdraw added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address, receiver []common.Address, owner []common.Address) (*WeberaVaultWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

func (*WeberaVaultFilterer) FilterWithdrawQueueUpdated added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) FilterWithdrawQueueUpdated(opts *bind.FilterOpts) (*WeberaVaultWithdrawQueueUpdatedIterator, error)

FilterWithdrawQueueUpdated is a free log retrieval operation binding the contract event 0x0ef29da578ca6365f361a762138684560226292af8e477c349267a8fa5c80488.

Solidity: event WithdrawQueueUpdated(address[] oldStrategyQueue, address[] newStrategyQueue)

func (*WeberaVaultFilterer) ParseApproval added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) ParseApproval(log types.Log) (*WeberaVaultApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*WeberaVaultFilterer) ParseDebtUpdated added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) ParseDebtUpdated(log types.Log) (*WeberaVaultDebtUpdated, error)

ParseDebtUpdated is a log parse operation binding the contract event 0x5e2b8821ad6e0e26207e0cb4d242d07eeb1cbb1cfd853e645bdcd27cc5484f95.

Solidity: event DebtUpdated(address indexed strategy, uint256 oldDebt, uint256 newDebt)

func (*WeberaVaultFilterer) ParseDeposit added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) ParseDeposit(log types.Log) (*WeberaVaultDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)

func (*WeberaVaultFilterer) ParseHarvest added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) ParseHarvest(log types.Log) (*WeberaVaultHarvest, error)

ParseHarvest is a log parse operation binding the contract event 0xeaedd1267621f4a8ee97011faf0e67800ad3063714bd179f078c980bb9a3fa3d.

Solidity: event Harvest(address indexed strategy, uint256 profit, uint256 loss, uint256 currentDebt, uint256 totalFees, uint256 totalRefunds)

func (*WeberaVaultFilterer) ParseInitialized added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) ParseInitialized(log types.Log) (*WeberaVaultInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*WeberaVaultFilterer) ParseOwnershipTransferred added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) ParseOwnershipTransferred(log types.Log) (*WeberaVaultOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WeberaVaultFilterer) ParseStrategyAdded added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) ParseStrategyAdded(log types.Log) (*WeberaVaultStrategyAdded, error)

ParseStrategyAdded is a log parse operation binding the contract event 0x2f564a83158ad1831793ad3e69257b52f39ece5d49cb0d8746708ecb9ef964da.

Solidity: event StrategyAdded(address indexed strategy, uint256 length)

func (*WeberaVaultFilterer) ParseStrategyRevoked added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) ParseStrategyRevoked(log types.Log) (*WeberaVaultStrategyRevoked, error)

ParseStrategyRevoked is a log parse operation binding the contract event 0x4201c688d84c01154d321afa0c72f1bffe9eef53005c9de9d035074e71e9b32a.

Solidity: event StrategyRevoked(address indexed strategy)

func (*WeberaVaultFilterer) ParseTransfer added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) ParseTransfer(log types.Log) (*WeberaVaultTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*WeberaVaultFilterer) ParseWithdraw added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) ParseWithdraw(log types.Log) (*WeberaVaultWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

func (*WeberaVaultFilterer) ParseWithdrawQueueUpdated added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) ParseWithdrawQueueUpdated(log types.Log) (*WeberaVaultWithdrawQueueUpdated, error)

ParseWithdrawQueueUpdated is a log parse operation binding the contract event 0x0ef29da578ca6365f361a762138684560226292af8e477c349267a8fa5c80488.

Solidity: event WithdrawQueueUpdated(address[] oldStrategyQueue, address[] newStrategyQueue)

func (*WeberaVaultFilterer) WatchApproval added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WeberaVaultApproval, 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 (*WeberaVaultFilterer) WatchDebtUpdated added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) WatchDebtUpdated(opts *bind.WatchOpts, sink chan<- *WeberaVaultDebtUpdated, strategy []common.Address) (event.Subscription, error)

WatchDebtUpdated is a free log subscription operation binding the contract event 0x5e2b8821ad6e0e26207e0cb4d242d07eeb1cbb1cfd853e645bdcd27cc5484f95.

Solidity: event DebtUpdated(address indexed strategy, uint256 oldDebt, uint256 newDebt)

func (*WeberaVaultFilterer) WatchDeposit added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WeberaVaultDeposit, sender []common.Address, owner []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)

func (*WeberaVaultFilterer) WatchHarvest added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) WatchHarvest(opts *bind.WatchOpts, sink chan<- *WeberaVaultHarvest, strategy []common.Address) (event.Subscription, error)

WatchHarvest is a free log subscription operation binding the contract event 0xeaedd1267621f4a8ee97011faf0e67800ad3063714bd179f078c980bb9a3fa3d.

Solidity: event Harvest(address indexed strategy, uint256 profit, uint256 loss, uint256 currentDebt, uint256 totalFees, uint256 totalRefunds)

func (*WeberaVaultFilterer) WatchInitialized added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *WeberaVaultInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*WeberaVaultFilterer) WatchOwnershipTransferred added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WeberaVaultOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WeberaVaultFilterer) WatchStrategyAdded added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) WatchStrategyAdded(opts *bind.WatchOpts, sink chan<- *WeberaVaultStrategyAdded, strategy []common.Address) (event.Subscription, error)

WatchStrategyAdded is a free log subscription operation binding the contract event 0x2f564a83158ad1831793ad3e69257b52f39ece5d49cb0d8746708ecb9ef964da.

Solidity: event StrategyAdded(address indexed strategy, uint256 length)

func (*WeberaVaultFilterer) WatchStrategyRevoked added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) WatchStrategyRevoked(opts *bind.WatchOpts, sink chan<- *WeberaVaultStrategyRevoked, strategy []common.Address) (event.Subscription, error)

WatchStrategyRevoked is a free log subscription operation binding the contract event 0x4201c688d84c01154d321afa0c72f1bffe9eef53005c9de9d035074e71e9b32a.

Solidity: event StrategyRevoked(address indexed strategy)

func (*WeberaVaultFilterer) WatchTransfer added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WeberaVaultTransfer, 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 (*WeberaVaultFilterer) WatchWithdraw added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *WeberaVaultWithdraw, sender []common.Address, receiver []common.Address, owner []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

func (*WeberaVaultFilterer) WatchWithdrawQueueUpdated added in v0.1.19

func (_WeberaVault *WeberaVaultFilterer) WatchWithdrawQueueUpdated(opts *bind.WatchOpts, sink chan<- *WeberaVaultWithdrawQueueUpdated) (event.Subscription, error)

WatchWithdrawQueueUpdated is a free log subscription operation binding the contract event 0x0ef29da578ca6365f361a762138684560226292af8e477c349267a8fa5c80488.

Solidity: event WithdrawQueueUpdated(address[] oldStrategyQueue, address[] newStrategyQueue)

type WeberaVaultHarvest added in v0.1.19

type WeberaVaultHarvest struct {
	Strategy     common.Address
	Profit       *big.Int
	Loss         *big.Int
	CurrentDebt  *big.Int
	TotalFees    *big.Int
	TotalRefunds *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

WeberaVaultHarvest represents a Harvest event raised by the WeberaVault contract.

type WeberaVaultHarvestIterator added in v0.1.19

type WeberaVaultHarvestIterator struct {
	Event *WeberaVaultHarvest // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WeberaVaultHarvestIterator is returned from FilterHarvest and is used to iterate over the raw logs and unpacked data for Harvest events raised by the WeberaVault contract.

func (*WeberaVaultHarvestIterator) Close added in v0.1.19

func (it *WeberaVaultHarvestIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WeberaVaultHarvestIterator) Error added in v0.1.19

func (it *WeberaVaultHarvestIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WeberaVaultHarvestIterator) Next added in v0.1.19

func (it *WeberaVaultHarvestIterator) 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 WeberaVaultInitialized added in v0.1.19

type WeberaVaultInitialized struct {
	Version uint64
	Raw     types.Log // Blockchain specific contextual infos
}

WeberaVaultInitialized represents a Initialized event raised by the WeberaVault contract.

type WeberaVaultInitializedIterator added in v0.1.19

type WeberaVaultInitializedIterator struct {
	Event *WeberaVaultInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WeberaVaultInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the WeberaVault contract.

func (*WeberaVaultInitializedIterator) Close added in v0.1.19

Close terminates the iteration process, releasing any pending underlying resources.

func (*WeberaVaultInitializedIterator) Error added in v0.1.19

Error returns any retrieval or parsing error occurred during filtering.

func (*WeberaVaultInitializedIterator) Next added in v0.1.19

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 WeberaVaultOwnershipTransferred added in v0.1.19

type WeberaVaultOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

WeberaVaultOwnershipTransferred represents a OwnershipTransferred event raised by the WeberaVault contract.

type WeberaVaultOwnershipTransferredIterator added in v0.1.19

type WeberaVaultOwnershipTransferredIterator struct {
	Event *WeberaVaultOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WeberaVaultOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the WeberaVault contract.

func (*WeberaVaultOwnershipTransferredIterator) Close added in v0.1.19

Close terminates the iteration process, releasing any pending underlying resources.

func (*WeberaVaultOwnershipTransferredIterator) Error added in v0.1.19

Error returns any retrieval or parsing error occurred during filtering.

func (*WeberaVaultOwnershipTransferredIterator) Next added in v0.1.19

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 WeberaVaultRaw added in v0.1.19

type WeberaVaultRaw struct {
	Contract *WeberaVault // Generic contract binding to access the raw methods on
}

WeberaVaultRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*WeberaVaultRaw) Call added in v0.1.19

func (_WeberaVault *WeberaVaultRaw) 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 (*WeberaVaultRaw) Transact added in v0.1.19

func (_WeberaVault *WeberaVaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WeberaVaultRaw) Transfer added in v0.1.19

func (_WeberaVault *WeberaVaultRaw) 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 WeberaVaultSession added in v0.1.19

type WeberaVaultSession struct {
	Contract     *WeberaVault      // 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
}

WeberaVaultSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*WeberaVaultSession) Accountant added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Accountant() (common.Address, error)

Accountant is a free data retrieval call binding the contract method 0x4fb3ccc5.

Solidity: function accountant() view returns(address)

func (*WeberaVaultSession) AddStrategy added in v0.1.19

func (_WeberaVault *WeberaVaultSession) AddStrategy(strategy common.Address, maxDebt *big.Int) (*types.Transaction, error)

AddStrategy is a paid mutator transaction binding the contract method 0xc9411e22.

Solidity: function addStrategy(address strategy, uint256 maxDebt) returns()

func (*WeberaVaultSession) Allowance added in v0.1.19

func (_WeberaVault *WeberaVaultSession) 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 (*WeberaVaultSession) Approve added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*WeberaVaultSession) Asset added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Asset() (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*WeberaVaultSession) BalanceOf added in v0.1.19

func (_WeberaVault *WeberaVaultSession) 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 (*WeberaVaultSession) CloseVault added in v0.1.19

func (_WeberaVault *WeberaVaultSession) CloseVault() (*types.Transaction, error)

CloseVault is a paid mutator transaction binding the contract method 0x18976fa2.

Solidity: function closeVault() returns()

func (*WeberaVaultSession) ConvertToAssets added in v0.1.19

func (_WeberaVault *WeberaVaultSession) ConvertToAssets(shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares) view returns(uint256)

func (*WeberaVaultSession) ConvertToShares added in v0.1.19

func (_WeberaVault *WeberaVaultSession) ConvertToShares(assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets) view returns(uint256)

func (*WeberaVaultSession) Decimals added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*WeberaVaultSession) Deposit added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 assets, address receiver) returns(uint256)

func (*WeberaVaultSession) EmergencyStrategy added in v0.1.19

func (_WeberaVault *WeberaVaultSession) EmergencyStrategy(strategy_ common.Address, amount_ *big.Int, maxLoss_ *big.Int) (*types.Transaction, error)

EmergencyStrategy is a paid mutator transaction binding the contract method 0xb20fb167.

Solidity: function emergencyStrategy(address strategy_, uint256 amount_, uint256 maxLoss_) returns()

func (*WeberaVaultSession) EmergencyVault added in v0.1.19

func (_WeberaVault *WeberaVaultSession) EmergencyVault() (*types.Transaction, error)

EmergencyVault is a paid mutator transaction binding the contract method 0xfe6f68ba.

Solidity: function emergencyVault() returns()

func (*WeberaVaultSession) EmergencyWithdrawAll added in v0.1.19

func (_WeberaVault *WeberaVaultSession) EmergencyWithdrawAll(maxLoss_ *big.Int) (*types.Transaction, error)

EmergencyWithdrawAll is a paid mutator transaction binding the contract method 0x1e93facb.

Solidity: function emergencyWithdrawAll(uint256 maxLoss_) returns()

func (*WeberaVaultSession) Factory added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*WeberaVaultSession) FullProfitUnlockTime added in v0.1.19

func (_WeberaVault *WeberaVaultSession) FullProfitUnlockTime() (*big.Int, error)

FullProfitUnlockTime is a free data retrieval call binding the contract method 0x19ec039b.

Solidity: function fullProfitUnlockTime() view returns(uint256)

func (*WeberaVaultSession) GetHarvester added in v0.1.19

func (_WeberaVault *WeberaVaultSession) GetHarvester() (common.Address, error)

GetHarvester is a free data retrieval call binding the contract method 0x5426cb2b.

Solidity: function getHarvester() view returns(address)

func (*WeberaVaultSession) GetStrategies added in v0.1.19

func (_WeberaVault *WeberaVaultSession) GetStrategies() ([]common.Address, error)

GetStrategies is a free data retrieval call binding the contract method 0xb49a60bb.

Solidity: function getStrategies() view returns(address[])

func (*WeberaVaultSession) GetWithdrawQueue added in v0.1.19

func (_WeberaVault *WeberaVaultSession) GetWithdrawQueue() ([]common.Address, error)

GetWithdrawQueue is a free data retrieval call binding the contract method 0x11183052.

Solidity: function getWithdrawQueue() view returns(address[])

func (*WeberaVaultSession) Harvest added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Harvest(strategy_ common.Address) (*types.Transaction, error)

Harvest is a paid mutator transaction binding the contract method 0x0e5c011e.

Solidity: function harvest(address strategy_) returns()

func (*WeberaVaultSession) HarvestAll added in v0.1.19

func (_WeberaVault *WeberaVaultSession) HarvestAll() (*types.Transaction, error)

HarvestAll is a paid mutator transaction binding the contract method 0x8ed955b9.

Solidity: function harvestAll() returns()

func (*WeberaVaultSession) Harvester added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Harvester() (common.Address, error)

Harvester is a free data retrieval call binding the contract method 0x4bdaeac1.

Solidity: function harvester() view returns(address)

func (*WeberaVaultSession) Initialize added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Initialize(owner_ common.Address, asset_ common.Address, vaultTokenName_ string, vaultTokenSymbol_ string, vaultFactory_ common.Address, profitMaxUnlockTime_ *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xa01e3f74.

Solidity: function initialize(address owner_, address asset_, string vaultTokenName_, string vaultTokenSymbol_, address vaultFactory_, uint256 profitMaxUnlockTime_) returns()

func (*WeberaVaultSession) IsOpened added in v0.1.19

func (_WeberaVault *WeberaVaultSession) IsOpened() (bool, error)

IsOpened is a free data retrieval call binding the contract method 0x692aa97e.

Solidity: function isOpened() view returns(bool)

func (*WeberaVaultSession) LastProfitHarvest added in v0.1.19

func (_WeberaVault *WeberaVaultSession) LastProfitHarvest() (*big.Int, error)

LastProfitHarvest is a free data retrieval call binding the contract method 0x50a5cb87.

Solidity: function lastProfitHarvest() view returns(uint256)

func (*WeberaVaultSession) MAXBPS added in v0.1.19

func (_WeberaVault *WeberaVaultSession) MAXBPS() (*big.Int, error)

MAXBPS is a free data retrieval call binding the contract method 0xfd967f47.

Solidity: function MAX_BPS() view returns(uint256)

func (*WeberaVaultSession) MAXBPSEXTENDED added in v0.1.19

func (_WeberaVault *WeberaVaultSession) MAXBPSEXTENDED() (*big.Int, error)

MAXBPSEXTENDED is a free data retrieval call binding the contract method 0x36fba084.

Solidity: function MAX_BPS_EXTENDED() view returns(uint256)

func (*WeberaVaultSession) MAXSTRATEGIES added in v0.1.19

func (_WeberaVault *WeberaVaultSession) MAXSTRATEGIES() (*big.Int, error)

MAXSTRATEGIES is a free data retrieval call binding the contract method 0x767f06ae.

Solidity: function MAX_STRATEGIES() view returns(uint256)

func (*WeberaVaultSession) MaxDeposit added in v0.1.19

func (_WeberaVault *WeberaVaultSession) MaxDeposit(arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

Solidity: function maxDeposit(address ) view returns(uint256)

func (*WeberaVaultSession) MaxMint added in v0.1.19

func (_WeberaVault *WeberaVaultSession) MaxMint(arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

Solidity: function maxMint(address ) view returns(uint256)

func (*WeberaVaultSession) MaxRedeem added in v0.1.19

func (_WeberaVault *WeberaVaultSession) MaxRedeem(owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address owner) view returns(uint256)

func (*WeberaVaultSession) MaxWithdraw added in v0.1.19

func (_WeberaVault *WeberaVaultSession) MaxWithdraw(owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address owner) view returns(uint256)

func (*WeberaVaultSession) MinTotalIdleAssets added in v0.1.19

func (_WeberaVault *WeberaVaultSession) MinTotalIdleAssets() (*big.Int, error)

MinTotalIdleAssets is a free data retrieval call binding the contract method 0x78824c06.

Solidity: function minTotalIdleAssets() view returns(uint256)

func (*WeberaVaultSession) Mint added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x94bf804d.

Solidity: function mint(uint256 shares, address receiver) returns(uint256)

func (*WeberaVaultSession) Name added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*WeberaVaultSession) OpenVault added in v0.1.19

func (_WeberaVault *WeberaVaultSession) OpenVault() (*types.Transaction, error)

OpenVault is a paid mutator transaction binding the contract method 0x86f54712.

Solidity: function openVault() returns()

func (*WeberaVaultSession) Owner added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WeberaVaultSession) PreviewDeposit added in v0.1.19

func (_WeberaVault *WeberaVaultSession) PreviewDeposit(assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets) view returns(uint256)

func (*WeberaVaultSession) PreviewMint added in v0.1.19

func (_WeberaVault *WeberaVaultSession) PreviewMint(shares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 shares) view returns(uint256)

func (*WeberaVaultSession) PreviewRedeem added in v0.1.19

func (_WeberaVault *WeberaVaultSession) PreviewRedeem(shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256)

func (*WeberaVaultSession) PreviewWithdraw added in v0.1.19

func (_WeberaVault *WeberaVaultSession) PreviewWithdraw(assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256)

func (*WeberaVaultSession) ProfitMaxUnlockTime added in v0.1.19

func (_WeberaVault *WeberaVaultSession) ProfitMaxUnlockTime() (*big.Int, error)

ProfitMaxUnlockTime is a free data retrieval call binding the contract method 0x0952864e.

Solidity: function profitMaxUnlockTime() view returns(uint256)

func (*WeberaVaultSession) ProfitUnlockingRate added in v0.1.19

func (_WeberaVault *WeberaVaultSession) ProfitUnlockingRate() (*big.Int, error)

ProfitUnlockingRate is a free data retrieval call binding the contract method 0x5141eebb.

Solidity: function profitUnlockingRate() view returns(uint256)

func (*WeberaVaultSession) ProtocolFee added in v0.1.19

func (_WeberaVault *WeberaVaultSession) ProtocolFee() (*big.Int, error)

ProtocolFee is a free data retrieval call binding the contract method 0xb0e21e8a.

Solidity: function protocolFee() view returns(uint256)

func (*WeberaVaultSession) Redeem added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Redeem(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares, address receiver, address owner) returns(uint256)

func (*WeberaVaultSession) RenounceOwnership added in v0.1.19

func (_WeberaVault *WeberaVaultSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WeberaVaultSession) RevokeStrategy added in v0.1.19

func (_WeberaVault *WeberaVaultSession) RevokeStrategy(strategy common.Address) (*types.Transaction, error)

RevokeStrategy is a paid mutator transaction binding the contract method 0xbb994d48.

Solidity: function revokeStrategy(address strategy) returns()

func (*WeberaVaultSession) SetHarvester added in v0.1.19

func (_WeberaVault *WeberaVaultSession) SetHarvester(harvester_ common.Address) (*types.Transaction, error)

SetHarvester is a paid mutator transaction binding the contract method 0x15de1daa.

Solidity: function setHarvester(address harvester_) returns()

func (*WeberaVaultSession) SetProfitMaxUnlockTime added in v0.1.19

func (_WeberaVault *WeberaVaultSession) SetProfitMaxUnlockTime(profitMaxUnlockTime_ *big.Int) (*types.Transaction, error)

SetProfitMaxUnlockTime is a paid mutator transaction binding the contract method 0xdf69b22a.

Solidity: function setProfitMaxUnlockTime(uint256 profitMaxUnlockTime_) returns()

func (*WeberaVaultSession) SetVaultRouter added in v0.1.19

func (_WeberaVault *WeberaVaultSession) SetVaultRouter(vaultRouter_ common.Address) (*types.Transaction, error)

SetVaultRouter is a paid mutator transaction binding the contract method 0x780e72ff.

Solidity: function setVaultRouter(address vaultRouter_) returns()

func (*WeberaVaultSession) SetWithdrawQueue added in v0.1.19

func (_WeberaVault *WeberaVaultSession) SetWithdrawQueue(queue []common.Address) (*types.Transaction, error)

SetWithdrawQueue is a paid mutator transaction binding the contract method 0x80a30e30.

Solidity: function setWithdrawQueue(address[] queue) returns()

func (*WeberaVaultSession) Strategies added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Strategies(arg0 *big.Int) (common.Address, error)

Strategies is a free data retrieval call binding the contract method 0xd574ea3d.

Solidity: function strategies(uint256 ) view returns(address)

func (*WeberaVaultSession) StrategiesLength added in v0.1.19

func (_WeberaVault *WeberaVaultSession) StrategiesLength() (*big.Int, error)

StrategiesLength is a free data retrieval call binding the contract method 0x3f74bb89.

Solidity: function strategiesLength() view returns(uint256)

func (*WeberaVaultSession) StrategyParams added in v0.1.19

func (_WeberaVault *WeberaVaultSession) StrategyParams(strategy_ common.Address) (VaultStrategyParams, error)

StrategyParams is a free data retrieval call binding the contract method 0xc4c2d9b9.

Solidity: function strategyParams(address strategy_) view returns((bool,uint256,uint256,uint256))

func (*WeberaVaultSession) Symbol added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*WeberaVaultSession) TotalAssets added in v0.1.19

func (_WeberaVault *WeberaVaultSession) TotalAssets() (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256)

func (*WeberaVaultSession) TotalIdleAssets added in v0.1.19

func (_WeberaVault *WeberaVaultSession) TotalIdleAssets() (*big.Int, error)

TotalIdleAssets is a free data retrieval call binding the contract method 0x35a22a7d.

Solidity: function totalIdleAssets() view returns(uint256)

func (*WeberaVaultSession) TotalOutstandingDebt added in v0.1.19

func (_WeberaVault *WeberaVaultSession) TotalOutstandingDebt() (*big.Int, error)

TotalOutstandingDebt is a free data retrieval call binding the contract method 0x859203e3.

Solidity: function totalOutstandingDebt() view returns(uint256)

func (*WeberaVaultSession) TotalSupply added in v0.1.19

func (_WeberaVault *WeberaVaultSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*WeberaVaultSession) Transfer added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*WeberaVaultSession) TransferFrom added in v0.1.19

func (_WeberaVault *WeberaVaultSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*WeberaVaultSession) TransferOwnership added in v0.1.19

func (_WeberaVault *WeberaVaultSession) 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 (*WeberaVaultSession) UnlockedShares added in v0.1.19

func (_WeberaVault *WeberaVaultSession) UnlockedShares() (*big.Int, error)

UnlockedShares is a free data retrieval call binding the contract method 0xd9a0e97a.

Solidity: function unlockedShares() view returns(uint256)

func (*WeberaVaultSession) UpdateDebt added in v0.1.19

func (_WeberaVault *WeberaVaultSession) UpdateDebt(strategy_ common.Address, targetDebt_ *big.Int, maxLoss_ *big.Int) (*types.Transaction, error)

UpdateDebt is a paid mutator transaction binding the contract method 0x4492e200.

Solidity: function updateDebt(address strategy_, uint256 targetDebt_, uint256 maxLoss_) returns()

func (*WeberaVaultSession) UpdateStrategyMaxDebt added in v0.1.19

func (_WeberaVault *WeberaVaultSession) UpdateStrategyMaxDebt(strategy_ common.Address, maxDebt_ *big.Int) (*types.Transaction, error)

UpdateStrategyMaxDebt is a paid mutator transaction binding the contract method 0x1c9a9e38.

Solidity: function updateStrategyMaxDebt(address strategy_, uint256 maxDebt_) returns()

func (*WeberaVaultSession) VaultRouter added in v0.1.19

func (_WeberaVault *WeberaVaultSession) VaultRouter() (common.Address, error)

VaultRouter is a free data retrieval call binding the contract method 0xd37c441c.

Solidity: function vaultRouter() view returns(address)

func (*WeberaVaultSession) Withdraw added in v0.1.19

func (_WeberaVault *WeberaVaultSession) Withdraw(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 assets, address receiver, address owner) returns(uint256)

func (*WeberaVaultSession) WithdrawLimit added in v0.1.19

func (_WeberaVault *WeberaVaultSession) WithdrawLimit() (*big.Int, error)

WithdrawLimit is a free data retrieval call binding the contract method 0xf848d541.

Solidity: function withdrawLimit() view returns(uint256)

func (*WeberaVaultSession) WithdrawQueue added in v0.1.19

func (_WeberaVault *WeberaVaultSession) WithdrawQueue(arg0 *big.Int) (common.Address, error)

WithdrawQueue is a free data retrieval call binding the contract method 0x62518ddf.

Solidity: function withdrawQueue(uint256 ) view returns(address)

func (*WeberaVaultSession) WithdrawQueueLength added in v0.1.19

func (_WeberaVault *WeberaVaultSession) WithdrawQueueLength() (*big.Int, error)

WithdrawQueueLength is a free data retrieval call binding the contract method 0x33f91ebb.

Solidity: function withdrawQueueLength() view returns(uint256)

type WeberaVaultStrategyAdded added in v0.1.19

type WeberaVaultStrategyAdded struct {
	Strategy common.Address
	Length   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

WeberaVaultStrategyAdded represents a StrategyAdded event raised by the WeberaVault contract.

type WeberaVaultStrategyAddedIterator added in v0.1.19

type WeberaVaultStrategyAddedIterator struct {
	Event *WeberaVaultStrategyAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WeberaVaultStrategyAddedIterator is returned from FilterStrategyAdded and is used to iterate over the raw logs and unpacked data for StrategyAdded events raised by the WeberaVault contract.

func (*WeberaVaultStrategyAddedIterator) Close added in v0.1.19

Close terminates the iteration process, releasing any pending underlying resources.

func (*WeberaVaultStrategyAddedIterator) Error added in v0.1.19

Error returns any retrieval or parsing error occurred during filtering.

func (*WeberaVaultStrategyAddedIterator) Next added in v0.1.19

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 WeberaVaultStrategyRevoked added in v0.1.19

type WeberaVaultStrategyRevoked struct {
	Strategy common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

WeberaVaultStrategyRevoked represents a StrategyRevoked event raised by the WeberaVault contract.

type WeberaVaultStrategyRevokedIterator added in v0.1.19

type WeberaVaultStrategyRevokedIterator struct {
	Event *WeberaVaultStrategyRevoked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WeberaVaultStrategyRevokedIterator is returned from FilterStrategyRevoked and is used to iterate over the raw logs and unpacked data for StrategyRevoked events raised by the WeberaVault contract.

func (*WeberaVaultStrategyRevokedIterator) Close added in v0.1.19

Close terminates the iteration process, releasing any pending underlying resources.

func (*WeberaVaultStrategyRevokedIterator) Error added in v0.1.19

Error returns any retrieval or parsing error occurred during filtering.

func (*WeberaVaultStrategyRevokedIterator) Next added in v0.1.19

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 WeberaVaultTransactor added in v0.1.19

type WeberaVaultTransactor struct {
	// contains filtered or unexported fields
}

WeberaVaultTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewWeberaVaultTransactor added in v0.1.19

func NewWeberaVaultTransactor(address common.Address, transactor bind.ContractTransactor) (*WeberaVaultTransactor, error)

NewWeberaVaultTransactor creates a new write-only instance of WeberaVault, bound to a specific deployed contract.

func (*WeberaVaultTransactor) AddStrategy added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) AddStrategy(opts *bind.TransactOpts, strategy common.Address, maxDebt *big.Int) (*types.Transaction, error)

AddStrategy is a paid mutator transaction binding the contract method 0xc9411e22.

Solidity: function addStrategy(address strategy, uint256 maxDebt) returns()

func (*WeberaVaultTransactor) Approve added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*WeberaVaultTransactor) CloseVault added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) CloseVault(opts *bind.TransactOpts) (*types.Transaction, error)

CloseVault is a paid mutator transaction binding the contract method 0x18976fa2.

Solidity: function closeVault() returns()

func (*WeberaVaultTransactor) Deposit added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) Deposit(opts *bind.TransactOpts, assets *big.Int, receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 assets, address receiver) returns(uint256)

func (*WeberaVaultTransactor) EmergencyStrategy added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) EmergencyStrategy(opts *bind.TransactOpts, strategy_ common.Address, amount_ *big.Int, maxLoss_ *big.Int) (*types.Transaction, error)

EmergencyStrategy is a paid mutator transaction binding the contract method 0xb20fb167.

Solidity: function emergencyStrategy(address strategy_, uint256 amount_, uint256 maxLoss_) returns()

func (*WeberaVaultTransactor) EmergencyVault added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) EmergencyVault(opts *bind.TransactOpts) (*types.Transaction, error)

EmergencyVault is a paid mutator transaction binding the contract method 0xfe6f68ba.

Solidity: function emergencyVault() returns()

func (*WeberaVaultTransactor) EmergencyWithdrawAll added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) EmergencyWithdrawAll(opts *bind.TransactOpts, maxLoss_ *big.Int) (*types.Transaction, error)

EmergencyWithdrawAll is a paid mutator transaction binding the contract method 0x1e93facb.

Solidity: function emergencyWithdrawAll(uint256 maxLoss_) returns()

func (*WeberaVaultTransactor) Harvest added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) Harvest(opts *bind.TransactOpts, strategy_ common.Address) (*types.Transaction, error)

Harvest is a paid mutator transaction binding the contract method 0x0e5c011e.

Solidity: function harvest(address strategy_) returns()

func (*WeberaVaultTransactor) HarvestAll added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) HarvestAll(opts *bind.TransactOpts) (*types.Transaction, error)

HarvestAll is a paid mutator transaction binding the contract method 0x8ed955b9.

Solidity: function harvestAll() returns()

func (*WeberaVaultTransactor) Initialize added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) Initialize(opts *bind.TransactOpts, owner_ common.Address, asset_ common.Address, vaultTokenName_ string, vaultTokenSymbol_ string, vaultFactory_ common.Address, profitMaxUnlockTime_ *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xa01e3f74.

Solidity: function initialize(address owner_, address asset_, string vaultTokenName_, string vaultTokenSymbol_, address vaultFactory_, uint256 profitMaxUnlockTime_) returns()

func (*WeberaVaultTransactor) Mint added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) Mint(opts *bind.TransactOpts, shares *big.Int, receiver common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x94bf804d.

Solidity: function mint(uint256 shares, address receiver) returns(uint256)

func (*WeberaVaultTransactor) OpenVault added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) OpenVault(opts *bind.TransactOpts) (*types.Transaction, error)

OpenVault is a paid mutator transaction binding the contract method 0x86f54712.

Solidity: function openVault() returns()

func (*WeberaVaultTransactor) Redeem added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) Redeem(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares, address receiver, address owner) returns(uint256)

func (*WeberaVaultTransactor) RenounceOwnership added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WeberaVaultTransactor) RevokeStrategy added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) RevokeStrategy(opts *bind.TransactOpts, strategy common.Address) (*types.Transaction, error)

RevokeStrategy is a paid mutator transaction binding the contract method 0xbb994d48.

Solidity: function revokeStrategy(address strategy) returns()

func (*WeberaVaultTransactor) SetHarvester added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) SetHarvester(opts *bind.TransactOpts, harvester_ common.Address) (*types.Transaction, error)

SetHarvester is a paid mutator transaction binding the contract method 0x15de1daa.

Solidity: function setHarvester(address harvester_) returns()

func (*WeberaVaultTransactor) SetProfitMaxUnlockTime added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) SetProfitMaxUnlockTime(opts *bind.TransactOpts, profitMaxUnlockTime_ *big.Int) (*types.Transaction, error)

SetProfitMaxUnlockTime is a paid mutator transaction binding the contract method 0xdf69b22a.

Solidity: function setProfitMaxUnlockTime(uint256 profitMaxUnlockTime_) returns()

func (*WeberaVaultTransactor) SetVaultRouter added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) SetVaultRouter(opts *bind.TransactOpts, vaultRouter_ common.Address) (*types.Transaction, error)

SetVaultRouter is a paid mutator transaction binding the contract method 0x780e72ff.

Solidity: function setVaultRouter(address vaultRouter_) returns()

func (*WeberaVaultTransactor) SetWithdrawQueue added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) SetWithdrawQueue(opts *bind.TransactOpts, queue []common.Address) (*types.Transaction, error)

SetWithdrawQueue is a paid mutator transaction binding the contract method 0x80a30e30.

Solidity: function setWithdrawQueue(address[] queue) returns()

func (*WeberaVaultTransactor) Transfer added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*WeberaVaultTransactor) TransferFrom added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*WeberaVaultTransactor) TransferOwnership added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) 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 (*WeberaVaultTransactor) UpdateDebt added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) UpdateDebt(opts *bind.TransactOpts, strategy_ common.Address, targetDebt_ *big.Int, maxLoss_ *big.Int) (*types.Transaction, error)

UpdateDebt is a paid mutator transaction binding the contract method 0x4492e200.

Solidity: function updateDebt(address strategy_, uint256 targetDebt_, uint256 maxLoss_) returns()

func (*WeberaVaultTransactor) UpdateStrategyMaxDebt added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) UpdateStrategyMaxDebt(opts *bind.TransactOpts, strategy_ common.Address, maxDebt_ *big.Int) (*types.Transaction, error)

UpdateStrategyMaxDebt is a paid mutator transaction binding the contract method 0x1c9a9e38.

Solidity: function updateStrategyMaxDebt(address strategy_, uint256 maxDebt_) returns()

func (*WeberaVaultTransactor) Withdraw added in v0.1.19

func (_WeberaVault *WeberaVaultTransactor) Withdraw(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 assets, address receiver, address owner) returns(uint256)

type WeberaVaultTransactorRaw added in v0.1.19

type WeberaVaultTransactorRaw struct {
	Contract *WeberaVaultTransactor // Generic write-only contract binding to access the raw methods on
}

WeberaVaultTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*WeberaVaultTransactorRaw) Transact added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WeberaVaultTransactorRaw) Transfer added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorRaw) 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 WeberaVaultTransactorSession added in v0.1.19

type WeberaVaultTransactorSession struct {
	Contract     *WeberaVaultTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts      // Transaction auth options to use throughout this session
}

WeberaVaultTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*WeberaVaultTransactorSession) AddStrategy added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) AddStrategy(strategy common.Address, maxDebt *big.Int) (*types.Transaction, error)

AddStrategy is a paid mutator transaction binding the contract method 0xc9411e22.

Solidity: function addStrategy(address strategy, uint256 maxDebt) returns()

func (*WeberaVaultTransactorSession) Approve added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*WeberaVaultTransactorSession) CloseVault added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) CloseVault() (*types.Transaction, error)

CloseVault is a paid mutator transaction binding the contract method 0x18976fa2.

Solidity: function closeVault() returns()

func (*WeberaVaultTransactorSession) Deposit added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 assets, address receiver) returns(uint256)

func (*WeberaVaultTransactorSession) EmergencyStrategy added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) EmergencyStrategy(strategy_ common.Address, amount_ *big.Int, maxLoss_ *big.Int) (*types.Transaction, error)

EmergencyStrategy is a paid mutator transaction binding the contract method 0xb20fb167.

Solidity: function emergencyStrategy(address strategy_, uint256 amount_, uint256 maxLoss_) returns()

func (*WeberaVaultTransactorSession) EmergencyVault added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) EmergencyVault() (*types.Transaction, error)

EmergencyVault is a paid mutator transaction binding the contract method 0xfe6f68ba.

Solidity: function emergencyVault() returns()

func (*WeberaVaultTransactorSession) EmergencyWithdrawAll added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) EmergencyWithdrawAll(maxLoss_ *big.Int) (*types.Transaction, error)

EmergencyWithdrawAll is a paid mutator transaction binding the contract method 0x1e93facb.

Solidity: function emergencyWithdrawAll(uint256 maxLoss_) returns()

func (*WeberaVaultTransactorSession) Harvest added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) Harvest(strategy_ common.Address) (*types.Transaction, error)

Harvest is a paid mutator transaction binding the contract method 0x0e5c011e.

Solidity: function harvest(address strategy_) returns()

func (*WeberaVaultTransactorSession) HarvestAll added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) HarvestAll() (*types.Transaction, error)

HarvestAll is a paid mutator transaction binding the contract method 0x8ed955b9.

Solidity: function harvestAll() returns()

func (*WeberaVaultTransactorSession) Initialize added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) Initialize(owner_ common.Address, asset_ common.Address, vaultTokenName_ string, vaultTokenSymbol_ string, vaultFactory_ common.Address, profitMaxUnlockTime_ *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xa01e3f74.

Solidity: function initialize(address owner_, address asset_, string vaultTokenName_, string vaultTokenSymbol_, address vaultFactory_, uint256 profitMaxUnlockTime_) returns()

func (*WeberaVaultTransactorSession) Mint added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x94bf804d.

Solidity: function mint(uint256 shares, address receiver) returns(uint256)

func (*WeberaVaultTransactorSession) OpenVault added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) OpenVault() (*types.Transaction, error)

OpenVault is a paid mutator transaction binding the contract method 0x86f54712.

Solidity: function openVault() returns()

func (*WeberaVaultTransactorSession) Redeem added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) Redeem(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares, address receiver, address owner) returns(uint256)

func (*WeberaVaultTransactorSession) RenounceOwnership added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WeberaVaultTransactorSession) RevokeStrategy added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) RevokeStrategy(strategy common.Address) (*types.Transaction, error)

RevokeStrategy is a paid mutator transaction binding the contract method 0xbb994d48.

Solidity: function revokeStrategy(address strategy) returns()

func (*WeberaVaultTransactorSession) SetHarvester added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) SetHarvester(harvester_ common.Address) (*types.Transaction, error)

SetHarvester is a paid mutator transaction binding the contract method 0x15de1daa.

Solidity: function setHarvester(address harvester_) returns()

func (*WeberaVaultTransactorSession) SetProfitMaxUnlockTime added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) SetProfitMaxUnlockTime(profitMaxUnlockTime_ *big.Int) (*types.Transaction, error)

SetProfitMaxUnlockTime is a paid mutator transaction binding the contract method 0xdf69b22a.

Solidity: function setProfitMaxUnlockTime(uint256 profitMaxUnlockTime_) returns()

func (*WeberaVaultTransactorSession) SetVaultRouter added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) SetVaultRouter(vaultRouter_ common.Address) (*types.Transaction, error)

SetVaultRouter is a paid mutator transaction binding the contract method 0x780e72ff.

Solidity: function setVaultRouter(address vaultRouter_) returns()

func (*WeberaVaultTransactorSession) SetWithdrawQueue added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) SetWithdrawQueue(queue []common.Address) (*types.Transaction, error)

SetWithdrawQueue is a paid mutator transaction binding the contract method 0x80a30e30.

Solidity: function setWithdrawQueue(address[] queue) returns()

func (*WeberaVaultTransactorSession) Transfer added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*WeberaVaultTransactorSession) TransferFrom added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*WeberaVaultTransactorSession) TransferOwnership added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) 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 (*WeberaVaultTransactorSession) UpdateDebt added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) UpdateDebt(strategy_ common.Address, targetDebt_ *big.Int, maxLoss_ *big.Int) (*types.Transaction, error)

UpdateDebt is a paid mutator transaction binding the contract method 0x4492e200.

Solidity: function updateDebt(address strategy_, uint256 targetDebt_, uint256 maxLoss_) returns()

func (*WeberaVaultTransactorSession) UpdateStrategyMaxDebt added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) UpdateStrategyMaxDebt(strategy_ common.Address, maxDebt_ *big.Int) (*types.Transaction, error)

UpdateStrategyMaxDebt is a paid mutator transaction binding the contract method 0x1c9a9e38.

Solidity: function updateStrategyMaxDebt(address strategy_, uint256 maxDebt_) returns()

func (*WeberaVaultTransactorSession) Withdraw added in v0.1.19

func (_WeberaVault *WeberaVaultTransactorSession) Withdraw(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xb460af94.

Solidity: function withdraw(uint256 assets, address receiver, address owner) returns(uint256)

type WeberaVaultTransfer added in v0.1.19

type WeberaVaultTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

WeberaVaultTransfer represents a Transfer event raised by the WeberaVault contract.

type WeberaVaultTransferIterator added in v0.1.19

type WeberaVaultTransferIterator struct {
	Event *WeberaVaultTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WeberaVaultTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the WeberaVault contract.

func (*WeberaVaultTransferIterator) Close added in v0.1.19

func (it *WeberaVaultTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WeberaVaultTransferIterator) Error added in v0.1.19

func (it *WeberaVaultTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WeberaVaultTransferIterator) Next added in v0.1.19

func (it *WeberaVaultTransferIterator) 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 WeberaVaultWithdraw added in v0.1.19

type WeberaVaultWithdraw struct {
	Sender   common.Address
	Receiver common.Address
	Owner    common.Address
	Assets   *big.Int
	Shares   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

WeberaVaultWithdraw represents a Withdraw event raised by the WeberaVault contract.

type WeberaVaultWithdrawIterator added in v0.1.19

type WeberaVaultWithdrawIterator struct {
	Event *WeberaVaultWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WeberaVaultWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the WeberaVault contract.

func (*WeberaVaultWithdrawIterator) Close added in v0.1.19

func (it *WeberaVaultWithdrawIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WeberaVaultWithdrawIterator) Error added in v0.1.19

func (it *WeberaVaultWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WeberaVaultWithdrawIterator) Next added in v0.1.19

func (it *WeberaVaultWithdrawIterator) 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 WeberaVaultWithdrawQueueUpdated added in v0.1.19

type WeberaVaultWithdrawQueueUpdated struct {
	OldStrategyQueue []common.Address
	NewStrategyQueue []common.Address
	Raw              types.Log // Blockchain specific contextual infos
}

WeberaVaultWithdrawQueueUpdated represents a WithdrawQueueUpdated event raised by the WeberaVault contract.

type WeberaVaultWithdrawQueueUpdatedIterator added in v0.1.19

type WeberaVaultWithdrawQueueUpdatedIterator struct {
	Event *WeberaVaultWithdrawQueueUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WeberaVaultWithdrawQueueUpdatedIterator is returned from FilterWithdrawQueueUpdated and is used to iterate over the raw logs and unpacked data for WithdrawQueueUpdated events raised by the WeberaVault contract.

func (*WeberaVaultWithdrawQueueUpdatedIterator) Close added in v0.1.19

Close terminates the iteration process, releasing any pending underlying resources.

func (*WeberaVaultWithdrawQueueUpdatedIterator) Error added in v0.1.19

Error returns any retrieval or parsing error occurred during filtering.

func (*WeberaVaultWithdrawQueueUpdatedIterator) Next added in v0.1.19

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 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